Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Interpreter.Diag

The diagonal, over a finite ring #

Interpreter.diagF D g guesses a bit. On 1 it accepts with weight 1; on 0 it applies D to the plain instances of its own argument, for the budgets that g guesses. Its value is therefore 1 plus a weighted sum of the values of D (Interpreter.diagF_ev). Over a finite ring this is the diagonal argument against accelerators at a large scale.

From VP ≠ VNP over every field [Ant26], module NS1.Diag.

Main definitions #

Main results #

1 + the value of the argument applied to itself.

theorem Cslib.Circuits.Arithmetic.Separation.Interpreter.diagF_ev {A : Type} [CommRing A] {θ : List Bool → A} {R : Type} [CommRing R] [Algebra A R] {κ : List Bool → R} {D z : Tree} {g : Fm} {cg tD : ℕ} {P : List Bool → Prop} {lg : List (Run A)} {Q : List (Bt × R)} (hg : Ev θ g z lg) (rg : List.Forall₂ (RelG κ P cg) lg Q) (hD : ∀ q ∈ Q, Hl θ (Fm.ofTree D) (zq z z q.1) ∧ ∀ r ∈ evl θ (Fm.ofTree D) (zq z z q.1), r.cost ≤ tD ∧ ∀ n ∈ r.bill, P n) :
∃ (l : List (Run A)), Ev θ (diagF D g) z l ∧ (∀ r ∈ l, r.cost ≤ cg + tD + 30 ∧ ∀ n ∈ r.bill, P n) ∧ val κ l = 1 + (List.map (fun (q : Bt × R) => q.2 * val κ (evl θ (Fm.ofTree D) (zq z z q.1))) Q).sum