-- Mathlib/AlgebraicTopology/SimplicialSet/Coskeletal.lean
lemma fac_aux₂ {n : ℕ}
    (s : Cone (proj (op ⦋n⦌) (Truncated.inclusion 2).op ⋙ (Truncated.inclusion 2).op ⋙ X))
    (x : s.pt) (i j : ℕ) (hij : i ≤ j) (hj : j ≤ n) :
    X.map (mkOfLe ⟨i, by omega⟩ ⟨j, by omega⟩ hij).op (lift s x) =
      s.π.app (strArrowMk₂ (mkOfLe ⟨i, by omega⟩ ⟨j, by omega⟩ hij)) x

Proof state:
X : SSet
inst✝ : X.StrictSegal
n : ℕ
s : Cone (proj (op ⦋n⦌) (Truncated.inclusion 2).op ⋙ (Truncated.inclusion 2).op ⋙ X)
x : s.pt
k : ℕ
hk :
  ∀ (i j : ℕ) (hij : i ≤ j) (hj : j ≤ n),
    i + k = j → X.map (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij).op (lift s x) = s.π.app (strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij) ⋯) x
i j : ℕ
hij : i ≤ j
hj : j ≤ n
hik : i + (k + 1) = j
α : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLeComp ⟨i, ⋯⟩ ⟨i + k, ⋯⟩ ⟨j, ⋯⟩ ⋯ ⋯) ⋯
α₀ : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLe ⟨i + k, ⋯⟩ ⟨j, ⋯⟩ ⋯) ⋯
α₁ : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ ⋯) ⋯
α₂ : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨i + k, ⋯⟩ ⋯) ⋯
β₀ : α ⟶ α₀ := homMk (mkOfSucc 1).op ⋯
β₁ : α ⟶ α₁ := homMk (δ 1).op ⋯
β₂ : α ⟶ α₂ := homMk (mkOfSucc 0).op ⋯
h₀ : X.map α₀.hom (lift s x) = s.π.app α₀ x
h₂ : X.map α₂.hom (lift s x) = s.π.app α₂ x
t : Fin (1 + 1)
⊢ (α.hom ≫ (mkOfSucc 0).op).unop = α₂.hom.unop

Tactic:
ext x

Result:
case a.h.h.h
X : SSet
inst✝ : X.StrictSegal
n : ℕ
s : Cone (proj (op ⦋n⦌) (Truncated.inclusion 2).op ⋙ (Truncated.inclusion 2).op ⋙ X)
x✝ : s.pt
k : ℕ
hk :
  ∀ (i j : ℕ) (hij : i ≤ j) (hj : j ≤ n),
    i + k = j → X.map (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij).op (lift s x✝) = s.π.app (strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij) ⋯) x✝
i j : ℕ
hij : i ≤ j
hj : j ≤ n
hik : i + (k + 1) = j
α : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLeComp ⟨i, ⋯⟩ ⟨i + k, ⋯⟩ ⟨j, ⋯⟩ ⋯ ⋯) ⋯
α₀ : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLe ⟨i + k, ⋯⟩ ⟨j, ⋯⟩ ⋯) ⋯
α₁ : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ ⋯) ⋯
α₂ : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨i + k, ⋯⟩ ⋯) ⋯
β₀ : α ⟶ α₀ := homMk (mkOfSucc 1).op ⋯
β₁ : α ⟶ α₁ := homMk (δ 1).op ⋯
β₂ : α ⟶ α₂ := homMk (mkOfSucc 0).op ⋯
h₀ : X.map α₀.hom (lift s x✝) = s.π.app α₀ x✝
h₂ : X.map α₂.hom (lift s x✝) = s.π.app α₂ x✝
t : Fin (1 + 1)
x : Fin ((unop (op ⦋1⦌)).len + 1)
⊢ ↑((Hom.toOrderHom (α.hom ≫ (mkOfSucc 0).op).unop) x) = ↑((Hom.toOrderHom α₂.hom.unop) x)

