let F be non trivial RealNormSpace; for Z being open Subset of REAL
for f being PartFunc of REAL, the carrier of F holds
( f is_differentiable_on Z iff ( Z c= dom f & ( for x being Real st x in Z holds
f is_differentiable_in x ) ) )
let Z be open Subset of REAL; for f being PartFunc of REAL, the carrier of F holds
( f is_differentiable_on Z iff ( Z c= dom f & ( for x being Real st x in Z holds
f is_differentiable_in x ) ) )
let f be PartFunc of REAL, the carrier of F; ( f is_differentiable_on Z iff ( Z c= dom f & ( for x being Real st x in Z holds
f is_differentiable_in x ) ) )
thus
( f is_differentiable_on Z implies ( Z c= dom f & ( for x being Real st x in Z holds
f is_differentiable_in x ) ) )
( Z c= dom f & ( for x being Real st x in Z holds
f is_differentiable_in x ) implies f is_differentiable_on Z )
assume that
A9:
Z c= dom f
and
A10:
for x being Real st x in Z holds
f is_differentiable_in x
; f is_differentiable_on Z
thus
Z c= dom f
by A9; NDIFF_3:def 5 for x being Real st x in Z holds
f | Z is_differentiable_in x
let x0 be Real; ( x0 in Z implies f | Z is_differentiable_in x0 )
assume A11:
x0 in Z
; f | Z is_differentiable_in x0
then consider N1 being Neighbourhood of x0 such that
A12:
N1 c= Z
by RCOMP_1:18;
f is_differentiable_in x0
by A10, A11;
then consider N being Neighbourhood of x0 such that
A13:
N c= dom f
and
A14:
ex L being LINEAR of F ex R being REST of F st
for x being Real st x in N holds
(f /. x) - (f /. x0) = (L . (x - x0)) + (R /. (x - x0))
by Def3;
consider N2 being Neighbourhood of x0 such that
A15:
N2 c= N1
and
A16:
N2 c= N
by RCOMP_1:17;
A17:
N2 c= Z
by A12, A15, XBOOLE_1:1;
take
N2
; NDIFF_3:def 3 ( N2 c= dom (f | Z) & ex L being LINEAR of F ex R being REST of F st
for x being Real st x in N2 holds
((f | Z) /. x) - ((f | Z) /. x0) = (L . (x - x0)) + (R /. (x - x0)) )
N2 c= dom f
by A13, A16, XBOOLE_1:1;
then
N2 c= (dom f) /\ Z
by A17, XBOOLE_1:19;
hence A18:
N2 c= dom (f | Z)
by RELAT_1:61; ex L being LINEAR of F ex R being REST of F st
for x being Real st x in N2 holds
((f | Z) /. x) - ((f | Z) /. x0) = (L . (x - x0)) + (R /. (x - x0))
consider L being LINEAR of F, R being REST of F such that
A19:
for x being Real st x in N holds
(f /. x) - (f /. x0) = (L . (x - x0)) + (R /. (x - x0))
by A14;
A20:
x0 in N2
by RCOMP_1:16;
take
L
; ex R being REST of F st
for x being Real st x in N2 holds
((f | Z) /. x) - ((f | Z) /. x0) = (L . (x - x0)) + (R /. (x - x0))
take
R
; for x being Real st x in N2 holds
((f | Z) /. x) - ((f | Z) /. x0) = (L . (x - x0)) + (R /. (x - x0))
hence
for x being Real st x in N2 holds
((f | Z) /. x) - ((f | Z) /. x0) = (L . (x - x0)) + (R /. (x - x0))
; verum