Documentation
TestingLowerBounds
.
ForMathlib
.
MaxMinEqAbs
Search
Google site search
return to top
source
Imports
Init
Mathlib.Tactic.Ring.RingNF
Mathlib.Algebra.Order.Field.Defs
Mathlib.Algebra.Order.Group.Unbundled.Abs
Imported by
max_eq_add_add_abs_sub
min_eq_add_sub_abs_sub
source
theorem
max_eq_add_add_abs_sub
{α :
Type
u_1}
[
LinearOrderedField
α
]
(a :
α
)
(b :
α
)
:
max
a
b
=
2
⁻¹
*
(
a
+
b
+
|
a
-
b
|
)
source
theorem
min_eq_add_sub_abs_sub
{α :
Type
u_1}
[
LinearOrderedField
α
]
(a :
α
)
(b :
α
)
:
min
a
b
=
2
⁻¹
*
(
a
+
b
-
|
a
-
b
|
)