News ·
AI, Lean, and the Future of Formal Verification, with Lean Creator Leo de Moura
{"summary": "A podcast episode features Lean creator Leo de Moura discussing how AI makes formal verification practical, arguing machine-checked proofs in Lean can replace the 'trust me' approach to AI-generated code.", "description": "Ben Lorica's podcast features Leo de Moura,

{"summary": "A podcast episode features Lean creator Leo de Moura discussing how AI makes formal verification practical, arguing machine-checked proofs in Lean can replace the 'trust me' approach to AI-generated code.", "description": "Ben Lorica's podcast features Leo de Moura, creator of Lean, VP and Distinguished Scientist at AWS, and Chief Architect of the Lean Focused Research Organization, discussing how AI is making formal verification more accessible. Lean is both a programming language and a proof assistant: you can write code, state properties the code should have, and provide machine-checked proofs written in the Lean language itself.", "The trust model is small: to trust a result proved with Lean, you need to trust only the kernel where proofs are checked. Proofs can be exported as data and checked with independent checkers, two of which are verified and a third coming soon. de Moura contrasts this with testing, which finds bugs but cannot prove their absence. With formal verification, you can state properties and ask AI to implement code satisfying them along with a machine-checked Lean proof, which he says AI is now fully capable of doing. A colleague, Kim Morrison, ported zlib to Lean and proved that compressing and decompressing data returns it without loss.", "For builders, the shift is from writing tests to writing specifications: when code generation becomes easy, verification becomes the bottleneck. Machine-checked proofs address trust not only between hum

References
- Hacker News · thedataexchange.media
Read the full story at Hacker News ↗Like, save or discuss on Buzz


