Tool Open source
A formally verified 3D constructive solid geometry (CSG) kernel for intersecting triangle meshes. Implemented in Lean 4, it is checked against a concise formal specification that defines the resulting surface and guarantees stated well-formedness properties for the output triangulation. The project includes a browser demo that imports STL files and runs the compiled Lean code locally without sending mesh data to a server. The kernel is formally verified, but the demo's UI and glue code are not; the implementation prioritizes correctness review over performance and may generate meshes that are finer than necessary.
1 use taken from transcripts — each links to the moment in the video.
Provides a formally verified geometry kernel for exact solid intersection and mesh well-formedness, based on a Lean specification. Its browser demo processes STL files locally.
1 in the library.