theorem
MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.scanned_memory
{m n : ℕ}
(table : Fin (m + 1) → Fin (n + 1) → ℚ)
(Q digits attempts : ℕ)
(u : ℕ → Bool)
:
(physicalProgram table Q digits attempts).description.scannedMemory u 0 (initialMemory table Q digits attempts)
(InputBank.marked digits attempts) = sampledMemory table Q digits attempts (scanBits table Q digits attempts u)
theorem
MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.completed_output
{m n : ℕ}
(table : Fin (m + 1) → Fin (n + 1) → ℚ)
(Q digits attempts : ℕ)
(hQ : 0 < Q)
(bits : Fin (attempts * digits) → Bool)
(bit : Bool)
:
have accepted := SecurityProgram.firstAccepted Q ((SecurityProgram.blocksEquiv digits attempts) bits);
∀ (i : Fin 3),
(BooleanArithmetic.wordValue fun (j : Fin (width table Q digits attempts + 1)) =>
GenericPaper.readMemory (physicalProgram table Q digits attempts).description
((physicalProgram table Q digits attempts).completedTape
(BooleanArithmetic.run (compiled table Q digits attempts).code (sampledMemory table Q digits attempts bits))
bit)
((compiled table Q digits attempts).placement.words ((assembly m n Q attempts).result i) j)) = ![sampleState accepted 0, sampleState accepted 1, ↑(SecurityProgram.selectCount (SecurityProgram.optimize table Q) (accepted.getD 0))]
i
theorem
MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.physical_run
{m n : ℕ}
(table : Fin (m + 1) → Fin (n + 1) → ℚ)
(Q digits attempts : ℕ)
(hQ : 0 < Q)
(u : ℕ → Bool)
:
∃ (bit : Bool),
RandomInput.execute u 0 (deadline table Q digits attempts) (initialTape table Q digits attempts) = (physicalProgram table Q digits attempts).completedTape
(BooleanArithmetic.run (compiled table Q digits attempts).code
(sampledMemory table Q digits attempts (scanBits table Q digits attempts u)))
bit
All bit streams run the same finite native scan/NOR/Done machinery. The final bank is the actual bank written by that run, and padding and all returns are included in the declared deadline.
theorem
MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.physical_output
{m n : ℕ}
(table : Fin (m + 1) → Fin (n + 1) → ℚ)
(Q digits attempts : ℕ)
(hQ : 0 < Q)
(u : ℕ → Bool)
:
have accepted :=
SecurityProgram.firstAccepted Q ((SecurityProgram.blocksEquiv digits attempts) (scanBits table Q digits attempts u));
∀ (i : Fin 3),
(BooleanArithmetic.wordValue fun (j : Fin (width table Q digits attempts + 1)) =>
GenericPaper.readMemory (physicalProgram table Q digits attempts).description
(RandomInput.execute u 0 (deadline table Q digits attempts) (initialTape table Q digits attempts))
((compiled table Q digits attempts).placement.words ((assembly m n Q attempts).result i) j)) = ![sampleState accepted 0, sampleState accepted 1, ↑(SecurityProgram.selectCount (SecurityProgram.optimize table Q) (accepted.getD 0))]
i
theorem
MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.physical_draw_cap
{m n : ℕ}
(table : Fin (m + 1) → Fin (n + 1) → ℚ)
(Q digits attempts : ℕ)
(hQ : 0 < Q)
(u : ℕ → Bool)
:
{k ∈ Finset.range (deadline table Q digits attempts) |
(PrivatePaper.idealTape (initialTape table Q digits attempts) RandomInput.drawView RandomInput.bitGlyph
(A595Paper.Command.write 1 ((initialTape table Q digits attempts).view 1)) RandomInput.table u k).view = RandomInput.drawView}.card ≤ attempts * digits