let Omega be non empty set ; :: thesis: for Sigma being SigmaField of Omega
for Prob being Probability of Sigma
for A being SetSequence of Sigma st Partial_Sums (Prob * A) is convergent holds
( Prob . (@lim_sup A) = 0 & lim (Sum_Shift_Seq (Prob,A)) = 0 & Sum_Shift_Seq (Prob,A) is convergent )

let Sigma be SigmaField of Omega; :: thesis: for Prob being Probability of Sigma
for A being SetSequence of Sigma st Partial_Sums (Prob * A) is convergent holds
( Prob . (@lim_sup A) = 0 & lim (Sum_Shift_Seq (Prob,A)) = 0 & Sum_Shift_Seq (Prob,A) is convergent )

let Prob be Probability of Sigma; :: thesis: for A being SetSequence of Sigma st Partial_Sums (Prob * A) is convergent holds
( Prob . (@lim_sup A) = 0 & lim (Sum_Shift_Seq (Prob,A)) = 0 & Sum_Shift_Seq (Prob,A) is convergent )

let A be SetSequence of Sigma; :: thesis: ( Partial_Sums (Prob * A) is convergent implies ( Prob . (@lim_sup A) = 0 & lim (Sum_Shift_Seq (Prob,A)) = 0 & Sum_Shift_Seq (Prob,A) is convergent ) )
assume A1: Partial_Sums (Prob * A) is convergent ; :: thesis: ( Prob . (@lim_sup A) = 0 & lim (Sum_Shift_Seq (Prob,A)) = 0 & Sum_Shift_Seq (Prob,A) is convergent )
A2: Prob * A is summable by A1, SERIES_1:def 2;
A3: for n being Element of NAT holds 0 <= (Prob * (Partial_Intersection (Union_Shift_Seq A))) . n
proof end;
A5: Intersection (Partial_Intersection (Union_Shift_Seq A)) = Intersection (Union_Shift_Seq A) by PROB_3:29;
A6: Partial_Intersection (Union_Shift_Seq A) is non-ascending by PROB_3:27;
A7: ( lim (Prob * (Partial_Intersection (Union_Shift_Seq A))) = Prob . (Intersection (Partial_Intersection (Union_Shift_Seq A))) & Prob * (Partial_Intersection (Union_Shift_Seq A)) is convergent ) by A6, PROB_1:def 8;
A8: for A being SetSequence of Sigma
for n, s being Element of NAT holds (Prob * (Partial_Union (A ^\ s))) . n <= (Partial_Sums (Prob * (A ^\ s))) . n
proof
let A be SetSequence of Sigma; :: thesis: for n, s being Element of NAT holds (Prob * (Partial_Union (A ^\ s))) . n <= (Partial_Sums (Prob * (A ^\ s))) . n
let n, s be Element of NAT ; :: thesis: (Prob * (Partial_Union (A ^\ s))) . n <= (Partial_Sums (Prob * (A ^\ s))) . n
defpred S1[ set ] means (Prob * (Partial_Union (A ^\ s))) . $1 <= (Partial_Sums (Prob * (A ^\ s))) . $1;
A10: (Partial_Sums (Prob * (A ^\ s))) . 0 = (Prob * (A ^\ s)) . 0 by SERIES_1:def 1;
A11: dom (Prob * (A ^\ s)) = NAT by FUNCT_2:def 1;
A12: (Prob * (A ^\ s)) . 0 = Prob . ((A ^\ s) . 0) by A11, FUNCT_1:12;
A13: Prob . ((Partial_Union (A ^\ s)) . 0) = Prob . ((A ^\ s) . 0) by PROB_3:def 2;
A14: dom (Prob * (Partial_Union (A ^\ s))) = NAT by FUNCT_2:def 1;
A15: S1[ 0 ] by A14, A13, A12, A10, FUNCT_1:12;
A16: for k being Element of NAT st S1[k] holds
S1[k + 1]
proof
let k be Element of NAT ; :: thesis: ( S1[k] implies S1[k + 1] )
assume A17: (Prob * (Partial_Union (A ^\ s))) . k <= (Partial_Sums (Prob * (A ^\ s))) . k ; :: thesis: S1[k + 1]
A18: dom (Prob * (Partial_Union (A ^\ s))) = NAT by FUNCT_2:def 1;
A20: Prob . (((Partial_Union (A ^\ s)) . k) \/ ((A ^\ s) . (k + 1))) <= (Prob . ((Partial_Union (A ^\ s)) . k)) + (Prob . ((A ^\ s) . (k + 1))) by PROB_1:39;
dom (Prob * (A ^\ s)) = NAT by FUNCT_2:def 1;
then A21: (Prob * (A ^\ s)) . (k + 1) = Prob . ((A ^\ s) . (k + 1)) by FUNCT_1:12;
A22: ( Prob . ((Partial_Union (A ^\ s)) . (k + 1)) <= (Prob . ((Partial_Union (A ^\ s)) . k)) + ((Prob * (A ^\ s)) . (k + 1)) implies (Prob . ((Partial_Union (A ^\ s)) . (k + 1))) - (Prob . ((Partial_Union (A ^\ s)) . k)) <= (Prob * (A ^\ s)) . (k + 1) ) by XREAL_1:20;
A23: ( (Prob . ((Partial_Union (A ^\ s)) . (k + 1))) - ((Prob * (A ^\ s)) . (k + 1)) <= Prob . ((Partial_Union (A ^\ s)) . k) & Prob . ((Partial_Union (A ^\ s)) . k) <= (Partial_Sums (Prob * (A ^\ s))) . k implies (Prob . ((Partial_Union (A ^\ s)) . (k + 1))) - ((Prob * (A ^\ s)) . (k + 1)) <= (Partial_Sums (Prob * (A ^\ s))) . k ) by XXREAL_0:2;
A24: ( (Prob . ((Partial_Union (A ^\ s)) . (k + 1))) - ((Prob * (A ^\ s)) . (k + 1)) <= (Partial_Sums (Prob * (A ^\ s))) . k implies Prob . ((Partial_Union (A ^\ s)) . (k + 1)) <= ((Partial_Sums (Prob * (A ^\ s))) . k) + ((Prob * (A ^\ s)) . (k + 1)) ) by XREAL_1:20;
A25: Prob . ((Partial_Union (A ^\ s)) . (k + 1)) <= (Partial_Sums (Prob * (A ^\ s))) . (k + 1) by A20, A21, A22, A18, A17, A23, A24, FUNCT_1:12, PROB_3:def 2, SERIES_1:def 1, XREAL_1:12;
dom (Prob * (Partial_Union (A ^\ s))) = NAT by FUNCT_2:def 1;
hence S1[k + 1] by A25, FUNCT_1:12; :: thesis: verum
end;
for k being Element of NAT holds S1[k] from NAT_1:sch 1(A15, A16);
hence (Prob * (Partial_Union (A ^\ s))) . n <= (Partial_Sums (Prob * (A ^\ s))) . n ; :: thesis: verum
end;
A26: for k being Element of NAT holds Partial_Sums ((Prob * A) ^\ k) is convergent
proof
let k be Element of NAT ; :: thesis: Partial_Sums ((Prob * A) ^\ k) is convergent
(Prob * A) ^\ k is summable by A2, SERIES_1:12;
hence Partial_Sums ((Prob * A) ^\ k) is convergent by SERIES_1:def 2; :: thesis: verum
end;
A27: for A being SetSequence of Sigma
for n being Element of NAT holds Prob * (A ^\ n) = (Prob * A) ^\ n
proof
let A be SetSequence of Sigma; :: thesis: for n being Element of NAT holds Prob * (A ^\ n) = (Prob * A) ^\ n
let n be Element of NAT ; :: thesis: Prob * (A ^\ n) = (Prob * A) ^\ n
for k being Element of NAT holds (Prob * (A ^\ n)) . k = ((Prob * A) ^\ n) . k
proof
let k be Element of NAT ; :: thesis: (Prob * (A ^\ n)) . k = ((Prob * A) ^\ n) . k
dom (Prob * (A ^\ n)) = NAT by FUNCT_2:def 1;
then A28: (Prob * (A ^\ n)) . k = Prob . ((A ^\ n) . k) by FUNCT_1:12;
dom (Prob * A) = NAT by FUNCT_2:def 1;
then A29: Prob . (A . (n + k)) = (Prob * A) . (n + k) by FUNCT_1:12;
(Prob * A) . (k + n) = ((Prob * A) ^\ n) . k by NAT_1:def 3;
hence (Prob * (A ^\ n)) . k = ((Prob * A) ^\ n) . k by A28, A29, NAT_1:def 3; :: thesis: verum
end;
hence Prob * (A ^\ n) = (Prob * A) ^\ n by FUNCT_2:63; :: thesis: verum
end;
A30: for n being Element of NAT holds Partial_Sums (Prob * (A ^\ n)) is convergent
proof
let n be Element of NAT ; :: thesis: Partial_Sums (Prob * (A ^\ n)) is convergent
Partial_Sums (Prob * (A ^\ n)) = Partial_Sums ((Prob * A) ^\ n) by A27;
hence Partial_Sums (Prob * (A ^\ n)) is convergent by A26; :: thesis: verum
end;
A31: for n being Element of NAT holds lim (Prob * (Partial_Union (A ^\ n))) <= lim (Partial_Sums (Prob * (A ^\ n)))
proof
let n be Element of NAT ; :: thesis: lim (Prob * (Partial_Union (A ^\ n))) <= lim (Partial_Sums (Prob * (A ^\ n)))
A32: for k being Element of NAT holds (Prob * (Partial_Union (A ^\ n))) . k <= (Partial_Sums (Prob * (A ^\ n))) . k by A8;
A33: Prob * (Partial_Union (A ^\ n)) is convergent by PROB_3:41;
Partial_Sums (Prob * (A ^\ n)) is convergent by A30;
hence lim (Prob * (Partial_Union (A ^\ n))) <= lim (Partial_Sums (Prob * (A ^\ n))) by A33, A32, SEQ_2:18; :: thesis: verum
end;
A34: for n being Element of NAT holds Prob . (Union (A ^\ n)) <= lim (Partial_Sums (Prob * (A ^\ n)))
proof
let n be Element of NAT ; :: thesis: Prob . (Union (A ^\ n)) <= lim (Partial_Sums (Prob * (A ^\ n)))
lim (Prob * (Partial_Union (A ^\ n))) <= lim (Partial_Sums (Prob * (A ^\ n))) by A31;
hence Prob . (Union (A ^\ n)) <= lim (Partial_Sums (Prob * (A ^\ n))) by PROB_3:41; :: thesis: verum
end;
A35: for n being Element of NAT holds Prob . (Union (A ^\ n)) <= Sum (Prob * (A ^\ n))
proof
let n be Element of NAT ; :: thesis: Prob . (Union (A ^\ n)) <= Sum (Prob * (A ^\ n))
lim (Partial_Sums (Prob * (A ^\ n))) = Sum (Prob * (A ^\ n)) by SERIES_1:def 3;
hence Prob . (Union (A ^\ n)) <= Sum (Prob * (A ^\ n)) by A34; :: thesis: verum
end;
A36: for n being Element of NAT holds (Prob * (Union_Shift_Seq A)) . n <= (Sum_Shift_Seq (Prob,A)) . n
proof
let n be Element of NAT ; :: thesis: (Prob * (Union_Shift_Seq A)) . n <= (Sum_Shift_Seq (Prob,A)) . n
A37: dom (Prob * (Union_Shift_Seq A)) = NAT by FUNCT_2:def 1;
A38: (Prob * (Union_Shift_Seq A)) . n = Prob . ((Union_Shift_Seq A) . n) by A37, FUNCT_1:12;
A39: Prob . (Union (A ^\ n)) <= Sum (Prob * (A ^\ n)) by A35;
Sum (Prob * (A ^\ n)) = (Sum_Shift_Seq (Prob,A)) . n by Def15;
hence (Prob * (Union_Shift_Seq A)) . n <= (Sum_Shift_Seq (Prob,A)) . n by Def9, A38, A39; :: thesis: verum
end;
A40: 0 <= lim (Prob * (Partial_Intersection (Union_Shift_Seq A))) by A7, A3, SEQ_2:17;
A41: ( Sum_Shift_Seq (Prob,A) is convergent implies lim (Prob * (Partial_Intersection (Union_Shift_Seq A))) <= lim (Sum_Shift_Seq (Prob,A)) )
proof
assume A42: Sum_Shift_Seq (Prob,A) is convergent ; :: thesis: lim (Prob * (Partial_Intersection (Union_Shift_Seq A))) <= lim (Sum_Shift_Seq (Prob,A))
A43: for n being Element of NAT holds (Prob * (Partial_Intersection (Union_Shift_Seq A))) . n <= (Prob * (Union_Shift_Seq A)) . n
proof end;
lim (Prob * (Partial_Intersection (Union_Shift_Seq A))) <= lim (Sum_Shift_Seq (Prob,A))
proof end;
hence lim (Prob * (Partial_Intersection (Union_Shift_Seq A))) <= lim (Sum_Shift_Seq (Prob,A)) ; :: thesis: verum
end;
A50: for A being SetSequence of Sigma st Partial_Sums (Prob * A) is convergent holds
( 0 = lim (Sum_Shift_Seq (Prob,A)) & Sum_Shift_Seq (Prob,A) is convergent )
proof
let A be SetSequence of Sigma; :: thesis: ( Partial_Sums (Prob * A) is convergent implies ( 0 = lim (Sum_Shift_Seq (Prob,A)) & Sum_Shift_Seq (Prob,A) is convergent ) )
assume A51: Partial_Sums (Prob * A) is convergent ; :: thesis: ( 0 = lim (Sum_Shift_Seq (Prob,A)) & Sum_Shift_Seq (Prob,A) is convergent )
then A52: Prob * A is summable by SERIES_1:def 2;
A53: for n being Element of NAT holds (Sum (Prob * A)) - (Sum ((Prob * A) ^\ (n + 1))) = (Partial_Sums (Prob * A)) . n
proof
let n be Element of NAT ; :: thesis: (Sum (Prob * A)) - (Sum ((Prob * A) ^\ (n + 1))) = (Partial_Sums (Prob * A)) . n
(Sum (Prob * A)) - (Sum ((Prob * A) ^\ (n + 1))) = (((Partial_Sums (Prob * A)) . n) + (Sum ((Prob * A) ^\ (n + 1)))) - (Sum ((Prob * A) ^\ (n + 1))) by A52, SERIES_1:15;
hence (Sum (Prob * A)) - (Sum ((Prob * A) ^\ (n + 1))) = (Partial_Sums (Prob * A)) . n ; :: thesis: verum
end;
A54: for n, m being Element of NAT st n <= m holds
abs (((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n)) = abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n))
proof
let n, m be Element of NAT ; :: thesis: ( n <= m implies abs (((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n)) = abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) )
assume n <= m ; :: thesis: abs (((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n)) = abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n))
A55: ((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n) = ((Partial_Sums (Prob * A)) . m) - ((Sum (Prob * A)) - (Sum ((Prob * A) ^\ (n + 1)))) by A53;
A56: ((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n) = ((Sum (Prob * A)) - (Sum ((Prob * A) ^\ (m + 1)))) - ((Sum (Prob * A)) - (Sum ((Prob * A) ^\ (n + 1)))) by A53, A55;
A57: ((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n) = (Sum ((Prob * A) ^\ (n + 1))) - (Sum ((Prob * A) ^\ (m + 1))) by A56;
A58: for A being SetSequence of Sigma
for n being Element of NAT holds Prob * (A ^\ n) = (Prob * A) ^\ n
proof
let A be SetSequence of Sigma; :: thesis: for n being Element of NAT holds Prob * (A ^\ n) = (Prob * A) ^\ n
let n be Element of NAT ; :: thesis: Prob * (A ^\ n) = (Prob * A) ^\ n
for k being Element of NAT holds (Prob * (A ^\ n)) . k = ((Prob * A) ^\ n) . k
proof
let k be Element of NAT ; :: thesis: (Prob * (A ^\ n)) . k = ((Prob * A) ^\ n) . k
dom (Prob * (A ^\ n)) = NAT by FUNCT_2:def 1;
then A59: (Prob * (A ^\ n)) . k = Prob . ((A ^\ n) . k) by FUNCT_1:12;
dom (Prob * A) = NAT by FUNCT_2:def 1;
then A60: Prob . (A . (n + k)) = (Prob * A) . (n + k) by FUNCT_1:12;
(Prob * A) . (k + n) = ((Prob * A) ^\ n) . k by NAT_1:def 3;
hence (Prob * (A ^\ n)) . k = ((Prob * A) ^\ n) . k by A59, A60, NAT_1:def 3; :: thesis: verum
end;
hence Prob * (A ^\ n) = (Prob * A) ^\ n by FUNCT_2:63; :: thesis: verum
end;
A61: for n being Element of NAT holds ((Sum_Shift_Seq (Prob,A)) ^\ 1) . n = Sum ((Prob * A) ^\ (n + 1))
proof
let n be Element of NAT ; :: thesis: ((Sum_Shift_Seq (Prob,A)) ^\ 1) . n = Sum ((Prob * A) ^\ (n + 1))
A62: ((Sum_Shift_Seq (Prob,A)) ^\ 1) . n = (Sum_Shift_Seq (Prob,A)) . (n + 1) by NAT_1:def 3;
(Sum_Shift_Seq (Prob,A)) . (n + 1) = Sum (Prob * (A ^\ (n + 1))) by Def15;
hence ((Sum_Shift_Seq (Prob,A)) ^\ 1) . n = Sum ((Prob * A) ^\ (n + 1)) by A58, A62; :: thesis: verum
end;
A64: abs (((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n)) = abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m))
proof
((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n) = (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (Sum ((Prob * A) ^\ (m + 1))) by A57, A61;
hence abs (((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n)) = abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m)) by A61; :: thesis: verum
end;
abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m)) = abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n))
proof
per cases ( (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) = 0 or 0 < (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) or (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) < 0 ) ;
suppose (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) = 0 ; :: thesis: abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m)) = abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n))
hence abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m)) = abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) ; :: thesis: verum
end;
suppose 0 < (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) ; :: thesis: abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m)) = abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n))
then A65: - 0 > - ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m)) ;
abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) = - ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) by A65, ABSVALUE:def 1;
hence abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m)) = abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) ; :: thesis: verum
end;
suppose A66: (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) < 0 ; :: thesis: abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m)) = abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n))
abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m)) = - ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m)) by A66, ABSVALUE:def 1;
hence abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . m)) = abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) ; :: thesis: verum
end;
end;
end;
hence abs (((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n)) = abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) by A64; :: thesis: verum
end;
A67: ( ( for sr being real number st 0 < sr holds
ex n being Element of NAT st
for m being Element of NAT st n <= m holds
abs (((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n)) < sr ) implies for sr being real number st 0 < sr holds
ex n being Element of NAT st
for m being Element of NAT st n <= m holds
abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) < sr )
proof
assume A68: for sr being real number st 0 < sr holds
ex n being Element of NAT st
for m being Element of NAT st n <= m holds
abs (((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n)) < sr ; :: thesis: for sr being real number st 0 < sr holds
ex n being Element of NAT st
for m being Element of NAT st n <= m holds
abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) < sr

