Lω₁ω Quantifier Rank #
This file defines the quantifier rank of Lω₁ω formulas and the "agree up to rank α" relation between structures.
Main Definitions #
BoundedFormulaω.qrank: The quantifier rank of an Lω₁ω formula.EquivQRω: Two structures are equivalent up to quantifier rank α if they satisfy the same sentences of quantifier rank ≤ α.
Main Results #
EquivQRω.refl,EquivQRω.symm,EquivQRω.trans: Equivalence relation properties.EquivQRω.monotone: Higher rank equivalence implies lower rank equivalence.qrank_einf,qrank_esup: Quantifier rank of encoded infinitary connectives.
References #
Quantifier Rank #
The quantifier rank of an Lω₁ω formula: the carrier-generic
BoundedFormulaInf.qrank, specialized at the branching carrier ℕ.
Because the rank is valued in the carrier's own ordinal universe, the ℕ specialization
lands in Ordinal.{0} exactly — no lifting, which is what Scott analysis needs.
This is an abbrev, so it is the upstream rank rather than a parallel copy of it (gated by
rfl below). The ω-facing lemmas beneath keep their historical statements: qrank_all and
qrank_ex are still stated with + 1 rather than Order.succ, so downstream sees no
proposition-level change. Only code that relied on the old definition unfolding by rfl is
affected.
Note: For Lω₁ω, the quantifier rank is always a countable ordinal (< ω₁).
Instances For
Quantifier rank of a formula (no bound variables).
Equations
Instances For
Quantifier rank of a sentence.
Equations
Instances For
Gate: the ω rank IS the upstream rank #
Must close by rfl — that is what certifies this is the carrier-generic rank specialized at ℕ
rather than a parallel recursive copy that happens to agree.
Quantifier Rank Lemmas #
Universal quantification adds 1. Kept in + 1 form: upstream states it with
Order.succ, and the two agree for ordinals.
Negation preserves quantifier rank.
The quantifier rank of einf is the sup of the family's ranks.
Note: This requires careful universe handling since einf encodes ι into ℕ,
which changes the universe of the supremum. We need Small.{0} ι (from Encodable)
for Ordinal.le_iSup to work at Ordinal.{0}.
openBounds preserves quantifier rank: the universal case is qrank_relabel.
Equivalence up to Quantifier Rank #
Two structures are equivalent up to quantifier rank α if they satisfy the same Lω₁ω sentences of quantifier rank ≤ α.
This is a semantic relation that captures agreement on formulas of bounded complexity.
Instances For
Equivalence up to quantifier rank is reflexive.
Equivalence up to quantifier rank is symmetric.