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 #
Uni.bws: concatenation of semicolon-terminated bit wordsbw.Uni.oc: record key content tagged withsomeand terminated bynone.Uni.dfs,Uni.lks: defined and looked-up record lists extracted from anXPrun.Uni.MX: channel-matched run condition forXP Pon inputbits.
Main results #
Uni.bw_inj,Uni.bws_inj: unique decodability of semicolon-terminated bit words.Uni.emX_rg_true,Uni.emX_rg_false,Uni.emX_md_true,Uni.emX_md_false,Uni.emX_cp_true,Uni.emX_cp_false,Uni.emX_fr_true,Uni.emX_fr_false,Uni.emX_lk_true,Uni.emX_lk_false,Uni.emX_ls_true,Uni.emX_ls_false,Uni.emX_bk,Uni.emX_cm,Uni.emX_inp.Uni.mt_X: equivalence betweenTape.Mt (emX P) … xandUni.MX x bits.
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) :
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.
- rg (i : Fin 5) : i0 x.init :: List.map (fun (s : P.Rl × List (Fin 9 → Bool)) => cw s.2 (P.dr s.1 i)) x.steps = 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]
register tape values chain from
0tofinalRegs - md : P.m0 :: List.map (fun (s : P.Rl × List (Fin 9 → Bool)) => P.dst s.1) x.steps = List.map (fun (s : P.Rl × List (Fin 9 → Bool)) => P.src s.1) x.steps ++ [P.mh]
mode tape chains from
P.m0toP.mh counter tape increments from
1totrue :: finalCounterfresh addresses emitted in
stepsmatch the counter wordslookup word copied onto
lsFmatches the lookup tape- ls : IMU x.sort (encW (List.map (fun (c : List (Bl K)) => (false, oc c)) (dfs x) ++ List.map (fun (c : List (Bl K)) => (true, oc c)) (lks x)))
sorting loop
x.sortmatches the encoded(defs ++ lookups)record list concatenated input bits consumed by
stepsequalbits