Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Tape.Task

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 #

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 tape s

  • 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✝) :
    Decidable (x✝ = x✝¹)
    @[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✝)

    Channels as a disjoint sum (S × Bool) ⊕ J.

    @[instance_reducible]
    def Cslib.Circuits.Arithmetic.Separation.Tape.tup {Γ : Type u_1} {S : Type u_2} {J : Type u_3} (W : S → List Γ) (u : J → List Γ) :
    Ch S J → List Γ

    The words on the channels for given tape contents W and inputs u.

    noncomputable def Cslib.Circuits.Arithmetic.Separation.Tape.contents (S : Type u_1) (Γ : Type u_2) [Fintype S] [DecidableEq S] [Finite Γ] (t : ℕ) :
    Finset (S → List Γ)

    The finite set of tape contents of total length at most t.

    theorem Cslib.Circuits.Arithmetic.Separation.Tape.mem_contents {S : Type u_1} {Γ : Type u_2} [Fintype S] [DecidableEq S] [Finite Γ] {t : ℕ} {W : S → List Γ} :
    W ∈ contents S Γ t ↔ ∑ s : S, (W s).length ≤ 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') :
    val t' P u = val t P u