Documentation

CslibFrontier.Computability.Circuit.Arithmetic.Separation.Uni.Vals

Tape contents and matched runs of the universal program #

Evaluates Uni.emX P x z on every channel z : Zc K and characterizes the matched-run condition Tape.Mt (emX P) (fun _ => bits.map .bit) x as the structured predicate Uni.MX x bits (Uni.mt_X).

From VP ≠ VNP over every field [Ant26], module Nc.Uni.Vals.

Main definitions #

Main results #

Concatenation of semicolon-terminated binary words.

theorem Cslib.Circuits.Arithmetic.Separation.Uni.bw_inj {M K : Type} {w w' : List Bool} {u v : List (Sy M K)} (h : bw w ++ u = bw w' ++ v) :
w = w' ∧ u = v

Wrap the key letters of a record with some and append the rotation mark none.

def Cslib.Circuits.Arithmetic.Separation.Uni.dfs {A M K : Type} {P : Mach A M K} (x : XP P) :
List (List (Bl K))

The defined (allocated) record contents of a run x : XP P, starting with record 0.

def Cslib.Circuits.Arithmetic.Separation.Uni.lks {A M K : Type} {P : Mach A M K} (x : XP P) :
List (List (Bl K))

The looked-up record contents of a run x : XP P.

theorem Cslib.Circuits.Arithmetic.Separation.Uni.emX_rg_true {A M K : Type} {P : Mach A M K} [Fintype K] [DecidableEq K] (x : XP P) (i : Fin 5) :
emX P x (tp (Tp.rg i) true) = bws (List.map (fun (s : P.Rl × List (Fin 9 → Bool)) => cw s.2 (rv i)) x.steps ++ [List.map (fun (v : Fin 5 → Bool) => v i) x.finalRegs])
theorem Cslib.Circuits.Arithmetic.Separation.Uni.emX_rg_false {A M K : Type} {P : Mach A M K} [Fintype K] [DecidableEq K] (x : XP P) (i : Fin 5) :
emX P x (tp (Tp.rg i) false) = bws (i0 x.init :: List.map (fun (s : P.Rl × List (Fin 9 → Bool)) => cw s.2 (P.dr s.1 i)) x.steps)
theorem Cslib.Circuits.Arithmetic.Separation.Uni.emX_md_true {A M K : Type} {P : Mach A M K} [Fintype K] [DecidableEq K] (x : XP P) :
emX P x (tp Tp.md true) = List.map Sy.md (List.map (fun (s : P.Rl × List (Fin 9 → Bool)) => P.src s.1) x.steps ++ [P.mh])
theorem Cslib.Circuits.Arithmetic.Separation.Uni.emX_md_false {A M K : Type} {P : Mach A M K} [Fintype K] [DecidableEq K] (x : XP P) :
emX P x (tp Tp.md false) = List.map Sy.md (P.m0 :: List.map (fun (s : P.Rl × List (Fin 9 → Bool)) => P.dst s.1) x.steps)
theorem Cslib.Circuits.Arithmetic.Separation.Uni.emX_fr_true {A M K : Type} {P : Mach A M K} [Fintype K] [DecidableEq K] (x : XP P) :
emX P x (tp Tp.fr true) = bws (List.map (fun (s : P.Rl × List (Fin 9 → Bool)) => cw s.2 8) x.steps)
theorem Cslib.Circuits.Arithmetic.Separation.Uni.emX_lk_false {A M K : Type} {P : Mach A M K} [Fintype K] [DecidableEq K] (x : XP P) :
emX P x (tp Tp.lk false) = encW (List.map (fun (c : List (Bl K)) => (true, oc c)) (lks x))
theorem Cslib.Circuits.Arithmetic.Separation.Uni.emX_ls_false {A M K : Type} {P : Mach A M K} [Fintype K] [DecidableEq K] (x : XP P) :
emX P x lsF = encW (List.map (fun (c : List (Bl K)) => (false, oc c)) (dfs x)) ++ (x.lookups ++ Sy.bar :: emU x.sort lsF)
theorem Cslib.Circuits.Arithmetic.Separation.Uni.emX_bk {A M K : Type} {P : Mach A M K} [Fintype K] [DecidableEq K] (x : XP P) (b : Bl K) (s : Bool) :
emX P x (tp (Tp.bk b) s) = emU x.sort (tp (Tp.bk b) s)
theorem Cslib.Circuits.Arithmetic.Separation.Uni.emX_cm {A M K : Type} {P : Mach A M K} [Fintype K] [DecidableEq K] (x : XP P) (k s : Bool) :
emX P x (tp (Tp.cm k) s) = emU x.sort (tp (Tp.cm k) s)
theorem Cslib.Circuits.Arithmetic.Separation.Uni.emX_inp {A M K : Type} {P : Mach A M K} [Fintype K] [DecidableEq K] (x : XP P) :
emX P x (Tape.Ch.inp ()) = List.map Sy.bit (List.flatMap (fun (s : P.Rl × List (Fin 9 → Bool)) => (P.rd s.1).toList) x.steps)
structure Cslib.Circuits.Arithmetic.Separation.Uni.MX {A M K : Type} {P : Mach A M K} [Fintype K] [DecidableEq K] (x : XP P) (bits : List Bool) :

The decoded tape-matching conditions for a run x : XP P on input bits.

theorem Cslib.Circuits.Arithmetic.Separation.Uni.mt_X {A M K : Type} {P : Mach A M K} [Fintype K] [DecidableEq K] (x : XP P) (bits : List Bool) :
Tape.Mt (emX P) (fun (x : Unit) => List.map Sy.bit bits) x ↔ MX x bits