Skip to content

Commit 77f0e70

Browse files
merge lean-pr-testing-13262
2 parents d5cca85 + 8335db3 commit 77f0e70

5 files changed

Lines changed: 11 additions & 11 deletions

File tree

Mathlib/CategoryTheory/Sites/Sheaf.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,7 +353,7 @@ abbrev Sheaf.homEquiv {X Y : Sheaf J A} : (X ⟶ Y) ≃ (X.obj ⟶ Y.obj) :=
353353
def sheafToPresheafCompYonedaCompWhiskeringLeftSheafToPresheaf :
354354
sheafToPresheaf J A ⋙ yoneda ⋙ (Functor.whiskeringLeft _ _ _).obj (sheafToPresheaf J A).op ≅
355355
yoneda :=
356-
Functor.isoWhiskerLeft _ (Functor.isoWhiskerRight uliftYonedaIsoYoneda.symm.{max u₁ v₂} _) ≪≫
356+
Functor.isoWhiskerLeft _ (Functor.isoWhiskerRight uliftYonedaIsoYoneda.{max u₁ v₂}.symm _) ≪≫
357357
(fullyFaithfulSheafToPresheaf J A).compUliftYonedaCompWhiskeringLeft ≪≫
358358
uliftYonedaIsoYoneda
359359

@@ -368,7 +368,7 @@ def sheafToPresheafCompCoyonedaCompWhiskeringLeftSheafToPresheaf :
368368
(sheafToPresheaf J A).op ⋙ coyoneda ⋙
369369
(Functor.whiskeringLeft _ _ _).obj (sheafToPresheaf J A) ≅
370370
coyoneda :=
371-
Functor.isoWhiskerLeft _ (Functor.isoWhiskerRight uliftCoyonedaIsoCoyoneda.symm.{max u₁ v₂} _) ≪≫
371+
Functor.isoWhiskerLeft _ (Functor.isoWhiskerRight uliftCoyonedaIsoCoyoneda.{max u₁ v₂}.symm _) ≪≫
372372
(fullyFaithfulSheafToPresheaf J A).compUliftCoyonedaCompWhiskeringLeft ≪≫
373373
uliftCoyonedaIsoCoyoneda
374374

Mathlib/CategoryTheory/Sites/Sieves.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1253,13 +1253,13 @@ def uliftNatTransOfLe {S T : Sieve X} (h : S ≤ T) :
12531253
/-- A variant of `Sieve.functorInclusion` with universe lifting. -/
12541254
@[simps! app]
12551255
def uliftFunctorInclusion (S : Sieve X) :
1256-
S.uliftFunctor ⟶ uliftYoneda.obj.{w} X :=
1256+
S.uliftFunctor ⟶ uliftYoneda.{w}.obj X :=
12571257
Functor.whiskerRight S.functorInclusion CategoryTheory.uliftFunctor
12581258

12591259
/-- A variant of `Sieve.toFunctor` with universe lifting. -/
12601260
@[simps]
12611261
def toUliftFunctor (S : Sieve X) {Y : C} (f : Y ⟶ X) (hf : S f) :
1262-
uliftYoneda.obj.{w} Y ⟶ Sieve.uliftFunctor.{w} S where
1262+
uliftYoneda.{w}.obj Y ⟶ Sieve.uliftFunctor.{w} S where
12631263
app Z g := ⟨g.down ≫ f, S.downward_closed hf g.down⟩
12641264

12651265
theorem uliftNatTransOfLe_comm {S T : Sieve X} (h : S ≤ T) :
@@ -1276,7 +1276,7 @@ instance uliftFunctorInclusion_is_mono (S : Sieve X) :
12761276

12771277
/-- A variant of `Sieve.sieveOfSubfunctor` with universe lifting. -/
12781278
@[simps]
1279-
def sieveOfUliftSubfunctor {R : Cᵒᵖ ⥤ Type max w v₁} (f : R ⟶ uliftYoneda.obj.{w} X) :
1279+
def sieveOfUliftSubfunctor {R : Cᵒᵖ ⥤ Type max w v₁} (f : R ⟶ uliftYoneda.{w}.obj X) :
12801280
Sieve X where
12811281
arrows Y g := ∃ t, f.app (Opposite.op Y) t = { down := g }
12821282
downward_closed := by

Mathlib/CategoryTheory/Types/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@ def uliftFunctor : Type u ⥤ Type max u v where
204204
map {X} {_} f := fun x : ULift.{v} X => ULift.up (f x.down)
205205

206206
@[simp]
207-
theorem uliftFunctor_obj {X : Type u} : uliftFunctor.obj.{v} X = ULift.{v} X :=
207+
theorem uliftFunctor_obj {X : Type u} : uliftFunctor.{v}.obj X = ULift.{v} X :=
208208
rfl
209209

