Skip to content

Commit 359a2a6

Browse files
committed
chore: various indentation fixes (leanprover-community#27869)
Found by the linter in leanprover-community#27525.
1 parent 5c74392 commit 359a2a6

28 files changed

Lines changed: 94 additions & 97 deletions

File tree

Mathlib/Algebra/Lie/Weights/RootSystem.lean

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -429,10 +429,9 @@ section IsSimple
429429
variable [IsSimple K L]
430430

431431
open Weight in
432-
lemma eq_top_of_invtSubmodule_ne_bot
433-
(q : Submodule K (Dual K H))
434-
(h₀ : ∀ (i : H.root), q ∈ End.invtSubmodule ((rootSystem H).reflection i))
435-
(h₁ : q ≠ ⊥) : q = ⊤ := by
432+
lemma eq_top_of_invtSubmodule_ne_bot (q : Submodule K (Dual K H))
433+
(h₀ : ∀ (i : H.root), q ∈ End.invtSubmodule ((rootSystem H).reflection i))
434+
(h₁ : q ≠ ⊥) : q = ⊤ := by
436435
have _i := nontrivial_of_isIrreducible K L L
437436
let S := rootSystem H
438437
by_contra h₃

Mathlib/Algebra/Order/Monoid/LocallyFiniteOrder.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ def LocallyFiniteOrder.orderAddMonoidHom :
107107

108108
@[simp]
109109
lemma LocallyFiniteOrder.orderAddMonoidHom_toAddMonoidHom :
110-
orderAddMonoidHom G = addMonoidHom G := rfl
110+
orderAddMonoidHom G = addMonoidHom G := rfl
111111

112112
@[simp]
113113
lemma LocallyFiniteOrder.orderAddMonoidHom_apply (x : G) :
114-
orderAddMonoidHom G x = addMonoidHom G x := rfl
114+
orderAddMonoidHom G x = addMonoidHom G x := rfl
115115

116116
lemma LocallyFiniteOrder.orderAddMonoidHom_strictMono :
117117
StrictMono (orderAddMonoidHom G) := by
@@ -158,7 +158,7 @@ def LocallyFiniteOrder.orderAddMonoidEquiv [Nontrivial G] :
158158
· simp [orderAddMonoidHom, addMonoidHom, hb]
159159

160160
lemma LocallyFiniteOrder.orderAddMonoidEquiv_apply [Nontrivial G] (x : G) :
161-
orderAddMonoidEquiv G x = addMonoidHom G x := rfl
161+
orderAddMonoidEquiv G x = addMonoidHom G x := rfl
162162

163163
/-- Any linearly ordered abelian group that is locally finite embeds to `Multiplicative ℤ`. -/
164164
noncomputable

Mathlib/AlgebraicGeometry/AffineSpace.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -465,8 +465,8 @@ One should bear this equality in mind when breaking the `Spec R/ PrimeSpectrum R
465465
boundary, since these instances are not definitionally equal.
466466
-/
467467
example (R : CommRingCat) :
468-
inferInstance (α := Preorder (Spec R)) =
469-
inferInstance (α := Preorder (PrimeSpectrum R)ᵒᵈ) := by aesop (add simp spec_le_iff)
468+
inferInstance (α := Preorder (Spec R)) = inferInstance (α := Preorder (PrimeSpectrum R)ᵒᵈ) := by
469+
aesop (add simp spec_le_iff)
470470

471471
end instances
472472

Mathlib/Analysis/InnerProductSpace/Harmonic/Constructions.lean

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,14 @@ theorem AnalyticAt.harmonicAt_re {f : ℂ → ℂ} (h : AnalyticAt ℂ f x) :
5252
If `f : ℂ → ℂ` is complex-analytic, then its imaginary part is harmonic.
5353
-/
5454
theorem AnalyticAt.harmonicAt_im {f : ℂ → ℂ} (h : AnalyticAt ℂ f x) :
55-
HarmonicAt (fun z ↦ (f z).im) x := h.harmonicAt.comp_CLM imCLM
55+
HarmonicAt (fun z ↦ (f z).im) x :=
56+
h.harmonicAt.comp_CLM imCLM
5657

5758
/--
5859
If `f : ℂ → ℂ` is complex-analytic, then its complex conjugate is harmonic.
5960
-/
60-
theorem AnalyticAt.harmonicAt_conj {f : ℂ → ℂ} (h : AnalyticAt ℂ f x) :
61-
HarmonicAt (conj f) x := (harmonicAt_comp_CLE_iff conjCLE).2 h.harmonicAt
61+
theorem AnalyticAt.harmonicAt_conj {f : ℂ → ℂ} (h : AnalyticAt ℂ f x) : HarmonicAt (conj f) x :=
62+
(harmonicAt_comp_CLE_iff conjCLE).2 h.harmonicAt
6263

6364
/-!
6465
## Harmonicity of `log ‖analytic‖`

Mathlib/CategoryTheory/Abelian/GrothendieckCategory/EnoughInjectives.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -240,7 +240,7 @@ variable {J} in
240240
is a transfinite composition of pushouts of monomorphisms in the
241241
family `generatingMonomorphisms G`. -/
242242
noncomputable def transfiniteCompositionOfShapeMapFromBot (j : J) :
243-
(generatingMonomorphisms G).pushouts.TransfiniteCompositionOfShape (Set.Iic j)
243+
(generatingMonomorphisms G).pushouts.TransfiniteCompositionOfShape (Set.Iic j)
244244
((functor hG A₀ J).map (homOfLE bot_le : ⊥ ⟶ j)) where
245245
F := (Set.initialSegIic j).monotone.functor ⋙ functor hG A₀ J
246246
isoBot := Iso.refl _

Mathlib/CategoryTheory/Bicategory/Functor/Oplax.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ structure OplaxFunctor (B : Type u₁) [Bicategory.{w₁, v₁} B] (C : Type u
6868
map₂_associator :
6969
∀ {a b c d : B} (f : a ⟶ b) (g : b ⟶ c) (h : c ⟶ d),
7070
map₂ (α_ f g h).hom ≫ mapComp f (g ≫ h) ≫ map f ◁ mapComp g h =
71-
mapComp (f ≫ g) h ≫ mapComp f g ▷ map h ≫ (α_ (map f) (map g) (map h)).hom := by
71+
mapComp (f ≫ g) h ≫ mapComp f g ▷ map h ≫ (α_ (map f) (map g) (map h)).hom := by
7272
aesop_cat
7373
/-- Oplax left unity. -/
7474
map₂_leftUnitor :

Mathlib/CategoryTheory/EffectiveEpi/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ structure EffectiveEpiFamilyStruct {B : C} {α : Type*}
110110
`X ⟶ W`...
111111
-/
112112
desc : ∀ {W} (e : (a : α) → (X a ⟶ W)),
113-
(∀ {Z : C} (a₁ a₂ : α) (g₁ : Z ⟶ X a₁) (g₂ : Z ⟶ X a₂),
113+
(∀ {Z : C} (a₁ a₂ : α) (g₁ : Z ⟶ X a₁) (g₂ : Z ⟶ X a₂),
114114
g₁ ≫ π _ = g₂ ≫ π _ → g₁ ≫ e _ = g₂ ≫ e _) → (B ⟶ W)
115115
/-- ...factorizing the components of `e` through the components of `π`... -/
116116
fac : ∀ {W} (e : (a : α) → (X a ⟶ W))

Mathlib/CategoryTheory/GradedObject/Trifunctor.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -291,8 +291,8 @@ lemma ιMapBifunctor₁₂BifunctorMapObj_eq (i₁ : I₁) (i₂ : I₂) (i₃ :
291291
(h : r (i₁, i₂, i₃) = j) (i₁₂ : ρ₁₂.I₁₂) (h₁₂ : ρ₁₂.p ⟨i₁, i₂⟩ = i₁₂) :
292292
ιMapBifunctor₁₂BifunctorMapObj F₁₂ G ρ₁₂ X₁ X₂ X₃ i₁ i₂ i₃ j h =
293293
(G.map (ιMapBifunctorMapObj F₁₂ ρ₁₂.p X₁ X₂ i₁ i₂ i₁₂ h₁₂)).app (X₃ i₃) ≫
294-
ιMapBifunctorMapObj G ρ₁₂.q (mapBifunctorMapObj F₁₂ ρ₁₂.p X₁ X₂) X₃ i₁₂ i₃ j
295-
(by rw [← h₁₂, ← h, ← ρ₁₂.hpq]) := by
294+
ιMapBifunctorMapObj G ρ₁₂.q (mapBifunctorMapObj F₁₂ ρ₁₂.p X₁ X₂) X₃ i₁₂ i₃ j
295+
(by rw [← h₁₂, ← h, ← ρ₁₂.hpq]) := by
296296
subst h₁₂
297297
rfl
298298

Mathlib/CategoryTheory/Join/Pseudofunctor.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -78,17 +78,17 @@ variable (A) in
7878
@[reassoc]
7979
lemma mapWhiskerLeft_associator_hom (F : B ⥤ C) (G : C ⥤ D) (H : D ⥤ E) :
8080
mapWhiskerLeft _ (F.associator G H).hom =
81-
(mapCompRight A (F ⋙ G) H).hom ≫ whiskerRight (mapCompRight A F G).hom (mapPair (𝟭 A) H) ≫
81+
(mapCompRight A (F ⋙ G) H).hom ≫ whiskerRight (mapCompRight A F G).hom (mapPair (𝟭 A) H) ≫
8282
((mapPair (𝟭 A) F).associator (mapPair (𝟭 A) G) (mapPair (𝟭 A) H)).hom ≫
83-
whiskerLeft (mapPair (𝟭 A) F) (mapCompRight A G H).inv ≫ (mapCompRight A F (G ⋙ H)).inv := by
83+
whiskerLeft (mapPair (𝟭 A) F) (mapCompRight A G H).inv ≫ (mapCompRight A F (G ⋙ H)).inv := by
8484
apply natTrans_ext <;> ext <;> simp [mapCompRight]
8585

8686
variable (E) in
8787
lemma mapWhiskerRight_associator_hom (F : A ⥤ B) (G : B ⥤ C) (H : C ⥤ D) :
8888
mapWhiskerRight (F.associator G H).hom _ =
8989
(mapCompLeft E (F ⋙ G) H).hom ≫ whiskerRight (mapCompLeft E F G).hom (mapPair H (𝟭 E)) ≫
9090
((mapPair F (𝟭 E)).associator (mapPair G (𝟭 E)) (mapPair H (𝟭 E))).hom ≫
91-
whiskerLeft (mapPair F (𝟭 E)) (mapCompLeft E G H).inv ≫ (mapCompLeft E F (G ⋙ H)).inv := by
91+
whiskerLeft (mapPair F (𝟭 E)) (mapCompLeft E G H).inv ≫ (mapCompLeft E F (G ⋙ H)).inv := by
9292
apply natTrans_ext <;> ext <;> simp [mapCompLeft]
9393

9494
variable (A) in

Mathlib/CategoryTheory/Limits/HasLimits.lean

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1027,11 +1027,10 @@ theorem colimit.pre_id (F : J ⥤ C) :
10271027
colimit.pre F (𝟭 _) = colim.map (Functor.leftUnitor F).hom := by aesop_cat
10281028

10291029
theorem colimit.map_post {D : Type u'} [Category.{v'} D] [HasColimitsOfShape J D]
1030-
(H : C ⥤ D) :/- H (colimit F) ⟶ H (colimit G) ⟶ colimit (G ⋙ H) vs
1031-
H (colimit F) ⟶ colimit (F ⋙ H) ⟶ colimit (G ⋙ H) -/
1032-
colimit.post
1033-
F H ≫
1034-
H.map (colim.map α) =
1030+
(H : C ⥤ D) :
1031+
/- H (colimit F) ⟶ H (colimit G) ⟶ colimit (G ⋙ H) vs
1032+
H (colimit F) ⟶ colimit (F ⋙ H) ⟶ colimit (G ⋙ H) -/
1033+
colimit.post F H ≫ H.map (colim.map α) =
10351034
colim.map (whiskerRight α H) ≫ colimit.post G H := by
10361035
ext
10371036
rw [← assoc, colimit.ι_post, ← H.map_comp, colimit.ι_map, H.map_comp]

0 commit comments

Comments
 (0)