theorem
MindFormal.A695LogicPaper.BooleanArithmetic.run_append
(xs ys : List Instruction)
(mem : Memory)
:
theorem
MindFormal.A695LogicPaper.BooleanArithmetic.run_preserves
(gs : List Instruction)
(mem : Memory)
(i : ℕ)
(h : ∀ g ∈ gs, g.2.2 ≠ i)
:
theorem
MindFormal.A695LogicPaper.BooleanArithmetic.emitFullAdder_destinations
(base : ℕ)
(input : Fin 3 → ℕ)
(g : Instruction)
(hg : g ∈ emitFullAdder base input)
:
Equations
Instances For
- code : List Instruction
- carry : ℕ
Instances For
theorem
MindFormal.A695LogicPaper.BooleanArithmetic.ripple_correct
(b base : ℕ)
(x y : Fin b → ℕ)
(carry : ℕ)
(hx : ∀ (i : Fin b), x i < base)
(hy : ∀ (i : Fin b), y i < base)
(hc : carry < base)
(mem : Memory)
:
The width-b addition is a literal concatenation of b seventeen-gate full adders. The final carry is retained; no overflow is silently discarded.