Basic facts for ordered rings and semirings #
This file develops the basics of ordered (semi)rings in an unbundled fashion for later use with
the bundled classes from Mathlib/Algebra/Order/Ring/Defs.lean.
Generality #
Each section is labelled with a corresponding bundled ordered ring typeclass in mind. Mixins for relating the order structures and ring structures are added as needed.
TODO #
The mixin assumptions can be relaxed in most cases.
Note that OrderDual does not satisfy any of the ordered ring typeclasses due to the
zero_le_one field.
Variant of mul_le_of_le_one_left for b non-positive instead of non-negative.
Variant of le_mul_of_one_le_left for b non-positive instead of non-negative.
Variant of mul_le_of_le_one_right for a non-positive instead of non-negative.
Variant of le_mul_of_one_le_right for a non-positive instead of non-negative.
Variant of mul_lt_of_lt_one_left for b negative instead of positive.
Variant of lt_mul_of_one_lt_left for b negative instead of positive.
Variant of mul_lt_of_lt_one_right for a negative instead of positive.
Variant of lt_mul_of_lt_one_right for a negative instead of positive.
Binary rearrangement inequality.
Binary rearrangement inequality.
Binary strict rearrangement inequality.
Binary rearrangement inequality.
Out of three elements of a linearly ordered semiring, two must have the same sign.
Alias of sq_nonneg.
The sum of two squares is zero iff both elements are zero.
Binary, squared, and division-free arithmetic mean-geometric mean inequality (aka AM-GM inequality) for linearly ordered commutative semirings.
Alias of two_mul_le_add_sq.
Binary, squared, and division-free arithmetic mean-geometric mean inequality (aka AM-GM inequality) for linearly ordered commutative semirings.
Binary, squared, and division-free arithmetic mean-geometric mean inequality (aka AM-GM inequality) for linearly ordered commutative semirings.
Alias of four_mul_le_sq_add.
Binary, squared, and division-free arithmetic mean-geometric mean inequality (aka AM-GM inequality) for linearly ordered commutative semirings.
Binary and division-free arithmetic mean-geometric mean inequality (aka AM-GM inequality) for linearly ordered commutative semirings.