The areas / V32. Logic, model theory and computability
Mathlib.ModelTheory.ElementarySubstructures
34 declarations. Mathlib docs · Source
Elementary Substructures
Main Definitions
- A
FirstOrder.Language.ElementarySubstructureis a substructure where the realization of each formula agrees with the realization in the larger model.
Main Results
- The Tarski-Vaught Test for substructures:
FirstOrder.Language.Substructure.isElementary_of_existsgives a simple criterion for a substructure to be elementary.
theorem FirstOrder.Language.ElementarySubstructure.mk.inj E1 #
∀ {L : FirstOrder.Language} {M : Type u_1} {inst : L.Structure M} {toSubstructure : L.Substructure M}
{isElementary' : toSubstructure.IsElementary} {toSubstructure_1 : L.Substructure M}
{isElementary'_1 : toSubstructure_1.IsElementary},
{ toSubstructure := toSubstructure, isElementary' := isElementary' } =
{ toSubstructure := toSubstructure_1, isElementary' := isElementary'_1 } →
toSubstructure = toSubstructure_1
theorem FirstOrder.Language.ElementarySubstructure.mk.injEq E0 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] (toSubstructure : L.Substructure M)
(isElementary' : toSubstructure.IsElementary) (toSubstructure_1 : L.Substructure M)
(isElementary'_1 : toSubstructure_1.IsElementary),
({ toSubstructure := toSubstructure, isElementary' := isElementary' } =
{ toSubstructure := toSubstructure_1, isElementary' := isElementary'_1 }) =
(toSubstructure = toSubstructure_1)
def FirstOrder.Language.ElementarySubstructure.ctorIdx E1 #
{L : FirstOrder.Language} → {M : Type u_1} → {inst : L.Structure M} → L.ElementarySubstructure M → ℕ
def FirstOrder.Language.Substructure.IsElementary E1 #
{L : FirstOrder.Language} → {M : Type u_1} → [inst : L.Structure M] → L.Substructure M → Prop
A substructure is elementary when every formula applied to a tuple in the substructure agrees with its value in the overall structure.
structure FirstOrder.Language.ElementarySubstructure E3 #
(L : FirstOrder.Language) → (M : Type u_1) → [L.Structure M] → Type u_1
An elementary substructure is one in which every formula applied to a tuple in the substructure agrees with its value in the overall structure.
ctor FirstOrder.Language.ElementarySubstructure.mk E0 #
{L : FirstOrder.Language} →
{M : Type u_1} →
[inst : L.Structure M] →
(toSubstructure : L.Substructure M) → toSubstructure.IsElementary → L.ElementarySubstructure M
abbrev FirstOrder.Language.ElementarySubstructure.toSubstructure E1 #
{L : FirstOrder.Language} → {M : Type u_1} → [inst : L.Structure M] → L.ElementarySubstructure M → L.Substructure M
The underlying substructure
theorem FirstOrder.Language.ElementarySubstructure.isElementary' E1 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] (self : L.ElementarySubstructure M),
(↑self).IsElementary
instance FirstOrder.Language.ElementarySubstructure.instCoe E0 #
{L : FirstOrder.Language} →
{M : Type u_1} → [inst : L.Structure M] → Coe (L.ElementarySubstructure M) (L.Substructure M)
instance FirstOrder.Language.ElementarySubstructure.instSetLike E0 #
{L : FirstOrder.Language} → {M : Type u_1} → [inst : L.Structure M] → SetLike (L.ElementarySubstructure M) M
instance FirstOrder.Language.ElementarySubstructure.instPartialOrder E0 #
{L : FirstOrder.Language} → {M : Type u_1} → [inst : L.Structure M] → PartialOrder (L.ElementarySubstructure M)
instance FirstOrder.Language.ElementarySubstructure.inducedStructure E0 #
{L : FirstOrder.Language} → {M : Type u_1} → [inst : L.Structure M] → (S : L.ElementarySubstructure M) → L.Structure ↥S
theorem FirstOrder.Language.ElementarySubstructure.isElementary E0 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] (S : L.ElementarySubstructure M), (↑S).IsElementary
def FirstOrder.Language.ElementarySubstructure.subtype E1 #
{L : FirstOrder.Language} →
{M : Type u_1} → [inst : L.Structure M] → (S : L.ElementarySubstructure M) → L.ElementaryEmbedding (↥S) M
The natural embedding of an L.Substructure of M into M.
theorem FirstOrder.Language.ElementarySubstructure.subtype_apply E0 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] {S : L.ElementarySubstructure M} {x : ↥S},
S.subtype x = ↑x
theorem FirstOrder.Language.ElementarySubstructure.subtype_injective E1 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] (S : L.ElementarySubstructure M),
Function.Injective ⇑S.subtype
theorem FirstOrder.Language.ElementarySubstructure.coe_subtype E0 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] (S : L.ElementarySubstructure M),
⇑S.subtype = Subtype.val
instance FirstOrder.Language.ElementarySubstructure.instTop E0 #
{L : FirstOrder.Language} → {M : Type u_1} → [inst : L.Structure M] → Top (L.ElementarySubstructure M)
The substructure M of the structure M is elementary.
instance FirstOrder.Language.ElementarySubstructure.instInhabited E0 #
{L : FirstOrder.Language} → {M : Type u_1} → [inst : L.Structure M] → Inhabited (L.ElementarySubstructure M)
theorem FirstOrder.Language.ElementarySubstructure.mem_top E0 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] (x : M), x ∈ ⊤
theorem FirstOrder.Language.ElementarySubstructure.coe_top E0 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M], ↑⊤ = Set.univ
theorem FirstOrder.Language.ElementarySubstructure.realize_sentence E0 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] (S : L.ElementarySubstructure M) (φ : L.Sentence),
↥S ⊨ φ ↔ M ⊨ φ
theorem FirstOrder.Language.ElementarySubstructure.theory_model_iff E0 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] (S : L.ElementarySubstructure M) (T : L.Theory),
↥S ⊨ T ↔ M ⊨ T
instance FirstOrder.Language.ElementarySubstructure.theory_model E0 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] {T : L.Theory} [h : M ⊨ T]
{S : L.ElementarySubstructure M}, ↥S ⊨ T
instance FirstOrder.Language.ElementarySubstructure.instNonempty E0 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] [Nonempty M] {S : L.ElementarySubstructure M},
Nonempty ↥S
theorem FirstOrder.Language.ElementarySubstructure.elementarilyEquivalent E1 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] (S : L.ElementarySubstructure M),
L.ElementarilyEquivalent (↥S) M
theorem FirstOrder.Language.Substructure.isElementary_of_exists E3 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] (S : L.Substructure M),
(∀ (n : ℕ) (φ : L.BoundedFormula Empty (n + 1)) (x : Fin n → ↥S) (a : M),
φ.Realize default (Fin.snoc (Subtype.val ∘ x) a) → ∃ b, φ.Realize default (Fin.snoc (Subtype.val ∘ x) ↑b)) →
S.IsElementary
The Tarski-Vaught test for elementarity of a substructure.
def FirstOrder.Language.Substructure.toElementarySubstructure E1 #
{L : FirstOrder.Language} →
{M : Type u_1} →
[inst : L.Structure M] →
(S : L.Substructure M) →
(∀ (n : ℕ) (φ : L.BoundedFormula Empty (n + 1)) (x : Fin n → ↥S) (a : M),
φ.Realize default (Fin.snoc (Subtype.val ∘ x) a) → ∃ b, φ.Realize default (Fin.snoc (Subtype.val ∘ x) ↑b)) →
L.ElementarySubstructure M
Bundles a substructure satisfying the Tarski-Vaught test as an elementary substructure.
theorem FirstOrder.Language.Substructure.toElementarySubstructure_toSubstructure E0 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] (S : L.Substructure M)
(htv :
∀ (n : ℕ) (φ : L.BoundedFormula Empty (n + 1)) (x : Fin n → ↥S) (a : M),
φ.Realize default (Fin.snoc (Subtype.val ∘ x) a) → ∃ b, φ.Realize default (Fin.snoc (Subtype.val ∘ x) ↑b)),
↑(S.toElementarySubstructure htv) = S
def FirstOrder.Language.MeetsDefinable E1 #
{L : FirstOrder.Language} → {M : Type u_1} → [L.Structure M] → Set M → Prop
A set meets definable sets if it meets every nonempty definable subset.
theorem FirstOrder.Language.MeetsDefinable.closure_eq_self E1 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] {A : Set M},
FirstOrder.Language.MeetsDefinable A → ↑((FirstOrder.Language.Substructure.closure L).toFun A) = A
The closure of a set meeting definable sets is equal to itself.
theorem FirstOrder.Language.MeetsDefinable.isElementary_closure E1 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] {A : Set M},
FirstOrder.Language.MeetsDefinable A → ((FirstOrder.Language.Substructure.closure L).toFun A).IsElementary
The closure of a set meeting definable sets is an elementary substructure.
def FirstOrder.Language.MeetsDefinable.toElementarySubstructure E1 #
{L : FirstOrder.Language} →
{M : Type u_1} →
[inst : L.Structure M] → {A : Set M} → FirstOrder.Language.MeetsDefinable A → L.ElementarySubstructure M
Bundles the closure of a set meeting definable sets as an elementary substructure.
theorem FirstOrder.Language.ElementarySubstructure.meetsDefinable E1 #
∀ {L : FirstOrder.Language} {M : Type u_1} [inst : L.Structure M] (S : L.ElementarySubstructure M),
FirstOrder.Language.MeetsDefinable ↑S
An elementary substructure, regarded as a subset of the ambient structure, meets definable sets.