Skip to content

Commit 338973d

Browse files
committed
chore: fix whitespace (#35909)
Found by extending the whitespace linter to proof bodies in #30658.
1 parent b5d3855 commit 338973d

File tree

63 files changed

+93
-91
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+93
-91
lines changed

Mathlib/Algebra/Category/ModuleCat/Stalk.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ lemma IsColimit.ι_smul {cR : Cocone R} (hcR : IsColimit cR) {cM : Cocone M}
144144
(β := AddCommGrpCat.FilteredColimits.colimit M)
145145
((cR.ι.app i ≫ β.hom) r) ((cM.ι.app i ≫ α.hom) m))
146146
simp only [Functor.const_obj_obj, comp_coconePointUniqueUpToIso_hom, α, β]
147-
obtain ⟨s, α, H⟩ := IsFilteredOrEmpty.cocone_maps (leftToMax i i) (rightToMax i i)
147+
obtain ⟨s, α, H⟩ := IsFilteredOrEmpty.cocone_maps (leftToMax i i) (rightToMax i i)
148148
refine Functor.ιColimitType_eq_of_map_eq_map _ _ _ (leftToMax _ _ ≫ α) α ?_
149149
dsimp
150150
simp only [← ConcreteCategory.comp_apply, ← Functor.map_comp, *]

Mathlib/Algebra/Homology/SpectralSequence/Basic.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ attribute [reassoc (attr := simp)] Hom.comm
6868
@[simps! id_hom comp_hom]
6969
instance : Category (SpectralSequence C c r₀) where
7070
Hom := Hom
71-
id _ := { hom _ _ := 𝟙 _}
71+
id _ := { hom _ _ := 𝟙 _ }
7272
comp f g :=
7373
{ hom r hr := f.hom r ≫ g.hom r
7474
comm r r' hrr' pq hr := by

Mathlib/Algebra/Lie/SemiDirect.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ def toProdl : (K ⋊⁅ψ⁆ L) ≃ₗ[R] K × L :=
7171
map_smul' _ _ := rfl }
7272

7373
instance : Bracket (K ⋊⁅ψ⁆ L) (K ⋊⁅ψ⁆ L) where
74-
bracket x y := ⟨⁅x.left, y.left⁆ + ψ x.right y.left - ψ y.right x.left, ⁅x.right, y.right⁆⟩
74+
bracket x y := ⟨⁅x.left, y.left⁆ + ψ x.right y.left - ψ y.right x.left, ⁅x.right, y.right⁆⟩
7575

7676
@[simp] lemma zero_eq_mk : (0 : K ⋊⁅ψ⁆ L) = ⟨0, 0⟩ := rfl
7777
@[simp] lemma add_eq_mk (x y : K ⋊⁅ψ⁆ L) : x + y = ⟨x.left + y.left, x.right + y.right⟩ := rfl
@@ -84,7 +84,7 @@ instance : Bracket (K ⋊⁅ψ⁆ L) (K ⋊⁅ψ⁆ L) where
8484

8585
instance : LieRing (K ⋊⁅ψ⁆ L) where
8686
add_lie _ _ _ := by simp; abel
87-
lie_add _ _ _:= by simp; abel
87+
lie_add _ _ _ := by simp; abel
8888
lie_self _ := by simp
8989
leibniz_lie _ _ _ := by simp; grind [lie_skew]
9090

Mathlib/Algebra/Module/SpanRank.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -308,7 +308,7 @@ lemma le_spanRank_restrictScalars (N : Submodule S M) :
308308
N.spanRank ≤ (N.restrictScalars R).spanRank := by
309309
obtain ⟨s, hs, e⟩ := (N.restrictScalars R).exists_span_set_card_eq_spanRank
310310
obtain rfl : span S s = N :=
311-
le_antisymm (span_le.mpr (span_le.mp e.le:)) (e.ge.trans (span_le_restrictScalars R S s))
311+
le_antisymm (span_le.mpr (span_le.mp e.le :)) (e.ge.trans (span_le_restrictScalars R S s))
312312
grw [← hs, spanRank_span_le_card]
313313

314314
lemma spanRank_restrictScalars_eq (H : Function.Surjective (algebraMap R S))

Mathlib/AlgebraicGeometry/ColimitsOver.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ lemma hasColimit_of_locallyDirected
289289
let d : ColimitGluingData D 𝒰 :=
290290
{ cocone _ := colimit.cocone _
291291
isColimit _ := colimit.isColimit _
292-
prop_trans := H }
292+
prop_trans := H }
293293
⟨d.gluedCocone, d.isColimitGluedCocone⟩
294294

295295
end AlgebraicGeometry.Scheme.Cover

