We present a formalization of Borel determinacy in the Lean 4 theorem prover. The formalization includes a definition of Gale-Stewart games and a proof of Martin's theorem stating that Borel games are determined. The proof closely follows Martin's "A purely inductive proof of Borel determinacy".
This paper formalizes the Borel determinacy theorem in the Lean 4 theorem prover. The formalization includes the definition of Gale-Stewart games and a proof of Martin's theorem, which establishes that Borel games are determined. The proof closely follows Martin's "A purely inductive proof of Borel determinacy."
Importance of Determinacy Theory: The determinacy of infinite two-player games is a central topic in descriptive set theory, introduced by Gale and Stewart in 1953
Theoretical Foundation: While determinacy for large classes of sets is closely related to large cardinals, Borel determinacy can be proven in ZFC set theory
Formalization Challenge: Borel determinacy is known for requiring a larger fragment of ZFC than most common theorems, making its formalization particularly challenging
First Complete Formalization: The first formalization in a theorem prover of a determinacy result beyond closed sets
Technical Innovations:
Introduction of the "universal unravelability" concept to replace Martin's transverse induction
Use of categorical methods for handling inverse limit constructions
Development of automated tactics for handling k-fixing maps
Design Choice Verification: Demonstration of the feasibility of using propositional assumptions rather than "junk values" for implementing partial functions
Code Scale: Approximately 5000 lines of complete implementation, with foundational definitions comprising less than half
First Move: Player 0 not only selects move a₀ but also chooses their own quasi-strategy σ
Second Move: Player 1 either selects a finite sequence x compatible with σ (where she wins all games extending x), or selects a quasi-strategy guaranteeing failure against σ
Subsequent Moves: Players proceed according to their chosen strategies
Martin, D. A. (1975): "Borel determinacy" - Original proof of Borel determinacy
Martin, D. A. (1985): "A purely inductive proof of Borel determinacy" - Primary reference followed in this paper
Gale, D. & Stewart, F. M. (1953): "Infinite games with perfect information" - Original definition of Gale-Stewart games
Kechris, A. S. (1995): "Classical descriptive set theory" - Classical textbook on descriptive set theory
Summary: This is an important work in the field of formalized mathematics, successfully formalizing a profound theorem requiring strong set-theoretic foundations into the type-theoretic framework. The paper not only contributes technical innovations but also provides valuable experience and methods for future related work. Despite some limitations, its pioneering contributions and high-quality implementation make it an important milestone in formalized mathematics.