Basic definitions and properties of semantics-related notions #
This file defines the semantics of formulas based on Tarski's truth definitions. Also provides 𝓜 characterization of compactness.
Main Definitions #
LO.Semantics: The realization of 𝓜 formula.LO.Compact: The semantic compactness of Foundation.
Notation #
𝓜 ⊧ φ: a proposition that states𝓜satisfiesφ.𝓜 ⊧* T: a proposition that states that𝓜satisfies each formulae in a setT.
Equations
- LO.Semantics.«term_⊧_» = Lean.ParserDescr.trailingNode `LO.Semantics.«term_⊧_» 45 46 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊧ ") (Lean.ParserDescr.cat `term 46))
Instances For
Equations
- LO.Semantics.«term_⊭_» = Lean.ParserDescr.trailingNode `LO.Semantics.«term_⊭_» 45 46 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊭ ") (Lean.ParserDescr.cat `term 46))
Instances For
Tarski's truth definitions #
Tarski's truth definition for ⊤.
Instances
Tarski's truth definition for ⊥.
Instances
class
LO.Semantics.Tarski
(M : Type u_1)
{F : Type u_2}
[𝓢 : Semantics M F]
[LogicalConnective F]
extends LO.Semantics.Top M, LO.Semantics.Bot M, LO.Semantics.And M, LO.Semantics.Or M, LO.Semantics.Imp M, LO.Semantics.Not M :
Tarski's truth definitions.
Instances
@[simp]
theorem
LO.Semantics.models_list_conj'
{M : Type u_1}
{F : Type u_2}
[𝓢 : Semantics M F]
[LogicalConnective F]
[Tarski M]
{𝓜 : M}
{α : Type u_3}
{l : List α}
{ι : α → F}
:
@[simp]
theorem
LO.Semantics.models_list_disj'
{M : Type u_1}
{F : Type u_2}
[𝓢 : Semantics M F]
[LogicalConnective F]
[Tarski M]
{𝓜 : M}
{α : Type u_3}
{l : List α}
{ι : α → F}
:
A semantics and satisfiability over a set of formulas #
Equations
- LO.Semantics.«term_⊧*_» = Lean.ParserDescr.trailingNode `LO.Semantics.«term_⊧*_» 45 46 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊧* ") (Lean.ParserDescr.cat `term 46))
Instances For
Equations
- LO.Semantics.Valid M φ = ∀ (𝓜 : M), 𝓜 ⊧ φ
Instances For
Equations
- LO.Semantics.Satisfiable M T = ∃ (𝓜 : M), 𝓜 ⊧* T
Instances For
instance
LO.Semantics.instMeaningfulOfBot
{M : Type u_1}
{F : Type u_2}
[𝓢 : Semantics M F]
[LogicalConnective F]
[Semantics.Bot M]
(𝓜 : M)
:
@[simp]
theorem
LO.Semantics.theory_satisfiable
{M : Type u_1}
{F : Type u_2}
[𝓢 : Semantics M F]
(𝓜 : M)
:
Satisfiable M (theory 𝓜)
theorem
LO.Semantics.not_satisfiable_finset
{M : Type u_1}
{F : Type u_2}
[𝓢 : Semantics M F]
[LogicalConnective F]
[Tarski M]
[DecidableEq F]
(t : Finset F)
:
@[simp]
theorem
LO.Semantics.satisfiable_conj₂
{M : Type u_1}
{F : Type u_2}
[𝓢 : Semantics M F]
[LogicalConnective F]
[Tarski M]
[DecidableEq F]
(l : List F)
:
@[simp]
theorem
LO.Semantics.satisfiable_fconj
{M : Type u_1}
{F : Type u_2}
[𝓢 : Semantics M F]
[LogicalConnective F]
[Tarski M]
[DecidableEq F]
(s : Finset F)
:
theorem
LO.Semantics.satisfiableSet_iff_models_nonempty
{M : Type u_1}
{F : Type u_2}
[𝓢 : Semantics M F]
{T : Set F}
:
theorem
LO.Semantics.valid_neg_iff
{M : Type u_1}
{F : Type u_2}
[𝓢 : Semantics M F]
[LogicalConnective F]
[Tarski M]
(φ : F)
:
theorem
LO.Semantics.Satisfiable.of_subset
{M : Type u_1}
{F : Type u_2}
[𝓢 : Semantics M F]
{T U : Set F}
(h : Satisfiable M U)
(ss : T ⊆ U)
:
Satisfiable M T
Logical consequence
Equations
- One or more equations did not get rendered due to their size.
Instances For
instance
LO.Semantics.instTopSet
{M : Type u_1}
{F : Type u_2}
[𝓢 : Semantics M F]
[LogicalConnective F]
[Semantics.Top M]
:
Semantics.Top (Set M)
theorem
LO.Semantics.set_meaningful_iff_nonempty
{M : Type u_1}
{F : Type u_2}
[𝓢 : Semantics M F]
[LogicalConnective F]
[∀ (𝓜 : M), Meaningful 𝓜]
{s : Set M}
:
theorem
LO.Semantics.meaningful_iff_satisfiableSet
{M : Type u_1}
{F : Type u_2}
[𝓢 : Semantics M F]
{T : Set F}
[LogicalConnective F]
[∀ (𝓜 : M), Meaningful 𝓜]
:
theorem
LO.Semantics.consequence_iff_not_satisfiable
{M : Type u_1}
{F : Type u_2}
[𝓢 : Semantics M F]
{T : Set F}
[LogicalConnective F]
[Tarski M]
{φ : F}
:
Compactness
theorem
LO.Cumulative.subset_of_le
{F : Type u_2}
{T : ℕ → Set F}
(H : Cumulative T)
{s₁ s₂ : ℕ}
(h : s₁ ≤ s₂)
:
A Semantics M F is compact if, for any set of formulas, the satisfiability of the set is equivalent to the satisfiability of every finite subset of it.
- compact {T : Set F} : Semantics.Satisfiable M T ↔ ∀ (u : Finset F), ↑u ⊆ T → Semantics.Satisfiable M ↑u
Instances
theorem
LO.Compact.conseq_compact
{M : Type u_1}
{F : Type u_2}
[𝓢 : Semantics M F]
[Compact M]
{T : Set F}
[LogicalConnective F]
[Semantics.Tarski M]
[DecidableEq F]
{φ : F}
:
theorem
LO.Compact.compact_cumulative
{M : Type u_1}
{F : Type u_2}
[𝓢 : Semantics M F]
[Compact M]
{T : ℕ → Set F}
(hT : Cumulative T)
: