Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Interpreter.BaseChange

Accelerators and changes of the ring of constants #

Tries of constants map along ring homomorphisms (Interpreter.KT.map). An accelerator with constants in R gives one with constants in R' along an A-algebra map, and back along an injective one (Interpreter.IsAccT.map, Interpreter.IsAccT.of_map). The constants of a trie lie in a finitely generated subalgebra (Interpreter.KT.exists_lift). Bounds for the number of binary digits Interpreter.lg follow, and Interpreter.HasAcc states that an accelerator exists at a scale.

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

Main definitions #

Main results #

The images of the constants.

theorem Cslib.Circuits.Arithmetic.Separation.Interpreter.KT.nds_map {R R' : Type} (f : R → R') (K : KT R) :
(map f K).nds = K.nds
theorem Cslib.Circuits.Arithmetic.Separation.Interpreter.KT.ht_map {R R' : Type} (f : R → R') (K : KT R) :
(map f K).ht = K.ht
theorem Cslib.Circuits.Arithmetic.Separation.Interpreter.KT.combVal_map {R : Type} [CommRing R] {R' : Type} [CommRing R'] (f : R →+* R') (c : R) (p : List Bool) :
combVal (f c) p = f (combVal c p)
theorem Cslib.Circuits.Arithmetic.Separation.Interpreter.KT.lk_map {R : Type} [CommRing R] {R' : Type} [CommRing R'] (f : R →+* R') (K : KT R) (p : List Bool) :
(map (⇑f) K).lk p = f (K.lk p)
theorem Cslib.Circuits.Arithmetic.Separation.Interpreter.KT.inB_map {R R' : Type} (f : R → R') (B : ℕ) (K : KT R) (p : List Bool) :
InB B (map f K) p ↔ InB B K p
theorem Cslib.Circuits.Arithmetic.Separation.Interpreter.KT.exists_lift {A : Type} [CommRing A] {R : Type} [CommRing R] [Algebra A R] (S : Subalgebra A R) (K : KT R) (h : K.consts ⊆ ↑S) :
∃ (K' : KT ↥S), map (⇑S.val) K' = K
theorem Cslib.Circuits.Arithmetic.Separation.Interpreter.val_map {A : Type} [CommRing A] {R : Type} [CommRing R] [Algebra A R] {R' : Type} [CommRing R'] [Algebra A R'] (f : R →ₐ[A] R') (K : KT R) (l : List (Run A)) :
val (KT.map (⇑f) K).lk l = f (val K.lk l)
theorem Cslib.Circuits.Arithmetic.Separation.Interpreter.IsAccT.map {A : Type} [CommRing A] {θ : List Bool → A} {R : Type} [CommRing R] [Algebra A R] {R' : Type} [CommRing R'] [Algebra A R'] {H v t : ℕ} {K : KT R} {B : ℕ} {D : Tree} (h : IsAccT θ H v t K B D) (f : R →ₐ[A] R') :
IsAccT θ H v t (KT.map (⇑f) K) B D
theorem Cslib.Circuits.Arithmetic.Separation.Interpreter.IsAccT.of_map {A : Type} [CommRing A] {θ : List Bool → A} {R : Type} [CommRing R] [Algebra A R] {R' : Type} [CommRing R'] [Algebra A R'] {H v t : ℕ} {K : KT R} {B : ℕ} {D : Tree} {f : R →ₐ[A] R'} (hf : Function.Injective ⇑f) (h : IsAccT θ H v t (KT.map (⇑f) K) B D) :
IsAccT θ H v t K B D
theorem Cslib.Circuits.Arithmetic.Separation.Interpreter.poly_lg (c k : ℕ) :
∃ (n₀ : ℕ), ∀ (n : ℕ), n₀ ≤ n → c * lg n ^ k ≤ n

Powers of the logarithm are small.

There is an accelerator of size s at the scale V = v ^ H over R: a trie of at most s nodes with constants of R, and a program of size at most s that has the values of the universal plain sums of V steps on all instances of size V ^ (1 - 2 η) in V ^ (1 - η) steps, η = 16 / H; names of constants and exponents are of polylogarithmic length.