- term : ClosedSemiterm L n
Instances For
@[reducible, inline]
Equations
Instances For
Equations
- LO.FirstOrder.Semiterm.fn f = { term := LO.FirstOrder.Semiterm.func f fun (x : Fin k) => LO.FirstOrder.Semiterm.bvar x }
Instances For
Equations
- LO.FirstOrder.Semiterm.Operator.equiv = { toFun := LO.FirstOrder.Semiterm.Operator.term, invFun := LO.FirstOrder.Semiterm.Operator.mk, left_inv := ⋯, right_inv := ⋯ }
Instances For
def
LO.FirstOrder.Semiterm.Operator.operator
{L : Language}
{ξ : Type u_2}
{n arity : ℕ}
(o : Operator L arity)
(v : Fin arity → Semiterm L ξ n)
:
Semiterm L ξ n
Equations
- o.operator v = (LO.FirstOrder.Rew.subst v) (LO.FirstOrder.Rew.emb o.term)
Instances For
@[implicit_reducible]
Equations
Instances For
@[simp]
Equations
- LO.FirstOrder.Semiterm.Operator.«termOp(0)» = Lean.ParserDescr.node `LO.FirstOrder.Semiterm.Operator.«termOp(0)» 1024 (Lean.ParserDescr.symbol "op(0)")
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- LO.FirstOrder.Semiterm.Operator.«termOp(1)» = Lean.ParserDescr.node `LO.FirstOrder.Semiterm.Operator.«termOp(1)» 1024 (Lean.ParserDescr.symbol "op(1)")
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- LO.FirstOrder.Semiterm.Operator.«termOp(+)» = Lean.ParserDescr.node `LO.FirstOrder.Semiterm.Operator.«termOp(+)» 1024 (Lean.ParserDescr.symbol "op(+)")
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- LO.FirstOrder.Semiterm.Operator.«termOp(*)» = Lean.ParserDescr.node `LO.FirstOrder.Semiterm.Operator.«termOp(*)» 1024 (Lean.ParserDescr.symbol "op(*)")
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
Equations
def
LO.FirstOrder.Semiterm.Operator.numeral
(L : Language)
[Operator.Zero L]
[Operator.One L]
[Operator.Add L]
:
Equations
Instances For
theorem
LO.FirstOrder.Semiterm.Operator.numeral_zero
{L : Language}
[hz : Operator.Zero L]
[ho : Operator.One L]
[ha : Operator.Add L]
:
theorem
LO.FirstOrder.Semiterm.Operator.numeral_one
{L : Language}
[hz : Operator.Zero L]
[ho : Operator.One L]
[ha : Operator.Add L]
:
theorem
LO.FirstOrder.Semiterm.Operator.numeral_succ
{L : Language}
[hz : Operator.Zero L]
[ho : Operator.One L]
[ha : Operator.Add L]
{z : ℕ}
:
theorem
LO.FirstOrder.Semiterm.Operator.numeral_add_two
{L : Language}
[hz : Operator.Zero L]
[ho : Operator.One L]
[ha : Operator.Add L]
{z : ℕ}
:
@[reducible, inline]
abbrev
LO.FirstOrder.Semiterm.Operator.encode
(L : Language)
[Operator.Zero L]
[Operator.One L]
[Operator.Add L]
{α : Type u_1}
[Encodable α]
(a : α)
:
Const L
Equations
Instances For
def
LO.FirstOrder.Semiterm.Operator.npow
(L : Language)
[Operator.One L]
[Operator.Mul L]
(n : ℕ)
:
Operator L 1
Equations
Instances For
theorem
LO.FirstOrder.Semiterm.Operator.npow_zero
{L : Language}
[Operator.One L]
[Operator.Mul L]
:
@[reducible, inline]
abbrev
LO.FirstOrder.Semiterm.Operator.GödelNumber.gödelNumber'
{L : Language}
{α : Type u_2}
[GödelNumber L α]
{ξ : Type u_3}
{n : ℕ}
(a : α)
:
Semiterm L ξ n
Equations
Instances For
@[implicit_reducible]
instance
LO.FirstOrder.Semiterm.Operator.GödelNumber.instGödelQuote
{L : Language}
{α : Type u_2}
[GödelNumber L α]
{ξ : Type u_3}
{n : ℕ}
:
GödelQuote α (Semiterm L ξ n)
@[reducible, inline]
abbrev
LO.FirstOrder.Semiterm.Operator.GödelNumber.ofEncodable
{L : Language}
[Operator.Zero L]
[Operator.One L]
[Operator.Add L]
{α : Type u_1}
[Encodable α]
:
GödelNumber L α
Equations
Instances For
@[simp]
@[simp]
- sentence : Semisentence L n
Instances For
@[reducible, inline]
Equations
Instances For
def
LO.FirstOrder.Semiformula.Operator.operator
{L : Language}
{ξ : Type u_2}
{n arity : ℕ}
(o : Operator L arity)
(v : Fin arity → Semiterm L ξ n)
:
Semiformula L ξ n
Equations
- o.operator v = LO.FirstOrder.Rewriting.emb o.sentence ⇜ v
Instances For
def
LO.FirstOrder.Semiformula.Operator.const
{L : Language}
{ξ : Type u_2}
{n : ℕ}
(c : Const L)
:
Semiformula L ξ n
Equations
Instances For
@[implicit_reducible]
instance
LO.FirstOrder.Semiformula.Operator.instCoeConst
{L : Language}
{ξ : Type u_2}
{n : ℕ}
:
Coe (Const L) (Semiformula L ξ n)
- eq : Operator L 2
Instances
- lt : Operator L 2
Instances
- le : Operator L 2
Instances
- mem : Operator L 2
Instances
Equations
- LO.FirstOrder.Semiformula.Operator.«termOp(=)» = Lean.ParserDescr.node `LO.FirstOrder.Semiformula.Operator.«termOp(=)» 1024 (Lean.ParserDescr.symbol "op(=)")
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- LO.FirstOrder.Semiformula.Operator.«termOp(<)» = Lean.ParserDescr.node `LO.FirstOrder.Semiformula.Operator.«termOp(<)» 1024 (Lean.ParserDescr.symbol "op(<)")
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- LO.FirstOrder.Semiformula.Operator.«termOp(≤)» = Lean.ParserDescr.node `LO.FirstOrder.Semiformula.Operator.«termOp(≤)» 1024 (Lean.ParserDescr.symbol "op(≤)")
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- LO.FirstOrder.Semiformula.Operator.«termOp(∈)» = Lean.ParserDescr.node `LO.FirstOrder.Semiformula.Operator.«termOp(∈)» 1024 (Lean.ParserDescr.symbol "op(∈)")
Instances For
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
@[implicit_reducible]
Equations
@[implicit_reducible]
instance
LO.FirstOrder.Semiformula.Operator.instLEOfEqOfLT
{L : Language}
[Operator.Eq L]
[Operator.LT L]
:
theorem
LO.FirstOrder.Semiformula.Operator.LE.def_of_Eq_of_LT
{L : Language}
[Operator.Eq L]
[Operator.LT L]
:
def
LO.FirstOrder.Semiformula.ballLT
{L : Language}
{ξ : Type u_2}
{n : ℕ}
[Operator.LT L]
(t : Semiterm L ξ n)
(φ : Semiformula L ξ (n + 1))
:
Semiformula L ξ n
Equations
Instances For
def
LO.FirstOrder.Semiformula.bexsLT
{L : Language}
{ξ : Type u_2}
{n : ℕ}
[Operator.LT L]
(t : Semiterm L ξ n)
(φ : Semiformula L ξ (n + 1))
:
Semiformula L ξ n
Equations
Instances For
def
LO.FirstOrder.Semiformula.ballLE
{L : Language}
{ξ : Type u_2}
{n : ℕ}
[Operator.LE L]
(t : Semiterm L ξ n)
(φ : Semiformula L ξ (n + 1))
:
Semiformula L ξ n
Equations
Instances For
def
LO.FirstOrder.Semiformula.bexsLE
{L : Language}
{ξ : Type u_2}
{n : ℕ}
[Operator.LE L]
(t : Semiterm L ξ n)
(φ : Semiformula L ξ (n + 1))
:
Semiformula L ξ n
Equations
Instances For
def
LO.FirstOrder.Semiformula.ballMem
{L : Language}
{ξ : Type u_2}
{n : ℕ}
[Operator.Mem L]
(t : Semiterm L ξ n)
(φ : Semiformula L ξ (n + 1))
:
Semiformula L ξ n
Equations
Instances For
def
LO.FirstOrder.Semiformula.bexsMem
{L : Language}
{ξ : Type u_2}
{n : ℕ}
[Operator.Mem L]
(t : Semiterm L ξ n)
(φ : Semiformula L ξ (n + 1))
:
Semiformula L ξ n
Equations
Instances For
@[simp]
theorem
LO.FirstOrder.Rew.const
{ξ₁ : Type u_2}
{n₁ : ℕ}
{ξ₂ : Type u_1}
{n₂ : ℕ}
{L : Language}
(ω : Rew L ξ₁ n₁ ξ₂ n₂)
(c : Semiterm.Const L)
:
@[simp]
theorem
LO.FirstOrder.Rew.hom_const
{ξ₁ : Type u_2}
{n₁ : ℕ}
{ξ₂ : Type u_1}
{n₂ : ℕ}
{L : Language}
(ω : Rew L ξ₁ n₁ ξ₂ n₂)
{c : Semiformula.Const L}
:
theorem
LO.FirstOrder.Rew.eq_equal_iff
{ξ₁ : Type u_1}
{n₁ : ℕ}
{ξ₂ : Type u_2}
{n₂ : ℕ}
{L : Language}
(ω : Rew L ξ₁ n₁ ξ₂ n₂)
[L.Eq]
{φ : Semiformula L ξ₁ n₁}
{t u : Semiterm L ξ₂ n₂}
:
theorem
LO.FirstOrder.Rew.eq_lt_iff
{ξ₁ : Type u_1}
{n₁ : ℕ}
{ξ₂ : Type u_2}
{n₂ : ℕ}
{L : Language}
(ω : Rew L ξ₁ n₁ ξ₂ n₂)
[L.LT]
{φ : Semiformula L ξ₁ n₁}
{t u : Semiterm L ξ₂ n₂}
:
theorem
LO.FirstOrder.Rew.eq_mem_iff
{ξ₁ : Type u_1}
{n₁ : ℕ}
{ξ₂ : Type u_2}
{n₂ : ℕ}
{L : Language}
(ω : Rew L ξ₁ n₁ ξ₂ n₂)
[L.Mem]
{φ : Semiformula L ξ₁ n₁}
{t u : Semiterm L ξ₂ n₂}
:
class
LO.FirstOrder.Structure.Zero
(L : Language)
(M : Type u_1)
[Structure L M]
[Semiterm.Operator.Zero L]
[Zero M]
:
Instances
class
LO.FirstOrder.Structure.One
(L : Language)
(M : Type u_1)
[Structure L M]
[Semiterm.Operator.One L]
[One M]
:
Instances
class
LO.FirstOrder.Structure.Add
(L : Language)
(M : Type u_1)
[Structure L M]
[Semiterm.Operator.Add L]
[Add M]
:
Instances
class
LO.FirstOrder.Structure.Mul
(L : Language)
(M : Type u_1)
[Structure L M]
[Semiterm.Operator.Mul L]
[Mul M]
:
Instances
class
LO.FirstOrder.Structure.Exp
(L : Language)
(M : Type u_1)
[Structure L M]
[Semiterm.Operator.Exp L]
[Exp M]
:
Instances
class
LO.FirstOrder.Structure.Eq
(L : Language)
(M : Type u_1)
[Structure L M]
[Semiformula.Operator.Eq L]
:
Instances
class
LO.FirstOrder.Structure.LT
(L : Language)
(M : Type u_1)
[Structure L M]
[Semiformula.Operator.LT L]
[LT M]
:
Instances
class
LO.FirstOrder.Structure.LE
(L : Language)
(M : Type u_1)
[Structure L M]
[Semiformula.Operator.LE L]
[LE M]
:
Instances
class
LO.FirstOrder.Structure.Mem
(L : Language)
(M : Type u_1)
[Structure L M]
[Semiformula.Operator.Mem L]
[Membership M M]
:
Instances
instance
LO.FirstOrder.Structure.instLEOfEqOfLT
(L : Language)
(M : Type u_1)
[Structure L M]
[L.Eq]
[L.LT]
[Structure.Eq L M]
[PartialOrder M]
[Structure.LT L M]
:
Structure.LE L M
@[simp]
theorem
LO.FirstOrder.Structure.zero_eq_of_lang
{L : Language}
{M : Type u_1}
[Structure L M]
[L.Zero]
[Zero M]
[Structure.Zero L M]
(v : Fin 0 → M)
:
@[simp]
theorem
LO.FirstOrder.Structure.one_eq_of_lang
{L : Language}
{M : Type u_1}
[Structure L M]
[L.One]
[One M]
[Structure.One L M]
(v : Fin 0 → M)
:
@[simp]
theorem
LO.FirstOrder.Structure.add_eq_of_lang
{L : Language}
{M : Type u_1}
[Structure L M]
[L.Add]
[Add M]
[Structure.Add L M]
{v : Fin 2 → M}
:
@[simp]
theorem
LO.FirstOrder.Structure.mul_eq_of_lang
{L : Language}
{M : Type u_1}
[Structure L M]
[L.Mul]
[Mul M]
[Structure.Mul L M]
{v : Fin 2 → M}
:
@[simp]
theorem
LO.FirstOrder.Structure.exp_eq_of_lang
{L : Language}
{M : Type u_1}
[Structure L M]
[L.Exp]
[Exp M]
[Structure.Exp L M]
{v : Fin 1 → M}
:
@[simp]
theorem
LO.FirstOrder.Structure.eq_iff_eq
{L : Language}
{M : Type u_1}
[Structure L M]
[Semiformula.Operator.Eq L]
[Structure.Eq L M]
{v : Fin 2 → M}
:
@[simp]
theorem
LO.FirstOrder.Structure.lt_iff_lt
{L : Language}
{M : Type u_1}
[Structure L M]
[Semiformula.Operator.LT L]
[LT M]
[Structure.LT L M]
{v : Fin 2 → M}
:
@[simp]
theorem
LO.FirstOrder.Structure.mem_iff_mem
{L : Language}
{M : Type u_1}
[Structure L M]
[Semiformula.Operator.Mem L]
[Membership M M]
[Structure.Mem L M]
{v : Fin 2 → M}
:
theorem
LO.FirstOrder.Structure.le_iff_of_eq_of_lt
{L : Language}
{M : Type u_1}
[Structure L M]
[Semiformula.Operator.Eq L]
[Semiformula.Operator.LT L]
[LT M]
[Structure.Eq L M]
[Structure.LT L M]
{a b : M}
:
@[simp]
theorem
LO.FirstOrder.Structure.eq_lang
{L : Language}
{M : Type u_1}
[Structure L M]
[L.Eq]
[Structure.Eq L M]
{v : Fin 2 → M}
:
@[simp]
theorem
LO.FirstOrder.Structure.lt_lang
{L : Language}
{M : Type u_1}
[Structure L M]
[L.LT]
[LT M]
[Structure.LT L M]
{v : Fin 2 → M}
:
@[simp]
theorem
LO.FirstOrder.Structure.mem_lang
{L : Language}
{M : Type u_1}
[Structure L M]
[L.Mem]
[Membership M M]
[Structure.Mem L M]
{v : Fin 2 → M}
:
theorem
LO.FirstOrder.Structure.operator_val_ofEquiv_iff
{L : Language}
{M : Type u_1}
[Structure L M]
{N : Type u_2}
(φ : M ≃ N)
{k : ℕ}
{o : Semiformula.Operator L k}
{v : Fin k → N}
:
@[simp]
theorem
LO.FirstOrder.Semiformula.eval_ballLT
{n : ℕ}
{ξ : Type u_3}
{L : Language}
{M : Type u_1}
{s : Structure L M}
{e : Fin n → M}
{f : ξ → M}
{t : Semiterm L ξ n}
{φ : Semiformula L ξ (n + 1)}
[Operator.LT L]
[LT M]
[Structure.LT L M]
:
@[simp]
theorem
LO.FirstOrder.Semiformula.eval_bexsLT
{n : ℕ}
{ξ : Type u_3}
{L : Language}
{M : Type u_1}
{s : Structure L M}
{e : Fin n → M}
{f : ξ → M}
{t : Semiterm L ξ n}
{φ : Semiformula L ξ (n + 1)}
[Operator.LT L]
[LT M]
[Structure.LT L M]
:
@[simp]
theorem
LO.FirstOrder.Semiformula.eval_ballLE
{n : ℕ}
{ξ : Type u_3}
{L : Language}
{M : Type u_1}
{s : Structure L M}
{e : Fin n → M}
{f : ξ → M}
{t : Semiterm L ξ n}
{φ : Semiformula L ξ (n + 1)}
[Operator.LE L]
[LE M]
[Structure.LE L M]
:
@[simp]
theorem
LO.FirstOrder.Semiformula.eval_bexsLE
{n : ℕ}
{ξ : Type u_3}
{L : Language}
{M : Type u_1}
{s : Structure L M}
{e : Fin n → M}
{f : ξ → M}
{t : Semiterm L ξ n}
{φ : Semiformula L ξ (n + 1)}
[Operator.LE L]
[LE M]
[Structure.LE L M]
:
@[simp]
theorem
LO.FirstOrder.Semiformula.eval_ballMem
{n : ℕ}
{ξ : Type u_3}
{L : Language}
{M : Type u_1}
{s : Structure L M}
{e : Fin n → M}
{f : ξ → M}
{t : Semiterm L ξ n}
{φ : Semiformula L ξ (n + 1)}
[Operator.Mem L]
[Membership M M]
[Structure.Mem L M]
:
@[simp]
theorem
LO.FirstOrder.Semiformula.eval_bexsMem
{n : ℕ}
{ξ : Type u_3}
{L : Language}
{M : Type u_1}
{s : Structure L M}
{e : Fin n → M}
{f : ξ → M}
{t : Semiterm L ξ n}
{φ : Semiformula L ξ (n + 1)}
[Operator.Mem L]
[Membership M M]
[Structure.Mem L M]
: