forked from leanprover-community/mathlib4
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathLimits.lean
More file actions
36 lines (24 loc) · 946 Bytes
/
Limits.lean
File metadata and controls
36 lines (24 loc) · 946 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
/-
Copyright (c) 2024 Dagur Asgeirsson. All rights reserved.
Released under Apache 2.0 license as described in the file LICENSE.
Authors: Dagur Asgeirsson
-/
module
public import Mathlib.Condensed.Light.Module
/-!
# Limits in categories of light condensed objects
This file adds some instances for limits in light condensed sets and modules.
-/
@[expose] public section
universe u
open CategoryTheory Limits
instance : HasLimitsOfSize.{u, u} LightCondSet.{u} := by
change HasLimitsOfSize (Sheaf _ _)
infer_instance
instance : HasFiniteLimits LightCondSet.{u} := hasFiniteLimits_of_hasLimitsOfSize _
variable (R : Type u) [Ring R]
instance : HasLimitsOfSize.{u, u} (LightCondMod.{u} R) :=
inferInstanceAs (HasLimitsOfSize (Sheaf _ _))
instance : HasLimitsOfSize.{0, 0} (LightCondMod.{u} R) :=
inferInstanceAs (HasLimitsOfSize (Sheaf _ _))
instance : HasFiniteLimits (LightCondMod.{u} R) := hasFiniteLimits_of_hasLimitsOfSize _