Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Tape.Run

Runs of automata on tapes and inputs #

A letter of a run is none (idle) or some (ch, γ) (a letter γ on channel ch). The value of an automaton at an input u is the sum, over all runs of length t that emit the same word on both sides of every tape and the input on each input channel (Tape.Matched), of their weights (Tape.runVal).

From VP ≠ VNP over every field [Ant26], module Nc.Tape.Run.

Main definitions #

@[reducible, inline]
abbrev Cslib.Circuits.Arithmetic.Separation.Tape.Letter (S : Type u_1) (J : Type u_2) (Γ : Type u_3) :
Type (max u_3 u_2 u_1)

A letter emitted at one step of an automaton run (none is idle).

def Cslib.Circuits.Arithmetic.Separation.Tape.emit {Γ : Type u_1} {S : Type u_2} {J : Type u_3} [DecidableEq S] [DecidableEq J] (o : List (Letter S J Γ)) :
Ch S J → List Γ

The words emitted on each channel by a run.

def Cslib.Circuits.Arithmetic.Separation.Tape.Matched {Γ : Type u_1} {S : Type u_2} {J : Type u_3} [DecidableEq S] [DecidableEq J] (o : List (Letter S J Γ)) (u : J → List Γ) :

The run is matched at input u: both sides of every tape agree, and the input channels emit u.

Instances For
    @[instance_reducible]
    instance Cslib.Circuits.Arithmetic.Separation.Tape.instDecidableMatched {Γ : Type u_1} {S : Type u_2} {J : Type u_3} [DecidableEq Γ] [Fintype S] [DecidableEq S] [Fintype J] [DecidableEq J] (o : List (Letter S J Γ)) (u : J → List Γ) :
    def Cslib.Circuits.Arithmetic.Separation.Tape.runVal {F : Type u_1} {Γ : Type u_2} {S : Type u_3} {J : Type u_4} {Q : Type u_5} [CommRing F] [Fintype Γ] [DecidableEq Γ] [Fintype S] [DecidableEq S] [Fintype J] [DecidableEq J] [Fintype Q] [DecidableEq Q] (mu : Letter S J Γ → Matrix Q Q F) (i e : Q) (t : ℕ) (u : J → List Γ) :
    F

    The value of an automaton with transition matrices mu, initial state i, and final state e at input u: the sum of run weights over matched runs of length t.