English
The ChainComplex mk constructor builds a chain complex from an explicit first two objects X0, X1, X2 with differentials d0, d1 and a proof of d1 ∘ d0 = 0 together with a successor constructor succ.
Русский
Конструктор ChainComplex mk строит цепной комплекс из данных X0, X1, X2 с дифференциалами d0, d1 и доказательством d1 ∘ d0 = 0 вместе с конструктором продолжения succ.
LaTeX
$$$\\mathrm{mk}: \\text{ChainComplex } V \\mathbb{N} \\text{ constructed from } X_0, X_1, X_2, d_0, d_1, s, succ$$$
Lean4
@[simp]
theorem mk_X_2 : (mk X₀ X₁ X₂ d₀ d₁ s succ).X 2 = X₂ :=
rfl