pub fn canonicalize_e7<const N: usize>(
operand: &KappaLabel<N>,
) -> Result<Vec<u8>, CompositionFailure>Expand description
CS-E7 canonicalize discipline: the 24-element equivalence relation on operands under the S₄ quarter-permutation orbit. Per wiki ADR-061 §(3) the framework names the algebraic structure (a 24-element equivalence relation per ADR-059); the realization commits the S₄ action by quarter-permutation of the raw digest.
The raw digest is partitioned into 4 equal-width quarters; the 24 permutations of S₄ generate 24 candidate raw-digest byte sequences; the canonical representative is the lex-min of the 24-element orbit. The σ-axis prefix is preserved.