theorem
MindFormal.A695LogicPaper.BooleanArithmetic.invert_destinations
(b base : ℕ)
(y : Fin b → ℕ)
(g : Instruction)
:
- code : List Instruction
- ge : ℕ
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
theorem
MindFormal.A695LogicPaper.BooleanArithmetic.compare_correct
(b base : ℕ)
(x y : Fin b → ℕ)
(one : ℕ)
(hx : ∀ (i : Fin b), x i < base)
(hy : ∀ (i : Fin b), y i < base)
(ho : one < base)
(mem : Memory)
(hone : mem one = true)
:
The comparison is the actual retained subtraction carry. Equal inputs are handled by the same circuit and fixed tie convention.