let p be Real; :: thesis: for f being PartFunc of REAL,REAL st right_open_halfline p c= dom f & f is_differentiable_on right_open_halfline p & ( for x0 being Real st x0 in right_open_halfline p holds
0 < diff (f,x0) or for x0 being Real st x0 in right_open_halfline p holds
diff (f,x0) < 0 ) holds
rng (f | (right_open_halfline p)) is open

let f be PartFunc of REAL,REAL; :: thesis: ( right_open_halfline p c= dom f & f is_differentiable_on right_open_halfline p & ( for x0 being Real st x0 in right_open_halfline p holds
0 < diff (f,x0) or for x0 being Real st x0 in right_open_halfline p holds
diff (f,x0) < 0 ) implies rng (f | (right_open_halfline p)) is open )

set l = right_open_halfline p;
assume A1: right_open_halfline p c= dom f ; :: thesis: ( not f is_differentiable_on right_open_halfline p or ( ex x0 being Real st
( x0 in right_open_halfline p & not 0 < diff (f,x0) ) & ex x0 being Real st
( x0 in right_open_halfline p & not diff (f,x0) < 0 ) ) or rng (f | (right_open_halfline p)) is open )

assume that
A2: f is_differentiable_on right_open_halfline p and
A3: ( for x0 being Real st x0 in right_open_halfline p holds
0 < diff (f,x0) or for x0 being Real st x0 in right_open_halfline p holds
diff (f,x0) < 0 ) ; :: thesis: rng (f | (right_open_halfline p)) is open
A4: f | (right_open_halfline p) is continuous by A2, FDIFF_1:25;
now :: thesis: rng (f | (right_open_halfline p)) is open end;
hence rng (f | (right_open_halfline p)) is open ; :: thesis: verum