Skip to the content.

A Lean 4 formalization of infinitary logic (L∞ω and Lω1ω), Scott sentences, and classical results in infinitary model theory, building on Mathlib.

Main Results

Scope

The formalization currently covers:

Some results carry explicit hypotheses that package external mathematical content not yet formalized (e.g., MorleyHanfTransfer for Erdős–Rado / Ehrenfeucht–Mostowski machinery, SilverBurgessDichotomy for the Silver–Burgess dichotomy).

Components

Directory Contents
InfinitaryLogic/Linf/ L∞ω syntax, semantics, operations, countability predicates, quantifier rank
InfinitaryLogic/Lomega1omega/ Lω1ω syntax, semantics, operations, embedding, quantifier rank
InfinitaryLogic/Scott/ Atomic diagrams, back-and-forth equivalence, Scott formulas/sentences, rank, height
InfinitaryLogic/Karp/ Karp’s theorem and corollaries for countable structures
InfinitaryLogic/ModelExistence/ Consistency properties, model existence, completeness, omitting types
InfinitaryLogic/ModelTheory/ Löwenheim–Skolem, Hanf numbers, counting models
InfinitaryLogic/Admissible/ Admissible fragments, Barwise compactness, Nadel bound
InfinitaryLogic/Descriptive/ Borel complexity of structure space, satisfaction, isomorphism; Silver-Burgess dichotomy (splitting lemma, Cantor scheme, silverBurgessDichotomy; 1 sorry: borel_to_closed_reduction in GandyHarrington.lean)

Resources

References