Euclean: Automated Geometry Problem Formalization with Unified Verification in Lean
Abstract
Lay Summary
AI systems are becoming good at solving math problems because they learn from many examples checked by computers. Geometry has not benefited as much: large collections of checkable geometry examples are scarce, and geometry problems often leave facts for humans to infer from a picture. When a problem says a point lies "on" a segment, it may require a specific ordering of points or exclude cases where two points coincide. A proof-checking program cannot rely on hidden assumptions; everything must be explicit. We introduce Euclean, a system that turns natural-language geometry problems into precise statements for Lean, a proof-checking program. Euclean makes hidden conditions explicit, translates lines, angles, and circles into Lean's standard mathematical library, Mathlib, and uses Lean's error messages to repair mistakes. Unlike systems built on custom geometry languages or external solvers, Euclean keeps geometry in the same trusted setting as algebra, number theory, and analysis. Using Euclean, we create OMNI-Geometry with 768 competition problems and Numina-Geometry with 177,597 broader problems, the largest Lean geometry formalization dataset to date. These resources give AI systems many more checked geometry examples to learn from and test on, moving geometry toward a unified and reliable foundation.