Tasks on tape and input channels #
A program is a series on the channels "side b of tape s" and "input j" (Tape.Ch S J). Its
value at an input u is the sum, over all contents W of the tapes of total length at most t,
of the weight of the program putting the same word W s on both sides of each tape s.
From VP ≠ VNP over every field [Ant26], module Nc.Tape.Task.
Main definitions #
Tape.Ch,Tape.chSumEquiv: tape and input channels, equivalent to(S × Bool) ⊕ J.Tape.tup: channel word assignment matching both sides of every tape.Tape.contents: finite set of tape contents of total length at mostt.Tape.val: value of a program at an inputuwith tape budgett.Tape.Bdd: all contributing tape contents have total length at mostt.
Main results #
inductive Cslib.Circuits.Arithmetic.Separation.Tape.Ch (S : Type u_1) (J : Type u_2) :
Type (max u_1 u_2)
Channels: the two sides of each tape s : S, and the inputs j : J.
- tp {S : Type u_1} {J : Type u_2} (s : S) (b : Bool) : Ch S J
a side (
false/true) of a tapes - inp {S : Type u_1} {J : Type u_2} (j : J) : Ch S J
an input channel
j
Instances For
def Cslib.Circuits.Arithmetic.Separation.Tape.instDecidableEqCh.decEq {S✝ : Type u_1} {J✝ : Type u_2} [DecidableEq S✝] [DecidableEq J✝] (x✝ x✝¹ : Ch S✝ J✝) :
@[instance_reducible]
instance Cslib.Circuits.Arithmetic.Separation.Tape.instDecidableEqCh {S✝ : Type u_1} {J✝ : Type u_2} [DecidableEq S✝] [DecidableEq J✝] :
DecidableEq (Ch S✝ J✝)
noncomputable def Cslib.Circuits.Arithmetic.Separation.Tape.contents (S : Type u_1) (Γ : Type u_2) [Fintype S] [DecidableEq S] [Finite Γ] (t : ℕ) :
The finite set of tape contents of total length at most t.
noncomputable def Cslib.Circuits.Arithmetic.Separation.Tape.val {F : Type u_1} [CommRing F] {Γ : Type u_2} [Finite Γ] {S : Type u_3} {J : Type u_4} [Fintype S] [DecidableEq S] [Fintype J] [DecidableEq J] (t : ℕ) (P : Automata.Weighted.Series F (Ch S J × Γ)) (u : J → List Γ) :
F
The value of a program, summed over tape contents of total length at most t.
def Cslib.Circuits.Arithmetic.Separation.Tape.Bdd {F : Type u_1} [CommRing F] {Γ : Type u_2} [Finite Γ] {S : Type u_3} {J : Type u_4} [Fintype S] [DecidableEq S] [Fintype J] [DecidableEq J] (t : ℕ) (P : Automata.Weighted.Series F (Ch S J × Γ)) (u : J → List Γ) :
All tape contents that contribute have total length at most t.
theorem Cslib.Circuits.Arithmetic.Separation.Tape.val_eq_of_bdd {F : Type u_1} [CommRing F] {Γ : Type u_2} [Finite Γ] {S : Type u_3} {J : Type u_4} [Fintype S] [DecidableEq S] [Fintype J] [DecidableEq J] {t t' : ℕ} {P : Automata.Weighted.Series F (Ch S J × Γ)} {u : J → List Γ} (h : Bdd t P u) (ht : t ≤ t') :