The areas / V34. The tactics of Mathlib
Mathlib.Data.Ineq
17 declarations. Mathlib docs · Source
Ineq datatype
This file contains an enum Ineq (whose constructors are eq, le, lt), and operations
involving it. The type Ineq is one of the fundamental objects manipulated by the linarith and
linear_combination tactics.
Inequalities
theorem Mathlib.Ineq.ofNat_ctorIdx E1 #
∀ (x : Mathlib.Ineq), Mathlib.Ineq.ofNat x.ctorIdx = x
abbrev Mathlib.Ineq.ctorElimType E1 #
{motive : Mathlib.Ineq → Sort u} → ℕ → Sort (max 1 u)
abbrev Mathlib.Ineq.ofNat E1 #
ℕ → Mathlib.Ineq
def Mathlib.instInhabitedIneq.default E1 #
Mathlib.Ineq
def Mathlib.Ineq.ctorIdx E1 #
Mathlib.Ineq → ℕ
inductive Mathlib.Ineq E1 #
Type
The three-element type Ineq is used to represent the strength of a comparison between
terms.
ctor Mathlib.Ineq.lt E0 #
Mathlib.Ineq
ctor Mathlib.Ineq.eq E0 #
Mathlib.Ineq
ctor Mathlib.Ineq.le E0 #
Mathlib.Ineq
instance Mathlib.instReprIneq E0 #
Repr Mathlib.Ineq
instance Mathlib.instDecidableEqIneq E0 #
DecidableEq Mathlib.Ineq
instance Mathlib.instInhabitedIneq E0 #
Inhabited Mathlib.Ineq
def Mathlib.instReprIneq.repr E1 #
Mathlib.Ineq → ℕ → Std.Format
def Mathlib.Ineq.max E1 #
Mathlib.Ineq → Mathlib.Ineq → Mathlib.Ineq
max R1 R2 computes the strength of the sum of two inequalities. If t1 R1 0 and t2 R2 0,
then t1 + t2 (max R1 R2) 0.
def Mathlib.Ineq.cmp E1 #
Mathlib.Ineq → Mathlib.Ineq → Ordering
Ineq is ordered eq < le < lt.
def Mathlib.Ineq.toString E1 #
Mathlib.Ineq → String
Prints an Ineq as the corresponding infix symbol.
instance Mathlib.Ineq.instToString E0 #
ToString Mathlib.Ineq