Proof state:
X : SSet
inst✝ : X.StrictSegal
n : ℕ
s : Cone (proj (op ⦋n⦌) (Truncated.inclusion 2).op ⋙ (Truncated.inclusion 2).op ⋙ X)
x : s.pt
k : ℕ
hk :
  ∀ (i j : ℕ) (hij : i ≤ j) (hj : j ≤ n),
    i + k = j → X.map (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij).op (lift s x) = s.π.app (strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij) ⋯) x
i j : ℕ
hij : i ≤ j
hj : j ≤ n
hik : i + (k + 1) = j
α : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLeComp ⟨i, ⋯⟩ ⟨i + k, ⋯⟩ ⟨j, ⋯⟩ ⋯ ⋯) ⋯
α₀ : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLe ⟨i + k, ⋯⟩ ⟨j, ⋯⟩ ⋯) ⋯
α₁ : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ ⋯) ⋯
α₂ : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨i + k, ⋯⟩ ⋯) ⋯
β₀ : α ⟶ α₀ := homMk (mkOfSucc 1).op ⋯
⊢ (α.hom ≫ (Truncated.inclusion 2).op.map (δ 1).op).unop = α₁.hom.unop

Tactic:
ext x

Result:
case a.h.h.h
X : SSet
inst✝ : X.StrictSegal
n : ℕ
s : Cone (proj (op ⦋n⦌) (Truncated.inclusion 2).op ⋙ (Truncated.inclusion 2).op ⋙ X)
x✝ : s.pt
k : ℕ
hk :
  ∀ (i j : ℕ) (hij : i ≤ j) (hj : j ≤ n),
    i + k = j → X.map (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij).op (lift s x✝) = s.π.app (strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij) ⋯) x✝
i j : ℕ
hij : i ≤ j
hj : j ≤ n
hik : i + (k + 1) = j
α : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLeComp ⟨i, ⋯⟩ ⟨i + k, ⋯⟩ ⟨j, ⋯⟩ ⋯ ⋯) ⋯
α₀ : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLe ⟨i + k, ⋯⟩ ⟨j, ⋯⟩ ⋯) ⋯
α₁ : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ ⋯) ⋯
α₂ : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨i + k, ⋯⟩ ⋯) ⋯
β₀ : α ⟶ α₀ := homMk (mkOfSucc 1).op ⋯
x : Fin ((unop ((Truncated.inclusion 2).op.obj α₁.right)).len + 1)
⊢ ↑((Hom.toOrderHom (α.hom ≫ (Truncated.inclusion 2).op.map (δ 1).op).unop) x) = ↑((Hom.toOrderHom α₁.hom.unop) x)

Proof state:
X : SSet
inst✝ : X.StrictSegal
n : ℕ
s : Cone (proj (op ⦋n⦌) (Truncated.inclusion 2).op ⋙ (Truncated.inclusion 2).op ⋙ X)
x : s.pt
i j : ℕ
hij : i ≤ j
hj : j ≤ n
⊢ j < n + 1

Tactic:
omega

Result:
no goals

Proof state:
case a.h
X : SSet
inst✝ : X.StrictSegal
n : ℕ
s : Cone (proj (op ⦋n⦌) (Truncated.inclusion 2).op ⋙ (Truncated.inclusion 2).op ⋙ X)
x : s.pt
k : ℕ
hk :
  ∀ (i j : ℕ) (hij : i ≤ j) (hj : j ≤ n),
    i + k = j → X.map (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij).op (lift s x) = s.π.app (strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij) ⋯) x
