Skip to content

Commit 1f2076d

Browse files
revert _root_ additions
1 parent e3692a5 commit 1f2076d

File tree

11 files changed

+25
-25
lines changed

11 files changed

+25
-25
lines changed

Mathlib/CategoryTheory/Abelian/SerreClass/Localization.lean

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -242,13 +242,13 @@ lemma preservesEpimorphisms : L.PreservesEpimorphisms where
242242
set_option backward.isDefEq.respectTransparency false in
243243
lemma mono_iff {X Y : D} (f : X ⟶ Y) :
244244
Mono f ↔ ∃ (X' Y' : C) (f' : X' ⟶ Y') (_ : Mono f'),
245-
_root_.Nonempty (Arrow.mk (L.map f') ≅ Arrow.mk f) := by
245+
Nonempty (Arrow.mk (L.map f') ≅ Arrow.mk f) := by
246246
have := preservesMonomorphisms L P
247247
have := Localization.essSurj_mapArrow L P.isoModSerre
248248
refine ⟨fun _ ↦ ?_, ?_⟩
249249
· suffices ∀ ⦃X Y : C⦄ (f : X ⟶ Y) (_ : Mono (L.map f)),
250250
∃ (X' Y' : C) (f' : X' ⟶ Y') (_ : Mono f'),
251-
_root_.Nonempty (Arrow.mk (L.map f') ≅ Arrow.mk (L.map f)) by
251+
Nonempty (Arrow.mk (L.map f') ≅ Arrow.mk (L.map f)) by
252252
let e := L.mapArrow.objObjPreimageIso (Arrow.mk f)
253253
obtain ⟨X', Y', f', _, ⟨e'⟩⟩ := this _
254254
(((MorphismProperty.monomorphisms D).arrow_iso_iff e).2 (.infer_property f))
@@ -266,13 +266,13 @@ lemma mono_iff {X Y : D} (f : X ⟶ Y) :
266266
set_option backward.isDefEq.respectTransparency false in
267267
lemma epi_iff {X Y : D} (f : X ⟶ Y) :
268268
Epi f ↔ ∃ (X' Y' : C) (f' : X' ⟶ Y') (_ : Epi f'),
269-
_root_.Nonempty (Arrow.mk (L.map f') ≅ Arrow.mk f) := by
269+
Nonempty (Arrow.mk (L.map f') ≅ Arrow.mk f) := by
270270
have := preservesEpimorphisms L P
271271
have := Localization.essSurj_mapArrow L P.isoModSerre
272272
refine ⟨fun _ ↦ ?_, ?_⟩
273273
· suffices ∀ ⦃X Y : C⦄ (f : X ⟶ Y) (_ : Epi (L.map f)),
274274
∃ (X' Y' : C) (f' : X' ⟶ Y') (_ : Epi f'),
275-
_root_.Nonempty (Arrow.mk (L.map f') ≅ Arrow.mk (L.map f)) by
275+
Nonempty (Arrow.mk (L.map f') ≅ Arrow.mk (L.map f)) by
276276
let e := L.mapArrow.objObjPreimageIso (Arrow.mk f)
277277
obtain ⟨X', Y', f', _, ⟨e'⟩⟩ := this _
278278
(((MorphismProperty.epimorphisms D).arrow_iso_iff e).2 (.infer_property f))

Mathlib/CategoryTheory/Limits/Final.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1178,7 +1178,7 @@ theorem initial_ι {C : Type u₁} [Category.{v₁} C] (P : ObjectProperty C)
11781178
(h : ∀ d, ¬ P d → IsConnected (CostructuredArrow P.ι d)) :
11791179
P.ι.Initial := .mk <| fun d => by
11801180
by_cases hd : P d
1181-
· have : _root_.Nonempty (CostructuredArrow P.ι d) := ⟨⟨d, hd⟩, ⟨⟨⟩⟩, 𝟙 _⟩
1181+
· have : Nonempty (CostructuredArrow P.ι d) := ⟨⟨d, hd⟩, ⟨⟨⟩⟩, 𝟙 _⟩
11821182
refine zigzag_isConnected fun ⟨c₁, ⟨⟨⟩⟩, g₁⟩ ⟨c₂, ⟨⟨⟩⟩, g₂⟩ =>
11831183
Zigzag.trans (j₂ := ⟨⟨d, hd⟩, ⟨⟨⟩⟩, 𝟙 _⟩) (.of_hom ?_) (.of_inv ?_)
11841184
· exact CostructuredArrow.homMk (InducedCategory.homMk g₁)

Mathlib/CategoryTheory/ObjectProperty/Basic.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,10 +157,10 @@ lemma prop_inverseImage_iff (P : ObjectProperty D) (F : C ⥤ D) (X : C) :
157157

158158
/-- The essential image of a property of objects by a functor. -/
159159
def map (P : ObjectProperty C) (F : C ⥤ D) : ObjectProperty D :=
160-
fun Y ↦ ∃ (X : C), P X ∧ _root_.Nonempty (F.obj X ≅ Y)
160+
fun Y ↦ ∃ (X : C), P X ∧ Nonempty (F.obj X ≅ Y)
161161

162162
lemma prop_map_iff (P : ObjectProperty C) (F : C ⥤ D) (Y : D) :
163-
P.map F Y ↔ ∃ (X : C), P X ∧ _root_.Nonempty (F.obj X ≅ Y) := Iff.rfl
163+
P.map F Y ↔ ∃ (X : C), P X ∧ Nonempty (F.obj X ≅ Y) := Iff.rfl
164164

165165
lemma prop_map_obj (P : ObjectProperty C) (F : C ⥤ D) {X : C} (hX : P X) :
166166
P.map F (F.obj X) :=

Mathlib/CategoryTheory/ObjectProperty/ClosedUnderIsomorphisms.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,10 +46,10 @@ lemma prop_iff_of_isIso [IsClosedUnderIsomorphisms P] {X Y : C} (f : X ⟶ Y) [I
4646
prop_iff_of_iso P (asIso f)
4747

4848
/-- The closure by isomorphisms of a predicate on objects in a category. -/
49-
def isoClosure : ObjectProperty C := fun X => ∃ (Y : C) (_ : P Y), _root_.Nonempty (X ≅ Y)
49+
def isoClosure : ObjectProperty C := fun X => ∃ (Y : C) (_ : P Y), Nonempty (X ≅ Y)
5050

5151
lemma prop_isoClosure_iff (X : C) :
52-
isoClosure P X ↔ ∃ (Y : C) (_ : P Y), _root_.Nonempty (X ≅ Y) := by rfl
52+
isoClosure P X ↔ ∃ (Y : C) (_ : P Y), Nonempty (X ≅ Y) := by rfl
5353

5454
variable {P} in
5555
lemma prop_isoClosure {X Y : C} (h : P X) (e : X ⟶ Y) [IsIso e] : isoClosure P Y :=

Mathlib/CategoryTheory/ObjectProperty/ColimitsClosure.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ lemma colimitsClosure_eq_self [P.IsClosedUnderIsomorphisms]
7575
le_antisymm (colimitsClosure_le (le_refl P)) (P.le_colimitsClosure J)
7676

7777
@[simp]
78-
lemma colimitsClosure_bot [∀ (a : α), _root_.Nonempty (J a)] :
78+
lemma colimitsClosure_bot [∀ (a : α), Nonempty (J a)] :
7979
colimitsClosure (⊥ : ObjectProperty C) J = ⊥ :=
8080
colimitsClosure_eq_self _ _
8181

Mathlib/CategoryTheory/ObjectProperty/ColimitsOfShape.lean

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ lemma strictColimitsOfShape_monotone {Q : ObjectProperty C} (h : P ≤ Q) :
7171
exact ⟨F, fun j ↦ h _ (hF j)⟩
7272

7373
@[simp]
74-
lemma strictColimitsOfShape_bot [_root_.Nonempty J] :
74+
lemma strictColimitsOfShape_bot [Nonempty J] :
7575
strictColimitsOfShape (⊥ : ObjectProperty C) J = ⊥ := by
7676
rw [eq_bot_iff]
7777
rintro _ ⟨_, h⟩
@@ -133,7 +133,7 @@ end ColimitOfShape
133133
/-- The property of objects that are the point of a colimit cocone for a
134134
functor `F : J ⥤ C` where all objects `F.obj j` satisfy `P`. -/
135135
def colimitsOfShape : ObjectProperty C :=
136-
fun X ↦ _root_.Nonempty (P.ColimitOfShape J X)
136+
fun X ↦ Nonempty (P.ColimitOfShape J X)
137137

138138
variable {P J} in
139139
lemma ColimitOfShape.colimitsOfShape {X : C} (h : P.ColimitOfShape J X) :
@@ -146,7 +146,7 @@ lemma strictColimitsOfShape_le_colimitsOfShape :
146146
exact ⟨.colimit F hF⟩
147147

148148
@[simp]
149-
lemma colimitsOfShape_bot [_root_.Nonempty J] : colimitsOfShape (⊥ : ObjectProperty C) J = ⊥ := by
149+
lemma colimitsOfShape_bot [Nonempty J] : colimitsOfShape (⊥ : ObjectProperty C) J = ⊥ := by
150150
rw [eq_bot_iff]
151151
rintro X ⟨⟨_, h⟩⟩
152152
exact h (Classical.arbitrary J)
@@ -204,7 +204,7 @@ lemma IsClosedUnderColimitsOfShape.mk' [P.IsClosedUnderIsomorphisms]
204204
rw [← isoClosure_strictColimitsOfShape]
205205
exact monotone_isoClosure h
206206

207-
instance [_root_.Nonempty J] : IsClosedUnderColimitsOfShape (⊥ : ObjectProperty C) J where
207+
instance [Nonempty J] : IsClosedUnderColimitsOfShape (⊥ : ObjectProperty C) J where
208208
colimitsOfShape_le := by rw [colimitsOfShape_bot]
209209

210210
instance : IsClosedUnderColimitsOfShape (⊤ : ObjectProperty C) J where

Mathlib/CategoryTheory/ObjectProperty/Ind.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@ lemma ind_iff_exists (H : P ≤ isFinitelyPresentable.{w} C)
8383
exact ⟨_, u, pres.ι.app j, hcomp, h j⟩
8484
· let incl : P.FullSubcategory ⥤ (isFinitelyPresentable.{w} C).FullSubcategory :=
8585
ObjectProperty.ιOfLE H
86-
have H (d : CostructuredArrow (isFinitelyPresentable.{w} C).ι X) : ∃ c, _root_.Nonempty
87-
(d ⟶ (CostructuredArrow.pre incl (isFinitelyPresentable.{w} C).ι X).obj c) := by
86+
have H (d : CostructuredArrow (isFinitelyPresentable.{w} C).ι X) : ∃ c,
87+
Nonempty (d ⟶ (CostructuredArrow.pre incl (isFinitelyPresentable.{w} C).ι X).obj c) := by
8888
obtain ⟨W, u, v, huv, hW⟩ := hfac d.hom
8989
exact ⟨CostructuredArrow.mk (Y := FullSubcategory.mk _ hW) v,
9090
⟨CostructuredArrow.homMk ⟨u⟩ huv⟩⟩

Mathlib/CategoryTheory/ObjectProperty/LimitsClosure.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ lemma limitsClosure_eq_self [P.IsClosedUnderIsomorphisms]
7373
le_antisymm (limitsClosure_le (le_refl P)) (P.le_limitsClosure J)
7474

7575
@[simp]
76-
lemma limitsClosure_bot [∀ (a : α), _root_.Nonempty (J a)] :
76+
lemma limitsClosure_bot [∀ (a : α), Nonempty (J a)] :
7777
limitsClosure (⊥ : ObjectProperty C) J = ⊥ :=
7878
limitsClosure_eq_self _ _
7979

Mathlib/CategoryTheory/ObjectProperty/LimitsOfShape.lean

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ lemma strictLimitsOfShape_monotone {Q : ObjectProperty C} (h : P ≤ Q) :
6464
exact ⟨F, fun j ↦ h _ (hF j)⟩
6565

6666
@[simp]
67-
lemma strictLimitsOfShape_bot [_root_.Nonempty J] :
67+
lemma strictLimitsOfShape_bot [Nonempty J] :
6868
strictLimitsOfShape (⊥ : ObjectProperty C) J = ⊥ := by
6969
rw [eq_bot_iff]
7070
rintro _ ⟨_, h⟩
@@ -125,7 +125,7 @@ end LimitOfShape
125125
/-- The property of objects that are the point of a limit cone for a
126126
functor `F : J ⥤ C` where all objects `F.obj j` satisfy `P`. -/
127127
def limitsOfShape : ObjectProperty C :=
128-
fun X ↦ _root_.Nonempty (P.LimitOfShape J X)
128+
fun X ↦ Nonempty (P.LimitOfShape J X)
129129

130130
variable {P J} in
131131
lemma LimitOfShape.limitsOfShape {X : C} (h : P.LimitOfShape J X) :
@@ -138,7 +138,7 @@ lemma strictLimitsOfShape_le_limitsOfShape :
138138
exact ⟨.limit F hF⟩
139139

140140
@[simp]
141-
lemma limitsOfShape_bot [_root_.Nonempty J] : limitsOfShape (⊥ : ObjectProperty C) J = ⊥ := by
141+
lemma limitsOfShape_bot [Nonempty J] : limitsOfShape (⊥ : ObjectProperty C) J = ⊥ := by
142142
rw [eq_bot_iff]
143143
rintro X ⟨⟨_, h⟩⟩
144144
exact h (Classical.arbitrary J)
@@ -201,7 +201,7 @@ lemma IsClosedUnderLimitsOfShape.mk' [P.IsClosedUnderIsomorphisms]
201201
rw [← isoClosure_strictLimitsOfShape]
202202
exact monotone_isoClosure h
203203

204-
instance [_root_.Nonempty J] : IsClosedUnderLimitsOfShape (⊥ : ObjectProperty C) J where
204+
instance [Nonempty J] : IsClosedUnderLimitsOfShape (⊥ : ObjectProperty C) J where
205205
limitsOfShape_le := by rw [limitsOfShape_bot]
206206

207207
instance : IsClosedUnderLimitsOfShape (⊤ : ObjectProperty C) J where

Mathlib/CategoryTheory/ObjectProperty/Retract.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,10 +86,10 @@ lemma of_biproduct [HasZeroMorphisms C] {J : Type*} (F : J → C) [HasBiproduct
8686
end IsStableUnderRetracts
8787

8888
/-- The closure by retracts of a predicate on objects in a category. -/
89-
def retractClosure : ObjectProperty C := fun X => ∃ (Y : C) (_ : P Y), _root_.Nonempty (Retract X Y)
89+
def retractClosure : ObjectProperty C := fun X => ∃ (Y : C) (_ : P Y), Nonempty (Retract X Y)
9090

9191
lemma prop_retractClosure_iff (X : C) :
92-
retractClosure P X ↔ ∃ (Y : C) (_ : P Y), _root_.Nonempty (Retract X Y) := by rfl
92+
retractClosure P X ↔ ∃ (Y : C) (_ : P Y), Nonempty (Retract X Y) := by rfl
9393

9494
variable {P} in
9595
lemma prop_retractClosure {X Y : C} (h : P Y) (r : Retract X Y) : retractClosure P X :=

0 commit comments

Comments
 (0)