Documentation

Complexitylib.Algebraic.LowerBound.Cutwidth.Aggregate.Wiring

Compiling observed signals into a monoid network #

Each selected signal emits its contribution exactly once, at its own vertex. Copy vertices emit the identity. A gate's value is computed from its input slots even when it has no outgoing edge. Consequently arbitrary observation of sinks preserves the wire graph, its degree-three bound, and its edge excess. The monoid need not have cancellation or inverses.

The closed wire graph compiled to an aggregate network.

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

    The product at all vertices contains each selected signal exactly once.

    The global aggregate of a satisfying local evaluation is the aggregate of the trace.

    theorem Algebraic.Cutwidth.Aggregate.Wiring.exists_satisfies_iff {σ : Signature} {n s : ℕ} {p : Program σ n s} (K : MultiOutput.Internal.ClosedSet p) [Nonempty (MultiOutput.Internal.WireGraph.Edge K)] (hinput : InputsHaveFanout K) (I : Interpretation σ Bool) {M : Type} [CommMonoid M] (φ : MultiOutput.Internal.WireGraph.Signal K → Bool → M) (Accept : M → Prop) (x : Fin n → Bool) :
    (∃ (α : MultiOutput.Internal.WireGraph.Edge K → Bool), (aggregateNetwork K hinput I φ Accept).Satisfies x α) ↔ Accept (∏ w : MultiOutput.Internal.WireGraph.Signal K, φ w (p.trace I x ↑w))

    Exact compiler semantics for an arbitrary final predicate on the aggregate.

    The compiled network computes the Boolean predicate of the observed trace product.