Documentation

CslibFrontier.Computability.Circuit.Boolean.AffineDisperser.State

States of 3.5n gate elimination #

Specialization of the pair-type-generic gate-elimination state (Cslib.Circuits.Boolean.AffineDisperserCore.State) for the 3.5n - o(n) lower bound of Mishra and Santhanam:

Main definitions #

Main results #

References #

Weights and pair tameness #

The weight of an unpaired parameter of degree k: 0 if unused, 6 if isolated (k = 1) and 7 if of degree at least two.

The degree weight function weight is monotone.

Every degree weight weight k is at most 7.

@[simp]

An unused parameter (k = 0) has weight 0.

@[simp]

An isolated parameter (k = 1) has weight 6.

A parameter of degree k ≥ 2 has weight 7.

A parameter of positive degree (k ≥ 1) has weight at least 6.

def Cslib.Circuits.Boolean.AffineDisperser.PairTame {α : Type u_1} (σ : α → ℕ → Bool) (pr : ℕ × ℕ) :

Along the family σ of assignments, the pair pr contributes an affine term to a quadratic map: one of its members, or their sum, is constant.

3.5n configuration and state #

@[reducible]

Configuration for 3.5n gate elimination: index pairs ℕ × ℕ, 0/6/7 weights, potential 2 s + 3 q + ∑ wt, potential slope 14, trivial locus, and pair-tame affinity of Φ.

The size coefficient in the 3.5n potential W is 2.

The pair coefficient in the 3.5n potential W is 3.

The potential slope in the 3.5n gate elimination step is 14.

The 3.5n degree weight upper bound is 7.

@[reducible, inline]

A state of gate elimination for a Boolean function on n bits.

Proposition 2.2 and Lemma 2.3 #

theorem Cslib.Circuits.Boolean.AffineDisperser.State.Valid.exists_out_ne {n : ℕ} {S : State n} {f : BooleanFunction n} {d : ℕ} (hS : AffineDisperserCore.State.Valid S f) (hf : BitString.IsAffineDisperser f d) {k : ℕ} (σ : BitString k → ℕ → Bool) (hσ : BitString.IsAffine σ) (htame : ∀ pr ∈ S.pairs, PairTame σ pr) (hinj : ∀ (u v : BitString k), (∀ j ∈ S.params, σ u j = σ v j) → u = v) (hk : d ≤ k) :
∃ (u : BitString k) (v : BitString k) (val : ℕ → Bool) (val' : ℕ → Bool), S.Consistent val ∧ S.Consistent val' ∧ (∀ j ∈ S.params, val j = σ u j) ∧ (∀ j ∈ S.params, val' j = σ v j) ∧ S.out.eval val ≠ S.out.eval val'

Along an injective affine family of parameter assignments on which every pair is tame, the parameter map is an injective affine map, so the output of a valid state for an affine disperser for dimension d is not constant when the family has dimension at least d.

Proposition 2.2 of Mishra and Santhanam: the image of the parameter map of a valid state contains the image of an injective affine map from BitString a.

The output of a valid state for an affine disperser for dimension d ≤ a is not constant.

theorem Cslib.Circuits.Boolean.AffineDisperser.State.Valid.false_of_fix {n : ℕ} {S : State n} {f : BooleanFunction n} {d : ℕ} (hS : AffineDisperserCore.State.Valid S f) (hf : BitString.IsAffineDisperser f d) (ha : d < AffineDisperserCore.State.a S) {x : ℕ} (hx : x ∈ S.params) (c : Bool) (R : Finset ℕ) (hR : R ⊆ S.params) (hxR : x ∉ R) (b : Bool) (hout : ∀ (val : ℕ → Bool), S.Consistent val → val x = c + ∑ j ∈ R, val j → S.out.eval val = b) :

If d < a, the output of a valid state for an affine disperser for dimension d is not constant on the consistent assignments satisfying one more affine equation x = c + ∑ j ∈ R, u j between the parameters: imposing it keeps an affine subspace of dimension a - 1 ≥ d in the image of the parameter map.

theorem Cslib.Circuits.Boolean.AffineDisperser.State.Valid.out_not_affine {n : ℕ} {S : State n} {f : BooleanFunction n} {d : ℕ} (hS : AffineDisperserCore.State.Valid S f) (hf : BitString.IsAffineDisperser f d) (ha : d < AffineDisperserCore.State.a S) (c : Bool) {T : Finset ℕ} (hT : T ⊆ S.params) :
¬∀ (val : ℕ → Bool), S.Consistent val → S.out.eval val = c + ∑ j ∈ T, val j

Part of Lemma 2.3 of Mishra and Santhanam: if d < a, the output of a valid state for an affine disperser for dimension d is not an affine function of the parameters.