Documentation

Complexitylib.Circuits.SparseSynthesis.Internal.Counting

Counting hard sparse functions #

The graphs of all maps from p bits to p bits have exactly 2 ^ p points and give 2 ^ (p * 2 ^ p) distinct scalar functions on 2 * p bits. Even the circuit count without its factorial saving proves that some graph needs more than 2 ^ (p - 4) gates, for every p ≥ 4.

noncomputable def Complexity.CircuitSparseSynthesis.Internal.graphSupport {p : ℕ} (f : (Fin p → Bool) → Fin p → Bool) :
Finset (Fin (p + p) → Bool)

A graph, viewed as a sparse set of inputs on two equal blocks.

Equations
Instances For

    Membership in the graph of a map on bit strings.

    Equations
    Instances For