Claim 1. Assume f is continuous at x relative to A, and write u=f(x), so u=0 by hypothesis. By claim 1 of Properties of the Absolute Value in an Ordered Field we have 0≤∣u∣, and ∣u∣=0 would force u=0; hence ∣u∣=0 and therefore 0<∣u∣. By claim 8 the element ∣u∣⋅2−1 satisfies 0<∣u∣⋅2−1 and ∣u∣⋅2−1+∣u∣⋅2−1=∣u∣.
Step 1: a lower bound for ∣f(z)∣ near x. By continuity with tolerance ∣u∣⋅2−1 there is δ1 with 0<δ1 such that every z∈A with d(x,z)<δ1 satisfies ∣f(z)−u∣<∣u∣⋅2−1. Fix such a z and write c=∣f(z)−u∣. By claim 7 of Properties of the Absolute Value in an Ordered Field we have ∣f(z)∣−∣u∣≤c, and claim 6 of that lemma gives −c≤∣f(z)∣−∣u∣; adding ∣u∣, which preserves ≤ by compatibility of the order with addition in an ordered field, yields ∣u∣−c≤∣f(z)∣. From c<∣u∣⋅2−1 and claim 4 we get −∣u∣⋅2−1<−c, and claim 1 gives ∣u∣−∣u∣⋅2−1<∣u∣−c. Since ∣u∣⋅2−1+∣u∣⋅2−1=∣u∣ we have ∣u∣−∣u∣⋅2−1=∣u∣⋅2−1, so claim 2 yields
∣u∣⋅2−1<∣f(z)∣.
In particular 0<∣f(z)∣ by claim 2.
Step 2: inverting the bound. Both ∣u∣⋅2−1 and ∣f(z)∣ are positive, so by claim 7 their multiplicative inverses exist and are positive, and by claim 5 the product (∣u∣⋅2−1)−1⋅∣f(z)∣−1 is positive. Multiplying the inequality of Step 1 by that positive element and using claim 10, then simplifying with the defining property of the multiplicative inverse, gives
∣f(z)∣−1<(∣u∣⋅2−1)−1.
Step 3: the estimate. Let 0<ε and put η=ε⋅∣u∣⋅∣u∣⋅2−1, which is positive by repeated use of claim 5. By continuity there is δ2 with 0<δ2 such that every z∈A with d(x,z)<δ2 satisfies ∣f(z)−u∣<η. By claim 9 there is δ with δ≤δ1, δ≤δ2 and δ equal to δ1 or to δ2; in either case 0<δ.
Let z∈A with d(x,z)<δ. By claim 2 we have d(x,z)<δ1 and d(x,z)<δ2, so Steps 1 and 2 apply to this z and ∣f(z)−u∣<η.
Since f(z) and u are nonzero, the field identities give
Put Q=∣f(z)∣−1⋅∣u∣−1, which is positive by claim 5. From ∣f(z)−u∣<η and claim 10 we get ∣f(z)−u∣⋅Q<η⋅Q. From Step 2 and 0≤η⋅∣u∣−1, claim 5 of Elementary Arithmetic in an Ordered Field gives
η⋅Q=η⋅∣u∣−1⋅∣f(z)∣−1≤η⋅∣u∣−1⋅(∣u∣⋅2−1)−1.
By associativity and commutativity of multiplication together with the defining properties of the multiplicative inverse and of the multiplicative identity, the right-hand side equals ε. Hence ∣r(z)−r(x)∣<η⋅Q≤ε, and claim 2 gives ∣r(z)−r(x)∣<ε. As ε was arbitrary, r is continuous at x relative to A.
Claim 2. If f is continuous on A, it is continuous at every point of A relative to A, so claim 1 applies at every such point; hence r is continuous on A.