- placement : Placement b
Instances For
Every command allocates its actual arithmetic gates. Assignment updates only the variable's address map, keeping all previously computed registers.
Equations
Instances For
theorem
MindFormal.A695LogicPaper.IntegerProgram.compile_preserves
(b zeroReg one : ℕ)
(cs : List Command)
(p : Placement b)
(mem : BooleanArithmetic.Memory)
(i : ℕ)
(hi : i < p.fresh)
:
theorem
MindFormal.A695LogicPaper.IntegerProgram.compile_correct
(b zeroReg one : ℕ)
(cs : List Command)
(p : Placement b)
(hw : ∀ (r : ℕ) (i : Fin (b + 1)), p.words r i < p.fresh)
(hz : zeroReg < p.fresh)
(ho : one < p.fresh)
(mem : BooleanArithmetic.Memory)
(hzero : mem zeroReg = false)
(hone : mem one = true)
(hfit : Fits b cs (readWords b p.words mem))
:
The complete unpruned arithmetic list is executed by the represented NOR gates. Fits is only the printed width requirement for all intermediates; no optimizer, sampled integer or successful output is supplied.