Documentation

LeanPool.InfinitaryLogic.Mathlib.ModelTheory.Infinitary.Semantics

Semantics of infinitary first-order formulas #

This file defines realization of L_{∞ω} formulas in a structure, with simp lemmas for every constructor and derived connective. Because the branching carrier is a type parameter, each realization lemma is a single statement generic in the carrier and its universe — there is no separate L_{ω₁ω} semantics, and no universe-specialized lemma set.

Main definitions #

Main statements #

Realization of the coded connectives and of carrier transport is in Infinitary/Reindex.lean.

def FirstOrder.Language.BoundedFormulaInf.Realize {L : Language} {ι : Type uι} {α : Type u'} {M : Type w} [L.Structure M] {n : } :
L.BoundedFormulaInf ι α n(αM)(Fin nM)Prop

Realization of an infinitary bounded formula in a structure, given valuations of the free and bound variables. One recursion serves every carrier.

Equations
Instances For
    @[simp]
    theorem FirstOrder.Language.BoundedFormulaInf.realize_falsum {L : Language} {ι : Type uι} {α : Type u'} {n : } {M : Type w} [L.Structure M] {v : αM} {xs : Fin nM} :
    @[simp]
    theorem FirstOrder.Language.BoundedFormulaInf.realize_equal {L : Language} {ι : Type uι} {α : Type u'} {n : } {M : Type w} [L.Structure M] {v : αM} {xs : Fin nM} {t₁ t₂ : L.Term (α Fin n)} :
    (equal t₁ t₂).Realize v xs Term.realize (Sum.elim v xs) t₁ = Term.realize (Sum.elim v xs) t₂
    @[simp]
    theorem FirstOrder.Language.BoundedFormulaInf.realize_rel {L : Language} {ι : Type uι} {α : Type u'} {n : } {M : Type w} [L.Structure M] {v : αM} {xs : Fin nM} {l : } {R : L.Relations l} {ts : Fin lL.Term (α Fin n)} :
    (rel R ts).Realize v xs Structure.RelMap R fun (i : Fin l) => Term.realize (Sum.elim v xs) (ts i)
    @[simp]
    theorem FirstOrder.Language.BoundedFormulaInf.realize_imp {L : Language} {ι : Type uι} {α : Type u'} {n : } {M : Type w} [L.Structure M] {v : αM} {xs : Fin nM} {φ ψ : L.BoundedFormulaInf ι α n} :
    (φ.imp ψ).Realize v xs φ.Realize v xsψ.Realize v xs
    @[simp]
    theorem FirstOrder.Language.BoundedFormulaInf.realize_all {L : Language} {ι : Type uι} {α : Type u'} {n : } {M : Type w} [L.Structure M] {v : αM} {xs : Fin nM} {φ : L.BoundedFormulaInf ι α (n + 1)} :
    φ.all.Realize v xs ∀ (y : M), φ.Realize v (Fin.snoc xs y)
    @[simp]
    theorem FirstOrder.Language.BoundedFormulaInf.realize_iSup {L : Language} {ι : Type uι} {α : Type u'} {n : } {M : Type w} [L.Structure M] {v : αM} {xs : Fin nM} {φs : ιL.BoundedFormulaInf ι α n} :
    (iSup φs).Realize v xs ∃ (i : ι), (φs i).Realize v xs

    Realization of an infinitary disjunction: one equation, generic in the carrier and its universe.

    @[simp]
    theorem FirstOrder.Language.BoundedFormulaInf.realize_iInf {L : Language} {ι : Type uι} {α : Type u'} {n : } {M : Type w} [L.Structure M] {v : αM} {xs : Fin nM} {φs : ιL.BoundedFormulaInf ι α n} :
    (iInf φs).Realize v xs ∀ (i : ι), (φs i).Realize v xs

    Realization of an infinitary conjunction: one equation, generic in the carrier and its universe.

    @[simp]
    theorem FirstOrder.Language.BoundedFormulaInf.realize_not {L : Language} {ι : Type uι} {α : Type u'} {n : } {M : Type w} [L.Structure M] {v : αM} {xs : Fin nM} {φ : L.BoundedFormulaInf ι α n} :
    φ.not.Realize v xs ¬φ.Realize v xs
    @[simp]
    theorem FirstOrder.Language.BoundedFormulaInf.realize_top {L : Language} {ι : Type uι} {α : Type u'} {n : } {M : Type w} [L.Structure M] {v : αM} {xs : Fin nM} :
    @[simp]
    theorem FirstOrder.Language.BoundedFormulaInf.realize_bot {L : Language} {ι : Type uι} {α : Type u'} {n : } {M : Type w} [L.Structure M] {v : αM} {xs : Fin nM} :
    @[simp]
    theorem FirstOrder.Language.BoundedFormulaInf.realize_ex {L : Language} {ι : Type uι} {α : Type u'} {n : } {M : Type w} [L.Structure M] {v : αM} {xs : Fin nM} {φ : L.BoundedFormulaInf ι α (n + 1)} :
    φ.ex.Realize v xs ∃ (y : M), φ.Realize v (Fin.snoc xs y)
    def FirstOrder.Language.FormulaInf.Realize {L : Language} {ι : Type uι} {α : Type u'} {M : Type w} [L.Structure M] (φ : L.FormulaInf ι α) (v : αM) :

    Realization of an L_{∞ω} formula (no free bound variables).

    Equations
    Instances For
      def FirstOrder.Language.SentenceInf.Realize {L : Language} {ι : Type uι} (φ : L.SentenceInf ι) (M : Type w) [L.Structure M] :

      Realization of an L_{∞ω} sentence in a structure.

      Equations
      Instances For