Lemmas for linarith
. #
Those in the Linarith
namespace should stay here.
Those outside the Linarith
namespace may be deleted as they are ported to mathlib4.
theorem
Linarith.eq_of_eq_of_eq
{α : Type u_1}
[OrderedSemiring α]
{a : α}
{b : α}
(ha : a = 0)
(hb : b = 0)
:
theorem
Linarith.le_of_eq_of_le
{α : Type u_1}
[OrderedSemiring α]
{a : α}
{b : α}
(ha : a = 0)
(hb : b ≤ 0)
:
theorem
Linarith.lt_of_eq_of_lt
{α : Type u_1}
[OrderedSemiring α]
{a : α}
{b : α}
(ha : a = 0)
(hb : b < 0)
:
theorem
Linarith.le_of_le_of_eq
{α : Type u_1}
[OrderedSemiring α]
{a : α}
{b : α}
(ha : a ≤ 0)
(hb : b = 0)
:
theorem
Linarith.lt_of_lt_of_eq
{α : Type u_1}
[OrderedSemiring α]
{a : α}
{b : α}
(ha : a < 0)
(hb : b = 0)
:
theorem
Linarith.mul_neg
{α : Type u_1}
[StrictOrderedRing α]
{a : α}
{b : α}
(ha : a < 0)
(hb : 0 < b)
:
theorem
Linarith.mul_nonpos
{α : Type u_1}
[OrderedRing α]
{a : α}
{b : α}
(ha : a ≤ 0)
(hb : 0 < b)
:
theorem
Linarith.eq_of_not_lt_of_not_gt
{α : Type u_1}
[LinearOrder α]
(a : α)
(b : α)
(h1 : ¬a < b)
(h2 : ¬b < a)
:
a = b