Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Prices.Law

Covers of wires as identities between functions of bits #

For the proof of Theorem G.2 (thm:laws) of VP ≠ VNP over every field [Ant26]. A cover of a product of wires by products of wires is an identity between functions of bits (Separation.Prices.WireId, Separation.Prices.exists_wireId). Powers and products of products of wires are again products of wires (Separation.Prices.antisymmRel_wires_pow, Separation.Prices.antisymmRel_prod_wires_pow), and a spectral point at wires of n e bits is 2 ^ ∑ e, n e · d(e) (Separation.Prices.apply_wires_two_pow).

Main definitions #

Main results #

References #

def Cslib.Circuits.Arithmetic.Separation.Prices.WireId (R : Type) [CommRing R] {V E N ι : Type} [Fintype V] [Fintype E] [Fintype N] [DecidableEq N] [Fintype ι] (a b : E → V) (c d : N → V) (n : E → ℕ) (len : ι → N → ℕ) (tab : (i : ι) → (p : V) → ((e : { e : E // a e = p ∨ b e = p }) → Fin (n ↑e) → Bool) → ((ν : { ν : N // c ν = p ∨ d ν = p }) → Fin (len i ↑ν) → Bool) → R) :

An identity that rewrites wires. Parties V; old wires e with ends a e, b e and n e bits; new wires ν with ends c ν, d ν. For all copies X p (of the bits of the old wires at p, for every party p): [for every old wire the two copies agree] = Σ_i Σ_(bits g of all new wires) ∏_p tab i p (X p) (g at p); in the term i the new wire ν has len i ν bits.

theorem Cslib.Circuits.Arithmetic.Separation.Prices.exists_wireId {K : Type} [Field K] {V : Type} [Fintype V] [DecidableEq V] {E N : Type} [Fintype E] [DecidableEq E] [Fintype N] [DecidableEq N] {ι : Type} [Fintype ι] {a b : E → V} {c d : N → V} {n : E → ℕ} {len : ι → N → ℕ} (h : (PartyTensor.wires K a b fun (e : E) => 2 ^ n e).CoveredBy fun (i : ι) => PartyTensor.wires K c d fun (ν : N) => 2 ^ len i ν) :
∃ (tab : (i : ι) → (p : V) → ((e : { e : E // a e = p ∨ b e = p }) → Fin (n ↑e) → Bool) → ((ν : { ν : N // c ν = p ∨ d ν = p }) → Fin (len i ↑ν) → Bool) → K), WireId K a b c d n len tab

A sum of restrictions of wires is an identity between functions of bits.

theorem Cslib.Circuits.Arithmetic.Separation.Prices.antisymmRel_wires_pow {K : Type} [Field K] {V : Type} [Fintype V] [DecidableEq V] {E : Type} [Fintype E] [DecidableEq E] (a b : E → V) (n : E → ℕ) (q : ℕ) :
AntisymmRel (fun (x1 x2 : PartyTensor K V) => x1 ≤ x2) ((PartyTensor.wires K a b fun (e : E) => 2 ^ n e) ^ q) (PartyTensor.wires K a b fun (e : E) => 2 ^ (q * n e))
theorem Cslib.Circuits.Arithmetic.Separation.Prices.antisymmRel_prod_wires_pow {K : Type} [Field K] {V : Type} [Fintype V] [DecidableEq V] {N : Type} [Fintype N] [DecidableEq N] {B : Type} [Fintype B] [DecidableEq B] (c d : N → V) (ℬ : B → N → ℕ) (v : B → ℕ) :
AntisymmRel (fun (x1 x2 : PartyTensor K V) => x1 ≤ x2) (PartyTensor.prod fun (β : B) => (PartyTensor.wires K c d fun (ν : N) => 2 ^ ℬ β ν) ^ v β) (PartyTensor.wires K c d fun (ν : N) => 2 ^ ∑ β : B, v β * ℬ β ν)
theorem Cslib.Circuits.Arithmetic.Separation.Prices.apply_wires_two_pow {K : Type} [Field K] {V : Type} [Fintype V] [DecidableEq V] {E : Type} [Fintype E] [DecidableEq E] (F : PartyTensor.SpectralPoint K V) (a b : E → V) (n : E → ℕ) :
F.toFun (PartyTensor.wires K a b fun (e : E) => 2 ^ n e) = 2 ^ ∑ e : E, ↑(n e) * F.wireExponent (a e) (b e)

The price of wires of n e bits.