Loading...
Loading...
A recent discussion highlights both the promise and pitfalls of using the Lean theorem prover for software correctness. In the featured case, Lean successfully “proved” a program correct, yet the author later discovered a real bug—underscoring that formal verification only guarantees what is actually specified and modeled. The episode points to a broader trend: theorem provers are becoming practical tools, but their assurances hinge on accurate specifications, faithful assumptions about the runtime environment, and careful handling of edge cases. The story reinforces that verification reduces risk, but does not replace scrutiny of requirements and models.
&#32; submitted by &#32; <a href="https://www.reddit.com/user/self"> /u/self </a> <br/> <span><a href="https://kirancodes.me/posts/log-who-watches-the-watchers.html">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/programming/comments/1sl1r64/lean_proved_this_program_was_correct_then_i_found/">[comments]</a></span>
Lean proved this program was correct; then I found a bug | Hacker News Hacker News new | past | comments | ask | show | jobs | submit login Lean proved this program was correct; then I found a bug ( kirancodes.me ) 5 points by bumbledraven 14 minutes ago | hide | past | favorite | discuss help Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact Search:
&#32; submitted by &#32; <a href="https://www.reddit.com/user/Gopiandcoshow"> /u/Gopiandcoshow </a> <br/> <span><a href="https://kirancodes.me/posts/log-who-watches-the-watchers.html">[link]</a></span> &#32; <span><a href="https://www.reddit.com/r/programming/comments/1skfp8x/lean_proved_this_program_was_correct_then_i_found/">[comments]</a></span>
Lean proved this program was correct; then I found a bug