{
  "question": "Which checks accept each of seven small Lean files, and which catches what is wrong in each?",
  "lean_version": "4.34.1",
  "second_kernel_lean_version": "4.35.0",
  "second_kernel": "nanoda_bin 0.4.19, shipped with the Lean 4.35.0 toolchain",
  "demos": [
    {
      "id": "Honest",
      "file": "demos/Demo/Honest.lean",
      "statement": "2 + 2 = 4 (natural numbers), by rfl",
      "build": "passes",
      "print_axioms": [],
      "leanchecker_fresh": "accepts",
      "nanoda": "accepts",
      "caught_by": "nothing needed"
    },
    {
      "id": "AddedAxiom",
      "file": "demos/Demo/AddedAxiom.lean",
      "statement": "2 + 2 = 5 (natural numbers), from the axiom Demo.bad",
      "build": "passes",
      "print_axioms": [
        "Demo.bad"
      ],
      "leanchecker_fresh": "accepts",
      "nanoda": "refuses: axiom not permitted",
      "caught_by": "the axiom list"
    },
    {
      "id": "UsesSorry",
      "file": "demos/Demo/UsesSorry.lean",
      "statement": "2 + 2 = 5 (natural numbers), proof is the placeholder sorry",
      "build": "passes with a warning",
      "print_axioms": [
        "sorryAx"
      ],
      "leanchecker_fresh": "accepts",
      "nanoda": "refuses: axiom not permitted",
      "caught_by": "the warning and the axiom list"
    },
    {
      "id": "SmallerNumberSystem",
      "file": "demos/Demo/SmallerNumberSystem.lean",
      "statement": "(2 + 2 : Fin 1) = 5; Fin 1 has only the number 0",
      "build": "passes",
      "print_axioms": [
        "propext"
      ],
      "leanchecker_fresh": "accepts",
      "nanoda": "accepts",
      "caught_by": "reading the statement"
    },
    {
      "id": "RedefinedPlus",
      "file": "demos/Demo/RedefinedPlus.lean",
      "statement": "2 + 2 = 5 where a local instance makes + on natural numbers add one extra",
      "build": "passes",
      "print_axioms": [],
      "leanchecker_fresh": "accepts",
      "nanoda": "accepts",
      "caught_by": "reading the definitions in scope"
    },
    {
      "id": "WrongDefinition",
      "file": "demos/Demo/WrongDefinition.lean",
      "statement": "MyPrime 1, where MyPrime omits 2 <= n",
      "build": "passes",
      "print_axioms": [
        "propext"
      ],
      "leanchecker_fresh": "accepts",
      "nanoda": "accepts",
      "caught_by": "reading the definition"
    },
    {
      "id": "SkipKernelTC",
      "file": "demos/Demo/SkipKernelTC.lean",
      "statement": "False stored with kernel checking turned off, then 2 + 2 = 5 from it",
      "build": "passes",
      "print_axioms": [],
      "leanchecker_fresh": "rejects",
      "nanoda": "does not accept: internal assertion failure",
      "caught_by": "the re-check through the kernel"
    }
  ]
}
