Documentation

Complexitylib.Algebraic.LowerBound.Cutwidth.Aggregate.Geometry.Affine.Defs

Affine flats in the Boolean cube #

A nonempty subset of the Boolean cube is an affine flat exactly when it is closed under ternary XOR. This finite presentation keeps the original Boolean coordinates. Affine Boolean functions preserve that ternary operation on their domain flat.

def Algebraic.Aggregate.Geometry.xorThree {n : ℕ} (x y z : Fin n → Bool) :
Fin n → Bool

Ternary affine addition over the two-element field.

Equations
Instances For

    A finite nonempty affine flat, expressed without changing the input encoding.

    Instances For

      A Boolean function is affine on a flat when it preserves ternary XOR.

      Equations
      Instances For

        The function has one constant value throughout the flat.

        Equations
        Instances For