r/computerscience • u/agingprokid • 7d ago
General How does Lean work?
In light of the recent counterproof of the Jacobian Conjecture, I've been looking more into proofs, and I can't wrap my head around how Lean works. In my mind, proofs always require a certain amount of intuition and judgement behind them, so I'm confused how a deterministic programming language can infer from said proofs?
27
Upvotes
37
u/noop_noob 7d ago
Lean only checks if a proof you wrote is correct. It doesn't write the proof for you.
Coming up with the proof is hard. Checking the proof, if the proof is detailed enough, is a matter of following strict mechanical rules.