Documentation

TauCeti.ModelTheory.Infinitary.Theory

Theories of L_{ω₁ω} sentences #

An L_{ω₁ω} theory is a set of L_{ω₁ω} sentences, and a structure is a model of it when it satisfies every member. A countable theory can be replaced by a single sentence: its members, enumerated into the carrier ℕ along IndexCoding.ofEncodableWith, form one countable conjunction, which a structure satisfies exactly when it is a model of the theory. Indices that code no member carry ⊤, so the conjunction of the empty theory holds in every structure.

Theories move along language homomorphisms, sentence by sentence; along an expansion a structure is a model of the image of a theory exactly when it is a model of the theory.

Main definitions #

Main results #

References #

@[reducible, inline]

An L_{ω₁ω} theory: a set of L_{ω₁ω} sentences.

Instances For

    A structure is a model of an L_{ω₁ω} theory when it satisfies every sentence of the theory.

    Instances For
      theorem FirstOrder.Language.Theoryω.model_iff {L : Language} {T : L.Theoryω} {M : Type w} [L.Structure M] :
      T.Model M ↔ ∀ φ ∈ T, SentenceInf.Realize φ M

      Unfolding lemma for Theoryω.Model.

      theorem FirstOrder.Language.Theoryω.Model.realize_of_mem {L : Language} {T : L.Theoryω} {M : Type w} [L.Structure M] (h : T.Model M) {φ : L.Sentenceω} (hφ : φ ∈ T) :

      A model of a theory satisfies each of its sentences.

      theorem FirstOrder.Language.Theoryω.Model.mono {L : Language} {T T' : L.Theoryω} {M : Type w} [L.Structure M] (h : T'.Model M) (hT : T ⊆ T') :
      T.Model M

      A model of a theory is a model of every subtheory.

      @[simp]

      Every structure is a model of the empty theory.

      @[simp]
      theorem FirstOrder.Language.Theoryω.model_union_iff {L : Language} {T T' : L.Theoryω} {M : Type w} [L.Structure M] :
      (T ∪ T').Model M ↔ T.Model M ∧ T'.Model M

      A structure is a model of a union exactly when it is a model of both theories.

      @[simp]

      A structure is a model of insert φ T exactly when it satisfies φ and is a model of T.

      @[simp]

      A structure is a model of {φ} exactly when it satisfies φ.

      @[simp]

      A structure is a model of the image of a first-order theory in L_{ω₁ω} exactly when it is a model of the first-order theory.

      Sentences of a theory with a model #

      In a model of T, the components of a compound sentence of T that a consistency property adds are true.

      theorem FirstOrder.Language.Theoryω.Model.bot_notMem {L : Language} {T : L.Theoryω} {M : Type w} [L.Structure M] (h : T.Model M) :
      ⊥ ∉ T

      A theory with a model does not contain ⊥.

      theorem FirstOrder.Language.Theoryω.Model.not_notMem {L : Language} {T : L.Theoryω} {M : Type w} [L.Structure M] (h : T.Model M) {φ : L.Sentenceω} (hφ : φ ∈ T) :

      A theory with a model does not contain a sentence together with its negation.

      In a model of T, an implication in T has a false hypothesis or a true conclusion.

      In a model of T, a negated implication in T has a true hypothesis and a false conclusion.

      In a model of T, a negated conjunction in T has a false conjunct.

      In a model of T, every disjunct of a negated disjunction in T is false.

      The conjunction of a countable theory #

      The conjunction of a countable theory: its sentences, enumerated into the carrier ℕ along IndexCoding.ofEncodableWith, joined by one countable conjunction. Indices that code no sentence carry ⊤.

      Instances For

        The conjunction of a countable theory is the coded conjunction of its sentences.

        @[simp]

        A countable theory is one sentence. A structure satisfies the conjunction of a countable theory exactly when it is a model of the theory.

        theorem FirstOrder.Language.Theoryω.model_constantsOn_update_iff {L : Language} {γ : Type uγ} [DecidableEq γ] {M : Type w} [L.Structure M] (e : γ → M) {c : γ} (m : M) {T : (L.withConstants γ).Theoryω} (hc : ∀ φ ∈ T, c ∉ BoundedFormulaInf.constantSupport φ) :
        T.Model M ↔ T.Model M

        Reinterpreting a constant absent from every sentence of a theory preserves modelhood.

        Omitting types #

        A structure omits a set p of L_{ω₁ω} formulas in n bound variables, a partial type, when no n-tuple of the structure realizes every member of p.

        Instances For
          theorem FirstOrder.Language.omitsType_iff {L : Language} {M : Type w} [L.Structure M] {n : ℕ} {p : Set (L.BoundedFormulaω Empty n)} :
          OmitsType M p ↔ ∀ (a : Fin n → M), ∃ φ ∈ p, ¬BoundedFormulaInf.Realize φ Empty.elim a

          Unfolding lemma for OmitsType.

          A structure satisfying φ.exs and every sentence (φ.imp ψ).alls with ψ ∈ p does not omit p: a tuple satisfying φ satisfies all of p.

          The image of an L_{ω₁ω} theory under a language homomorphism: the images of its sentences.

          Instances For

            The image of a theory is the image of its sentences.

            @[simp]
            theorem FirstOrder.Language.LHom.mem_onTheoryω {L : Language} {L' : Language} {g : L →ᴸ L'} {T : L.Theoryω} {φ : L'.Sentenceω} :
            φ ∈ g.onTheoryω T ↔ ∃ φ₀ ∈ T, g.onBoundedFormulaInf φ₀ = φ

            Membership in the image of a theory.

            @[simp]
            theorem FirstOrder.Language.LHom.onTheoryω_model {L : Language} {L' : Language} (g : L →ᴸ L') {M : Type w} [L.Structure M] [L'.Structure M] [g.IsExpansionOn M] (T : L.Theoryω) :

            Modelhood along an expansion. If the L'-structure on M expands its L-structure along g, then M is a model of the image of T exactly when it is a model of T. No injectivity of g and no countability of T is needed. This is the infinitary form of Mathlib's LHom.onTheory_model.

            The image of a countable theory under a language homomorphism is countable.

            theorem FirstOrder.Language.StrongHomClass.theoryω_model_iff {L : Language} {M : Type w} {N : Type w'} [L.Structure M] [L.Structure N] {F : Type u_1} [EquivLike F M N] [L.StrongHomClass F M N] (g : F) (T : L.Theoryω) :
            T.Model M ↔ T.Model N

            Isomorphic structures are models of the same L_{ω₁ω} theories.