let F be RealNormSpace; for f being PartFunc of REAL, the carrier of F
for x0 being Real
for N being Neighbourhood of x0 st f is_differentiable_in x0 & N c= dom f holds
for h being non-zero 0 -convergent Real_Sequence
for c being constant Real_Sequence st rng c = {x0} & rng (h + c) c= N holds
( (h ") (#) ((f /* (h + c)) - (f /* c)) is convergent & diff (f,x0) = lim ((h ") (#) ((f /* (h + c)) - (f /* c))) )
let f be PartFunc of REAL, the carrier of F; for x0 being Real
for N being Neighbourhood of x0 st f is_differentiable_in x0 & N c= dom f holds
for h being non-zero 0 -convergent Real_Sequence
for c being constant Real_Sequence st rng c = {x0} & rng (h + c) c= N holds
( (h ") (#) ((f /* (h + c)) - (f /* c)) is convergent & diff (f,x0) = lim ((h ") (#) ((f /* (h + c)) - (f /* c))) )
let x0 be Real; for N being Neighbourhood of x0 st f is_differentiable_in x0 & N c= dom f holds
for h being non-zero 0 -convergent Real_Sequence
for c being constant Real_Sequence st rng c = {x0} & rng (h + c) c= N holds
( (h ") (#) ((f /* (h + c)) - (f /* c)) is convergent & diff (f,x0) = lim ((h ") (#) ((f /* (h + c)) - (f /* c))) )
let N be Neighbourhood of x0; ( f is_differentiable_in x0 & N c= dom f implies for h being non-zero 0 -convergent Real_Sequence
for c being constant Real_Sequence st rng c = {x0} & rng (h + c) c= N holds
( (h ") (#) ((f /* (h + c)) - (f /* c)) is convergent & diff (f,x0) = lim ((h ") (#) ((f /* (h + c)) - (f /* c))) ) )
assume that
A1:
f is_differentiable_in x0
and
A2:
N c= dom f
; for h being non-zero 0 -convergent Real_Sequence
for c being constant Real_Sequence st rng c = {x0} & rng (h + c) c= N holds
( (h ") (#) ((f /* (h + c)) - (f /* c)) is convergent & diff (f,x0) = lim ((h ") (#) ((f /* (h + c)) - (f /* c))) )
consider N1 being Neighbourhood of x0 such that
N1 c= dom f
and
A3:
ex L being LinearFunc of F ex R being RestFunc of F st
for x being Real st x in N1 holds
(f /. x) - (f /. x0) = (L /. (x - x0)) + (R /. (x - x0))
by A1;
consider N2 being Neighbourhood of x0 such that
A4:
N2 c= N
and
A5:
N2 c= N1
by RCOMP_1:17;
A6:
N2 c= dom f
by A2, A4;
let h be non-zero 0 -convergent Real_Sequence; for c being constant Real_Sequence st rng c = {x0} & rng (h + c) c= N holds
( (h ") (#) ((f /* (h + c)) - (f /* c)) is convergent & diff (f,x0) = lim ((h ") (#) ((f /* (h + c)) - (f /* c))) )
let c be constant Real_Sequence; ( rng c = {x0} & rng (h + c) c= N implies ( (h ") (#) ((f /* (h + c)) - (f /* c)) is convergent & diff (f,x0) = lim ((h ") (#) ((f /* (h + c)) - (f /* c))) ) )
assume that
A7:
rng c = {x0}
and
A8:
rng (h + c) c= N
; ( (h ") (#) ((f /* (h + c)) - (f /* c)) is convergent & diff (f,x0) = lim ((h ") (#) ((f /* (h + c)) - (f /* c))) )
consider g being Real such that
A9:
0 < g
and
A10:
N2 = ].(x0 - g),(x0 + g).[
by RCOMP_1:def 6;
reconsider z0 = 0 as Nat ;
( x0 + z0 < x0 + g & x0 - g < x0 - 0 )
by A9, XREAL_1:8, XREAL_1:15;
then A11:
x0 in N2
by A10;
then A12:
rng c c= dom f
;
ex n being Element of NAT st
( rng (c ^\ n) c= N2 & rng ((h + c) ^\ n) c= N2 )
then consider n being Element of NAT such that
rng (c ^\ n) c= N2
and
A19:
rng ((h + c) ^\ n) c= N2
;
consider L being LinearFunc of F, R being RestFunc of F such that
A20:
for x being Real st x in N1 holds
(f /. x) - (f /. x0) = (L /. (x - x0)) + (R /. (x - x0))
by A3;
then A22:
rng (c ^\ n) c= dom f
;
A23:
( ((h ^\ n) ") (#) ((L /* (h ^\ n)) + (R /* (h ^\ n))) is convergent & lim (((h ^\ n) ") (#) ((L /* (h ^\ n)) + (R /* (h ^\ n)))) = L /. 1 )
for y being object st y in rng ((h + c) ^\ n) holds
y in dom f
by A2, A4, A19;
then A35:
rng ((h + c) ^\ n) c= dom f
;
for y being object st y in rng (h + c) holds
y in dom f
by A2, A8;
then A36:
rng (h + c) c= dom f
;
A37:
for k being Element of NAT holds (f /. (((h + c) ^\ n) . k)) - (f /. ((c ^\ n) . k)) = (L /. ((h ^\ n) . k)) + (R /. ((h ^\ n) . k))
A40:
R is total
by Def1;
then
(f /* ((h + c) ^\ n)) - (f /* (c ^\ n)) = (L /* (h ^\ n)) + (R /* (h ^\ n))
by FUNCT_2:63;
then A42: ((h ^\ n) ") (#) ((L /* (h ^\ n)) + (R /* (h ^\ n))) =
((h ^\ n) ") (#) (((f /* (h + c)) ^\ n) - (f /* (c ^\ n)))
by A36, VALUED_0:27
.=
((h ^\ n) ") (#) (((f /* (h + c)) ^\ n) - ((f /* c) ^\ n))
by A12, VALUED_0:27
.=
((h ^\ n) ") (#) (((f /* (h + c)) - (f /* c)) ^\ n)
by NDIFF_1:16
.=
((h ") ^\ n) (#) (((f /* (h + c)) - (f /* c)) ^\ n)
by SEQM_3:18
.=
((h ") (#) ((f /* (h + c)) - (f /* c))) ^\ n
by Th2
;
then A43:
L /. 1 = lim ((h ") (#) ((f /* (h + c)) - (f /* c)))
by A23, LOPBAN_3:11;
thus
(h ") (#) ((f /* (h + c)) - (f /* c)) is convergent
by A23, A42, LOPBAN_3:10; diff (f,x0) = lim ((h ") (#) ((f /* (h + c)) - (f /* c)))
for x being Real st x in N2 holds
(f /. x) - (f /. x0) = (L /. (x - x0)) + (R /. (x - x0))
by A20, A5;
hence
diff (f,x0) = lim ((h ") (#) ((f /* (h + c)) - (f /* c)))
by A1, A6, A43, Def4; verum