theorem
MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.compiled_read
{m n : ℕ}
(table : Fin (m + 1) → Fin (n + 1) → ℚ)
(Q digits attempts : ℕ)
(bits : Fin (attempts * digits) → Bool)
:
readWords (width table Q digits attempts) (compiled table Q digits attempts).placement.words
(BooleanArithmetic.run (compiled table Q digits attempts).code (sampledMemory table Q digits attempts bits)) = evaluate (assembly m n Q attempts).commands (inputValues table Q digits attempts bits)
theorem
MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.compiled_output
{m n : ℕ}
(table : Fin (m + 1) → Fin (n + 1) → ℚ)
(Q digits attempts : ℕ)
(hQ : 0 < Q)
(bits : Fin (attempts * digits) → Bool)
:
have accepted := SecurityProgram.firstAccepted Q ((SecurityProgram.blocksEquiv digits attempts) bits);
∀ (i : Fin 3),
readWords (width table Q digits attempts) (compiled table Q digits attempts).placement.words
(BooleanArithmetic.run (compiled table Q digits attempts).code (sampledMemory table Q digits attempts bits))
((assembly m n Q attempts).result i) = ![sampleState accepted 0, sampleState accepted 1, ↑(SecurityProgram.selectCount (SecurityProgram.optimize table Q) (accepted.getD 0))]
i
Every output bit is computed by the emitted unpruned NOR list. The width was selected from input size, including all later intermediates.
theorem
MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.compiled_gate_cap
{m n : ℕ}
(table : Fin (m + 1) → Fin (n + 1) → ℚ)
(Q digits attempts : ℕ)
(hQ : 0 < Q)
:
A cap on the actual whole gate list, retaining grid rejection, optimizer comparisons, every rejection trial and cumulative selection.