Documentation

InfinitaryLogic.ModelTheory.CountingCountable

Counting Theorem for All Countable Models #

This file provides the user-facing counting theorem for all countable models of an Lω₁ω sentence with bounded Scott height. It combines the ℕ-coded result (via BF-equivalence Borelness) with finite-carrier results (via permutation orbits) from FiniteCarrier.lean.

The type AllCodedIsoClasses φ faithfully represents all isomorphism classes of countable models of φ, as established by the bridge theorems:

Main Result #

The stronger unconditional-height version (≤ ℵ₁ or 2^ℵ₀) is FirstOrder.Language.morley_counting in ModelTheory/MorleyCounting.lean.

Bounded-Scott-height counting theorem for all countable models. The total number of isomorphism classes of countable models of φ (with bounded Scott height) is either ≤ ℵ₀ or exactly 2^ℵ₀.

This combines ℕ-coded models (BF-equivalence Borelness, counting_coded_models_dichotomy) with finite-carrier models (permutation orbits, counting_fin_models_dichotomy). AllCodedIsoClasses φ faithfully represents all iso classes of countable models (by codeModel, codeModel_eq_of_iso, iso_of_codeModel_eq, codeModel_surjective).