Skip to content

Commit

Permalink
chore: fix universe issue in FinitaryExtensive Stonean (#8131)
Browse files Browse the repository at this point in the history
Now `Stonean.{u}` is finitary extensive for any universe `u`.
  • Loading branch information
dagurtomas committed Nov 2, 2023
1 parent 78305a2 commit 7fbda2f
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions Mathlib/Topology/Category/Stonean/Limits.lean
Original file line number Diff line number Diff line change
Expand Up @@ -323,15 +323,19 @@ instance : HasPullbacksOfInclusions Stonean where
apply Stonean.Sigma.openEmbedding_ι

noncomputable
instance : PreservesPullbacksOfInclusions Stonean.toCompHaus where
instance : PreservesPullbacksOfInclusions Stonean.toCompHaus.{u} where
preservesPullbackInl := by
intros X Y Z f
apply (config := { allowSynthFailures := true }) preservesPullbackSymmetry
have : OpenEmbedding (coprod.inl : X ⟶ X ⨿ Y) := Stonean.Sigma.openEmbedding_ι _ _
have := Stonean.createsPullbacksOfOpenEmbedding f this
apply preservesLimitOfReflectsOfPreserves Stonean.toCompHaus compHausToTop
refine @preservesLimitOfReflectsOfPreserves _ _ _ _ _ _ _ _ _ Stonean.toCompHaus
compHausToTop inferInstance ?_
apply (config := { allowSynthFailures := true }) ReflectsLimitsOfShape.reflectsLimit
apply (config := { allowSynthFailures := true }) ReflectsLimitsOfSize.reflectsLimitsOfShape
exact reflectsLimitsOfSizeShrink _

instance : FinitaryExtensive Stonean :=
instance : FinitaryExtensive Stonean.{u} :=
have := fullyFaithfulReflectsLimits Stonean.toCompHaus
have := fullyFaithfulReflectsColimits Stonean.toCompHaus
finitaryExtensive_of_preserves_and_reflects Stonean.toCompHaus
Expand Down

0 comments on commit 7fbda2f

Please sign in to comment.