theorem
MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.sampled_list
{m n : ℕ}
(table : Fin (m + 1) → Fin (n + 1) → ℚ)
(Q digits attempts : ℕ)
(bits : Fin (attempts * digits) → Bool)
:
List.map (inputValues table Q digits attempts bits) (candidates attempts) = List.map Fin.val (List.ofFn ((SecurityProgram.blocksEquiv digits attempts) bits))
theorem
MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.assembly_spec
{m n : ℕ}
(table : Fin (m + 1) → Fin (n + 1) → ℚ)
(Q digits attempts : ℕ)
(hQ : 0 < Q)
(bits : Fin (attempts * digits) → Bool)
:
(assembly m n Q attempts).commands.length = Q + (2 * (m + 1) + n * (2 * (m + 1) + 2)) + (Q + 1) ^ (m + 1) * (n * (2 * (m + 1) + 2) + 5 * (m + 1) + 7) + 5 * attempts + 4 * m + 1 ∧ (∀ (i : Fin 3), (assembly m n Q attempts).result i < (assembly m n Q attempts).next) ∧ have accepted := SecurityProgram.firstAccepted Q ((SecurityProgram.blocksEquiv digits attempts) bits);
∀ (i : Fin 3),
evaluate (assembly m n Q attempts).commands (inputValues 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
The entire integer program evaluates its own full grid search and its own bit words. Its only numerical inputs are the table and constants.