Only literal arithmetic syntax and prepared input integers occur here. The input support and intermediate width conditions are encoding bounds.
- commands : List IntegerProgram.Command
- registers : ℕ
- input : IntegerProgram.Values
- width : ℕ
- fits : IntegerProgram.Fits self.width self.commands self.input
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
Instances For
Equations
Instances For
Instances For
Equations
- A.deadline = A.program.commandCap 0 - 1
Instances For
theorem
MindFormal.A695LogicPaper.PaperGames.Arithmetic.read_scanned
(A : Arithmetic)
(u : ℕ → Bool)
:
IntegerProgram.readWords A.width A.placement.words
(A.program.description.scannedMemory u 0 A.memory fun (x : ℕ) => false) = A.input
theorem
MindFormal.A695LogicPaper.PaperGames.Arithmetic.compiled_read
(A : Arithmetic)
(u : ℕ → Bool)
:
IntegerProgram.readWords A.width A.compiled.placement.words
(BooleanArithmetic.run A.compiled.code (A.program.description.scannedMemory u 0 A.memory fun (x : ℕ) => false)) = IntegerProgram.evaluate A.commands A.input
theorem
MindFormal.A695LogicPaper.PaperGames.Arithmetic.physical_output
(A : Arithmetic)
(u : ℕ → Bool)
(r : ℕ)
:
(BooleanArithmetic.wordValue fun (i : Fin (A.width + 1)) =>
GenericPaper.readMemory A.program.description (RandomInput.execute u 0 A.deadline A.tape)
(A.compiled.placement.words r i)) = IntegerProgram.evaluate A.commands A.input r
No draw marks are present. The same physical interpreter scans all input bits and executes every arithmetic gate, report and Done padding.
theorem
MindFormal.A695LogicPaper.PaperGames.Arithmetic.physical_draws
(A : Arithmetic)
(u : ℕ → Bool)
:
{k ∈ Finset.range A.deadline |
(PrivatePaper.idealTape A.tape RandomInput.drawView RandomInput.bitGlyph
(A595Paper.Command.write 1 (A.tape.view 1)) RandomInput.table u k).view = RandomInput.drawView}.card ≤ 0