MindFormal v1.0.0One Mind

MindFormal.Tools.A695LogicPaper.PaperPrograms

def MindFormal.A695LogicPaper.PaperGames.boundedArithmetic (cs : List IntegerProgram.Command) (hc : 0 < cs.length) (input : IntegerProgram.Values) (R M : ℕ) (hs : ∀ (r : ℕ), R ≤ r → input r = 0) (hb : ∀ (r : ℕ), input r ≤ M) :

Width bounds are computed from the finite syntax and input bound, including every intermediate integer. No desired arithmetic answer is given.

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
      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
          theorem MindFormal.A695LogicPaper.PaperGames.closeness_diagnostic (d : ℕ) (report : Bool) :
          have v := IntegerProgram.evaluate (closenessCommands d) (forecastInput report); v (80 + 2 * d) = 20 * report.toNat ∧ v (81 + 2 * d) = 80 * report.toNat ∧ v (82 + 2 * d) = 20 * report.toNat ∧ v (83 + 2 * d) = 0 ∧ v 61 = 7

          Every comparison and conditional forecast is written to its own register. Registers 19--22 retain the four selfish backward comparisons.

          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
              theorem MindFormal.A695LogicPaper.PaperGames.centipede_commands_correct (report : Bool) :
              have v := IntegerProgram.evaluate centipedeCommands (centipedeInput report); v 11 = 3 + 3 * report.toNat ∧ (v 13 = if report = true then 6 else 4) ∧ (v 16 = if report = true then 6 else 4) ∧ v 17 = 1 ∧ (v 18 = if report = true then 0 else 1) ∧ v 19 = 1 ∧ v 20 = 1 ∧ v 21 = 1 ∧ v 22 = 1