English
The cons constructor appends a generator g ∈ G with an exponent u ∈ ℤˣ to a normal word, maintaining membership and a chain condition ensuring the result stays in normal form.
Русский
Конструктор cons добавляет генератор g ∈ G с показателем u ∈ ℤˣ к нормальному слову, сохраняя принадлежность и условие цепи, чтобы результат оставался в нормальной форме.
LaTeX
$$$\\mathrm{cons}(g,u,w,h_1,h_2) \\in \\text{NormalWord } d$, with head := g and toList := (u,w.head) :: w.toList, preserving mem_set and chain conditions.$$
Lean4
@[ext]
theorem ext {w w' : NormalWord d} (h1 : w.head = w'.head) (h2 : w.toList = w'.toList) : w = w' := by
rcases w with ⟨⟨⟩, _⟩; cases w'; simp_all