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 #
@[instance_reducible]
@[instance_reducible]
Equations
Equations
- Mathlib.instReprIneq.repr Mathlib.Ineq.eq prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Mathlib.Ineq.eq")).group prec✝
- Mathlib.instReprIneq.repr Mathlib.Ineq.le prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Mathlib.Ineq.le")).group prec✝
- Mathlib.instReprIneq.repr Mathlib.Ineq.lt prec✝ = Repr.addAppParen (Std.Format.nest (if prec✝ ≥ 1024 then 1 else 2) (Std.Format.text "Mathlib.Ineq.lt")).group prec✝
Instances For
@[instance_reducible]
Equations
- Mathlib.instReprIneq = { reprPrec := Mathlib.instReprIneq.repr }
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.
Equations
Instances For
Equations
Instances For
Prints an Ineq as the corresponding infix symbol.
Equations
- Mathlib.Ineq.eq.toString = "="
- Mathlib.Ineq.le.toString = "≤"
- Mathlib.Ineq.lt.toString = "<"
Instances For
@[instance_reducible]
Equations
- Mathlib.Ineq.instToString = { toString := Mathlib.Ineq.toString }