*Let I be an open interval in R, let x0 be one of the endpoints of I, and f a vector function defined and continuous on I, with values in a complete normed space E over R; suppose that f has a right derivative at the points of the complement B in I of a countable subset of I. Then for fd′(x) to have a limit as x tends to x0 while remaining in B and =x0 it is necessary and sufficient that y−xf(y)−f(x) have a limit c as (x,y) tends to (x0,x0) subject to x∈I,y∈I,x=x0,y=x0 and x=y. Under these conditions f extends by continuity to the point x0, the right derivative fd′(x) tends to c as x tends to x0 (while remaining in B) and the function f extended (defined on I∪{x0}) has derivative at x0 equal to c.
Suppose for example that x0 is the right-hand endpoint of I. Let us first show that if fd′(x) tends to c as x tends to x0 while remaining in B and =x0, then y−xf(y)−f(x) tends to c; this follows immediately from th. 2 applied to the function f(z)−cz, which yields
∥f(y)−f(x)−c(y−x)∥≤(y−x)z∈B,x<z<ysup∥fd′(z)−c∥
for x<y<x0. Conversely, if y−xf(y)−f(x) tends to c, then for every ε>0 there exists an h>0 such that the conditions ∣x−x0∣<h,∣y−x0∣<h(x=x0,y=x0) imply
∥f(y)−f(x)−c(y−x)∥≤ε∣y−x∣.
But for all x∈B and =x0 such that ∣x−x0∣<h there exists a k>0 (depending on x) such that the relation x<y<x+k entails
∥f(y)−f(x)−fd′(x)(y−x)∥≤ε∣y−x∣
from which, considering (11):
∥fd′(x)−c∥≤2ε
for ∣x−x0∣<h,x∈B and x=x0. which proves that fd′(x) tends to c. Moreover, from the relation (11) one has immediately that
∥f(y)−f(x)∥≤(∥c∥+ε)∣y−x∣,
which proves (by Cauchy's criterion) that f has a limit d at the point x0 as x tends to this point while remaining in I and =x0; now, letting x approach x0 in (11), for y∈I,y=x0 and ∣y−x0∣≤h, we have
y−x0f(y)−d−c≤ε
which proves that c is the derivative at the point x0 of the function f extended by continuity to I∪{x0}.
Bourbaki puts the proof directly after the statement, so what is above is the statement and its proof together.