MindFormal v1.0.0One Mind

MindFormal.Tools.A695LogicPaper.StrategyInput

def MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.pay (m n attempts : ℕ) (i : Fin (m + 1)) (j : Fin (n + 1)) :
Equations
Instances For
    def MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.value {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q attempts r : ℕ) :
    Equations
    • One or more equations did not get rendered due to their size.
    Instances For
      theorem MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.pay_bounds (m n attempts : ℕ) (i : Fin (m + 1)) (j : Fin (n + 1)) :
      attempts + 3 ≤ pay m n attempts i j ∧ pay m n attempts i j < countRegs m n attempts
      theorem MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.value_zero {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q attempts : ℕ) :
      value table Q attempts attempts = 0
      theorem MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.value_one {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q attempts : ℕ) :
      value table Q attempts (attempts + 1) = 1
      theorem MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.value_bound {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q attempts : ℕ) :
      value table Q attempts (attempts + 2) = Q - 1
      theorem MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.value_pay {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q attempts : ℕ) (i : Fin (m + 1)) (j : Fin (n + 1)) :
      value table Q attempts (pay m n attempts i j) = SecurityProgram.encodedTable table i j
      Equations
      • One or more equations did not get rendered due to their size.
      Instances For
        def MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.inputBound {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
          theorem MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.inputBound_bits {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q digits attempts : ℕ) :
          2 ^ digits ≤ inputBound table Q digits attempts
          theorem MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.inputBound_value {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q digits attempts r : ℕ) (hr : r < countRegs m n attempts) :
          value table Q attempts r ≤ inputBound table Q digits attempts
          def MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.width {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
            theorem MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.width_lower {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q digits attempts : ℕ) :
            inputBound table Q digits attempts ≤ width table Q digits attempts
            theorem MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.width_digits {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q digits attempts : ℕ) :
            digits ≤ width table Q digits attempts + 1
            theorem MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.static_fits {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q digits attempts r : ℕ) (hr : r < countRegs m n attempts) :
            value table Q attempts r < 2 ^ (width table Q digits attempts + 1)
            theorem MindFormal.A695LogicPaper.IntegerProgram.StrategyInput.input_fits {m n : ℕ} (table : Fin (m + 1) → Fin (n + 1) → ℚ) (Q digits attempts : ℕ) (bits : Fin (attempts * digits) → Bool) :
            Fits (width table Q digits attempts) (assembly m n Q attempts).commands (InputBank.values (width table Q digits attempts) digits attempts (countRegs m n attempts) (value table Q attempts) bits)