let sr be real number ; :: thesis: ( 0 < sr implies ex n being Element of NAT st
for m being Element of NAT st n <= m holds
abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) < sr )

assume A69: 0 < sr ; :: thesis: ex n being Element of NAT st
for m being Element of NAT st n <= m holds
abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) < sr

consider n being Element of NAT such that
A70: for m being Element of NAT st n <= m holds
abs (((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n)) < sr by A68, A69;
take n ; :: thesis: for m being Element of NAT st n <= m holds
abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) < sr

let m be Element of NAT ; :: thesis: ( n <= m implies abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) < sr )
assume A71: n <= m ; :: thesis: abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) < sr
abs (((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n)) = abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) by A71, A54;
hence abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) < sr by A70, A71; :: thesis: verum
end;
A72: ( Partial_Sums (Prob * A) is convergent & (Sum_Shift_Seq (Prob,A)) ^\ 1 is convergent ) by A51, A67, SEQ_4:41;
A73: dom (((Sum_Shift_Seq (Prob,A)) ^\ 1) + (Partial_Sums (Prob * A))) = NAT by FUNCT_2:def 1;
consider B being Real_Sequence such that
A74: B = ((Sum_Shift_Seq (Prob,A)) ^\ 1) + (Partial_Sums (Prob * A)) ;
set B1 = NAT --> (Sum (Prob * A));
A75: Prob * A is summable by A51, SERIES_1:def 2;
A76: for n being Element of NAT holds (NAT --> (Sum (Prob * A))) . n = B . n
proof
let n be Element of NAT ; :: thesis: (NAT --> (Sum (Prob * A))) . n = B . n
A77: for n being Element of NAT holds ((Sum_Shift_Seq (Prob,A)) ^\ 1) . n = Sum ((Prob * A) ^\ (n + 1))
proof
let n be Element of NAT ; :: thesis: ((Sum_Shift_Seq (Prob,A)) ^\ 1) . n = Sum ((Prob * A) ^\ (n + 1))
A78: ((Sum_Shift_Seq (Prob,A)) ^\ 1) . n = (Sum_Shift_Seq (Prob,A)) . (n + 1) by NAT_1:def 3;
A79: for A being SetSequence of Sigma
for n being Element of NAT holds Prob * (A ^\ n) = (Prob * A) ^\ n
proof
let A be SetSequence of Sigma; :: thesis: for n being Element of NAT holds Prob * (A ^\ n) = (Prob * A) ^\ n
let n be Element of NAT ; :: thesis: Prob * (A ^\ n) = (Prob * A) ^\ n
for k being Element of NAT holds (Prob * (A ^\ n)) . k = ((Prob * A) ^\ n) . k
proof
let k be Element of NAT ; :: thesis: (Prob * (A ^\ n)) . k = ((Prob * A) ^\ n) . k
dom (Prob * (A ^\ n)) = NAT by FUNCT_2:def 1;
then A80: (Prob * (A ^\ n)) . k = Prob . ((A ^\ n) . k) by FUNCT_1:12;
dom (Prob * A) = NAT by FUNCT_2:def 1;
then A81: Prob . (A . (n + k)) = (Prob * A) . (n + k) by FUNCT_1:12;
(Prob * A) . (k + n) = ((Prob * A) ^\ n) . k by NAT_1:def 3;
hence (Prob * (A ^\ n)) . k = ((Prob * A) ^\ n) . k by A80, A81, NAT_1:def 3; :: thesis: verum
end;
hence Prob * (A ^\ n) = (Prob * A) ^\ n by FUNCT_2:63; :: thesis: verum
end;
(Sum_Shift_Seq (Prob,A)) . (n + 1) = Sum (Prob * (A ^\ (n + 1))) by Def15;
hence ((Sum_Shift_Seq (Prob,A)) ^\ 1) . n = Sum ((Prob * A) ^\ (n + 1)) by A78, A79; :: thesis: verum
end;
A82: ((Sum_Shift_Seq (Prob,A)) ^\ 1) . n = Sum ((Prob * A) ^\ (n + 1)) by A77;
Sum (Prob * A) = ((Partial_Sums (Prob * A)) . n) + (Sum ((Prob * A) ^\ (n + 1))) by A75, SERIES_1:15;
then (NAT --> (Sum (Prob * A))) . n = ((Partial_Sums (Prob * A)) . n) + (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) by A82, FUNCOP_1:7;
hence (NAT --> (Sum (Prob * A))) . n = B . n by A73, A74, VALUED_1:def 1; :: thesis: verum
end;
A83: lim (NAT --> (Sum (Prob * A))) = lim B
proof
ex k being Element of NAT st
for n being Element of NAT st k <= n holds
(NAT --> (Sum (Prob * A))) . n = B . n
proof
take 1 ; :: thesis: for n being Element of NAT st 1 <= n holds
(NAT --> (Sum (Prob * A))) . n = B . n

