computer-science
Show HN: Formally verified polygon intersection – Opus 4.8 oneshots, prev failed
Key takeaways
- To my knowledge, this is the first formally verified implementation of an intersection algorithm for polygons.
- The experience of working with AI agents on this project changed a lot with recent model releases.
- Trust in the correctness comes entirely from the Lean checker and human review of a small specification, not from the LLM.
To my knowledge, this is the first formally verified implementation of an intersection algorithm for polygons. (Also compare with Related work)
The experience of working with AI agents on this project changed a lot with recent model releases. Latest models are able to provide algorithm implementation with formal proof in one shot, whereas previous models required me to provide proof strategies in multiple steps. (Capabilities of AI agents)
Trust in the correctness comes entirely from the Lean checker and human review of a small specification, not from the LLM. (See Use of AI agents)
Article preview — originally published by Hacker News. Full story at the source.
Read full story on Hacker News →
More top stories
Aggregated and edited by the Scoop newsroom. We surface news from Hacker News alongside other reporting so you can compare coverage in one place.
Editorial policy · Corrections · About Scoop