Formally verified polygon intersection – Opus 4.8 oneshots, prev failed
First formally verified polygon intersection with Lean 4 proof and web demo.
Formally verified polygon intersection
First formally verified polygon intersection—Lean 4 proofs guarantee correctness for all inputs.
Computational geometry developers and formal verification researchers
CGAL · Boost.Geometry
The experience of working with AI agents on this project changed a lot with recent model releases, as I describe in the readme. Opus 4.8 is able to provide algorithm implementation with formal proof in one shot, whereas previous models required me to provide proof strategies in multiple steps.
Trust in the correctness comes entirely from the Lean checker and human review of a small specification, not from the LLM.
Also check out the web demo built around the verified core linked in the readme: https://schildep.github.io/verified-polygon-intersection/. It supports multipolygons including holes, self intersections, and overlapping edges.
First formally verified polygon intersection with Lean 4 proof and web demo.
TLA+ verification caught production bugs that years of testing missed.
Formal verification for LLM workflows—CTL model checking, Z3 proofs, zero hallucination math.
Formally verified FPGA watchdog for critical AM broadcast proves hardware safety via math, not testing.
Millennium Prize claim needs external mathematical community verification, not just Coq syntax.
Lean 4 proofs for AI code correctness—way more rigorous than unit tests.