Order arithmetic is taken from Elementary Order Arithmetic in an Ordered Field (claim 1 strict compatibility with addition, claim 2 mixed transitivity, claim 6 0<1, claim 7 inverse of a positive element, claim 10 strict compatibility with multiplication by a positive element) and from Elementary Arithmetic in an Ordered Field (claim 3 translation), and the field axioms of the field R are used for rearrangement.
Midpoints. If s<t then m=21ā(s+t) satisfies s<m<t: strict compatibility with addition gives s+s<s+t and s+t<t+t, and multiplying by the positive element 21ā together with 21ā(s+s)=s and 21ā(t+t)=t gives the two strict inequalities. In particular (a,b) is nonempty.
Restriction to the open interval. Let cā(a,b) and let g be the restriction of f to (a,b). By the midpoint remark applied to a<c and to c<b there are u,vā(a,b) with u<c<v, so c is an interior point of the interval (a,b). Moreover g is differentiable at c with gā²(c)=fā²(c): taking L=fā²(c) and, for a given ε, the same Ī“ as for f, every h with 0<ā£hā£<Ī“ and c+hā(a,b) also satisfies c+hā[a,b], and g agrees with f at c and at c+h, so the required estimate holds; the value is fā²(c) by Uniqueness of the Derivative at an Interior Point.
Claim 1. By Extreme Value Theorem on a Closed Interval there are xmaxā,xmināā[a,b] with f(xminā)ā¤f(x)ā¤f(xmaxā) for every xā[a,b].
Suppose first that xmaxāā(a,b). Then g has a local maximum at xmaxā relative to (a,b): the choice Ī“=1 is positive, and every yā(a,b) satisfies g(y)=f(y)ā¤f(xmaxā)=g(xmaxā). Hence gā²(xmaxā)=0 by Vanishing of the Derivative at an Interior Local Extremum, and fā²(xmaxā)=0 by the restriction remark; take c=xmaxā. If instead xmināā(a,b), the same argument with a local minimum gives fā²(xminā)=0.
Otherwise neither point lies in (a,b). A point xā[a,b] with xī =a and xī =b satisfies a<x<b and hence lies in (a,b), so xmaxā and xminā each equal a or b. Since f(a)=f(b) this gives f(xmaxā)=f(xminā), so every xā[a,b] satisfies f(xminā)ā¤f(x)ā¤f(xminā) and therefore f(x)=f(xminā) by antisymmetry of ā¤. Let c=21ā(a+b), which lies in (a,b) by the midpoint remark. Then g is constant, so it has a local maximum at c relative to (a,b), and Vanishing of the Derivative at an Interior Local Extremum with the restriction remark gives fā²(c)=0.
Claim 2. Translating a<b by āa gives 0<bāa, so bāaī =0 and its inverse exists. Put
α=(f(b)āf(a))(bāa)ā1,soĀ thatα(bāa)=f(b)āf(a).
Let ι:[a,b]āR be given by ι(x)=x; it is continuous on [a,b], since for a given ε the choice Ī“=ε satisfies dRā(ι(x),ι(x0ā))=dRā(x0ā,x)<ε whenever dRā(x0ā,x)<Ī“, using the symmetry axiom of Metric Space. Let Ļ:[a,b]āR be given by Ļ(x)=f(x)+(āα)x. By claims 4, 2 and 5 of Continuity of Sums and Products of Real-Valued Functions on a Metric Space, applied to the scalar multiple (āα)ι and then to the sum, Ļ is continuous on [a,b].
Let cā(a,b). The function (āα)ι is differentiable at c with derivative āα: for every hī =0 distributivity gives
h(āα)(c+h)ā(āα)cā=h(āα)hā=āα,
so the condition of Derivative at an Interior Point holds with L=āα and Ī“=1, the absolute value of 0 being 0 by Absolute Value in an Ordered Field. Claim 2 of Sum and Product Rules for One-Dimensional Derivatives and Continuity now shows that Ļ is differentiable at c with
Ļā²(c)=fā²(c)+(āα).
Finally
Ļ(b)āĻ(a)=(f(b)āf(a))+(āα)(bāa)=0,
so Ļ(a)=Ļ(b) by claim 3 of Additive Cancellation and Elementary Additive Identities in a Field. Claim 1, applied to Ļ, therefore provides cā(a,b) with Ļā²(c)=0, that is fā²(c)+(āα)=0, whence fā²(c)=α by claim 1 of Additive Cancellation and Elementary Additive Identities in a Field and claim 5 of that lemma. Multiplying by bāa gives fā²(c)(bāa)=α(bāa)=f(b)āf(a).