Documentation

Mathlib.Algebra.Order.Ring.Abs

Absolute values in linear ordered rings. #

theorem abs_zsmul {α : Type u_1} [LinearOrderedAddCommGroup α] (n : ) (a : α) :
|n a| = |n| |a|
theorem mabs_zpow {α : Type u_1} [LinearOrderedCommGroup α] (n : ) (a : α) :
mabs (a ^ n) = mabs a ^ |n|
@[simp]
theorem abs_one {α : Type u_1} [LinearOrderedRing α] :
|1| = 1
theorem abs_two {α : Type u_1} [LinearOrderedRing α] :
|2| = 2
theorem abs_mul {α : Type u_1} [LinearOrderedRing α] (a : α) (b : α) :
|a * b| = |a| * |b|
def absHom {α : Type u_1} [LinearOrderedRing α] :
α →*₀ α

abs as a MonoidWithZeroHom.

Equations
  • absHom = { toZeroHom := { toFun := abs, map_zero' := }, map_one' := , map_mul' := }
Instances For
    @[simp]
    theorem abs_pow {α : Type u_1} [LinearOrderedRing α] (a : α) (n : ) :
    |a ^ n| = |a| ^ n
    theorem pow_abs {α : Type u_1} [LinearOrderedRing α] (a : α) (n : ) :
    |a| ^ n = |a ^ n|
    theorem abs_neg_one_pow {α : Type u_1} [LinearOrderedRing α] (n : ) :
    |(-1) ^ n| = 1
    theorem abs_pow_eq_one {α : Type u_1} [LinearOrderedRing α] {n : } (a : α) (h : n 0) :
    |a ^ n| = 1 |a| = 1
    @[simp]
    theorem abs_mul_abs_self {α : Type u_1} [LinearOrderedRing α] (a : α) :
    |a| * |a| = a * a
    @[simp]
    theorem abs_mul_self {α : Type u_1} [LinearOrderedRing α] (a : α) :
    |a * a| = a * a
    theorem abs_eq_iff_mul_self_eq {α : Type u_1} [LinearOrderedRing α] {a : α} {b : α} :
    |a| = |b| a * a = b * b
    theorem abs_lt_iff_mul_self_lt {α : Type u_1} [LinearOrderedRing α] {a : α} {b : α} :
    |a| < |b| a * a < b * b
    theorem abs_le_iff_mul_self_le {α : Type u_1} [LinearOrderedRing α] {a : α} {b : α} :
    |a| |b| a * a b * b
    theorem abs_le_one_iff_mul_self_le_one {α : Type u_1} [LinearOrderedRing α] {a : α} :
    |a| 1 a * a 1
    @[simp]
    theorem sq_abs {α : Type u_1} [LinearOrderedRing α] (a : α) :
    |a| ^ 2 = a ^ 2
    theorem abs_sq {α : Type u_1} [LinearOrderedRing α] (x : α) :
    |x ^ 2| = x ^ 2
    theorem sq_lt_sq {α : Type u_1} [LinearOrderedRing α] {a : α} {b : α} :
    a ^ 2 < b ^ 2 |a| < |b|
    theorem sq_lt_sq' {α : Type u_1} [LinearOrderedRing α] {a : α} {b : α} (h1 : -b < a) (h2 : a < b) :
    a ^ 2 < b ^ 2
    theorem sq_le_sq {α : Type u_1} [LinearOrderedRing α] {a : α} {b : α} :
    a ^ 2 b ^ 2 |a| |b|
    theorem sq_le_sq' {α : Type u_1} [LinearOrderedRing α] {a : α} {b : α} (h1 : -b a) (h2 : a b) :
    a ^ 2 b ^ 2
    theorem abs_lt_of_sq_lt_sq {α : Type u_1} [LinearOrderedRing α] {a : α} {b : α} (h : a ^ 2 < b ^ 2) (hb : 0 b) :
    |a| < b
    theorem abs_lt_of_sq_lt_sq' {α : Type u_1} [LinearOrderedRing α] {a : α} {b : α} (h : a ^ 2 < b ^ 2) (hb : 0 b) :
    -b < a a < b
    theorem abs_le_of_sq_le_sq {α : Type u_1} [LinearOrderedRing α] {a : α} {b : α} (h : a ^ 2 b ^ 2) (hb : 0 b) :
    |a| b
    theorem abs_le_of_sq_le_sq' {α : Type u_1} [LinearOrderedRing α] {a : α} {b : α} (h : a ^ 2 b ^ 2) (hb : 0 b) :
    -b a a b
    theorem sq_eq_sq_iff_abs_eq_abs {α : Type u_1} [LinearOrderedRing α] (a : α) (b : α) :
    a ^ 2 = b ^ 2 |a| = |b|
    @[simp]
    theorem sq_le_one_iff_abs_le_one {α : Type u_1} [LinearOrderedRing α] (a : α) :
    a ^ 2 1 |a| 1
    @[simp]
    theorem sq_lt_one_iff_abs_lt_one {α : Type u_1} [LinearOrderedRing α] (a : α) :
    a ^ 2 < 1 |a| < 1
    @[simp]
    theorem one_le_sq_iff_one_le_abs {α : Type u_1} [LinearOrderedRing α] (a : α) :
    1 a ^ 2 1 |a|
    @[simp]
    theorem one_lt_sq_iff_one_lt_abs {α : Type u_1} [LinearOrderedRing α] (a : α) :
    1 < a ^ 2 1 < |a|
    theorem exists_abs_lt {α : Type u_2} [LinearOrderedRing α] (a : α) :
    ∃ (b : α), b > 0 |a| < b
    theorem abs_sub_sq {α : Type u_1} [LinearOrderedCommRing α] (a : α) (b : α) :
    |a - b| * |a - b| = a * a + b * b - (1 + 1) * a * b
    @[simp]
    theorem abs_dvd {α : Type u_1} [Ring α] [LinearOrder α] (a : α) (b : α) :
    |a| b a b
    theorem abs_dvd_self {α : Type u_1} [Ring α] [LinearOrder α] (a : α) :
    |a| a
    @[simp]
    theorem dvd_abs {α : Type u_1} [Ring α] [LinearOrder α] (a : α) (b : α) :
    a |b| a b
    theorem self_dvd_abs {α : Type u_1} [Ring α] [LinearOrder α] (a : α) :
    a |a|
    theorem abs_dvd_abs {α : Type u_1} [Ring α] [LinearOrder α] (a : α) (b : α) :
    |a| |b| a b