Documentation

CslibFrontier.Computability.Automata.Weighted.Loop

Words and loop bodies on disjoint channels #

Single-word indicator series Series.word and weighted finite sums of words Series.body, with RatLe dimension bounds and hat evaluations.

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

Main definitions #

Main results #

def Cslib.Automata.Weighted.Series.word {F : Type u_1} [CommRing F] {Ω : Type u_2} [DecidableEq Ω] (w : List Ω) :
Series F Ω

The indicator series of a single word w.

theorem Cslib.Automata.Weighted.RatLe.word {F : Type u_1} [CommRing F] {Ω : Type u_2} [DecidableEq Ω] (w : List Ω) :
RatLe (2 * w.length + 1) (Series.word w)
theorem Cslib.Automata.Weighted.hat_word {F : Type u_1} [CommRing F] {Z : Type u_2} {Γ : Type u_3} [Fintype Z] [DecidableEq Z] [Finite Γ] [DecidableEq Γ] (w : List (Z × Γ)) (v : Z → List Γ) :
hat (Series.word w) v = if v = proj w then 1 else 0
def Cslib.Automata.Weighted.Series.body {F : Type u_1} [CommRing F] {Z : Type u_4} {Γ : Type u_5} {κ : Type u_6} [DecidableEq Z] [DecidableEq Γ] [Fintype κ] (wd : κ → List (Z × Γ)) (c : κ → F) :
Series F (Z × Γ)

The body of a loop: a weighted sum of finitely many words.

theorem Cslib.Automata.Weighted.RatLe.body {F : Type u_1} [CommRing F] {Z : Type u_4} {Γ : Type u_5} {κ : Type u_6} [DecidableEq Z] [DecidableEq Γ] [Fintype κ] (wd : κ → List (Z × Γ)) (c : κ → F) :
RatLe (∑ k : κ, (2 * (wd k).length + 1)) (Series.body wd c)
theorem Cslib.Automata.Weighted.hat_body {F : Type u_1} [CommRing F] {Z : Type u_2} {Γ : Type u_3} [Fintype Z] [DecidableEq Z] [Finite Γ] [DecidableEq Γ] {κ : Type u_4} [Fintype κ] (wd : κ → List (Z × Γ)) (c : κ → F) (v : Z → List Γ) :
hat (Series.body wd c) v = ∑ k : κ, if v = proj (wd k) then c k else 0