logoalt Hacker News

jonny_eh07/30/20251 replyview on HN

Apparently this is possible with macros? I dunno: https://github.com/leanprover/lean3/issues/1355


Replies

kmill07/30/2025

That's Lean 3, from eight years ago, and it's from before 'sorry' really existed in the way we know it now.

---

To answer the GP's question: Not only is there a verification mode, but Lean generates object files with the fully elaborated definitions and theorems. These can be rechecked by the kernel, or by external verifiers. There's no need to trust the Lean system itself, except to make sure that the theorem statements actually correspond to what we think they're supposed to be.

show 1 reply