By An Open Interval is an Interval All of Whose Points Are Interior the set (p,q) is an interval and every point of it, in particular c, is an interior point, so differentiability at c is meaningful. Write L=gβ²(c) and let β£β
β£ be the absolute value, so that dRβ(x,y)=β£xβyβ£ by The Absolute Value Metric on the Real Line. Claim numbers refer to Elementary Order Arithmetic in an Ordered Field and Properties of the Absolute Value in an Ordered Field as indicated.
Case A: g has a local maximum at c relative to (p,q). By that definition there is Ξ΄0β with 0<Ξ΄0β such that every yβ(p,q) with β£yβcβ£<Ξ΄0β satisfies g(y)β€g(c).
Suppose, for contradiction, that Lξ =0. Since β€ compares any two elements, either 0<L or L<0.
Subcase 0<L. Differentiability at c applied with Ξ΅=L gives Ξ΄1β with 0<Ξ΄1β such that every k with 0<β£kβ£<Ξ΄1β and c+kβ(p,q) satisfies β£QkββLβ£<L, where Qkβ denotes the difference quotient (g(c+k)βg(c))/k. By claim 9 of Properties of the Absolute Value in an Ordered Field this gives βL<QkββL, hence 0<Qkβ by claim 1 of Elementary Order Arithmetic in an Ordered Field.
Since cβ(p,q) we have c<q, so 0<qβc by claim 1. Using claim 9 of Elementary Order Arithmetic in an Ordered Field twice, choose ΞΌ with 0<ΞΌ, ΞΌβ€Ξ΄0β, ΞΌβ€Ξ΄1β and ΞΌβ€qβc, and put k=ΞΌβ
2β1, so that 0<k and k<ΞΌ by claim 8. Then k<qβc by claim 2, so c+k<q by claim 1; and p<c<c+k gives p<c+k by claim 2. Hence c+kβ(p,q). Also β£kβ£=k<ΞΌ, so 0<β£kβ£<Ξ΄1β and β£kβ£<Ξ΄0β, both by claim 2.
Therefore 0<Qkβ, and 0<k, so claim 5 gives 0<Qkβk=g(c+k)βg(c), whence g(c)<g(c+k) by claim 1. But c+kβ(p,q) and β£(c+k)βcβ£=β£kβ£<Ξ΄0β, so the local maximum property gives g(c+k)β€g(c); with g(c)<g(c+k) and claim 2 this yields g(c)<g(c), contradicting the irreflexivity of the strict order.
Subcase L<0. Then 0<βL by claim 4. Differentiability at c applied with Ξ΅=βL gives Ξ΄1β with 0<Ξ΄1β such that every admissible k satisfies β£QkββLβ£<βL, hence QkββL<βL by claim 9 of Properties of the Absolute Value in an Ordered Field, hence Qkβ<0 by claim 1.
Since p<c we have 0<cβp by claim 1. Choose ΞΌ with 0<ΞΌ, ΞΌβ€Ξ΄0β, ΞΌβ€Ξ΄1β and ΞΌβ€cβp by claim 9, put Ξ½=ΞΌβ
2β1 and k=βΞ½, so 0<Ξ½<ΞΌ by claim 8 and k<0 by claim 4. Then Ξ½<cβp by claim 2 gives p<cβΞ½=c+k by claim 1, and c+k<c<q gives c+k<q by claim 2, so c+kβ(p,q). Also β£kβ£=β£βΞ½β£=Ξ½<ΞΌ by claim 2 of Properties of the Absolute Value in an Ordered Field, so 0<β£kβ£<Ξ΄1β and β£kβ£<Ξ΄0β.
Therefore Qkβ<0 and k<0, so 0<βQkβ and 0<βk by claim 4, and claim 5 gives 0<(βQkβ)(βk)=Qkβk=g(c+k)βg(c), whence g(c)<g(c+k) by claim 1. As before this contradicts the local maximum property.
Both subcases are impossible, so L=0.
Case B: g has a local minimum at c relative to (p,q). Let 0 also denote the constant function on (p,q) with value 0; its difference quotient at c is 0 for every admissible k, so it is differentiable at c with derivative 0. By Derivative of a Sum and of a Difference the function βg=0βg is differentiable at c with (βg)β²(c)=0βL=βL.
By the definition of a local minimum there is Ξ΄0β with 0<Ξ΄0β such that every yβ(p,q) with β£yβcβ£<Ξ΄0β satisfies g(c)β€g(y); claim 4 of Elementary Order Arithmetic in an Ordered Field turns this into (βg)(y)β€(βg)(c), so βg has a local maximum at c relative to (p,q) with the same Ξ΄0β. Case A applied to βg gives βL=0, hence L=0.