Splits into the cases a <= b and b <= a, reads off max and min from the values clause of the total-order lemma, and evaluates the sum, the difference and the absolute value with the ordered-field rules.
Each result cited below is universally quantified over the data in its own statement and is applied to the data named where it is cited. By hypothesis, the order of is a total order on the set , so the clauses of The Maximum and Minimum of Two Elements of a Total Order apply to it with ; in particular or . By Fields §field and Commutative Rings §ring, addition in is commutative, and for by Negatives, Differences, Reciprocals and Quotients §negative. The absolute value is that of Absolute Value in an Ordered Field §absolute-value, and the rules of Rules of Arithmetic and Order in an Ordered Field are in force by Commutative Rings, Fields and Ordered Fields: Standard Notation §ordered-fields; the clauses used are cited below.
Sum and difference. Suppose . By The Maximum and Minimum of Two Elements of a Total Order §values, and , so . By Rules of Arithmetic and Order in an Ordered Field §order-sum, , so by Absolute Value in an Ordered Field §absolute-value. By Rules of Arithmetic and Order in an Ordered Field §signs and commutativity of addition,
and by Rules of Arithmetic and Order in an Ordered Field §absolute-value, applied to , .
Suppose . By The Maximum and Minimum of Two Elements of a Total Order §values, and , so . By Rules of Arithmetic and Order in an Ordered Field §order-sum, , so by Absolute Value in an Ordered Field §absolute-value.
As one of the two cases holds by totality, this proves the clauses sum and difference.
Absolute. By Rules of Arithmetic and Order in an Ordered Field §absolute-value, . If , then by Absolute Value in an Ordered Field §absolute-value, so , and The Maximum and Minimum of Two Elements of a Total Order §values, applied to the elements and of in the case , gives . Otherwise by Absolute Value in an Ordered Field §absolute-value, so , and The Maximum and Minimum of Two Elements of a Total Order §values, applied to and in the case , gives .
Loading…