English
The W-type quotient is equipped with a setoid structure using WEquiv as the equivalence relation.
Русский
Трактовка W-по-отношению задаётся через множество-отношение, где эквивалентность определяется WEquiv.
LaTeX
$$$\operatorname{wSetoid}(\alpha) := (q.P.W \alpha, WEquiv, \text{refl}, \text{symm}, \text{trans})$$$
Lean4
/-- Define the fixed point as the quotient of trees under the equivalence relation.
-/
def wSetoid (α : TypeVec n) : Setoid (q.P.W α) :=
⟨WEquiv, wEquiv.refl, wEquiv.symm _ _, WEquiv.trans _ _ _⟩