Semantics of first-order logic #
This file defines the structure and the evaluation of terms and formulas by Tarski's truth definition.
Imported declaration from the Incompleteness formalization.
Imported declaration from the Incompleteness formalization.
Imported declaration from the Incompleteness formalization.
Instances
Imported declaration from the Incompleteness formalization.
- Dom : Type u_1
Imported declaration from the Incompleteness formalization.
Imported declaration from the Incompleteness formalization.
Instances For
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Equations
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Structure.lMap φ S = { func := fun (x : ℕ) (f : L₁.Func x) => LO.FirstOrder.Structure.func (φ.func f), rel := fun (x : ℕ) (r : L₁.Rel x) => LO.FirstOrder.Structure.rel (φ.rel r) }
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Structure.Decidable L M = ({k : ℕ} → (r : L.Rel k) → (v : Fin k → M) → Decidable (LO.FirstOrder.Structure.rel r v))
Instances For
Equations
Equations
- s.instStructureDom = s.struc
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Semiterm.val s e ε (LO.FirstOrder.Semiterm.bvar x_1) = e x_1
- LO.FirstOrder.Semiterm.val s e ε (LO.FirstOrder.Semiterm.fvar x_1) = ε x_1
- LO.FirstOrder.Semiterm.val s e ε (LO.FirstOrder.Semiterm.func f v) = LO.FirstOrder.Structure.func f fun (i : Fin arity) => LO.FirstOrder.Semiterm.val s e ε (v i)
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Semiterm.valm M e ε = LO.FirstOrder.Semiterm.val s e ε
Instances For
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Semiformula.EvalAux s ε x✝ LO.FirstOrder.Semiformula.verum = True
- LO.FirstOrder.Semiformula.EvalAux s ε x✝ LO.FirstOrder.Semiformula.falsum = False
- LO.FirstOrder.Semiformula.EvalAux s ε x✝ (LO.FirstOrder.Semiformula.rel φ v) = LO.FirstOrder.Structure.rel φ fun (i : Fin arity) => LO.FirstOrder.Semiterm.val s x✝ ε (v i)
- LO.FirstOrder.Semiformula.EvalAux s ε x✝ (LO.FirstOrder.Semiformula.nrel φ v) = ¬LO.FirstOrder.Structure.rel φ fun (i : Fin arity) => LO.FirstOrder.Semiterm.val s x✝ ε (v i)
- LO.FirstOrder.Semiformula.EvalAux s ε x✝ (φ.and ψ) = (LO.FirstOrder.Semiformula.EvalAux s ε x✝ φ ∧ LO.FirstOrder.Semiformula.EvalAux s ε x✝ ψ)
- LO.FirstOrder.Semiformula.EvalAux s ε x✝ (φ.or ψ) = (LO.FirstOrder.Semiformula.EvalAux s ε x✝ φ ∨ LO.FirstOrder.Semiformula.EvalAux s ε x✝ ψ)
- LO.FirstOrder.Semiformula.EvalAux s ε x✝ φ.all = ∀ (x : M), LO.FirstOrder.Semiformula.EvalAux s ε (x :> x✝) φ
- LO.FirstOrder.Semiformula.EvalAux s ε x✝ φ.ex = ∃ (x : M), LO.FirstOrder.Semiformula.EvalAux s ε (x :> x✝) φ
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Semiformula.Eval s e ε = { toTr := LO.FirstOrder.Semiformula.EvalAux s ε e, map_top' := ⋯, map_bot' := ⋯, map_neg' := ⋯, map_imply' := ⋯, map_and' := ⋯, map_or' := ⋯ }
Instances For
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- M ⊧/e = LO.FirstOrder.Semiformula.Evalb s e
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Imported declaration from the Incompleteness formalization.
Instances For
Equations
- One or more equations did not get rendered due to their size.
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.«term_⊧ₘ_» = Lean.ParserDescr.trailingNode `LO.FirstOrder.«term_⊧ₘ_» 45 46 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊧ₘ ") (Lean.ParserDescr.cat `term 46))
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.«term_⊧ₘ₀_» = Lean.ParserDescr.trailingNode `LO.FirstOrder.«term_⊧ₘ₀_» 45 46 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊧ₘ₀ ") (Lean.ParserDescr.cat `term 46))
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.«term_⊧ₘ*_» = Lean.ParserDescr.trailingNode `LO.FirstOrder.«term_⊧ₘ*_» 45 46 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊧ₘ* ") (Lean.ParserDescr.cat `term 46))
Instances For
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.«term_⊧ₘᵣ_» = Lean.ParserDescr.trailingNode `LO.FirstOrder.«term_⊧ₘᵣ_» 45 46 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊧ₘᵣ ") (Lean.ParserDescr.cat `term 46))
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- (T ⊨ φ) = T ⊨[LO.FirstOrder.SmallStruc L] φ
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.«term_⊨_» = Lean.ParserDescr.trailingNode `LO.FirstOrder.«term_⊨_» 45 46 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " ⊨ ") (Lean.ParserDescr.cat `term 46))
Instances For
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- One or more equations did not get rendered due to their size.