Formalization of Mathematics in ZFC Set Theory using the Lean 4 Proof Assistant

Domains
formal mathematics, theorem proving
Proposed by
Stephan Merz and Vincent Trélat
Institute
Inria Research Center at University of Lorraine & LORIA, Nancy, France
Duration
5 months, spring or summer 2026

Context

The Lean 4 proof assistant is a modern interactive theorem prover that has rapidly gained importance in the formalization of mathematics and in computer science applications. Most existing formalization projects in Lean (such as Mathlib) are based on dependent type theory. An alternative line of work investigates the formalization of mathematics directly in a representation of ZFC set theory. A clean and usable theory has already been developed, providing a type ZFSet of ZFC sets. On top of this foundation, standard mathematical constructions have been formalized, including Boolean algebra (ZFBool), natural numbers (ZFNat), and integers (ZFInt). Further development of the library is needed in order to obtain a rich hierarchy of mathematical objects, ultimately making ZFC formalization in Lean a viable alternative to type-theoretic approaches.

Objectives

The objective of this internship is to extend the existing ZFC formalization in Lean 4 by: Depending on progress and interest, the internship may also explore methodological aspects (e.g., comparison with type-theoretic formalization, integration with Mathlib).

Expected Work

Prerequisites


Stephan Merz