News for hackers. Stuff that matters.
Re:My first verified imperative program by ethan_smith on Tuesday July 08, 2025 @05:09AM (#44498350)
Good point about overflow - Lean can actually model machine integers with bounded arithmetic operations, allowing you to formally verify these edge cases by explicitly reasoning about overflow behavior.
Re:My first verified imperative program by rck on Tuesday July 08, 2025 @09:16AM (#44499683)
Do you know of any short examples of this? Yesterday I was trying to prove some "easy" theorems that involved machine number representations, and I couldn't find anything in Lean.