LeanPool.FormalizationOfBoundedArithmetic.LanguagePeano #
Equations
- FirstOrder.Language.instDecidableEqPeanoFunc.decEq FirstOrder.Language.PeanoFunc.zero FirstOrder.Language.PeanoFunc.zero = isTrue FirstOrder.Language.instDecidableEqPeanoFunc.decEq._proof_1
- FirstOrder.Language.instDecidableEqPeanoFunc.decEq FirstOrder.Language.PeanoFunc.zero FirstOrder.Language.PeanoFunc.one = isFalse FirstOrder.Language.instDecidableEqPeanoFunc.decEq._proof_2
- FirstOrder.Language.instDecidableEqPeanoFunc.decEq FirstOrder.Language.PeanoFunc.one FirstOrder.Language.PeanoFunc.zero = isFalse FirstOrder.Language.instDecidableEqPeanoFunc.decEq._proof_3
- FirstOrder.Language.instDecidableEqPeanoFunc.decEq FirstOrder.Language.PeanoFunc.one FirstOrder.Language.PeanoFunc.one = isTrue FirstOrder.Language.instDecidableEqPeanoFunc.decEq._proof_4
- FirstOrder.Language.instDecidableEqPeanoFunc.decEq FirstOrder.Language.PeanoFunc.add FirstOrder.Language.PeanoFunc.add = isTrue FirstOrder.Language.instDecidableEqPeanoFunc.decEq._proof_5
- FirstOrder.Language.instDecidableEqPeanoFunc.decEq FirstOrder.Language.PeanoFunc.add FirstOrder.Language.PeanoFunc.mul = isFalse FirstOrder.Language.instDecidableEqPeanoFunc.decEq._proof_6
- FirstOrder.Language.instDecidableEqPeanoFunc.decEq FirstOrder.Language.PeanoFunc.mul FirstOrder.Language.PeanoFunc.add = isFalse FirstOrder.Language.instDecidableEqPeanoFunc.decEq._proof_7
- FirstOrder.Language.instDecidableEqPeanoFunc.decEq FirstOrder.Language.PeanoFunc.mul FirstOrder.Language.PeanoFunc.mul = isTrue FirstOrder.Language.instDecidableEqPeanoFunc.decEq._proof_8
Instances For
@[implicit_reducible]
Equations
Instances For
@[implicit_reducible]
The first-order language of Peano arithmetic used by the formalization.
Equations
- FirstOrder.Language.peano = { Functions := FirstOrder.Language.PeanoFunc, Relations := FirstOrder.Language.PeanoRel }
Instances For
@[implicit_reducible]
Equations
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
@[implicit_reducible]
Joins two terms t₁, t₂ in a formula representing t₁ ≤ t₂.
Equations
- One or more equations did not get rendered due to their size.
Instances For
Joins two terms t₁, t₂ in a formula representing t₁ < t₂.
Equations
- One or more equations did not get rendered due to their size.
Instances For
def
FirstOrder.Term.neq
{a : Type u}
{n : ℕ}
{L : Language}
(t1 t2 : L.Term (a ⊕ Fin n))
:
L.BoundedFormula a n
The not-equal relation of two terms as a bounded formula
Equations
- FirstOrder.Term.neq t1 t2 = (t1.bdEqual t2).not
Instances For
The not-equal relation of two terms as a bounded formula
Equations
- One or more equations did not get rendered due to their size.
Instances For
@[implicit_reducible]
instance
FirstOrder.Language.peano.instZeroOfStructure
{M : Type u_1}
[h : peano.Structure M]
:
Zero M
@[implicit_reducible]
@[implicit_reducible]
Equations
- FirstOrder.Language.peano.instAddOfStructure = { add := fun (x y : M) => FirstOrder.Language.Structure.funMap FirstOrder.Language.PeanoFunc.add ![x, y] }
@[implicit_reducible]
Equations
- FirstOrder.Language.peano.instMulOfStructure = { mul := fun (x y : M) => FirstOrder.Language.Structure.funMap FirstOrder.Language.PeanoFunc.mul ![x, y] }
@[implicit_reducible]
Equations
- FirstOrder.Language.peano.instLEOfStructure = { le := fun (x y : M) => FirstOrder.Language.Structure.RelMap FirstOrder.Language.PeanoRel.leq ![x, y] }
Interpret natural-number literals in a structure for the Peano language.