MindFormal v1.0.0One Mind

MindFormal.Tools.A695LogicPaper.StrategyCompilation

def MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.placement {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q digits attempts : ℕ) :
Placement (width table Q digits attempts)
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    def MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.compiled {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q digits attempts : ℕ) :
    Compiled (width table Q digits attempts)
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      def MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.sampledMemory {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q digits attempts : ℕ) (bits : Fin (attempts * digits) → Bool) :
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        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_words_bound {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q digits attempts r : ℕ) (i : Fin (width table Q digits attempts + 1)) :
        (compiled table Q digits attempts).placement.words r i < (compiled table Q digits attempts).placement.fresh
        theorem MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.compiled_positive {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q digits attempts : ℕ) (hQ : 0 < Q) :
        0 < (compiled table Q digits attempts).code.length
        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) :
        (compiled table Q digits attempts).code.length ≤ 10000 * (m + 1) * (n + 1) * (Q + 1) ^ (m + 1) * (width table Q digits attempts + 1) ^ 2 + 10000 * (m + attempts + 2) * (width table Q digits attempts + 1) ^ 2

        A cap on the actual whole gate list, retaining grid rejection, optimizer comparisons, every rejection trial and cumulative selection.