Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Sort.RunVal

The value of a program given by its structured runs #

Relates the program value Tape.val t P u and boundedness Tape.Bdd t P u to matched structured runs Tape.Mt em u x (where both sides of every tape match and the input channels equal u).

From VP ≠ VNP over every field [Ant26], module Nc.Sort.RunVal.

Main definitions #

Main results #

def Cslib.Circuits.Arithmetic.Separation.Tape.Mt {Γ : Type u_1} {S : Type u_2} {J : Type u_3} {X : Type u_4} (em : X → Ch S J → List Γ) (u : J → List Γ) (x : X) :

A structured run x matches both sides of every tape and puts u on the input channels.

theorem Cslib.Circuits.Arithmetic.Separation.Tape.Mt.eq_tup {Γ : Type u_1} {S : Type u_2} {J : Type u_3} {X : Type u_4} {em : X → Ch S J → List Γ} {u : J → List Γ} {x : X} (h : Mt em u x) :
em x = tup (fun (s : S) => em x (Ch.tp s true)) u
theorem Cslib.Circuits.Arithmetic.Separation.Tape.Mt.of_tup {Γ : Type u_1} {S : Type u_2} {J : Type u_3} {X : Type u_4} {em : X → Ch S J → List Γ} {u : J → List Γ} {x : X} {W : S → List Γ} (h : em x = tup W u) :
Mt em u x ∧ (fun (s : S) => em x (Ch.tp s true)) = W
theorem Cslib.Circuits.Arithmetic.Separation.Tape.IsRuns.val_eq {F : Type u_1} {Γ : Type u_2} {S : Type u_3} {J : Type u_4} {X : Type u_5} [CommRing F] [Finite Γ] [Fintype S] [DecidableEq S] [Fintype J] [DecidableEq J] {P : Automata.Weighted.Series F (Ch S J × Γ)} {em : X → Ch S J → List Γ} {wt : X → F} (h : IsRuns P em wt) (t : ℕ) (u : J → List Γ) (R : Finset X) (hR : ∀ (x : X), x ∈ R ↔ Mt em u x ∧ ∑ s : S, (em x (Ch.tp s true)).length ≤ t) :
val t P u = ∑ x ∈ R, wt x
theorem Cslib.Circuits.Arithmetic.Separation.Tape.IsRuns.exists_mt {F : Type u_1} {Γ : Type u_2} {S : Type u_3} {J : Type u_4} {X : Type u_5} [CommRing F] [Finite Γ] [Fintype S] [DecidableEq S] [Fintype J] [DecidableEq J] {P : Automata.Weighted.Series F (Ch S J × Γ)} {em : X → Ch S J → List Γ} {wt : X → F} (h : IsRuns P em wt) {u : J → List Γ} {W : S → List Γ} (hW : Automata.Weighted.hat P (tup W u) ≠ 0) :
∃ (x : X), Mt em u x ∧ (fun (s : S) => em x (Ch.tp s true)) = W
theorem Cslib.Circuits.Arithmetic.Separation.Tape.IsRuns.bdd {F : Type u_1} {Γ : Type u_2} {S : Type u_3} {J : Type u_4} {X : Type u_5} [CommRing F] [Finite Γ] [Fintype S] [DecidableEq S] [Fintype J] [DecidableEq J] {P : Automata.Weighted.Series F (Ch S J × Γ)} {em : X → Ch S J → List Γ} {wt : X → F} (h : IsRuns P em wt) {u : J → List Γ} {t : ℕ} (ht : ∀ (x : X), Mt em u x → ∑ s : S, (em x (Ch.tp s true)).length ≤ t) :
Bdd t P u