Show HN: Formally verified 3D CSG: Trust 93 lines spec, not 1000 lines AI code
A developer has created a formally verified 3D constructive solid geometry kernel using Lean 4 to ensure mathematical correctness. The project uses AI to generate proofs while keeping the human-auditable specification concise, prioritizing verification over raw performance.
To my knowledge, this is the first formally verified implementation of a 3D constructive solid geometry (CSG) operation: mesh intersection, implemented in Lean 4 and verified against a concise specification that pins down the surface of the resulting mesh exactly and guarantees practical well-formedness conditions on the triangulation. (See also related work .)
Get the full story
Sign up for Headlinne to unlock AI insights, political bias analysis, and your personalized news feed.
Create free accountAlready have an account? Sign in