chore(CategoryTheory/Limits): dualize existence of limits in Over to Under#38012
chore(CategoryTheory/Limits): dualize existence of limits in Over to Under#38012chrisflav wants to merge 1 commit intoleanprover-community:masterfrom
Over to Under#38012Conversation
chrisflav
commented
Apr 13, 2026
PR summary c60f516525
|
| File | Base Count | Head Count | Change |
|---|---|---|---|
| Mathlib.CategoryTheory.Limits.Constructions.Over.Connected | 696 | 699 | +3 (+0.43%) |
| Mathlib.CategoryTheory.Limits.Constructions.Over.Basic | 725 | 727 | +2 (+0.28%) |
Import changes for all files
| Files | Import difference |
|---|---|
45 filesMathlib.Algebra.Category.ModuleCat.Sheaf.Generators Mathlib.Algebra.Category.ModuleCat.Sheaf.PullbackContinuous Mathlib.Algebra.Category.ModuleCat.Sheaf.PullbackFree Mathlib.Algebra.Category.ModuleCat.Sheaf.Quasicoherent Mathlib.AlgebraicGeometry.AffineSpace Mathlib.AlgebraicGeometry.AffineTransitionLimit Mathlib.AlgebraicGeometry.AlgClosed.Basic Mathlib.AlgebraicGeometry.Artinian Mathlib.AlgebraicGeometry.Cover.Over Mathlib.AlgebraicGeometry.Geometrically.Integral Mathlib.AlgebraicGeometry.Geometrically.Reduced Mathlib.AlgebraicGeometry.Group.Abelian Mathlib.AlgebraicGeometry.Group.Smooth Mathlib.AlgebraicGeometry.IdealSheaf.IrreducibleComponent Mathlib.AlgebraicGeometry.Modules.Sheaf Mathlib.AlgebraicGeometry.Modules.Tilde Mathlib.AlgebraicGeometry.Morphisms.Etale Mathlib.AlgebraicGeometry.Morphisms.Finite Mathlib.AlgebraicGeometry.Morphisms.FormallyUnramified Mathlib.AlgebraicGeometry.Morphisms.Immersion Mathlib.AlgebraicGeometry.Morphisms.Integral Mathlib.AlgebraicGeometry.Morphisms.Proper Mathlib.AlgebraicGeometry.Morphisms.QuasiFinite Mathlib.AlgebraicGeometry.Morphisms.Separated Mathlib.AlgebraicGeometry.Morphisms.SmoothFiber Mathlib.AlgebraicGeometry.Morphisms.Smooth Mathlib.AlgebraicGeometry.Morphisms.WeaklyEtale Mathlib.AlgebraicGeometry.Noetherian Mathlib.AlgebraicGeometry.Normalization Mathlib.AlgebraicGeometry.PointsPi Mathlib.AlgebraicGeometry.ProjectiveSpectrum.Proper Mathlib.AlgebraicGeometry.QuasiAffine Mathlib.AlgebraicGeometry.RationalMap Mathlib.AlgebraicGeometry.Sites.ElladicCohomology Mathlib.AlgebraicGeometry.Sites.Etale Mathlib.AlgebraicGeometry.Sites.Proetale Mathlib.AlgebraicGeometry.Sites.Small Mathlib.AlgebraicGeometry.SpreadingOut Mathlib.AlgebraicGeometry.ValuativeCriterion Mathlib.AlgebraicGeometry.ZariskisMainTheorem Mathlib.CategoryTheory.Sites.Point.IsMonoidalW Mathlib.CategoryTheory.Sites.Point.Monoidal Mathlib.CategoryTheory.Sites.Point.Over Mathlib.Condensed.Light.InternallyProjective Mathlib.Condensed.Light.Monoidal |
1 |
15 filesMathlib.Algebra.Category.ModuleCat.Sheaf.PushforwardContinuous Mathlib.AlgebraicTopology.ModelCategory.Over Mathlib.CategoryTheory.Limits.Constructions.Over.Basic Mathlib.CategoryTheory.Limits.MorphismProperty Mathlib.CategoryTheory.MorphismProperty.CommaSites Mathlib.CategoryTheory.Sites.Descent.DescentDataPrime Mathlib.CategoryTheory.Sites.Descent.DescentData Mathlib.CategoryTheory.Sites.Descent.IsPrestack Mathlib.CategoryTheory.Sites.Descent.IsStack Mathlib.CategoryTheory.Sites.Descent.Precoverage Mathlib.CategoryTheory.Sites.Monoidal Mathlib.CategoryTheory.Sites.Over Mathlib.CategoryTheory.Sites.PseudofunctorSheafOver Mathlib.CategoryTheory.Sites.SheafHom Mathlib.CategoryTheory.Sites.SubcanonicalOver |
2 |
3 filesMathlib.CategoryTheory.Adhesive.Over Mathlib.CategoryTheory.Limits.Constructions.Over.Connected Mathlib.CategoryTheory.Limits.Shapes.Pullback.EquifiberedLimits |
3 |
Declarations diff
+ createsColimitsOfShapeForgetOfIsConnected
+ hasColimitsOfShape_of_isConnected
+ hasColimitsOfShape_opposite_iff
+ hasColimitsOfShape_opposite_opposite_iff
+ hasColimitsOfSize_opposite_iff
+ hasFiniteColimits_opposite_iff
+ hasFiniteLimits_opposite_iff
+ hasFiniteWidePullbacks_opposite_iff
+ hasFiniteWidePushouts_opposite_iff
+ hasLimitsOfShape_opposite_iff
+ hasLimitsOfShape_opposite_opposite_iff
+ hasLimitsOfSize_opposite_iff
+ hasWidePullbacks_opposite_iff
+ hasWidePushouts_opposite_iff
+ instance [G.Faithful] [G.Full] {Y : A} : HasInitial (StructuredArrow (G.obj Y) G)
+ instance [HasFiniteWidePullbacks C] : HasFiniteWidePushouts Cᵒᵖ := by
+ instance [HasFiniteWidePushouts C] : HasFiniteWidePullbacks Cᵒᵖ := by
+ instance [HasWidePullbacks.{w} C] : HasWidePushouts.{w} Cᵒᵖ := by
+ instance [HasWidePushouts.{w} C] : HasWidePullbacks.{w} Cᵒᵖ := by
+ instance [IsConnected J] {B : D} : CreatesColimitsOfShape J (StructuredArrow.proj B K)
+ instance [IsConnected J] {B : D} : PreservesColimitsOfShape J (StructuredArrow.proj B K) := by
+ instance {B : C} [HasFiniteWidePushouts C] : HasFiniteColimits (Under B) := by
+ instance {B : C} [HasWidePushouts.{w} C] : HasColimitsOfSize.{w, w} (Under B) := by
+ instance {B : D} [IsConnected J] [HasColimitsOfShape J C] :
+ instance {X : T} : HasInitial (Under X) := Under.mkIdInitial.hasInitial
+ preservesColimitsOfShape_forget_of_isConnected
You can run this locally as follows
## summary with just the declaration names:
./scripts/pr_summary/declarations_diff.sh <optional_commit>
## more verbose report:
./scripts/pr_summary/declarations_diff.sh long <optional_commit>The doc-module for scripts/pr_summary/declarations_diff.sh contains some details about this script.
Increase in tech debt: (relative, absolute) = (1.00, 0.00)
| Current number | Change | Type |
|---|---|---|
| 6488 | 1 | backward.isDefEq.respectTransparency |
Current commit 738f9b7270
Reference commit c60f516525
You can run this locally as
./scripts/reporting/technical-debt-metrics.sh pr_summary
- The
relativevalue is the weighted sum of the differences with weight given by the inverse of the current value of the statistic. - The
absolutevalue is therelativevalue divided by the total sum of the inverses of the current values (i.e. the weighted average of the differences).