thus for n being Element of NAT st 1 <= n holds
(NAT --> (Sum (Prob * A))) . n = B . n by A76; :: thesis: verum
end;
hence lim (NAT --> (Sum (Prob * A))) = lim B by SEQ_4:19; :: thesis: verum
end;
A84: Sum (Prob * A) = (NAT --> (Sum (Prob * A))) . 1 by FUNCOP_1:7
.= lim B by A83, SEQ_4:26 ;
A85: lim B = (lim ((Sum_Shift_Seq (Prob,A)) ^\ 1)) + (lim (Partial_Sums (Prob * A))) by A74, A72, SEQ_2:6;
Sum (Prob * A) = (lim ((Sum_Shift_Seq (Prob,A)) ^\ 1)) + (Sum (Prob * A)) by A84, A85, SERIES_1:def 3;
hence ( 0 = lim (Sum_Shift_Seq (Prob,A)) & Sum_Shift_Seq (Prob,A) is convergent ) by A72, SEQ_4:21, SEQ_4:22; :: thesis: verum
end;
( lim (Sum_Shift_Seq (Prob,A)) = 0 & Sum_Shift_Seq (Prob,A) is convergent ) by A1, A50;
hence ( Prob . (@lim_sup A) = 0 & lim (Sum_Shift_Seq (Prob,A)) = 0 & Sum_Shift_Seq (Prob,A) is convergent ) by A5, A7, A40, A41, PROB_2:def 1; :: thesis: verum