logoalt Hacker News

redox99yesterday at 9:57 PM2 repliesview on HN

Can you use Lean to... prove "Lean-fast" is equivalent to Lean?


Replies

calebkaiseryesterday at 10:04 PM

Yeah, in essence. This is actually a pretty cool part of working in Lean. It's a somewhat normal convention to write something in a human readable way and then write a second optimized implementation with some kindness of correctness theorem connecting them. There was a whole open "competition" for writing a faster Lean kernel/proof checker that didn't sacrifice on soundness called Lean Kernel Arena. Fun reference point: https://kim-em.github.io/blog/2026-7-24-why-lean-is-faster-t...

show 1 reply
gcgbarbosayesterday at 10:00 PM

Maybe, but how many centuries would it take to prove it?