[Merged by Bors] - feat(CategoryTheory): sheaf categories are cartesian closed#15262
[Merged by Bors] - feat(CategoryTheory): sheaf categories are cartesian closed#15262dagurtomas wants to merge 22 commits intomasterfrom
Conversation
Co-authored-by: Joël Riou <37772949+joelriou@users.noreply.github.com>
PR summary f693fbd28c
|
| Files | Import difference |
|---|---|
Mathlib.CategoryTheory.Limits.FunctorCategoryEpiMono |
-534 |
Mathlib.CategoryTheory.Limits.FunctorCategory |
-388 |
59 filesMathlib.Geometry.RingedSpace.PresheafedSpace.Gluing Mathlib.AlgebraicGeometry.Modules.Sheaf Mathlib.CategoryTheory.Sites.Pullback Mathlib.CategoryTheory.Sites.SheafHom Mathlib.Geometry.Manifold.Sheaf.Basic Mathlib.AlgebraicGeometry.Modules.Presheaf Mathlib.Topology.Sheaves.SheafCondition.Sites Mathlib.Topology.Sheaves.SheafCondition.UniqueGluing Mathlib.Algebra.Category.ModuleCat.Sheaf.Colimits Mathlib.Algebra.Category.ModuleCat.Sheaf Mathlib.Algebra.Category.ModuleCat.Sheaf.Free Mathlib.AlgebraicGeometry.Spec Mathlib.CategoryTheory.Sites.InducedTopology Mathlib.Topology.Sheaves.LocalPredicate Mathlib.Topology.Sheaves.SheafCondition.OpensLeCover Mathlib.Algebra.Category.ModuleCat.Sheaf.ChangeOfRings Mathlib.Geometry.RingedSpace.OpenImmersion Mathlib.Algebra.Category.ModuleCat.Sheaf.Limits Mathlib.AlgebraicGeometry.Modules.Tilde Mathlib.Geometry.RingedSpace.Basic Mathlib.Topology.Sheaves.SheafCondition.EqualizerProducts Mathlib.Geometry.Manifold.Sheaf.Smooth Mathlib.AlgebraicGeometry.StructureSheaf Mathlib.CategoryTheory.Sites.Coherent.LocallySurjective Mathlib.AlgebraicGeometry.ProjectiveSpectrum.StructureSheaf Mathlib.Algebra.Category.ModuleCat.Sheaf.Generators Mathlib.Algebra.Category.ModuleCat.Sheaf.Abelian Mathlib.CategoryTheory.Sites.Coherent.Equivalence Mathlib.Geometry.RingedSpace.SheafedSpace Mathlib.AlgebraicGeometry.OpenImmersion Mathlib.Topology.Sheaves.SheafOfFunctions Mathlib.Geometry.RingedSpace.LocallyRingedSpace Mathlib.Topology.Sheaves.LocallySurjective Mathlib.CategoryTheory.Sites.Equivalence Mathlib.Geometry.RingedSpace.Stalks Mathlib.Geometry.RingedSpace.LocallyRingedSpace.ResidueField Mathlib.AlgebraicGeometry.Scheme Mathlib.AlgebraicGeometry.Gluing Mathlib.Topology.Sheaves.Functors Mathlib.CategoryTheory.Sites.Over Mathlib.CategoryTheory.Sites.DenseSubsite Mathlib.AlgebraicGeometry.Cover.Open Mathlib.Topology.Sheaves.Operations Mathlib.Algebra.Category.ModuleCat.Presheaf.Sheafification Mathlib.CategoryTheory.Sites.PreservesLocallyBijective Mathlib.Topology.Sheaves.Skyscraper Mathlib.CategoryTheory.Sites.Discrete Mathlib.Topology.Sheaves.SheafCondition.PairwiseIntersections Mathlib.Geometry.Manifold.Sheaf.LocallyRingedSpace Mathlib.Topology.Sheaves.PUnit Mathlib.AlgebraicGeometry.Restrict Mathlib.CategoryTheory.Sites.Coherent.SheafComparison Mathlib.Algebra.Category.ModuleCat.Sheaf.PushforwardContinuous Mathlib.Topology.Sheaves.Sheafify Mathlib.Algebra.Category.ModuleCat.Presheaf.Sheafify Mathlib.Algebra.Category.ModuleCat.Sheaf.Quasicoherent Mathlib.Geometry.RingedSpace.LocallyRingedSpace.HasColimits Mathlib.Topology.Sheaves.Stalks Mathlib.CategoryTheory.Sites.CoverLifting |
1 |
16 filesMathlib.Geometry.RingedSpace.PresheafedSpace.HasColimits Mathlib.CategoryTheory.Sites.EpiMono Mathlib.CategoryTheory.Sites.LocallySurjective Mathlib.CategoryTheory.Sites.LocallyFullyFaithful Mathlib.CategoryTheory.Sites.PreservesSheafification Mathlib.CategoryTheory.Sites.Abelian Mathlib.CategoryTheory.Sites.Localization Mathlib.CategoryTheory.Sites.ConstantSheaf Mathlib.CategoryTheory.Sites.LocallyInjective Mathlib.CategoryTheory.Sites.Limits Mathlib.CategoryTheory.Sites.LeftExact Mathlib.CategoryTheory.Sites.Sheafification Mathlib.Topology.Sheaves.Limits Mathlib.CategoryTheory.Sites.MayerVietorisSquare Mathlib.CategoryTheory.Sites.LocallyBijective Mathlib.CategoryTheory.Sites.Adjunction |
2 |
Mathlib.CategoryTheory.Limits.FunctorCategory.Basic |
388 |
Mathlib.CategoryTheory.Limits.FunctorCategory.Finite |
516 |
Mathlib.CategoryTheory.Limits.FunctorCategory.EpiMono |
534 |
Mathlib.CategoryTheory.Sites.CartesianClosed |
716 |
Mathlib.Condensed.CartesianClosed |
1563 |
Mathlib.Condensed.Light.Limits |
1585 |
Mathlib.Condensed.Light.CartesianClosed |
1598 |
Declarations diff
+ cartesianClosedFunctorToTypes
+ instance (C : Type u) [Category.{v} C] [EssentiallySmall.{w} C] : EssentiallySmall.{w} Cᵒᵖ
+ instance : CartesianClosed (CondensedSet.{u}) := inferInstanceAs (CartesianClosed (Sheaf _ _))
+ instance : CartesianClosed (LightCondSet.{u}) := inferInstanceAs (CartesianClosed (Sheaf _ _))
+ instance : HasFiniteLimits (LightCondMod.{u} R) := hasFiniteLimits_of_hasLimitsOfSize _
+ instance : HasFiniteLimits LightCondSet.{u} := hasFiniteLimits_of_hasLimitsOfSize _
+ instance : HasLimitsOfSize.{u, u} (LightCondMod.{u} R) := by
+ instance : HasLimitsOfSize.{u, u} LightCondSet.{u} := by
+ instance [HasFiniteColimits C] : HasFiniteColimits (K ⥤ C) := ⟨fun _ ↦ inferInstance⟩
+ instance [HasFiniteCoproducts C] : HasFiniteCoproducts (K ⥤ C) := ⟨inferInstance⟩
+ instance [HasFiniteLimits C] : HasFiniteLimits (K ⥤ C) := ⟨fun _ ↦ inferInstance⟩
+ instance [HasFiniteProducts C] : HasFiniteProducts (K ⥤ C) := ⟨inferInstance⟩
+ instance [HasSheafify J A] : PreservesFiniteLimits (reflector (sheafToPresheaf J A))
+ instance [HasSheafify J A] [HasFiniteProducts A] [CartesianClosed (Cᵒᵖ ⥤ A)] :
+ instance [HasWeakSheafify J A] : Reflective (sheafToPresheaf J A)
+ instance {C : Type u₁} [Category.{v₁} C] : CartesianClosed (C ⥤ Type (max u₁ v₁))
+ instance {C : Type u₁} [Category.{v₁} C] [EssentiallySmall.{v₁} C] :
- instance : HasFiniteProducts (Type v₁)
- instance {C : Type u₁} [Category.{v₁} C] : HasFiniteProducts (C ⥤ Type u₂)
You can run this locally as follows
## summary with just the declaration names:
./scripts/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/declarations_diff.sh long <optional_commit>The doc-module for script/declarations_diff.sh contains some details about this script.
jcommelin
left a comment
There was a problem hiding this comment.
Thanks! This looks good.
Could you please create a directory
Mathlib/CategoryTheory/Limits/FunctorCategory
and in that create-move the files Basic.lean and Finite.lean?
Otherwise, LGTM!
bors d+
|
✌️ dagurtomas can now approve this pull request. To approve and merge a pull request, simply reply with |
|
Thanks! bors merge |
... under some assumptions on the target category. We apply this to conclude that condensed sets and light condensed sets are cartesian closed. Co-authored-by: Sina Hazratpour @sinhp Co-authored-by: Jon Eugster @joneugster This is adapted from work done at the Copenhagen masterclass on formalisation of condensed mathematics in 2023.
|
Pull request successfully merged into master. Build succeeded: |
... under some assumptions on the target category. We apply this to conclude that condensed sets and light condensed sets are cartesian closed. Co-authored-by: Sina Hazratpour @sinhp Co-authored-by: Jon Eugster @joneugster This is adapted from work done at the Copenhagen masterclass on formalisation of condensed mathematics in 2023.
... under some assumptions on the target category. We apply this to conclude that condensed sets and light condensed sets are cartesian closed. Co-authored-by: Sina Hazratpour @sinhp Co-authored-by: Jon Eugster @joneugster This is adapted from work done at the Copenhagen masterclass on formalisation of condensed mathematics in 2023.
... under some assumptions on the target category. We apply this to conclude that condensed sets and light condensed sets are cartesian closed. Co-authored-by: Sina Hazratpour @sinhp Co-authored-by: Jon Eugster @joneugster This is adapted from work done at the Copenhagen masterclass on formalisation of condensed mathematics in 2023.
... under some assumptions on the target category.
We apply this to conclude that condensed sets and light condensed sets are cartesian closed.
Co-authored-by: Sina Hazratpour @sinhp
Co-authored-by: Jon Eugster @joneugster
This is adapted from work done at the Copenhagen masterclass on formalisation of condensed mathematics in 2023.