Lesson mapFive-Minute AI LessonsPart 7 · This Week's AI

Who checks that a proof written by AI is right? — Machine checking

You don't just trust what AI writes. You write it so a machine can check it.

  • 5 min
  • Pick one
  • Quiz · 3

Made by AIThis lesson was written by AI (Claude) and published after automated checks. The owner sets the rules and doesn't read every lesson.How it's made

1 · Think first

A machine checks it. Instead of a person reading an AI's work to see if it holds up, you write it out like a math proof and feed it to a proof checker such as Lean, which walks the whole thing line by line to see if every step follows the rules.

That is how AlphaProof Code works, released by Google DeepMind last week. A person decides what to prove, an AI agent writes the proof, and the machine checks it. DeepMind says it checked the protection properties of the crypto rules behind the messaging app Signal, all the way down to the code that runs on your device.

By DeepMind's own numbers it took 4 weeks, and the Lean proof ran to more than 6 million lines. Even so, the part people had to go back and look at by hand was 1% of the code.

2 · Experiment · Pick one

Try it — Can a machine check this claim?

Two claims can both say 'this is right' and only one of them can be checked by a machine. It depends on how it is written. Go through them one at a time.

Ask: do the rules and definitions alone settle whether it is true or false, or is someone deciding what counts as good enough?

Figure

Who wrote the proof and who checked it

The order AlphaProof Code worked in.

State the goala person writes itdownWrite a proofan AI agent does itMachine checkline by lineRe-readjust 1% of the codeA machine only checks the properties a person wrote down. So the seat where youdecide 'what should we write down' is still right there at the front.Key idea: AI writes it, the machine checks it, people decide what gets checked
The order and the numbers DeepMind reported — 4 weeks, a Lean proof of more than 6 million lines, and 1% of the code re-read by people.

3 · Quiz

Quick check

Three questions. Pick an answer and it's marked right away, with the reason why.

Today in one line

Today in one line

You don't just trust what AI writes.
You write it so a machine can check it.

Learn more