Since x,y,z,w are arbitrary elements of r, each clause above, once proved, applies to any elements of r.
Preliminaries. By Ordered Fields §ordered-field, r is a field and an ordered ring. By Fields §field, r is a commutative ring with 0=1; rearrangements below by associativity, commutativity, neutral elements and distributivity are by Commutative Rings §ring. By Ordered Rings §ordered-ring, for all u,v,s∈r,
if u≤v then u+s≤v+s,(OA)
if 0≤u and 0≤v then 0≤u⋅v.(OM)
By Negatives, Differences, Reciprocals and Quotients §negative and Negatives, Differences, Reciprocals and Quotients §reciprocal, u+(−u)=0 for every u∈r and u⋅u−1=1 for every u=0; and by Additive and Multiplicative Inverses Are Unique §negative and Additive and Multiplicative Inverses Are Unique §reciprocal, for all u,v∈r,
if u+v=0 then v=−u,and if u=0 and u⋅v=1 then v=u−1.(U)
The total order ≤ is a partial order on r, so by Partial and Total Orders on a Set and the Associated Strict Relation §partial it is reflexive, antisymmetric and transitive, and by Partial and Total Orders on a Set and the Associated Strict Relation §total any u,v∈r satisfy u≤v or v≤u (totality). As < is the strict relation of ≤, Uniqueness of Least and Greatest Elements, Properties of the Strict Order, and Trichotomy for Total Orders §strict-characterization and Uniqueness of Least and Greatest Elements, Properties of the Strict Order, and Trichotomy for Total Orders §total-negation give, for all u,v∈r,
u<v if and only if u≤v and u=v,(S)
u≤v fails if and only if v<u.(T)
Zero. By Commutative Rings §ring, 0⋅x=(0+0)⋅x=0⋅x+0⋅x. Adding −(0⋅x) to both sides and rearranging,
0=0⋅x+(−(0⋅x))=(0⋅x+0⋅x)+(−(0⋅x))=0⋅x+(0⋅x+(−(0⋅x)))=0⋅x+0=0⋅x.
Now let x⋅y=0 with x=0. By Commutative Rings §ring and the first part,
y=y⋅1=y⋅(x⋅x−1)=(x⋅y)⋅x−1=0⋅x−1=0.
So x=0 or y=0.
Signs. Since (−x)+x=x+(−x)=0, (U) applied to −x gives x=−(−x). By Commutative Rings §ring,
(x+y)+((−x)+(−y))=(x+(−x))+(y+(−y))=0+0=0,
so −(x+y)=(−x)+(−y) by (U). By distributivity and the clause zero above, x⋅y+(−x)⋅y=(x+(−x))⋅y=0⋅y=0, so (−x)⋅y=−(x⋅y) by (U). By this and commutativity, x⋅(−y)=(−y)⋅x=−(y⋅x)=−(x⋅y); hence, applying it once more and then the first part,
(−x)⋅(−y)=−(x⋅(−y))=−(−(x⋅y))=x⋅y.
Reciprocals. Let x=0 and y=0. If x⋅y=0, the clause zero above would give x=0 or y=0; so x⋅y=0, and (x⋅y)−1 is defined. By Commutative Rings §ring,
(x⋅y)⋅(x−1⋅y−1)=(x⋅x−1)⋅(y⋅y−1)=1⋅1=1,
so (x⋅y)−1=x−1⋅y−1 by (U). If x−1=0, then 1=x⋅x−1=x⋅0=0 by the clause zero above, contrary to 0=1; so x−1=0, and since x−1⋅x=x⋅x−1=1, (U) gives x=(x−1)−1.
Order-sum. Let x≤y and z≤w. By (OA), x+z≤y+z and z+y≤w+y, that is, y+z≤y+w by commutativity; by transitivity, x+z≤y+w.
Now let x<y. By (S), x≤y and x=y, so x+z≤y+z by (OA). If x+z=y+z, then by Commutative Rings §ring
x=x+(z+(−z))=(x+z)+(−z)=(y+z)+(−z)=y+(z+(−z))=y,
a contradiction; so x+z=y+z, and x+z<y+z by (S). Conversely, if x+z<y+z, then what was just shown, with −z added, gives (x+z)+(−z)<(y+z)+(−z), which is x<y by the same rearrangement.
Finally, recall that y−x=y+(−x) by Negatives, Differences, Reciprocals and Quotients §negative. If x≤y, then by (OA), adding −x, 0=x+(−x)≤y+(−x)=y−x. Conversely, if 0≤y−x, then by (OA), adding x, and by Commutative Rings §ring,
x=0+x≤(y+(−x))+x=y+((−x)+x)=y+0=y.
Order-negative. Let x≤y. By (OA), adding (−x)+(−y), and by Commutative Rings §ring,
−y=(x+(−x))+(−y)=x+((−x)+(−y))≤y+((−x)+(−y))=(y+(−y))+(−x)=−x.
Conversely, if −y≤−x, the forward direction gives −(−x)≤−(−y), that is, x≤y by the clause signs above. Since 0+0=0, (U) gives −0=0; so this clause, with 0 on one side, yields for every u∈r
u≤0 if and only if 0≤−u,and0≤u if and only if −u≤0.(N)
Order-product. Let 0<z; by (S), 0≤z and z=0. First, if x⋅z=y⋅z, then by Commutative Rings §ring
x=x⋅(z⋅z−1)=(x⋅z)⋅z−1=(y⋅z)⋅z−1=y⋅(z⋅z−1)=y.(∗)
Let x≤y. By (OA), 0=x+(−x)≤y+(−x)=y−x, so 0≤(y−x)⋅z by (OM). By (OA), adding x⋅z, and by Commutative Rings §ring and the clause signs above,
x⋅z=0+x⋅z≤(y+(−x))⋅z+x⋅z=y⋅z+(−(x⋅z)+x⋅z)=y⋅z.
If x<y, then x≤y and x=y by (S), so x⋅z≤y⋅z by the above and x⋅z=y⋅z by (∗); hence x⋅z<y⋅z by (S).
Conversely, let x⋅z≤y⋅z. If x≤y failed, then y<x by (T), so y⋅z<x⋅z by the strict forward direction, and x⋅z≤y⋅z would fail by (T), a contradiction. Let x⋅z<y⋅z. If x<y failed, then y≤x, since otherwise x<y by (T); so y⋅z≤x⋅z by the weak forward direction, whereas y⋅z≤x⋅z fails by (T), a contradiction.
Squares. If 0≤x, then 0≤x⋅x by (OM). Otherwise x≤0 by totality, so 0≤−x by (N), and 0≤(−x)⋅(−x)=x⋅x by (OM) and the clause signs above. In particular 0≤1⋅1=1; as 0=1, 0<1 by (S).
Positive-reciprocal. Let 0<x. By (S), x=0, so x−1 is defined. If 0<x−1 failed, then x−1≤0 by (T); by the clause order-product above with x as the positive factor, and by commutativity and the clause zero above, 1=x−1⋅x≤0⋅x=0. With 0≤1 from the clause squares above, antisymmetry gives 0=1, a contradiction. So 0<x−1.
Now let also x<y. Then 0<y by Uniqueness of Least and Greatest Elements, Properties of the Strict Order, and Trichotomy for Total Orders §strict-transitive, so y−1 is defined and 0<y−1 by what was just shown. By the clause order-product above with y−1 as the positive factor, 0<x−1 gives 0=0⋅y−1<x−1⋅y−1. By the same clause with x−1⋅y−1 as the positive factor, x<y gives, rearranging by Commutative Rings §ring,
y−1=(x⋅x−1)⋅y−1=x⋅(x−1⋅y−1)<y⋅(x−1⋅y−1)=(y⋅y−1)⋅x−1=x−1.
Midpoint. By the clause squares above, 0<1; by the clause order-sum above, 1=0+1<1+1; so 0<1+1 by Uniqueness of Least and Greatest Elements, Properties of the Strict Order, and Trichotomy for Total Orders §strict-transitive. Let t=1+1. Then t=0 by (S), and 0<t−1 by the clause positive-reciprocal above. Let x<y. By the clause order-sum above, adding x and adding y respectively, x+x<y+x=x+y and x+y<y+y. By distributivity, u+u=u⋅1+u⋅1=u⋅t for every u∈r, so x⋅t<x+y<y⋅t. By the clause order-product above with t−1 as the positive factor, and since (u⋅t)⋅t−1=u⋅(t⋅t−1)=u for every u∈r,
x<(x+y)⋅t−1<y,
and (x+y)⋅t−1=(x+y)/(1+1) by Negatives, Differences, Reciprocals and Quotients §reciprocal.
Absolute value. By Absolute Value in an Ordered Field §absolute-value, ∣u∣=u if 0≤u and ∣u∣=−u otherwise. Moreover, if u≤0 then ∣u∣=−u: either 0≤u fails, or 0≤u and u≤0, so u=0 by antisymmetry and ∣u∣=u=0=−0=−u. Call this (A).
Sign. If 0≤x, then 0≤x=∣x∣. Otherwise x≤0 by totality, and 0≤−x=∣x∣ by (N).
Zero. If x=0, then 0≤x by reflexivity, so ∣x∣=x=0. Conversely, let ∣x∣=0. If 0≤x, then x=∣x∣=0; otherwise −x=0, and x=−(−x)=−0=0 by the clause signs above.
Negation. If 0≤x and 0≤−x, then x≤0 by (N), so x=0 by antisymmetry, and ∣−x∣=−x=−0=0=x=∣x∣. If 0≤x and 0≤−x fails, then ∣−x∣=−(−x)=x=∣x∣ by the clause signs above. If 0≤x fails, then x≤0 by totality, so 0≤−x by (N), and ∣−x∣=−x=∣x∣.
Bounds. We show −∣x∣≤x≤∣x∣. If 0≤x, then x≤x=∣x∣ by reflexivity, and −∣x∣=−x≤0≤x by (N) and transitivity. Otherwise x≤0 by totality and 0≤−x=∣x∣ by (N), so x≤∣x∣ by transitivity, and −∣x∣=−(−x)=x by the clause signs above, so −∣x∣≤x by reflexivity. In both cases, −∣x∣≤x≤∣x∣.
Characterization. Let ∣x∣≤y. Then x≤∣x∣≤y, and by the clause order-negative above −y≤−∣x∣≤x; so −y≤x and x≤y by transitivity. Conversely, let −y≤x and x≤y. If 0≤x, then ∣x∣=x≤y. Otherwise ∣x∣=−x, and −x≤−(−y)=y by the clause order-negative above and the clause signs above.
Product. By totality, 0≤x or x≤0, and 0≤y or y≤0. If 0≤x and 0≤y, then 0≤x⋅y by (OM), so ∣x⋅y∣=x⋅y=∣x∣⋅∣y∣. If 0≤x and y≤0, then 0≤−y by (N), so 0≤x⋅(−y)=−(x⋅y) by (OM), the clause signs above and commutativity; hence x⋅y≤0 by (N), and by (A) ∣x⋅y∣=−(x⋅y)=x⋅(−y)=∣x∣⋅∣y∣. If x≤0 and 0≤y, the previous case with x and y interchanged and commutativity give ∣x⋅y∣=∣y⋅x∣=∣y∣⋅∣x∣=∣x∣⋅∣y∣. If x≤0 and y≤0, then 0≤−x and 0≤−y by (N), so 0≤(−x)⋅(−y)=x⋅y by (OM) and the clause signs above, and by (A) ∣x⋅y∣=x⋅y=(−x)⋅(−y)=∣x∣⋅∣y∣. This proves the clause absolute-value above.
Triangle. By the clause absolute-value above, −∣x∣≤x≤∣x∣ and −∣y∣≤y≤∣y∣, so by the clause order-sum above and the clause signs above, x+y≤∣x∣+∣y∣ and −(∣x∣+∣y∣)=(−∣x∣)+(−∣y∣)≤x+y. By the clause absolute-value above, with x+y and ∣x∣+∣y∣ in place of x and y, ∣x+y∣≤∣x∣+∣y∣. This proves the clause triangle above.