Documentation

Complexitylib.Circuits.SparseSynthesis.Internal.Asymptotic

Uniform synthesis and relative-complexity estimates #

The thresholds depend only on the accuracy parameter. They are uniform in the support, its prescribed labels, and the number of untouched outputs.

theorem Complexity.CircuitSparseSynthesis.Internal.eventually_correction_nat (P : ℕ) :
∀ᶠ (p : ℕ) in Filter.atTop, ∀ (m : ℕ) (f g : BitString (2 * p) → Fin m → Bool) (domain : Finset (BitString (2 * p))) (outputs : Finset (Fin m)), domain.card ≤ 2 ^ p → outputs.card ≤ 2 * p → (∀ x ∉ domain, f x = g x) → (∀ j ∉ outputs, ∀ (x : BitString (2 * p)), f x j = g x j) → P * (Cslib.Circuits.complexity Cslib.Circuits.Boolean.interpretation f).dist (Cslib.Circuits.complexity Cslib.Circuits.Boolean.interpretation g) ≤ (3 * P + 4) * 2 ^ p