Hello,
I’m working on formalising the 1969 book of Federer “Geometric measure theory” in Rocq using Mathematical Components, ssreflect and Hierarchy Builder. The code is now public:
Actually, the whole formalisation process is done by codex using (mostly) GPT-6.1-Sol model. I’m only supervising the process. I know that Lean has a lot bigger math library but I was learning a bit of Coq during my master’s program (20 years ago) and know a little bit of it while I do not know Lean at all so I decided to use Rocq which feels more familiar to me. Anyway, I am not an expert in formalising and I am learning along the way but GPT is rather fast and now there is substantial coverage of Chapters 1 (multilinear algebra), 2 (basic measure theory), and 3 (calculus, rectifiable sets, area/coarea). I plan to check at least the statements/definitions but I’m of course very slow with that.
The aim is to follow Federer’s definitions, hypotheses and proofs as closely as possible, taking account of his erratum. One design principle is to specify mathematical objects through their laws or universal properties, prove existence separately, and hide constructions behind sealed interfaces. Subsequent proofs use the abstract laws.
The development uses MathComp’s classical foundations; it contains no admitted proofs or additional project axioms. The repository includes kernel-check and assumptions-audit records with their validation scope. I also made GPT produce documentation (docs/ dir) which gives, e.g., maps from the book to the Rocq files.
I would welcome feedback, particularly on whether the formal statements faithfully capture Federer’s mathematics, on the abstract interfaces, and on connections with existing MathComp developments. If you are interested in formalising geometric measure theory, I would be glad to discuss the project.