let a, b, x0 be Real; for X being RealBanachSpace
for F being PartFunc of REAL, the carrier of X
for f being continuous PartFunc of REAL, the carrier of X st [.a,b.] c= dom f & ].a,b.[ c= dom F & ( for x being Real st x in ].a,b.[ holds
F /. x = integral (f,a,x) ) & x0 in ].a,b.[ & f is_continuous_in x0 holds
( F is_differentiable_in x0 & diff (F,x0) = f /. x0 )
let X be RealBanachSpace; for F being PartFunc of REAL, the carrier of X
for f being continuous PartFunc of REAL, the carrier of X st [.a,b.] c= dom f & ].a,b.[ c= dom F & ( for x being Real st x in ].a,b.[ holds
F /. x = integral (f,a,x) ) & x0 in ].a,b.[ & f is_continuous_in x0 holds
( F is_differentiable_in x0 & diff (F,x0) = f /. x0 )
let F be PartFunc of REAL, the carrier of X; for f being continuous PartFunc of REAL, the carrier of X st [.a,b.] c= dom f & ].a,b.[ c= dom F & ( for x being Real st x in ].a,b.[ holds
F /. x = integral (f,a,x) ) & x0 in ].a,b.[ & f is_continuous_in x0 holds
( F is_differentiable_in x0 & diff (F,x0) = f /. x0 )
let f be continuous PartFunc of REAL, the carrier of X; ( [.a,b.] c= dom f & ].a,b.[ c= dom F & ( for x being Real st x in ].a,b.[ holds
F /. x = integral (f,a,x) ) & x0 in ].a,b.[ & f is_continuous_in x0 implies ( F is_differentiable_in x0 & diff (F,x0) = f /. x0 ) )
deffunc H1( object ) -> Element of the carrier of X = 0. X;
assume that
A4:
[.a,b.] c= dom f
and
A5:
].a,b.[ c= dom F
and
A6:
for x being Real st x in ].a,b.[ holds
F /. x = integral (f,a,x)
and
A7:
x0 in ].a,b.[
and
A8:
f is_continuous_in x0
; ( F is_differentiable_in x0 & diff (F,x0) = f /. x0 )
per cases
( a <= b or a > b )
;
suppose A1:
a <= b
;
( F is_differentiable_in x0 & diff (F,x0) = f /. x0 )then X5:
['a,b'] = [.a,b.]
by INTEGRA5:def 3;
defpred S1[
object ]
means x0 + (In ($1,REAL)) in ].a,b.[;
deffunc H2(
Real)
-> Element of the
carrier of
X = $1
* (f /. x0);
consider L being
Function of
REAL, the
carrier of
X such that B9:
for
h being
Element of
REAL holds
L . h = H2(
h)
from FUNCT_2:sch 4();
A9:
for
h being
Real holds
L . h = H2(
h)
C9:
for
h being
Real holds
L /. h = H2(
h)
then reconsider L =
L as
LinearFunc of
X by NDIFF_3:def 2;
deffunc H3(
object )
-> Element of the
carrier of
X =
((F /. (x0 + (In ($1,REAL)))) - (F /. x0)) - (L . (In ($1,REAL)));
consider R being
Function such that A10:
(
dom R = REAL & ( for
x being
object st
x in REAL holds
( (
S1[
x] implies
R . x = H3(
x) ) & ( not
S1[
x] implies
R . x = H1(
x) ) ) ) )
from PARTFUN1:sch 1();
rng R c= the
carrier of
X
then reconsider R =
R as
PartFunc of
REAL, the
carrier of
X by A10, RELSET_1:4;
A14:
R is
total
by A10, PARTFUN1:def 2;
A15:
['a,b'] = [.a,b.]
by A1, INTEGRA5:def 3;
then X1:
].a,b.[ c= ['a,b']
by XXREAL_1:25;
A16:
for
h being
non-zero 0 -convergent Real_Sequence holds
(
(h ") (#) (R /* h) is
convergent &
lim ((h ") (#) (R /* h)) = 0. X )
proof
let h be
non-zero 0 -convergent Real_Sequence;
( (h ") (#) (R /* h) is convergent & lim ((h ") (#) (R /* h)) = 0. X )
set Z0 =
0. X;
A17:
for
e being
Real st
0 < e holds
ex
n being
Nat st
for
m being
Nat st
n <= m holds
||.((((h ") (#) (R /* h)) . m) - (0. X)).|| < e
proof
set g =
REAL --> (f /. x0);
let e0 be
Real;
( 0 < e0 implies ex n being Nat st
for m being Nat st n <= m holds
||.((((h ") (#) (R /* h)) . m) - (0. X)).|| < e0 )
set e =
e0 / 2;
A18:
(
h is
convergent &
lim h = 0 )
;
assume A19:
0 < e0
;
ex n being Nat st
for m being Nat st n <= m holds
||.((((h ") (#) (R /* h)) . m) - (0. X)).|| < e0
then consider p being
Real such that A20:
0 < p
and A21:
for
t being
Real st
t in dom f &
|.(t - x0).| < p holds
||.((f /. t) - (f /. x0)).|| < e0 / 2
by A8, NFCONT_3:8, XREAL_1:215;
A22:
(
e0 / 2
< e0 &
0 < p / 2 &
p / 2
< p )
by A19, A20, XREAL_1:215, XREAL_1:216;
consider N being
Neighbourhood of
x0 such that A24:
N c= ].a,b.[
by A7, RCOMP_1:18;
consider q being
Real such that A25:
0 < q
and A26:
N = ].(x0 - q),(x0 + q).[
by RCOMP_1:def 6;
set r =
min (
(p / 2),
(q / 2));
A27:
(
0 < q / 2 &
q / 2
< q )
by A25, XREAL_1:215, XREAL_1:216;
then
0 < min (
(p / 2),
(q / 2))
by A22, XXREAL_0:15;
then consider n0 being
Nat such that A28:
for
m being
Nat st
n0 <= m holds
|.((h . m) - 0).| < min (
(p / 2),
(q / 2))
by A18, SEQ_2:def 7;
reconsider n0 =
n0 as
Element of
NAT by ORDINAL1:def 12;
take
n0
;
for m being Nat st n0 <= m holds
||.((((h ") (#) (R /* h)) . m) - (0. X)).|| < e0
let m be
Nat;
( n0 <= m implies ||.((((h ") (#) (R /* h)) . m) - (0. X)).|| < e0 )
A40:
(
min (
(p / 2),
(q / 2))
<= p / 2 &
min (
(p / 2),
(q / 2))
<= q / 2 )
by XXREAL_0:17;
then A29:
].(x0 - (min ((p / 2),(q / 2)))),(x0 + (min ((p / 2),(q / 2)))).[ c= ].(x0 - q),(x0 + q).[
by A27, INTEGRA6:2, XXREAL_0:2;
assume
n0 <= m
;
||.((((h ") (#) (R /* h)) . m) - (0. X)).|| < e0
then A30:
|.((h . m) - 0).| < min (
(p / 2),
(q / 2))
by A28;
then
|.((x0 + (h . m)) - x0).| < min (
(p / 2),
(q / 2))
;
then A31:
x0 + (h . m) in ].(x0 - q),(x0 + q).[
by A29, RCOMP_1:1;
then X2:
x0 + (h . m) in ].a,b.[
by A24, A26;
A32:
R . (h . m) = ((F /. (x0 + (h . m))) - (F /. x0)) - (L . (In ((h . m),REAL)))
by A10, A24, A26, A31;
(
F /. x0 = integral (
f,
a,
x0) &
F /. (x0 + (h . m)) = integral (
f,
a,
(x0 + (h . m))) )
by A6, A7, A24, A26, A31;
then A35:
R . (h . m) = ((integral (f,a,(x0 + (h . m)))) - (integral (f,a,x0))) - ((h . m) * (f /. x0))
by A9, A32;
A36:
dom (REAL --> (f /. x0)) = REAL
;
['a,b'] /\ ['a,b'] c= (dom f) /\ (dom (REAL --> (f /. x0)))
by A4, X5, XBOOLE_1:27;
then A37:
['a,b'] c= dom (f - (REAL --> (f /. x0)))
by VFUNCT_1:def 2;
A39:
integral (
f,
a,
(x0 + (h . m)))
= (integral (f,a,x0)) + (integral (f,x0,(x0 + (h . m))))
by A1, X5, A4, A7, X1, X2, INTEGR21:29;
A41:
for
x being
Real st
x in ['(min (x0,(x0 + (h . m)))),(max (x0,(x0 + (h . m))))'] holds
||.((f - (REAL --> (f /. x0))) /. x).|| <= e0 / 2
proof
let x be
Real;
( x in ['(min (x0,(x0 + (h . m)))),(max (x0,(x0 + (h . m))))'] implies ||.((f - (REAL --> (f /. x0))) /. x).|| <= e0 / 2 )
A42:
(
min (
x0,
(x0 + (h . m)))
<= x0 &
x0 <= max (
x0,
(x0 + (h . m))) )
by XXREAL_0:17, XXREAL_0:25;
assume
x in ['(min (x0,(x0 + (h . m)))),(max (x0,(x0 + (h . m))))']
;
||.((f - (REAL --> (f /. x0))) /. x).|| <= e0 / 2
then A43:
x in [.(min (x0,(x0 + (h . m)))),(max (x0,(x0 + (h . m)))).]
by A42, INTEGRA5:def 3, XXREAL_0:2;
|.(x - x0).| <= |.(h . m).|
then A52:
|.(x - x0).| < min (
(p / 2),
(q / 2))
by A30, XXREAL_0:2;
then
x in ].(x0 - q),(x0 + q).[
by A29, RCOMP_1:1;
then A53:
x in [.a,b.]
by X1, A15, A24, A26;
reconsider xx =
x as
Element of
REAL by XREAL_0:def 1;
|.(x - x0).| < p / 2
by A40, A52, XXREAL_0:2;
then
|.(x - x0).| < p
by A22, XXREAL_0:2;
then
||.((f /. x) - (f /. x0)).|| <= e0 / 2
by A4, A21, A53;
then
||.((f /. x) - ((REAL --> (f /. x0)) /. xx)).|| <= e0 / 2
;
hence
||.((f - (REAL --> (f /. x0))) /. x).|| <= e0 / 2
by A15, A37, A53, VFUNCT_1:def 2;
verum
end;
XX:
m in NAT
by ORDINAL1:def 12;
rng h c= dom R
by A10;
then
((h . m) ") * (R /. (h . m)) = ((h . m) ") * ((R /* h) . m)
by FUNCT_2:109, XX;
then
((h . m) ") * (R /. (h . m)) = ((h ") . m) * ((R /* h) . m)
by VALUED_1:10;
then A57:
((h . m) ") * (R /. (h . m)) = ((h ") (#) (R /* h)) . m
by NDIFF_1:def 2;
A58:
0 < |.(h . m).|
by COMPLEX1:47, SEQ_1:5;
A60:
||.(integral ((f - (REAL --> (f /. x0))),x0,(x0 + (h . m)))).|| <= (e0 / 2) * |.((x0 + (h . m)) - x0).|
by A1, A7, X1, X2, A37, A41, INTEGR21:25;
A61:
integral (
(REAL --> (f /. x0)),
x0,
(x0 + (h . m))) =
((x0 + (h . m)) - x0) * (f /. x0)
by A1, A7, X1, X2, A36, B54, INTEGR21:28
.=
(h . m) * (f /. x0)
;
A62:
integral (
(f - (REAL --> (f /. x0))),
x0,
(x0 + (h . m)))
= (integral (f,x0,(x0 + (h . m)))) - (integral ((REAL --> (f /. x0)),x0,(x0 + (h . m))))
by A1, X5, A4, A7, X1, X2, A36, INTEGR21:30;
R . (h . m) =
((integral (f,x0,(x0 + (h . m)))) + ((integral (f,a,x0)) - (integral (f,a,x0)))) - ((h . m) * (f /. x0))
by A35, A39, RLVECT_1:28
.=
((integral (f,x0,(x0 + (h . m)))) + (0. X)) - ((h . m) * (f /. x0))
by RLVECT_1:15
.=
(integral (f,x0,(x0 + (h . m)))) - (integral ((REAL --> (f /. x0)),x0,(x0 + (h . m))))
by A61
;
then
R /. (h . m) = integral (
(f - (REAL --> (f /. x0))),
x0,
(x0 + (h . m)))
by A62, A10, PARTFUN1:def 6;
then
(
||.(((h . m) ") * (R /. (h . m))).|| = ||.(R /. (h . m)).|| / |.(h . m).| &
||.(R /. (h . m)).|| / |.(h . m).| <= ((e0 / 2) * |.(h . m).|) / |.(h . m).| )
by A60, A58, Lm17, XREAL_1:72;
then
||.(((h . m) ") * (R /. (h . m))).|| <= e0 / 2
by A58, XCMPLX_1:89;
hence
||.((((h ") (#) (R /* h)) . m) - (0. X)).|| < e0
by A22, A57, XXREAL_0:2;
verum
end;
hence
(h ") (#) (R /* h) is
convergent
;
lim ((h ") (#) (R /* h)) = 0. X
hence
lim ((h ") (#) (R /* h)) = 0. X
by A17, NORMSP_1:def 7;
verum
end; consider N being
Neighbourhood of
x0 such that A64:
N c= ].a,b.[
by A7, RCOMP_1:18;
reconsider R =
R as
RestFunc of
X by A14, A16, NDIFF_3:def 1;
A65:
for
x being
Real st
x in N holds
(F /. x) - (F /. x0) = (L /. (x - x0)) + (R /. (x - x0))
A66:
N c= dom F
by A5, A64;
hence A67:
F is_differentiable_in x0
by A65;
diff (F,x0) = f /. x0reconsider N1 = 1 as
Real ;
L /. 1
= N1 * (f /. x0)
by C9;
then
L /. 1
= f /. x0
by RLVECT_1:def 8;
hence
diff (
F,
x0)
= f /. x0
by A66, A65, A67, NDIFF_3:def 4;
verum end; end;