MindFormal v1.0.0One Mind

MindFormal.Tools.A695LogicPaper.StrategyPhysical

def MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.physicalProgram {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q digits attempts : ℕ) :
Equations
  • One or more equations did not get rendered due to their size.
Instances For
    def MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.initialMemory {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q digits attempts : ℕ) :
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.deadline {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q digits attempts : ℕ) :
        Equations
        • One or more equations did not get rendered due to their size.
        Instances For
          def MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.scanBits {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q digits attempts : ℕ) (u : ℕ → Bool) :
          Fin (attempts * digits) → Bool
          Equations
          • One or more equations did not get rendered due to their size.
          Instances For
            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.output_register_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 < (physicalProgram table Q digits attempts).registers
            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