Mathlib/AlgebraicGeometry/Group/Abelian.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,12 +117,12 @@ theorem isCommMonObj_of_isProper_of_isIntegral_tensorObj_of_isAlgClosed [IsAlgCl
117117
simp [Set.range_comp, Scheme.Pullback.range_map, x]
118118
· exact ⟨y, subset_closure (by simp), rfl⟩
119119
· refine ⟨xe, subset_closure ?_, ?_⟩
120-
· simp [xe, ← Scheme.Hom.comp_apply, - Scheme.Hom.comp_base]
120+
· simp [xe, ← Scheme.Hom.comp_apply, -Scheme.Hom.comp_base]
121121
· simp only [xe, γ, ← Scheme.Hom.comp_apply, ← Over.comp_left]
122122
congr 6; ext <;> simp
123123
convert congr((snd G G).left $this) using 1
124124
· simp [γ, ← Scheme.Hom.comp_apply]
125-
· simp [xe, ← Scheme.Hom.comp_apply, - Scheme.Hom.comp_base]
125+
· simp [xe, ← Scheme.Hom.comp_apply, -Scheme.Hom.comp_base]
126126
· simp
127127

128128
set_option backward.isDefEq.respectTransparency false in

Mathlib/AlgebraicGeometry/Morphisms/QuasiFinite.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ nonrec lemma LocallyQuasiFinite.of_finite_preimage_singleton
307307
obtain ⟨R, rfl⟩ := hY
308308
wlog hX : ∃ S, X = Spec S
309309
· exact (IsZariskiLocalAtSource.iff_of_openCover X.affineCover).mpr fun i ↦ this _ _
310-
(fun x ↦ ((hf x).preimage (X.affineCover.f _).isOpenEmbedding.injective.injOn:)) ⟨_, rfl⟩
310+
(fun x ↦ ((hf x).preimage (X.affineCover.f _).isOpenEmbedding.injective.injOn :)) ⟨_, rfl⟩
311311
obtain ⟨S, rfl⟩ := hX
312312
obtain ⟨φ, rfl⟩ := Spec.map_surjective f
313313
simp only [HasRingHomProperty.Spec_iff, id_eq] at *

Mathlib/AlgebraicGeometry/Normalization.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ instance [Smooth g] : IsIso (f.normalizationPullback g) := by
616616
← Scheme.Hom.preimage_inf, inf_eq_right.mpr hVU]) hU hV (f.isCompact_preimage hU.isCompact)
617617
(f.isQuasiSeparated_preimage hU.isQuasiSeparated)
618618
let e₀ := (CommRingCat.isPushout_tensorProduct ..).flip.isoPushout ≪≫
619-
(pushout.congrHom f.app_eq_appLE rfl ≪≫ @asIso _ _ _ _ _ this:)
619+
(pushout.congrHom f.app_eq_appLE rfl ≪≫ @asIso _ _ _ _ _ this :)
620620
let e : Γ(Y, V) ⊗[Γ(S, U)] Γ(X, f ⁻¹ᵁ U) ≃ₐ[Γ(Y, V)] Γ(pullback f g, pullback.snd f g ⁻¹ᵁ V) :=
621621
{ toRingEquiv := e₀.commRingCatIsoToRingEquiv,
622622
commutes' r := by

Mathlib/AlgebraicGeometry/Restrict.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ lemma Scheme.Hom.isPullback_resLE
806806
IsPullback (g.resLE UX UY (by simp [*])) (iY.resLE UT UY (by simp [*]))
807807
(iX.resLE US UX hUSX) (f.resLE US UT hUST) := by
808808
refine .paste_horiz (v₁₂ := iY.resLE _ _
809-
((g.preimage_mono hUSX).trans_eq congr(($H.w) ⁻¹ᵁ US):)) ?_ ?_
809+
((g.preimage_mono hUSX).trans_eq congr(($H.w) ⁻¹ᵁ US) :)) ?_ ?_
810810
· refine (IsOpenImmersion.isPullback _ _ _ _ (by simp) ?_).flip
811811
simp only [Scheme.opensRange_homOfLE, ← Scheme.Hom.comp_preimage, Scheme.Hom.resLE_comp_ι]
812812
rw [Scheme.Hom.comp_preimage, ← (g ⁻¹ᵁ UX).ι.image_injective.eq_iff]

Mathlib/AlgebraicGeometry/Spec.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -290,7 +290,7 @@ theorem Spec_Γ_naturality {R S : CommRingCat.{u}} (f : R ⟶ S) :
290290
/-- The counit (`SpecΓIdentity.inv.op`) of the adjunction `Γ ⊣ Spec` is an isomorphism. -/
291291
@[simps! hom_app inv_app]
292292
def LocallyRingedSpace.SpecΓIdentity : Spec.toLocallyRingedSpace.rightOp ⋙ Γ ≅ 𝟭 _ :=
293-
Iso.symm <| NatIso.ofComponents.{u, u, u + 1, u + 1} (fun R ↦ asIso (toSpecΓ R):)
293+
Iso.symm <| NatIso.ofComponents.{u, u, u + 1, u + 1} (fun R ↦ asIso (toSpecΓ R) :)
294294
fun {X Y} f => by convert Spec_Γ_naturality (R := X) (S := Y) f
295295

296296
end SpecΓ

0 commit comments

Comments
 (0)