{
 "schema": "gcy-result-twin/1",
 "id": "formal-verification/result-1",
 "url": "https://gocheckyourself.org/result/formal-verification/result-1/",
 "page": "https://gocheckyourself.org/result/formal-verification/result-1/",
 "family": "formal-verification",
 "family_name": "Formal verification (Lean)",
 "kind": "Demo",
 "title": "the honest file, $2 + 2 = 4$",
 "question": null,
 "claim": {
  "text": "$2 + 2 = 4$ on the natural numbers, by reflexivity.",
  "status": "lean-checked",
  "sub_label": "second-kernel",
  "status_text": "Proved and checked in Lean (the Lean statement as written, accepted by the kernel; the meaning of the statement is not claimed). Build: passes. Axiom report: none. leanchecker, fresh: accepts. nanoda (Lean 4.35.0 build): accepts. What catches it: nothing needed.",
  "open": null,
  "numbers": {},
  "status_word": "Lean-checked",
  "status_book": "Lean-checked: proved, and every step checked by the Lean proof checker."
 },
 "status": "Lean-checked (second-kernel)",
 "ours": true,
 "cited_authors": [],
 "credit": {
  "credit_scope": "family",
  "family_credit": "https://gocheckyourself.org/data/families/lean-verified.json",
  "entry_credit": "Tools: Lean 4 (Leonardo de Moura, Sebastian Ullrich and the Lean community); leanchecker; the nanoda kernel checker. This result (Sonny): proved (Lean).",
  "ledger": null
 },
 "evidence": [
  {
   "kind": "lean",
   "ref": "theorem Demo.honest : 2 + 2 = 4 := rfl"
  },
  {
   "kind": "document",
   "ref": "chapters/03-two-plus-two-is-five.md",
   "sha256": "b604020a44f5c79d55e47d423a1ccc3415ee6737153846ba23e59ced53531cc2",
   "source_link": "https://gocheckyourself.org/data/files/lean-verified/chapters/03-two-plus-two-is-five.md"
  }
 ],
 "lean": {
  "name": "Demo.honest"
 },
 "frontier": null,
 "relations": {
  "builds_on": [],
  "next": []
 },
 "author": "Sonny",
 "on_page": {
  "shelf": "Readings / Formal verification (Lean)",
  "status_line": "Status: Lean-checked (second-kernel)",
  "call_number": "formal-verification/result-1",
  "status_note": "Lean-checked: proved, and every step checked by the Lean proof checker. · rerun: from-files",
  "byline": "Sonny",
  "how_sure": {
   "line": "Lean-checked (second-kernel) · rerun: from-files · no part marked open · Every result here is preliminary. No one outside this project has refereed it yet.",
   "shown": [
    "Lean-checked (second-kernel)"
   ],
   "checked": [
    "rerun: from-files"
   ],
   "open": [
    "no part marked open"
   ],
   "prelim": [
    "Every result here is preliminary. No one outside this project has refereed it yet."
   ]
  },
  "status_parts": {
   "heading": "Status, part by part",
   "line": "Proved and checked in Lean (the Lean statement as written, accepted by the kernel; the meaning of the statement is not claimed). Build: passes. Axiom report: none. leanchecker, fresh: accepts. nanoda (Lean 4.35.0 build): accepts. What catches it: nothing needed.",
   "contribution": null,
   "parts": []
  },
  "five_minute_check": "5-minute check: compare the fingerprints of the book's files with its published list (recipe steps 2 to 4, https://gocheckyourself.org/data/recipes/lean-verified-REPLICATE.md). Expected: PowerShell prints the line \"10 OK, 0 not OK\". bash prints \"10 OK\" and nothing else. A match shows that your files are exactly the files the list names. What the files say is tested by the other steps of this recipe.",
  "credit_line": "Credit: Tools: Lean 4 (Leonardo de Moura, Sebastian Ullrich and the Lean community); leanchecker; the nanoda kernel checker. This result (Sonny): proved (Lean).",
  "short_address": {
   "label": "Short address",
   "text": "gocheckyourself.org/r/330/",
   "url": "https://gocheckyourself.org/r/330/"
  },
  "id_line": "Id: formal-verification/result-1",
  "receipt": {
   "summary": "Receipt 1 files, each with its SHA-256 fingerprint",
   "heading": "Evidence",
   "files": [
    {
     "kind": "document",
     "ref": "chapters/03-two-plus-two-is-five.md",
     "fingerprint": "sha256 b604020a44f5c79d55e47d423a1ccc3415ee6737153846ba23e59ced53531cc2",
     "url": "https://gocheckyourself.org/data/files/lean-verified/chapters/03-two-plus-two-is-five.md"
    }
   ]
  },
  "lean_name": {
   "heading": "Lean name",
   "text": "theorem Demo.honest : 2 + 2 = 4 := rfl"
  },
  "how_to_check": {
   "heading": "How to check this",
   "links": [
    {
     "text": "The check guide",
     "url": "https://gocheckyourself.org/read/lean-verified/experts/#ch-verify"
    },
    {
     "text": "The book at the experts level (full text)",
     "url": "https://gocheckyourself.org/read/lean-verified/experts/"
    },
    {
     "text": "Files and certificates: CITATION.cff",
     "url": "https://gocheckyourself.org/data/files/lean-verified/CITATION.cff",
     "parts": [
      {
       "text": "Files and certificates",
       "url": "https://gocheckyourself.org/data/files/lean-verified/"
      },
      {
       "text": ": "
      },
      {
       "text": "CITATION.cff",
       "url": "https://gocheckyourself.org/data/files/lean-verified/CITATION.cff"
      }
     ]
    }
   ]
  }
 }
}
