# Demo: the kernel-check-off file, False stored unchecked

Status: computed (calibration-control)

## Shelf

Readings / Formal verification (Lean)

Computed: found and checked by programs; a computation, not a proof. · rerun: from-files

## Byline

Sonny

## How sure

computed (calibration-control) · rerun: from-files · no part marked open · Every result here is preliminary. No one outside this project has refereed it yet.

## What is shown

False, stored with kernel checking turned off, then $2 + 2 = 5$ from it.

Stored with kernel checking turned off, rejected by the re-check. Build: passes. Axiom report: none. leanchecker, fresh: rejects. nanoda (Lean 4.35.0 build): does not accept, internal assertion failure. What catches it: the re-check through the kernel.

## Status, part by part

Stored with kernel checking turned off, rejected by the re-check. Build: passes. Axiom report: none. leanchecker, fresh: rejects. nanoda (Lean 4.35.0 build): does not accept, internal assertion failure. What catches it: the re-check through the kernel.

## 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

Tools: Lean 4; leanchecker (Kim Morrison and Sebastian Ullrich); the nanoda kernel checker. This result (Sonny): computed.

## Evidence

- document: https://gocheckyourself.org/data/files/lean-verified/chapters/03-two-plus-two-is-five.md (sha256 b604020a44f5c79d55e47d423a1ccc3415ee6737153846ba23e59ced53531cc2)

## Lean name

```lean
set_option debug.skipKernelTC true in
run_cmd liftCoreM <| addDecl (Declaration.thmDecl
  { name := `Demo.unchecked, levelParams := [], type := mkConst ``False, value := mkConst ``True.intro })

theorem Demo.wrong : 2 + 2 = 5 := Demo.unchecked.elim
```

## Receipt

Receipt 1 files, each with its SHA-256 fingerprint

- document [chapters/03-two-plus-two-is-five.md](https://gocheckyourself.org/data/files/lean-verified/chapters/03-two-plus-two-is-five.md): sha256 b604020a44f5c79d55e47d423a1ccc3415ee6737153846ba23e59ced53531cc2

## Short address

gocheckyourself.org/r/336/ (https://gocheckyourself.org/r/336/)

## How to check this

- [The check guide](https://gocheckyourself.org/read/lean-verified/experts/#ch-verify)
- [The book at the experts level (full text)](https://gocheckyourself.org/read/lean-verified/experts/)
- [Files and certificates](https://gocheckyourself.org/data/files/lean-verified/): [CITATION.cff](https://gocheckyourself.org/data/files/lean-verified/CITATION.cff)

Id: formal-verification/result-7
Page: https://gocheckyourself.org/result/formal-verification/result-7/
Record: https://gocheckyourself.org/result/formal-verification/result-7/index.json
