Strictly monotone maps into ordered groups detect ≤ #
[UPSTREAM] candidate for Mathlib/Algebra/Order/Group/Indicator.lean.
The indicator of an upper set is monotone wherever the function is monotone and nonnegative. Adding
a large constant on Set.Ici a to a strictly monotone map into a nontrivial linearly ordered
additive group therefore keeps it strictly monotone, so for a partial order α, a ≤ b fails
exactly when some strictly monotone map puts a above
b, and two elements are incomparable exactly
when strictly monotone maps order them both ways.
The indicator of an upper set is monotone where the function is monotone and at least 1.
The indicator of an upper set is monotone where the function is monotone and nonnegative.
Given one strictly monotone map into a nontrivial linearly ordered additive group, some
strictly monotone map puts a above any b with ¬ a ≤ b.
For a partial order α with a strictly monotone map into a nontrivial linearly ordered
additive group, a ≤ b fails iff some strictly monotone map puts a above b.
For a partial order α with a strictly monotone map into a nontrivial linearly ordered
additive group, a and b are incomparable iff strictly monotone maps order them both ways.