Equations
- MindFormal.A695LogicPaper.IntegerProgram.InputBank.zeroBit digits attempts = attempts * digits + 1
Instances For
Equations
- MindFormal.A695LogicPaper.IntegerProgram.InputBank.oneBit digits attempts = attempts * digits + 2
Instances For
Equations
- MindFormal.A695LogicPaper.IntegerProgram.InputBank.base digits attempts = attempts * digits + 3
Instances For
Equations
- MindFormal.A695LogicPaper.IntegerProgram.InputBank.fresh b digits attempts countRegs = MindFormal.A695LogicPaper.IntegerProgram.InputBank.base digits attempts + countRegs * (b + 1)
Instances For
def
MindFormal.A695LogicPaper.IntegerProgram.InputBank.address
(b digits attempts r : ℕ)
(i : Fin (b + 1))
:
Equations
- MindFormal.A695LogicPaper.IntegerProgram.InputBank.address b digits attempts r i = MindFormal.A695LogicPaper.IntegerProgram.InputBank.base digits attempts + r * (b + 1) + ↑i
Instances For
theorem
MindFormal.A695LogicPaper.IntegerProgram.InputBank.filled_address
(b digits attempts countRegs : ℕ)
(value : ℕ → ℕ)
(bits : Fin (attempts * digits) → Bool)
(r : ℕ)
(i : Fin (b + 1))
(hr : r < countRegs)
:
filled b digits attempts countRegs value bits (address b digits attempts r i) = literalWord b (value r) i