associahedron_d
def
The function associahedron_d takes two pairs a and b in (ZMod 2) × (ZMod 2) and returns the sum in ZMod 2 of the second component of a and the first component of b, namely a.2 + b.1.
Statement
def associahedron_d (a b : ZMod 2 × ZMod 2) : ZMod 2- Defined in
- arXiv:2611.19659, Section 2
- Verified
- 20 Nov 2026
- Axioms
- none listed
- Built on 1
- associahedron_qThe binary operation Q on (ZMod 2)^2 defined by Q(a, b) = (a_0 + a_1 + b_0, a_1 + b_0 + b_1 + 1).
- Used by 1
- associahedron_d_statThe function associahedron_d_stat takes a natural number depth and a tree T : BinTree, and returns the element of ZMod 2 counting…
Read back from the Lean
The function associahedron_d takes two pairs a, b : ZMod 2 × ZMod 2 and returns the sum in ZMod 2 of the second component of a and the first component of b (that is, a.2 + b.1).
Written by a model that saw only the Lean, never the English above. If the two disagree, that is worth a challenge.
Lean source view module on GitHub
/-- The preferred child selector D(a, b) = a.2 + b.1 in ZMod 2. -/ def associahedron_d (a b : ZMod 2 × ZMod 2) : ZMod 2 := a.2 + b.1