How to check it yourself
Don't take our word for it. Each result here comes with its files and a check guide, and each guide says which checks you can rerun yourself. Some results rest on logs from programs that are not part of this book, or on files available on request; the guide says which. Where your run matches ours, you checked that part rather than trusted it. If something breaks, confuses you or does not match, you are welcome to tell us. We fix the page and credit the person who found the mistake.
Every result here is preliminary: no expert outside this project has reviewed or refereed any of this yet. Sonny directed the work, with AI assistants; each result says how it was checked.
What each status label commits to
From data/labels.json; each result page shows its label.
- Lean: commits to: The Lean statement as written is accepted by the Lean kernel, with the axioms the entry names. Where the entry says so, a second checker (nanoda, lean4lean or leanchecker) also accepted it. Does not commit to: that the Lean statement says what the plain words say, that the cited inputs it uses are right, or anything outside the formal statement.
- COMPUTED: commits to: A finite computation gave this answer for the cases named. The entry and the book's check guide say how it was checked. Does not commit to: anything about cases outside those computed, or that the program behind it is published: see the rerun value.
- WRITTEN: commits to: A proof written on paper, read by the author and, where the entry says so, in a separate reading. Does not commit to: a check by a proof assistant, or a reading by anyone outside this project.
- partly Lean, partly written: commits to: Some steps are Lean and the rest are written; the entry says which. Does not commit to: that the written steps carry the guarantee of the Lean steps.
- CONDITIONAL: commits to: The result holds if the premises the entry lists hold. Does not commit to: that those premises are true.
- OPEN: commits to: The question is not settled here. Labels such as CONJECTURED and NOT SHOWN are in this group. Does not commit to: any answer either way.
- CITED: commits to: Someone else's published theorem, used as stated and credited to them. Does not commit to: that this site rechecked it, unless the entry says it did.
- other: commits to: A label outside the groups above, given in the entry's own words: for example SPECIAL CASES or UNCONDITIONAL BOUND, or a Lean file accepted by the build that depends on an added or placeholder assumption. Does not commit to: any meaning beyond the entry's own status text, which is the label itself.
- computer-assisted proof: commits to: A computer-assisted proof; the program is not published here (available on request). What is public is the files listed as this result's evidence (its certificate files or summaries and the check guide), which you can check but not rerun; the full files behind them, such as the full shooting boxes, are available on request. Does not commit to: that a reader can rerun the program from public files (it is available on request), or anything about cases outside those computed.
What a match does and does not tell you
A match tells you that the published files really produce the published numbers. It doesn't tell you that the question was the right one to ask, or that a written argument around the numbers is complete. Each recipe says plainly what its steps show and what they don't. For a result whose evidence is logs (logs-only), a match checks the bookkeeping of the logs, not the search that wrote them.
Start here
Start with the smallest example
Before any longer check, try the smallest one that runs from start to finish: two short Lean files from the book on what "Lean-verified" means. You need Lean, installed with elan (https://lean-lang.org). The files pin Lean 4.34.1 and need no Mathlib. Follow steps 1 to 3 of the recipe (https://gocheckyourself.org/data/recipes/lean-verified-REPLICATE.md) to fetch the files, then run this in the lean folder:
lake build Demo.Honest
Expected output (the time in brackets will differ):
ℹ [2/2] Built Demo.Honest (630ms)
info: ../demos/Demo/Honest.lean:4:0: 'Demo.honest' does not depend on any axioms
Build completed successfully (2 jobs).
Then run:
lake build Demo.WrongDefinition
Expected output:
ℹ [2/2] Built Demo.WrongDefinition (789ms)
info: ../demos/Demo/WrongDefinition.lean:10:0: 'Demo.one_is_prime' depends on axioms: [propext]
Build completed successfully (2 jobs).
Each build takes about a second once Lean is installed; installing Lean takes some minutes. The second file states that 1 is prime, and the build passes, because its definition of a prime leaves out the condition 2 ≤ n. That is what a match shows and what it does not: Lean accepted the statement as written, and a reader of the definition is what tells you whether it says what the words say.
Why a recipe, and not just our program
If I hand you a program and it prints PASS, all you have learned is that my program agrees with me. If my program has a mistake, it will agree with my mistake.
A recipe is different. It tells you exactly what to fetch, what to compute and what you should see, so you can do it with tools you already trust: the hash command on your own computer, your own short script, or an AI assistant you ask to follow the steps. When your independent work lands on the same answer, the result stands on two legs instead of one.
What that gives you
- Where you can rerun a check, you don't need to trust us. Not our code, not our machines, not our good intentions. That check runs on yours.
- Mistakes are easier to catch. A match means two separately written programs reached the same answer from the same files, so a slip in our code would have to happen again in yours to go unseen. Both can still follow the same wrong definition and agree: the Lean demo on this page, whose wrong definition of a prime lets “1 is prime” build, shows how.
- It lasts. A recipe outlives any program. Languages change and software stops running; a clear list of steps and expected outputs can be followed years from now.
- Anyone can take part. You don't have to be an expert to compare two numbers. Students, sceptics and specialists all use the same steps.
- Corrections are welcome. If your result differs from ours, tell us. We'll check, fix the page and credit you.
Our own checkers
Our own checkers are not part of this site. We don't lead with them on purpose: a result you reproduced yourself is worth more than one you watched our program approve.
The step-by-step recipe for each book
Each recipe gives the files with their fingerprints, the commands for Windows PowerShell and for macOS or Linux, the output to expect, and what a match does and does not show. Under "What is known not to work today", each one says which checks rest on logs or on files that are not online. The same steps for programs and AI assistants are in a JSON file beside each one.
- Covering arrays (JSON)
- Erdos problems 64 and 647 (JSON)
- OpenAI's claimed refutation of ETH (JSON)
- The Invisible Golden Snitch (JSON)
- What 'Lean-verified' means (JSON)
- Navier-Stokes (JSON)
- Three bodies (JSON)
- The de Bruijn–Newman constant: three conditional upper bounds (JSON)
How to check a published file yourself (Windows, macOS, Linux)
You do not have to trust us. Every file in a book comes with a fingerprint, a long string of letters and digits (called a SHA-256 hash) that, in practice, no other file produces. If one letter of the file changes, the fingerprint changes completely. You work out the fingerprint on your own computer, with a tool that is part of your system, and compare it with the one we list. If they are the same, you have exactly the file we published.
This just shows that the file is the one we published. It does not show that what is in it is right. For that, each book has a written check recipe and a "Check it yourself" page.
What you need
- The file you want to check, and the book's list of fingerprints, called SHA256SUMS.txt. Both are on the book's download page, under certificates. The ETH audit book has no certificates folder and no list: its evidence is its text, which you read rather than fingerprint.
- On Windows: Windows PowerShell (already on Windows 10 and 11). Open the Start menu, type PowerShell, press Enter.
- On macOS: the Terminal app. On Linux: any terminal.
One file, on Windows
- In PowerShell, go to the folder that holds the file. For example, if it is in Downloads:
cd $HOME\Downloads
- Ask Windows for the fingerprint:
Get-FileHash .\results.json -Algorithm SHA256
- Read the long string under Hash. Open SHA256SUMS.txt in Notepad, find the line for results.json, and compare. Each line is: the fingerprint, then the file name. The two strings must be the same, letter for letter. Capital or small letters do not matter.
One file, on macOS or Linux
shasum -a 256 results.json # macOS
sha256sum results.json # Linux
Compare the long string at the start of the line with the line for results.json in SHA256SUMS.txt.
All the files at once, on Windows
Keep the files in the same folders as on the site (the list says where each one goes, for example erdos647/classes_d0.txt). Open PowerShell in the folder that matches the list. For most books that is the certificates folder; for the covering-arrays, three-body and lean-verified books it is the book folder, because their lists start with certificates/, demos/ or lean/. In the book folder the list itself is certificates/SHA256SUMS.txt, so write that path wherever the commands below say SHA256SUMS.txt. Then paste:
$ok = 0; $bad = 0
Get-Content SHA256SUMS.txt | Where-Object { $_.Trim() } | ForEach-Object {
$h = $_.Substring(0,64).ToLower()
$rel = ($_ -replace '^[0-9a-fA-F]{64} [ *]','') -replace '^\./',''
$f = Get-FileHash -Algorithm SHA256 -LiteralPath $rel -ErrorAction SilentlyContinue
if ($f -and $f.Hash.ToLower() -eq $h) { $ok++ } else { $bad++; "NOT OK: $rel" }
}
"$ok OK, $bad not OK"
What you should see: a line like 17 OK, 0 not OK, with no NOT OK lines above it. The number of OK files is the number of lines in the list. If a file is named NOT OK, either it is not in that folder, it is damaged, or it is not the file we published. The SHA256SUMS.txt you pasted this against must itself come from the book; its own fingerprint is on the book's check page.
All the files at once, on macOS or Linux
Each list names its files from one folder: run the check in that folder, with the list's path as given (Linux: sha256sum; macOS: shasum -a 256). Keep the files in the same folders as on the site.
- Covering arrays: tests, tables, and room for one more column: in the folder
data/files/covering-arrays/run:sha256sum -c certificates/SHA256SUMS.txt(macOS:shasum -a 256 -c certificates/SHA256SUMS.txt; 113 files) - Erdős problems 64 and 647: in the folder
data/files/erdos-problems/certificates/run:sha256sum -c SHA256SUMS.txt(macOS:shasum -a 256 -c SHA256SUMS.txt; 19 files) - The Invisible Golden Snitch: in the folder
data/files/golden-snitch/certificates/run:sha256sum -c SHA256SUMS.txt(macOS:shasum -a 256 -c SHA256SUMS.txt; 1 file) - What "Lean-verified" means, and what it does not: in the folder
data/files/lean-verified/run:sha256sum -c certificates/SHA256SUMS.txt(macOS:shasum -a 256 -c certificates/SHA256SUMS.txt; 10 files) - Navier–Stokes: the original 2000 question: what is proved, and what is open: in the folder
data/files/navier-stokes/certificates/run:sha256sum -c SHA256SUMS.txt(macOS:shasum -a 256 -c SHA256SUMS.txt; 7 files) - Navier–Stokes: the original 2000 question: what is proved, and what is open: in the folder
data/files/navier-stokes/proofs/run:sha256sum -c SHA256SUMS.txt(macOS:shasum -a 256 -c SHA256SUMS.txt; 25 files) - The de Bruijn–Newman constant: three conditional upper bounds: in the folder
data/files/riemann-debruijn-newman/certificates/run:sha256sum -c SHA256SUMS.txt(macOS:shasum -a 256 -c SHA256SUMS.txt; 42 files) - The de Bruijn–Newman constant: three conditional upper bounds: in the folder
data/files/riemann-debruijn-newman/proofs/run:sha256sum -c SHA256SUMS.txt(macOS:shasum -a 256 -c SHA256SUMS.txt; 15 files) - Three bodies: periodic orbits: in the folder
data/files/three-body/run:sha256sum -c certificates/SHA256SUMS.txt(macOS:shasum -a 256 -c certificates/SHA256SUMS.txt; 199 files) - Three bodies: periodic orbits: in the folder
data/files/three-body/media/teaching/run:sha256sum -c SHA256SUMS.txt(macOS:shasum -a 256 -c SHA256SUMS.txt; 5 files)
Every line must end in OK. A line ending in FAILED or No such file is a problem.
Try to break it (recommended)
Make a copy of any file, change one letter in it with Notepad or any editor, and run the fingerprint again. It will be completely different. That is the point: a changed file cannot pass.
Common trouble
- "No such file": the list uses folder names (erdos647/...). Put the files in matching folders, or follow the book's -REPLICATE page, which downloads them in the right layout.
- A missing file on our site can show you a web page instead of an error. If a downloaded "file" opens as a web page, it was not found; its fingerprint will not match.
- On Windows, the old tool CertUtil -hashfile <file> SHA256 also works, for one file at a time. It prints the hash with spaces on some versions; remove the spaces before comparing.
- sha256sum is not on stock Windows. Get-FileHash is.