Language of first-order logic #
This file defines the language of first-order logic.
LO.FirstOrder.Language.emptyis the empty language.LO.FirstOrder.Language.constant Cis a language with only constants of the elementC.LO.FirstOrder.Language.oRing,ℒₒᵣis the language of ordered ring.
Imported declaration from the Incompleteness formalization.
Instances
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Language.empty = { Func := fun (x : ℕ) => PEmpty.{?u.1 + 1}, Rel := fun (x : ℕ) => PEmpty.{?u.1 + 1} }
Instances For
Equations
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Language.binary = { Func := fun (x : ℕ) => Empty, Rel := LO.FirstOrder.Language.BinaryRel }
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Language.equal = { Func := fun (x : ℕ) => Empty, Rel := LO.FirstOrder.Language.EqRel }
Instances For
Equations
- LO.FirstOrder.Language.instToStringFuncEqual k = { toString := fun (x : LO.FirstOrder.Language.equal.Func k) => "" }
Equations
- LO.FirstOrder.Language.instToStringRelEqual k = { toString := fun (x : LO.FirstOrder.Language.equal.Rel k) => "\\mathrm{Eq}" }
Equations
- LO.FirstOrder.Language.instDecidableEqFuncEqual k a b = Empty.casesOn (fun (x : LO.FirstOrder.Language.equal.Func k) => Decidable (x = b)) a
Equations
- One or more equations did not get rendered due to their size.
Imported declaration from the Incompleteness formalization.
Equations
- ℒₒᵣ = { Func := LO.FirstOrder.Language.ORing.Func, Rel := LO.FirstOrder.Language.ORing.Rel }
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Language.termℒₒᵣ = Lean.ParserDescr.node `LO.FirstOrder.Language.termℒₒᵣ 1024 (Lean.ParserDescr.symbol "ℒₒᵣ")
Instances For
Equations
- One or more equations did not get rendered due to their size.
Equations
- One or more equations did not get rendered due to their size.
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Language.constLang C = { Func := LO.FirstOrder.Language.Constant.Func C, Rel := fun (x : ℕ) => PEmpty.{?u.1 + 1} }
Instances For
Imported declaration from the Incompleteness formalization.
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.Language.ofFunc F = { Func := F, Rel := fun (x : ℕ) => PEmpty.{?u.1 + 1} }
Instances For
Equations
Imported declaration from the Incompleteness formalization.
- eq : L.Rel 2
Imported declaration from the Incompleteness formalization.
Instances
Imported declaration from the Incompleteness formalization.
- lt : L.Rel 2
Imported declaration from the Incompleteness formalization.
Instances
Imported declaration from the Incompleteness formalization.
- zero : L.Func 0
Imported declaration from the Incompleteness formalization.
Instances
Imported declaration from the Incompleteness formalization.
- one : L.Func 0
Imported declaration from the Incompleteness formalization.
Instances
Imported declaration from the Incompleteness formalization.
- add : L.Func 2
Imported declaration from the Incompleteness formalization.
Instances
Imported declaration from the Incompleteness formalization.
- mul : L.Func 2
Imported declaration from the Incompleteness formalization.
Instances
Imported declaration from the Incompleteness formalization.
- pow : L.Func 2
Imported declaration from the Incompleteness formalization.
Instances
Imported declaration from the Incompleteness formalization.
- exp : L.Func 1
Imported declaration from the Incompleteness formalization.
Instances
Imported declaration from the Incompleteness formalization.
- pair : L.Func 2
Imported declaration from the Incompleteness formalization.
Instances
Imported declaration from the Incompleteness formalization.
- star : L.Func 0
Imported declaration from the Incompleteness formalization.
Instances
Equations
- One or more equations did not get rendered due to their size.
Equations
Equations
Equations
- L.instStarAdd S = { star := Sum.inr LO.FirstOrder.Language.Star.star }
Equations
- L.instZeroAdd S = { zero := Sum.inl LO.FirstOrder.Language.Zero.zero }
Equations
- L.instOneAdd S = { one := Sum.inl LO.FirstOrder.Language.One.one }
Equations
- L.instAddAdd S = { add := Sum.inl LO.FirstOrder.Language.Add.add }
Equations
- L.instMulAdd S = { mul := Sum.inl LO.FirstOrder.Language.Mul.mul }
Imported declaration from the Incompleteness formalization.
Imported declaration from the Incompleteness formalization.
Imported declaration from the Incompleteness formalization.
Instances For
Imported declaration from the Incompleteness formalization.
Equations
- LO.FirstOrder.«term_→ᵥ_» = Lean.ParserDescr.trailingNode `LO.FirstOrder.«term_→ᵥ_» 25 26 (Lean.ParserDescr.binary `andthen (Lean.ParserDescr.symbol " →ᵥ ") (Lean.ParserDescr.cat `term 26))
Instances For
Imported declaration from the Incompleteness formalization.
Equations
Instances For
Imported declaration from the Incompleteness formalization.
- func (k : ℕ) : DecidableEq (L.Func k)
Imported declaration from the Incompleteness formalization.
- rel (k : ℕ) : DecidableEq (L.Rel k)
Imported declaration from the Incompleteness formalization.
Instances
Equations
- LO.FirstOrder.instDecidableEqOfFuncOfDecidableEqRel L = { func := fun (x : ℕ) => inferInstance, rel := fun (x : ℕ) => inferInstance }
Imported declaration from the Incompleteness formalization.
Imported declaration from the Incompleteness formalization.
Imported declaration from the Incompleteness formalization.
Instances
Equations
- One or more equations did not get rendered due to their size.