210210
@[simp]

Mathlib/CategoryTheory/Yoneda.lean

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1245,15 +1245,15 @@ variable {C : Type u₁} [Category.{v₁} C]
12451245
/-- `FullyFaithful.homEquiv` as a natural isomorphism. -/
12461246
@[simps!]
12471247
def homNatIso {D : Type u₂} [Category.{v₂} D] {F : C ⥤ D} (hF : F.FullyFaithful) (X : C) :
1248-
F.op ⋙ uliftYoneda.obj.{v₁} (F.obj X) ≅ uliftYoneda.obj.{v₂} X :=
1248+
F.op ⋙ uliftYoneda.{v₁}.obj (F.obj X) ≅ uliftYoneda.{v₂}.obj X :=
12491249
NatIso.ofComponents
12501250
(fun Y => Equiv.toIso (Equiv.ulift.trans <| hF.homEquiv.symm.trans Equiv.ulift.symm))
12511251
(fun f => by ext; exact Equiv.ulift.injective (hF.map_injective (by simp)))
12521252

12531253
/-- `FullyFaithful.homEquiv` as a natural isomorphism. -/
12541254
@[simps!, deprecated homNatIso (since := "2025-10-28")]
12551255
def homNatIsoMaxRight {D : Type u₂} [Category.{max v₁ v₂} D] {F : C ⥤ D} (hF : F.FullyFaithful)
1256-
(X : C) : F.op ⋙ yoneda.obj (F.obj X) ≅ uliftYoneda.obj.{v₂} X :=
1256+
(X : C) : F.op ⋙ yoneda.obj (F.obj X) ≅ uliftYoneda.{v₂}.obj X :=
12571257
isoWhiskerLeft F.op (uliftYonedaIsoYoneda.symm.app _) ≪≫ hF.homNatIso _ ≪≫
12581258
NatIso.ofComponents (fun _ => Equiv.toIso (Equiv.ulift.trans Equiv.ulift.symm))
12591259

@@ -1273,15 +1273,15 @@ def compUliftYonedaCompWhiskeringLeft {D : Type u₂} [Category.{v₂} D] {F : C
12731273
@[simps!, deprecated compUliftYonedaCompWhiskeringLeft (since := "2025-10-28")]
12741274
def compYonedaCompWhiskeringLeftMaxRight {D : Type u₂} [Category.{max v₁ v₂} D] {F : C ⥤ D}
12751275
(hF : F.FullyFaithful) : F ⋙ yoneda ⋙ (whiskeringLeft _ _ _).obj F.op ≅ uliftYoneda.{v₂} := by
1276-
refine isoWhiskerLeft F (isoWhiskerRight uliftYonedaIsoYoneda.symm.{v₁} _) ≪≫
1276+
refine isoWhiskerLeft F (isoWhiskerRight uliftYonedaIsoYoneda.{v₁}.symm _) ≪≫
12771277
hF.compUliftYonedaCompWhiskeringLeft ≪≫
12781278
NatIso.ofComponents (fun _ => NatIso.ofComponents
12791279
(fun _ => Equiv.toIso (Equiv.ulift.trans Equiv.ulift.symm)))
12801280

12811281
/-- `FullyFaithful.homEquiv` as a natural isomorphism, using coyoneda. -/
12821282
@[simps!]
12831283
def homNatIso' {D : Type u₂} [Category.{v₂} D] {F : C ⥤ D} (hF : F.FullyFaithful) (X : C) :
1284-
F ⋙ uliftCoyoneda.obj.{v₁} (op (F.obj X)) ≅ uliftCoyoneda.obj.{v₂} (op X) :=
1284+
F ⋙ uliftCoyoneda.{v₁}.obj (op (F.obj X)) ≅ uliftCoyoneda.{v₂}.obj (op X) :=
12851285
NatIso.ofComponents
12861286
(fun Y => Equiv.toIso (Equiv.ulift.trans <| hF.homEquiv.symm.trans Equiv.ulift.symm))
12871287
(fun f => by ext; exact Equiv.ulift.injective (hF.map_injective (by simp)))

lake-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@
6565
"type": "git",
6666
"subDir": null,
6767
"scope": "leanprover-community",
68-
"rev": "e32a6d4b187ab88d3e3e5c5bc520fcebc42b2960",
68+
"rev": "896fee4b88a27faa234591ab515a6f9f70f9a096",
6969
"name": "batteries",
7070
"manifestFile": "lake-manifest.json",
7171
"inputRev": "nightly-testing",

0 commit comments

Comments
 (0)