pub fn canonicalize_f4<const N: usize>(
operand: &KappaLabel<N>,
) -> Result<Vec<u8>, CompositionFailure>Expand description
CS-F4 canonicalize discipline: the 2-element equivalence relation on operands under the ± mirror involution. Per wiki ADR-061 §(3) the framework names the algebraic structure (a 2-element equivalence relation per ADR-059); the realization commits bitwise-complement of the raw digest as the partition-inducing mirror.
The canonical representative is the lex-min of the 2-element class: compare the operand’s raw digest with its bitwise-complement; the canonical form is the σ-axis prefix concatenated with the lex-min raw digest re-encoded as lowercase hex.