The universal machine is deterministic but for the guesses and the input #
In each mode, the kind of the loaded record determines the rule (Uni.nextRule), except for the
rules that read an input bit or guess (Uni.IsChosen). Configurations whose heap has the nil record
at 0, addresses below the counter and one record per address (Uni.WellFormed) stay so
(Uni.WellFormed.step). In such a configuration a step fires exactly when its rule matches the mode
and the loaded record (Uni.fire_iff), so the run sum is the weight of the forced rule times the
run
sum after it (Uni.sumTo_rule), or 0 if no rule matches (Uni.sumTo_stuck).
Main definitions #
Main results #
References #
- Anthropic, VP ≠ VNP over every field, paper and Lean formalization,
module
Nc.Uni.Det
structure Cslib.Circuits.Arithmetic.Separation.Uni.WellFormed {supp : Finset (List Bool)} (σ : Config supp) :
A heap that can be used.
theorem Cslib.Circuits.Arithmetic.Separation.Uni.WellFormed.step {A : Type} [CommRing A] {θ : List Bool → A} {supp : Finset (List Bool)} {σ : Config supp} (hσ : WellFormed σ) (r : Rule supp) (p q s : ℕ) :
WellFormed (Uni.step θ σ r p q s)
theorem Cslib.Circuits.Arithmetic.Separation.Uni.fire_iff {A : Type} [CommRing A] {θ : List Bool → A} {supp : Finset (List Bool)} {σ : Config supp} (hσ : WellFormed σ) {κ : RecKind} {p q s : ℕ} (hrec : (κ, ![σ.regs (loadReg σ.mode), p, q, s]) ∈ σ.heap) (st : (universalMachine θ supp).Step) :
The possible steps.
theorem Cslib.Circuits.Arithmetic.Separation.Uni.sumTo_rule {A : Type} [CommRing A] {θ : List Bool → A} {supp : Finset (List Bool)} {σ : Config supp} (hσ : WellFormed σ) {κ : RecKind} {p q s : ℕ} (hrec : (κ, ![σ.regs (loadReg σ.mode), p, q, s]) ∈ σ.heap) (r : Rule supp) (hr : nextRule supp σ.mode κ = some r) (hm : σ.mode ≠ Mode.parse) (hd : ¬(σ.mode = Mode.decode 7 ∧ κ = RecKind.nil)) (hs : (rule θ supp r).src = σ.mode) (hk : (rule θ supp r).lk = κ) {S : A} {B : ℤ} (h : (universalMachine θ supp).SumTo (step θ σ r p q s) S B) :
A step that is forced.
theorem Cslib.Circuits.Arithmetic.Separation.Uni.sumTo_stuck {A : Type} [CommRing A] {θ : List Bool → A} {supp : Finset (List Bool)} {σ : Config supp} (hσ : WellFormed σ) {κ : RecKind} {p q s : ℕ} (hrec : (κ, ![σ.regs (loadReg σ.mode), p, q, s]) ∈ σ.heap) (hr : nextRule supp σ.mode κ = none) (hm : σ.mode ≠ Mode.parse) (hd : ¬(σ.mode = Mode.decode 7 ∧ κ = RecKind.nil)) (hz : σ.mode ≠ Mode.halt) (B : ℤ) :
(universalMachine θ supp).SumTo σ 0 B
No rule applies.