let X be RealHilbertSpace; ( the addF of X is commutative & the addF of X is associative & the addF of X is having_a_unity implies for Y being Subset of X holds
( Y is summable_set iff for e being Real st e > 0 holds
ex Y0 being finite Subset of X st
( not Y0 is empty & Y0 c= Y & ( for Y1 being finite Subset of X st not Y1 is empty & Y1 c= Y & Y0 misses Y1 holds
||.(setsum Y1).|| < e ) ) ) )
assume A1:
( the addF of X is commutative & the addF of X is associative & the addF of X is having_a_unity )
; for Y being Subset of X holds
( Y is summable_set iff for e being Real st e > 0 holds
ex Y0 being finite Subset of X st
( not Y0 is empty & Y0 c= Y & ( for Y1 being finite Subset of X st not Y1 is empty & Y1 c= Y & Y0 misses Y1 holds
||.(setsum Y1).|| < e ) ) )
let Y be Subset of X; ( Y is summable_set iff for e being Real st e > 0 holds
ex Y0 being finite Subset of X st
( not Y0 is empty & Y0 c= Y & ( for Y1 being finite Subset of X st not Y1 is empty & Y1 c= Y & Y0 misses Y1 holds
||.(setsum Y1).|| < e ) ) )
A2:
now ( ( for e being Real st e > 0 holds
ex Y0 being finite Subset of X st
( not Y0 is empty & Y0 c= Y & ( for Y1 being finite Subset of X st not Y1 is empty & Y1 c= Y & Y0 misses Y1 holds
||.(setsum Y1).|| < e ) ) ) implies Y is summable_set )defpred S1[
object ,
object ]
means ex
D2 being
set st
(
D2 = $2 & $2 is
finite Subset of
X & not
D2 is
empty &
D2 c= Y & ( for
z being
Real st
z = $1 holds
for
Y1 being
finite Subset of
X st not
Y1 is
empty &
Y1 c= Y &
D2 misses Y1 holds
||.(setsum Y1).|| < 1
/ (z + 1) ) );
assume A3:
for
e being
Real st
e > 0 holds
ex
Y0 being
finite Subset of
X st
( not
Y0 is
empty &
Y0 c= Y & ( for
Y1 being
finite Subset of
X st not
Y1 is
empty &
Y1 c= Y &
Y0 misses Y1 holds
||.(setsum Y1).|| < e ) )
;
Y is summable_set A4:
for
x being
object st
x in NAT holds
ex
y being
object st
(
y in bool Y &
S1[
x,
y] )
consider B being
sequence of
(bool Y) such that A7:
for
x being
object st
x in NAT holds
S1[
x,
B . x]
from FUNCT_2:sch 1(A4);
ex
A being
sequence of
(bool Y) st
for
i being
Nat holds
(
A . i is
finite Subset of
X & not
A . i is
empty &
A . i c= Y & ( for
Y1 being
finite Subset of
X st not
Y1 is
empty &
Y1 c= Y &
A . i misses Y1 holds
||.(setsum Y1).|| < 1
/ (i + 1) ) & ( for
j being
Nat st
i <= j holds
A . i c= A . j ) )
then consider A being
sequence of
(bool Y) such that A33:
for
i being
Nat holds
(
A . i is
finite Subset of
X & not
A . i is
empty &
A . i c= Y & ( for
Y1 being
finite Subset of
X st not
Y1 is
empty &
Y1 c= Y &
A . i misses Y1 holds
||.(setsum Y1).|| < 1
/ (i + 1) ) & ( for
j being
Nat st
i <= j holds
A . i c= A . j ) )
;
defpred S2[
object ,
object ]
means ex
Y1 being
finite Subset of
X st
( not
Y1 is
empty &
A . $1
= Y1 & $2
= setsum Y1 );
A34:
for
x being
object st
x in NAT holds
ex
y being
object st
(
y in the
carrier of
X &
S2[
x,
y] )
ex
F being
sequence of the
carrier of
X st
for
x being
object st
x in NAT holds
S2[
x,
F . x]
from FUNCT_2:sch 1(A34);
then consider F being
sequence of the
carrier of
X such that A35:
for
x being
object st
x in NAT holds
ex
Y1 being
finite Subset of
X st
( not
Y1 is
empty &
A . x = Y1 &
F . x = setsum Y1 )
;
reconsider seq =
F as
sequence of
X ;
now for e being Real st e > 0 holds
ex k being Nat st
for n, m being Nat st n >= k & m >= k holds
||.((seq . n) - (seq . m)).|| < elet e be
Real;
( e > 0 implies ex k being Nat st
for n, m being Nat st n >= k & m >= k holds
||.((seq . n) - (seq . m)).|| < e )assume A36:
e > 0
;
ex k being Nat st
for n, m being Nat st n >= k & m >= k holds
||.((seq . n) - (seq . m)).|| < eA37:
e / 2
> 0 / 2
by A36, XREAL_1:74;
ex
k being
Nat st 1
/ (k + 1) < e / 2
then consider k being
Nat such that A39:
1
/ (k + 1) < e / 2
;
now for nn, mm being Nat st nn >= k & mm >= k holds
||.((seq . nn) - (seq . mm)).|| < elet nn,
mm be
Nat;
( nn >= k & mm >= k implies ||.((seq . nn) - (seq . mm)).|| < e )assume that A40:
nn >= k
and A41:
mm >= k
;
||.((seq . nn) - (seq . mm)).|| < e
(
nn in NAT &
mm in NAT &
k in NAT )
by ORDINAL1:def 12;
then reconsider k =
k,
m =
mm,
n =
nn as
Element of
NAT ;
consider Y2 being
finite Subset of
X such that
not
Y2 is
empty
and A42:
A . m = Y2
and A43:
seq . m = setsum Y2
by A35;
consider Y0 being
finite Subset of
X such that
not
Y0 is
empty
and A44:
A . k = Y0
and A45:
seq . k = setsum Y0
by A35;
A46:
Y0 c= Y2
by A33, A41, A44, A42;
consider Y1 being
finite Subset of
X such that
not
Y1 is
empty
and A47:
A . n = Y1
and A48:
seq . n = setsum Y1
by A35;
A49:
Y0 c= Y1
by A33, A40, A44, A47;
now ( ( Y0 = Y1 & ||.((seq . n) - (seq . m)).|| < e ) or ( Y0 <> Y1 & ||.((seq . n) - (seq . m)).|| < e ) )per cases
( Y0 = Y1 or Y0 <> Y1 )
;
case A50:
Y0 = Y1
;
||.((seq . n) - (seq . m)).|| < enow ( ( Y0 = Y2 & ||.((seq . n) - (seq . m)).|| < e ) or ( Y0 <> Y2 & ||.((seq . n) - (seq . m)).|| < e ) )per cases
( Y0 = Y2 or Y0 <> Y2 )
;
case A51:
Y0 <> Y2
;
||.((seq . n) - (seq . m)).|| < e
ex
Y02 being
finite Subset of
X st
( not
Y02 is
empty &
Y02 c= Y &
Y02 misses Y0 &
Y0 \/ Y02 = Y2 )
then consider Y02 being
finite Subset of
X such that A54:
( not
Y02 is
empty &
Y02 c= Y )
and A55:
Y02 misses Y0
and A56:
Y0 \/ Y02 = Y2
;
||.(setsum Y02).|| < 1
/ (k + 1)
by A33, A44, A54, A55;
then A57:
||.(setsum Y02).|| < e / 2
by A39, XXREAL_0:2;
setsum Y2 = (setsum Y0) + (setsum Y02)
by A1, A55, A56, Th2;
then A58:
||.((seq . n) - (seq . m)).|| =
||.(((setsum Y0) - (setsum Y0)) - (setsum Y02)).||
by A48, A43, A50, RLVECT_1:27
.=
||.((0. X) - (setsum Y02)).||
by RLVECT_1:15
.=
||.(- (setsum Y02)).||
by RLVECT_1:14
.=
||.(setsum Y02).||
by BHSP_1:31
;
e * (1 / 2) < e * 1
by A36, XREAL_1:68;
hence
||.((seq . n) - (seq . m)).|| < e
by A57, A58, XXREAL_0:2;
verum end; end; end; hence
||.((seq . n) - (seq . m)).|| < e
;
verum end; case A59:
Y0 <> Y1
;
||.((seq . n) - (seq . m)).|| < enow ( ( Y0 = Y2 & ||.((seq . n) - (seq . m)).|| < e ) or ( Y0 <> Y2 & ||.((seq . n) - (seq . m)).|| < e ) )per cases
( Y0 = Y2 or Y0 <> Y2 )
;
case
Y0 = Y2
;
||.((seq . n) - (seq . m)).|| < ethen A60:
(seq . k) - (seq . m) = 0. X
by A45, A43, RLVECT_1:5;
ex
Y01 being
finite Subset of
X st
( not
Y01 is
empty &
Y01 c= Y &
Y01 misses Y0 &
Y0 \/ Y01 = Y1 )
then consider Y01 being
finite Subset of
X such that A62:
( not
Y01 is
empty &
Y01 c= Y )
and A63:
Y01 misses Y0
and A64:
Y0 \/ Y01 = Y1
;
seq . n = (seq . k) + (setsum Y01)
by A1, A45, A48, A63, A64, Th2;
then A65:
(seq . n) - (seq . k) =
(seq . k) + ((setsum Y01) + (- (seq . k)))
by RLVECT_1:def 3
.=
(seq . k) - ((seq . k) - (setsum Y01))
by RLVECT_1:33
.=
((setsum Y0) - (setsum Y0)) + (setsum Y01)
by A45, RLVECT_1:29
.=
(0. X) + (setsum Y01)
by RLVECT_1:5
.=
setsum Y01
by RLVECT_1:4
;
(seq . n) - (seq . m) =
((seq . n) - (seq . m)) + (0. X)
by RLVECT_1:4
.=
((seq . n) - (seq . m)) + ((seq . k) - (seq . k))
by RLVECT_1:5
.=
(seq . n) - ((seq . m) - ((seq . k) - (seq . k)))
by RLVECT_1:29
.=
(seq . n) - (((seq . m) - (seq . k)) + (seq . k))
by RLVECT_1:29
.=
(seq . n) - ((seq . k) - ((seq . k) - (seq . m)))
by RLVECT_1:33
.=
(setsum Y01) + (0. X)
by A65, A60, RLVECT_1:29
;
then
||.((seq . n) - (seq . m)).|| <= ||.(setsum Y01).|| + ||.(0. X).||
by BHSP_1:30;
then A66:
||.((seq . n) - (seq . m)).|| <= ||.(setsum Y01).|| + 0
by BHSP_1:26;
||.(setsum Y01).|| < 1
/ (k + 1)
by A33, A44, A62, A63;
then
||.(setsum Y01).|| < e / 2
by A39, XXREAL_0:2;
then
||.((seq . n) - (seq . m)).|| < e / 2
by A66, XXREAL_0:2;
then
||.((seq . n) - (seq . m)).|| + 0 < (e / 2) + (e / 2)
by A36, XREAL_1:8;
hence
||.((seq . n) - (seq . m)).|| < e
;
verum end; case A67:
Y0 <> Y2
;
||.((seq . n) - (seq . m)).|| < e
ex
Y02 being
finite Subset of
X st
( not
Y02 is
empty &
Y02 c= Y &
Y02 misses Y0 &
Y0 \/ Y02 = Y2 )
then consider Y02 being
finite Subset of
X such that A69:
( not
Y02 is
empty &
Y02 c= Y )
and A70:
Y02 misses Y0
and A71:
Y0 \/ Y02 = Y2
;
||.(setsum Y02).|| < 1
/ (k + 1)
by A33, A44, A69, A70;
then A72:
||.(setsum Y02).|| < e / 2
by A39, XXREAL_0:2;
ex
Y01 being
finite Subset of
X st
( not
Y01 is
empty &
Y01 c= Y &
Y01 misses Y0 &
Y0 \/ Y01 = Y1 )
then consider Y01 being
finite Subset of
X such that A74:
( not
Y01 is
empty &
Y01 c= Y )
and A75:
Y01 misses Y0
and A76:
Y0 \/ Y01 = Y1
;
setsum Y1 = (setsum Y0) + (setsum Y01)
by A1, A75, A76, Th2;
then A77:
(seq . n) - (seq . k) =
(setsum Y01) + ((seq . k) + (- (seq . k)))
by A45, A48, RLVECT_1:def 3
.=
(setsum Y01) + (0. X)
by RLVECT_1:5
.=
setsum Y01
by RLVECT_1:4
;
setsum Y2 = (setsum Y0) + (setsum Y02)
by A1, A70, A71, Th2;
then A78:
(seq . m) - (seq . k) =
(setsum Y02) + ((seq . k) + (- (seq . k)))
by A45, A43, RLVECT_1:def 3
.=
(setsum Y02) + (0. X)
by RLVECT_1:5
.=
setsum Y02
by RLVECT_1:4
;
(seq . n) - (seq . m) =
((seq . n) - (seq . m)) + (0. X)
by RLVECT_1:4
.=
((seq . n) - (seq . m)) + ((seq . k) - (seq . k))
by RLVECT_1:5
.=
(seq . n) - ((seq . m) - ((seq . k) - (seq . k)))
by RLVECT_1:29
.=
(seq . n) - (((seq . m) - (seq . k)) + (seq . k))
by RLVECT_1:29
.=
(seq . n) - ((seq . k) - ((seq . k) - (seq . m)))
by RLVECT_1:33
.=
((seq . n) - (seq . k)) + ((seq . k) + (- (seq . m)))
by RLVECT_1:29
.=
(setsum Y01) + (- (setsum Y02))
by A77, A78, RLVECT_1:33
;
then
||.((seq . n) - (seq . m)).|| <= ||.(setsum Y01).|| + ||.(- (setsum Y02)).||
by BHSP_1:30;
then A79:
||.((seq . n) - (seq . m)).|| <= ||.(setsum Y01).|| + ||.(setsum Y02).||
by BHSP_1:31;
||.(setsum Y01).|| < 1
/ (k + 1)
by A33, A44, A74, A75;
then
||.(setsum Y01).|| < e / 2
by A39, XXREAL_0:2;
then
||.(setsum Y01).|| + ||.(setsum Y02).|| < (e / 2) + (e / 2)
by A72, XREAL_1:8;
hence
||.((seq . n) - (seq . m)).|| < e
by A79, XXREAL_0:2;
verum end; end; end; hence
||.((seq . n) - (seq . m)).|| < e
;
verum end; end; end; hence
||.((seq . nn) - (seq . mm)).|| < e
;
verum end; hence
ex
k being
Nat st
for
n,
m being
Nat st
n >= k &
m >= k holds
||.((seq . n) - (seq . m)).|| < e
;
verum end; then
seq is
Cauchy
by BHSP_3:2;
then
seq is
convergent
by BHSP_3:def 4;
then consider x being
Point of
X such that A80:
for
r being
Real st
r > 0 holds
ex
m being
Nat st
for
n being
Nat st
n >= m holds
||.((seq . n) - x).|| < r
by BHSP_2:9;
hence
Y is
summable_set
;
verum end;
hence
( Y is summable_set iff for e being Real st e > 0 holds
ex Y0 being finite Subset of X st
( not Y0 is empty & Y0 c= Y & ( for Y1 being finite Subset of X st not Y1 is empty & Y1 c= Y & Y0 misses Y1 holds
||.(setsum Y1).|| < e ) ) )
by A2; verum