Documentation

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

Counting permanently constant gate outputs #

The pairing proof charges a restriction to newly constant outputs. Constancy is preserved on smaller flats, so these charges cannot be reused by later gates.

noncomputable def Algebraic.Aggregate.Geometry.constantCount {n g : ℕ} (p : Program signature n g) (S : AffineFlat n) :

Number of actual gate outputs already constant on a flat.

Equations
  • One or more equations did not get rendered due to their size.
Instances For

    Each actual gate can contribute at most one permanently constant output.

    Further restrictions cannot decrease the constant-output count.

    theorem Algebraic.Aggregate.Geometry.constantCount_lt {n g : ℕ} {S T : AffineFlat n} (p : Program signature n g) (sub : T.carrier ⊆ S.carrier) (gate : Fin g) (before : ¬ConstantOn S (p.gateFunction interpretation gate)) (after : ConstantOn T (p.gateFunction interpretation gate)) :

    Freezing one previously live gate strictly increases the count.

    Appending a line contributes exactly its own constant-output indicator.