Renaming the inputs of an automaton, and change of rings #
An equivalence φ : J ≃ J' of the input names renames the channels (Tape.Ch.congr) and the
letters (Tape.Letter.congr). Renaming keeps what a run emits (Tape.emit_congr), so the value of
an automaton does not change when its letters and its inputs are renamed together
(Tape.runVal_congr). A ring homomorphism applied to the matrices maps the value
(Tape.runVal_map).
Main definitions #
Main results #
References #
- Anthropic, VP ≠ VNP over every field, paper and Lean formalization,
modules
Nc.RunOneandNc.End.Run
theorem Cslib.Circuits.Arithmetic.Separation.Tape.emit_congr {S J J' Γ : Type} [DecidableEq S] [DecidableEq J] [DecidableEq J'] (φ : J ≃ J') (o : List (Letter S J Γ)) (z : Ch S J) :
Renaming keeps what a run emits on each channel.
theorem Cslib.Circuits.Arithmetic.Separation.Tape.runVal_congr {S J J' Γ : Type} [DecidableEq S] [DecidableEq J] [DecidableEq J'] {F : Type u_1} [CommRing F] {Q : Type} [Fintype Q] [DecidableEq Q] [Fintype Γ] [DecidableEq Γ] [Fintype S] [Fintype J] [Fintype J'] (φ : J ≃ J') (mu : Letter S J' Γ → Matrix Q Q F) (i e : Q) (t : ℕ) (u : J' → List Γ) :
(runVal (fun (a : Letter S J Γ) => mu ((Letter.congr S Γ φ) a)) i e t fun (j : J) => u (φ j)) = runVal mu i e t u
Renaming the inputs does not change the value of an automaton.
theorem Cslib.Circuits.Arithmetic.Separation.Tape.runVal_map {S J Γ : Type} [DecidableEq S] [DecidableEq J] {F : Type u_1} [CommRing F] {Q : Type} [Fintype Q] [DecidableEq Q] [Fintype Γ] [DecidableEq Γ] [Fintype S] [Fintype J] {K : Type u_2} [CommRing K] (f : F →+* K) (mu : Letter S J Γ → Matrix Q Q F) (i e : Q) (t : ℕ) (u : J → List Γ) :
Change of rings: the value of an automaton with the matrices mapped by a ring homomorphism is the image of its value.