Skip to content

Commit cf424e9

Browse files
adomaniriccardobrasca
authored andcommitted
chore: whitespace still (#24501)
Mostly whitespace changes found by the linter at #24465.
1 parent ae0ff02 commit cf424e9

File tree

15 files changed

+19
-19
lines changed

15 files changed

+19
-19
lines changed

Archive/Imo/Imo2019Q4.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ open Finset
3535
namespace Imo2019Q4
3636

3737
theorem upper_bound {k n : ℕ} (hk : k > 0)
38-
(h : (k ! : ℤ) = ∏ i ∈ range n, ((2:ℤ) ^ n - (2:ℤ) ^ i)) : n < 6 := by
38+
(h : (k ! : ℤ) = ∏ i ∈ range n, ((2 : ℤ) ^ n - (2 : ℤ) ^ i)) : n < 6 := by
3939
have h2 : ∑ i ∈ range n, i < k := by
4040
suffices emultiplicity 2 (k ! : ℤ) = ↑(∑ i ∈ range n, i : ℕ) by
4141
rw [← Nat.cast_lt (α := ℕ∞), ← this]; change emultiplicity ((2 : ℕ) : ℤ) _ < _

Mathlib/GroupTheory/CoprodI.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ variable {ι : Type*} (M : ι → Type*) [∀ i, Monoid (M i)]
8585

8686
/-- A relation on the free monoid on alphabet `Σ i, M i`,
8787
relating `⟨i, 1⟩` with `1` and `⟨i, x⟩ * ⟨i, y⟩` with `⟨i, x * y⟩`. -/
88-
inductive Monoid.CoprodI.Rel : FreeMonoid (Σi, M i) → FreeMonoid (Σi, M i) → Prop
88+
inductive Monoid.CoprodI.Rel : FreeMonoid (Σ i, M i) → FreeMonoid (Σ i, M i) → Prop
8989
| of_one (i : ι) : Monoid.CoprodI.Rel (FreeMonoid.of ⟨i, 1⟩) 1
9090
| of_mul {i : ι} (x y : M i) :
9191
Monoid.CoprodI.Rel (FreeMonoid.of ⟨i, x⟩ * FreeMonoid.of ⟨i, y⟩) (FreeMonoid.of ⟨i, x * y⟩)

Mathlib/GroupTheory/PushoutI.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -494,7 +494,7 @@ noncomputable def consRecOn {motive : NormalWord d → Sort _} (w : NormalWord d
494494
(empty : motive empty)
495495
(cons : ∀ (i : ι) (g : G i) (w : NormalWord d) (hmw : w.fstIdx ≠ some i)
496496
(_hgn : g ∈ d.set i) (hgr : g ∉ (φ i).range) (_hw1 : w.head = 1),
497-
motive w → motive (cons g w hmw hgr))
497+
motive w → motive (cons g w hmw hgr))
498498
(base : ∀ (h : H) (w : NormalWord d), w.head = 1 → motive w → motive
499499
(base φ h • w)) : motive w := by
500500
rcases w with ⟨w, head, h3⟩

Mathlib/LinearAlgebra/TensorProduct/Graded/Internal.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -296,7 +296,7 @@ variable {C} [Ring C] [Algebra R C]
296296
product can be assembled from maps on each component that (anti)commute on pure elements of the
297297
corresponding graded algebras. -/
298298
def lift (f : A →ₐ[R] C) (g : B →ₐ[R] C)
299-
(h_anti_commutes : ∀ ⦃i j⦄ (a : 𝒜 i) (b : ℬ j), f a * g b = (-1 : ℤˣ)^(j * i) • (g b * f a)) :
299+
(h_anti_commutes : ∀ ⦃i j⦄ (a : 𝒜 i) (b : ℬ j), f a * g b = (-1 : ℤˣ) ^ (j * i) • (g b * f a)) :
300300
(𝒜 ᵍ⊗[R] ℬ) →ₐ[R] C :=
301301
AlgHom.ofLinearMap
302302
(LinearMap.mul' R C

Mathlib/ModelTheory/Order.lean

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,7 @@ instance : @OrderedStructure L M _ (L.leOfStructure M) _ := by
365365
-- because it will match with any `LE` typeclass search
366366
@[local instance]
367367
def decidableLEOfStructure
368-
[h : DecidableRel (fun (a b : M) => Structure.RelMap (leSymb : L.Relations 2) ![a,b])] :
368+
[h : DecidableRel (fun (a b : M) => Structure.RelMap (leSymb : L.Relations 2) ![a, b])] :
369369
letI := L.leOfStructure M
370370
DecidableLE M := h
371371

@@ -385,7 +385,7 @@ def partialOrderOfModels [h : M ⊨ L.partialOrderTheory] : PartialOrder M where
385385

386386
/-- Any model of a theory of linear orders is a linear order. -/
387387
def linearOrderOfModels [h : M ⊨ L.linearOrderTheory]
388-
[DecidableRel (fun (a b : M) => Structure.RelMap (leSymb : L.Relations 2) ![a,b])] :
388+
[DecidableRel (fun (a b : M) => Structure.RelMap (leSymb : L.Relations 2) ![a, b])] :
389389
LinearOrder M where
390390
__ := L.partialOrderOfModels M
391391
le_total := Relations.realize_total.1 ((Theory.model_iff _).1 h _

Mathlib/NumberTheory/FactorisationProperties.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ theorem Prime.not_perfect (h : Prime p) : ¬ Perfect p := by
136136
exact not_imp_not.mpr (Perfect.pseudoperfect)
137137

138138
/-- Any natural number power of a prime is deficient -/
139-
theorem Prime.deficient_pow (h : Prime n) : Deficient (n ^ m) := by
139+
theorem Prime.deficient_pow (h : Prime n) : Deficient (n ^ m) := by
140140
rcases Nat.eq_zero_or_pos m with (rfl | _)
141141
· simpa using deficient_one
142142
· have h1 : (n ^ m).properDivisors = image (n ^ ·) (range m) := by

Mathlib/NumberTheory/NumberField/CanonicalEmbedding/NormLeOne.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ def realSpaceToLogSpace : realSpace K →ₗ[ℝ] {w : InfinitePlace K // w ≠
347347
map_add' := fun _ _ ↦ funext fun _ ↦ by simpa [sum_add_distrib] using by ring
348348
map_smul' := fun _ _ ↦ funext fun _ ↦ by simpa [← mul_sum] using by ring
349349

350-
theorem realSpaceToLogSpace_apply (x :realSpace K) (w : {w : InfinitePlace K // w ≠ w₀}) :
350+
theorem realSpaceToLogSpace_apply (x : realSpace K) (w : {w : InfinitePlace K // w ≠ w₀}) :
351351
realSpaceToLogSpace x w = x w - w.1.mult * (∑ w', x w') * (Module.finrank ℚ K : ℝ)⁻¹ := rfl
352352

353353
theorem realSpaceToLogSpace_expMap_symm {x : K} (hx : x ≠ 0) :

Mathlib/RingTheory/Binomial.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -462,7 +462,7 @@ end
462462
open Finset
463463

464464
/-- Pochhammer version of Chu-Vandermonde identity -/
465-
theorem descPochhammer_smeval_add [Ring R] {r s : R} (k : ℕ) (h: Commute r s) :
465+
theorem descPochhammer_smeval_add [Ring R] {r s : R} (k : ℕ) (h : Commute r s) :
466466
(descPochhammer ℤ k).smeval (r + s) = ∑ ij ∈ antidiagonal k,
467467
Nat.choose k ij.1 * ((descPochhammer ℤ ij.1).smeval r * (descPochhammer ℤ ij.2).smeval s) := by
468468
induction k with

Mathlib/RingTheory/Ideal/IsPrincipalPowQuotient.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ variable {R : Type*} [CommRing R] [IsDomain R] {I : Ideal R}
3737
that uses the ideal of `R ⧸ I ^ (n + 1)`, compose with
3838
`Ideal.powQuotPowSuccLinearEquivMapMkPowSuccPow`. -/
3939
noncomputable
40-
def quotEquivPowQuotPowSucc (h : I.IsPrincipal) (h': I ≠ ⊥) (n : ℕ) :
40+
def quotEquivPowQuotPowSucc (h : I.IsPrincipal) (h' : I ≠ ⊥) (n : ℕ) :
4141
(R ⧸ I) ≃ₗ[R] (I ^ n : Ideal R) ⧸ (I • ⊤ : Submodule R (I ^ n : Ideal R)) := by
4242
let f : (I ^ n : Ideal R) →ₗ[R] (I ^ n : Ideal R) ⧸ (I • ⊤ : Submodule R (I ^ n : Ideal R)) :=
4343
Submodule.mkQ _

Mathlib/RingTheory/LocalRing/Subring.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ theorem of_injective [IsLocalRing S] {f : R →+* S} (hf : Function.Injective f)
3030

3131
/-- If in a sub(semi)ring `R` of a local (semi)ring `S` every element is either
3232
invertible or a zero divisor, then `R` is local. -/
33-
theorem of_subring [IsLocalRing S] {R : Subsemiring S} (h : ∀ a, a ∈ R⁰ → IsUnit a) :
33+
theorem of_subring [IsLocalRing S] {R : Subsemiring S} (h : ∀ a, a ∈ R⁰ → IsUnit a) :
3434
IsLocalRing R :=
3535
of_injective R.subtype_injective h
3636

0 commit comments

Comments
 (0)