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.
- Atomic formulas (falsum, equal, rel) have rank 0
- Implication takes the max of its arguments
- Universal quantification adds 1
- Countable connectives take the sup of their arguments
Note: For Lω₁ω, the quantifier rank is always a countable ordinal (< ω₁).
Equations
- FirstOrder.Language.BoundedFormulaω.falsum.qrank = 0
- (FirstOrder.Language.BoundedFormulaω.equal t₁ t₂).qrank = 0
- (FirstOrder.Language.BoundedFormulaω.rel R ts).qrank = 0
- (φ.imp ψ).qrank = max φ.qrank ψ.qrank
- φ.all.qrank = φ.qrank + 1
- (FirstOrder.Language.BoundedFormulaω.iSup φs).qrank = ⨆ (k : ℕ), (φs k).qrank
- (FirstOrder.Language.BoundedFormulaω.iInf φs).qrank = ⨆ (k : ℕ), (φs k).qrank
Instances For
Quantifier rank of a formula (no bound variables).
Equations
Instances For
Quantifier rank of a sentence.
Equations
Instances For
Quantifier Rank Lemmas #
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}.
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.