i j : ℕ
hij : i ≤ j
hj : j ≤ n
hik : i + (k + 1) = j
α : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLeComp ⟨i, ⋯⟩ ⟨i + k, ⋯⟩ ⟨j, ⋯⟩ ⋯ ⋯) ⋯
α₀ : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLe ⟨i + k, ⋯⟩ ⟨j, ⋯⟩ ⋯) ⋯
α₁ : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ ⋯) ⋯
α₂ : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨i + k, ⋯⟩ ⋯) ⋯
β₀ : α ⟶ α₀ := homMk (mkOfSucc 1).op ⋯
β₁ : α ⟶ α₁ := homMk (δ 1).op ⋯
β₂ : α ⟶ α₂ := homMk (mkOfSucc 0).op ⋯
h₀ : X.map α₀.hom (lift s x) = s.π.app α₀ x
h₂ : X.map α₂.hom (lift s x) = s.π.app α₂ x
t : Fin (1 + 1)
⊢ X.map (α.hom ≫ (mkOfSucc t).op) (lift s x) = X.map (mkOfSucc t).op (s.π.app α x)

Tactic:
match t with
| 0 =>
    have : α.hom ≫ (mkOfSucc 0).op = α₂.hom :=
      Quiver.Hom.unop_inj (by ext x; fin_cases x <;> rfl)
    rw [this, h₂, ← congr_fun (s.w β₂) x]
    rfl
| 1 =>
    have : α.hom ≫ (mkOfSucc 1).op = α₀.hom :=
      Quiver.Hom.unop_inj (by ext x; fin_cases x <;> rfl)
    rw [this, h₀, ← congr_fun (s.w β₀) x]
    rfl

Result:
no goals

Proof state:
X : SSet
inst✝ : X.StrictSegal
n : ℕ
s : Cone (proj (op ⦋n⦌) (Truncated.inclusion 2).op ⋙ (Truncated.inclusion 2).op ⋙ X)
x : s.pt
k : ℕ
hk :
  ∀ (i j : ℕ) (hij : i ≤ j) (hj : j ≤ n),
    i + k = j → X.map (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij).op (lift s x) = s.π.app (strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij) ⋯) x
i j : ℕ
hij : i ≤ j
hj : j ≤ n
hik : i + (k + 1) = j
α : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLeComp ⟨i, ⋯⟩ ⟨i + k, ⋯⟩ ⟨j, ⋯⟩ ⋯ ⋯) ⋯
⊢ i + k < n + 1

Tactic:
omega

Result:
no goals

Proof state:
case intro.succ
X : SSet
inst✝ : X.StrictSegal
n : ℕ
s : Cone (proj (op ⦋n⦌) (Truncated.inclusion 2).op ⋙ (Truncated.inclusion 2).op ⋙ X)
x : s.pt
k : ℕ
hk :
  ∀ (i j : ℕ) (hij : i ≤ j) (hj : j ≤ n),
    i + k = j → X.map (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij).op (lift s x) = s.π.app (strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij) ⋯) x
i j : ℕ
hij : i ≤ j
hj : j ≤ n
hik : i + (k + 1) = j
⊢ X.map (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij).op (lift s x) = s.π.app (strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij) ⋯) x

Tactic:
let α := strArrowMk₂ (mkOfLeComp (n := n) ⟨i, by omega⟩ ⟨i + k, by omega⟩
    ⟨j, by omega⟩ (by simp) (by simp only [Fin.mk_le_mk]; omega))

Result:
case intro.succ
X : SSet
inst✝ : X.StrictSegal
n : ℕ
s : Cone (proj (op ⦋n⦌) (Truncated.inclusion 2).op ⋙ (Truncated.inclusion 2).op ⋙ X)
x : s.pt
k : ℕ
hk :
  ∀ (i j : ℕ) (hij : i ≤ j) (hj : j ≤ n),
    i + k = j → X.map (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij).op (lift s x) = s.π.app (strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij) ⋯) x
i j : ℕ
hij : i ≤ j
hj : j ≤ n
hik : i + (k + 1) = j
α : StructuredArrow (op ⦋n⦌) (Truncated.inclusion 2).op := strArrowMk₂ (mkOfLeComp ⟨i, ⋯⟩ ⟨i + k, ⋯⟩ ⟨j, ⋯⟩ ⋯ ⋯) ⋯
⊢ X.map (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij).op (lift s x) = s.π.app (strArrowMk₂ (mkOfLe ⟨i, ⋯⟩ ⟨j, ⋯⟩ hij) ⋯) x