L∞ω Quantifier Rank #
This file defines the quantifier rank of L∞ω formulas and the "agree up to rank α" relation between structures.
Main Definitions #
BoundedFormulaInf.qrank: The quantifier rank of an L∞ω formula.EquivQRInf: Two structures are equivalent up to quantifier rank α if they satisfy the same sentences of quantifier rank ≤ α.
Main Results #
EquivQRInf.refl,EquivQRInf.symm,EquivQRInf.trans: Equivalence relation properties.EquivQRInf.monotone: Higher rank equivalence implies lower rank equivalence.
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
- Infinitary connectives take the sup of their arguments
Equations
- FirstOrder.Language.BoundedFormulaInf.falsum.qrank = 0
- (FirstOrder.Language.BoundedFormulaInf.equal t₁ t₂).qrank = 0
- (FirstOrder.Language.BoundedFormulaInf.rel R ts).qrank = 0
- (φ.imp ψ).qrank = max φ.qrank ψ.qrank
- φ.all.qrank = φ.qrank + 1
- (FirstOrder.Language.BoundedFormulaInf.iSup φs).qrank = ⨆ (i : ι), (φs i).qrank
- (FirstOrder.Language.BoundedFormulaInf.iInf φs).qrank = ⨆ (i : ι), (φs i).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.
mapFreeVars preserves quantifier rank. Renaming free variables does not
change the logical complexity of a formula.
Equivalence up to Quantifier Rank #
Two structures are equivalent up to quantifier rank α if they satisfy the same sentences of quantifier rank ≤ α.
The current definition pins both the ordinal α and the formula universe to
Ordinal.{0} and BoundedFormulaInf.{u, v, 0, 0} respectively. This is a
practical choice: qrank returns Ordinal.{0}, so the inequality φ.qrank ≤ α
requires α : Ordinal.{0}. See LinfEquiv for discussion of the uι = 0 choice.
Equations
- L.EquivQRInf α M N = ∀ (φ : L.BoundedFormulaInf Empty 0), φ.qrank ≤ α → (FirstOrder.Language.SentenceInf.Realize φ M ↔ FirstOrder.Language.SentenceInf.Realize φ N)
Instances For
Equivalence up to quantifier rank is reflexive.
Equivalence up to quantifier rank is symmetric.
Equivalence up to quantifier rank is transitive.
Equivalence at higher rank implies equivalence at lower rank.
Equivalence at rank 0 means agreement on all quantifier-free sentences.
Universe-correct Equivalence up to Quantifier Rank #
Equivalence up to quantifier rank α with index types matching the structure universe.
Unlike EquivQRInf which pins uι = 0, this version uses BoundedFormulaInf.{u, v, 0, w}
so that index types for iSup/iInf may be any Type w. This is the companion of
LinfEquivW for tracking quantifier rank bounds.
Equations
- L.EquivQRInfW α M N = ∀ (φ : L.BoundedFormulaInf Empty 0), φ.qrank ≤ α → (FirstOrder.Language.SentenceInf.Realize φ M ↔ FirstOrder.Language.SentenceInf.Realize φ N)