Skip to content

Commit 858a0d9

Browse files
committed
chore(AlgebraicTopology): fix whitespace (leanprover-community#33177)
Found by extending the commandStart linter to proof bodies.
1 parent 41ba9d1 commit 858a0d9

4 files changed

Lines changed: 8 additions & 8 deletions

File tree

Mathlib/AlgebraicTopology/DoldKan/Projections.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ noncomputable def P : ℕ → (K[X] ⟶ K[X])
5252
| q + 1 => P q ≫ (𝟙 _ + Hσ q)
5353

5454
lemma P_zero : (P 0 : K[X] ⟶ K[X]) = 𝟙 _ := rfl
55-
lemma P_succ (q : ℕ) : (P (q+1) : K[X] ⟶ K[X]) = P q ≫ (𝟙 _ + Hσ q) := rfl
55+
lemma P_succ (q : ℕ) : (P (q + 1) : K[X] ⟶ K[X]) = P q ≫ (𝟙 _ + Hσ q) := rfl
5656

5757
/-- All the `P q` coincide with `𝟙 _` in degree 0. -/
5858
@[simp]

Mathlib/AlgebraicTopology/Quasicategory/Basic.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,9 +37,9 @@ every map of simplicial sets `σ₀ : Λ[n, i] → S` can be extended to a map `
3737
-/
3838
@[kerodon 003A]
3939
class Quasicategory (S : SSet) : Prop where
40-
hornFilling' : ∀ ⦃n : ℕ⦄ ⦃i : Fin (n+3)⦄ (σ₀ : (Λ[n+2, i] : SSet) ⟶ S)
41-
(_h0 : 0 < i) (_hn : i < Fin.last (n+2)),
42-
∃ σ : Δ[n+2] ⟶ S, σ₀ = Λ[n + 2, i].ι ≫ σ
40+
hornFilling' : ∀ ⦃n : ℕ⦄ ⦃i : Fin (n + 3)⦄ (σ₀ : (Λ[n + 2, i] : SSet) ⟶ S)
41+
(_h0 : 0 < i) (_hn : i < Fin.last (n + 2)),
42+
∃ σ : Δ[n + 2] ⟶ S, σ₀ = Λ[n + 2, i].ι ≫ σ
4343

4444
lemma Quasicategory.hornFilling {S : SSet} [Quasicategory S] ⦃n : ℕ⦄ ⦃i : Fin (n + 1)⦄
4545
(h0 : 0 < i) (hn : i < Fin.last n)

Mathlib/AlgebraicTopology/SimplicialSet/FiniteProd.lean

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ variable (X₁ X₂) in
5151
lemma hasDimensionLT_prod
5252
(d₁ d₂ : ℕ) [X₁.HasDimensionLT d₁] [X₂.HasDimensionLT d₂]
5353
(n : ℕ) (hn : d₁ + d₂ ≤ n + 1 := by lia) :
54-
(X₁ ⊗ X₂).HasDimensionLT n := by
54+
(X₁ ⊗ X₂).HasDimensionLT n := by
5555
rw [← hasDimensionLT_subcomplex_top_iff, ← iSup_subcomplexOfSimplex_prod_eq_top]
5656
simp only [Subcomplex.ofSimplexProd_eq_range, hasDimensionLT_iSup_iff]
5757
intro x₁ x₂

Mathlib/AlgebraicTopology/SimplicialSet/Horn.lean

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@ section
8282
variable (n : ℕ) (i k : Fin (n + 3))
8383

8484
/-- The (degenerate) subsimplex of `Λ[n+2, i]` concentrated in vertex `k`. -/
85-
def const (m : SimplexCategoryᵒᵖ) : Λ[n+2, i].obj m :=
86-
SSet.yonedaEquiv (X := Λ[n+2, i])
85+
def const (m : SimplexCategoryᵒᵖ) : Λ[n + 2, i].obj m :=
86+
SSet.yonedaEquiv (X := Λ[n + 2, i])
8787
(SSet.const ⟨stdSimplex.obj₀Equiv.symm k, by simp⟩)
8888

8989
@[simp]
@@ -146,7 +146,7 @@ which is the type of horn that occurs in the horn-filling condition of quasicate
146146
@[simps]
147147
def primitiveTriangle {n : ℕ} (i : Fin (n + 4))
148148
(h₀ : 0 < i) (hₙ : i < Fin.last (n + 3))
149-
(k : ℕ) (h : k < n + 2) : (Λ[n+3, i] : SSet.{u}) _⦋2⦌ := by
149+
(k : ℕ) (h : k < n + 2) : (Λ[n + 3, i] : SSet.{u}) _⦋2⦌ := by
150150
refine ⟨stdSimplex.triangle
151151
(n := n+3) ⟨k, by lia⟩ ⟨k+1, by lia⟩ ⟨k+2, by lia⟩ ?_ ?_, ?_⟩
152152
· simp only [Fin.mk_le_mk, le_add_iff_nonneg_right, zero_le]

0 commit comments

Comments
 (0)