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;
A9: (Partial_Sums (Prob * (A ^\ s))) . 0 = (Prob * (A ^\ s)) . 0 by SERIES_1:def 1;
A10: dom (Prob * (A ^\ s)) = NAT by FUNCT_2:def 1;
A11: (Prob * (A ^\ s)) . 0 = Prob . ((A ^\ s) . 0) by A10, FUNCT_1:12;
A12: Prob . ((Partial_Union (A ^\ s)) . 0) = Prob . ((A ^\ s) . 0) by PROB_3:def 2;
A13: dom (Prob * (Partial_Union (A ^\ s))) = NAT by FUNCT_2:def 1;
A14: S1[ 0 ] by A13, A12, A11, A9, FUNCT_1:12;
A15: 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 A16: (Prob * (Partial_Union (A ^\ s))) . k <= (Partial_Sums (Prob * (A ^\ s))) . k ; :: thesis: S1[k + 1]
A17: dom (Prob * (Partial_Union (A ^\ s))) = NAT by FUNCT_2:def 1;
A18: 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 A19: (Prob * (A ^\ s)) . (k + 1) = Prob . ((A ^\ s) . (k + 1)) by FUNCT_1:12;
A20: ( 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;
A21: ( (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;
A22: ( (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;
A23: Prob . ((Partial_Union (A ^\ s)) . (k + 1)) <= (Partial_Sums (Prob * (A ^\ s))) . (k + 1) by A18, A19, A20, A17, A16, A21, A22, 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 A23, FUNCT_1:12; :: thesis: verum
end;
for k being Element of NAT holds S1[k] from NAT_1:sch 1(A14, A15);
hence (Prob * (Partial_Union (A ^\ s))) . n <= (Partial_Sums (Prob * (A ^\ s))) . n ; :: thesis: verum
end;
A24: 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;
A25: 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 A26: (Prob * (A ^\ n)) . k = Prob . ((A ^\ n) . k) by FUNCT_1:12;
dom (Prob * A) = NAT by FUNCT_2:def 1;
then A27: 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 A26, A27, NAT_1:def 3; :: thesis: verum
end;
hence Prob * (A ^\ n) = (Prob * A) ^\ n by FUNCT_2:63; :: thesis: verum
end;
A28: 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 A25;
hence Partial_Sums (Prob * (A ^\ n)) is convergent by A24; :: thesis: verum
end;
A29: 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)))
A30: for k being Element of NAT holds (Prob * (Partial_Union (A ^\ n))) . k <= (Partial_Sums (Prob * (A ^\ n))) . k by A8;
A31: Prob * (Partial_Union (A ^\ n)) is convergent by PROB_3:41;
Partial_Sums (Prob * (A ^\ n)) is convergent by A28;
hence lim (Prob * (Partial_Union (A ^\ n))) <= lim (Partial_Sums (Prob * (A ^\ n))) by A31, A30, SEQ_2:18; :: thesis: verum
end;
A32: 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 A29;
hence Prob . (Union (A ^\ n)) <= lim (Partial_Sums (Prob * (A ^\ n))) by PROB_3:41; :: thesis: verum
end;
A33: 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 A32; :: thesis: verum
end;
A34: 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
A35: dom (Prob * (Union_Shift_Seq A)) = NAT by FUNCT_2:def 1;
A36: (Prob * (Union_Shift_Seq A)) . n = Prob . ((Union_Shift_Seq A) . n) by A35, FUNCT_1:12;
A37: Prob . (Union (A ^\ n)) <= Sum (Prob * (A ^\ n)) by A33;
Sum (Prob * (A ^\ n)) = (Sum_Shift_Seq (Prob,A)) . n by Def11;
hence (Prob * (Union_Shift_Seq A)) . n <= (Sum_Shift_Seq (Prob,A)) . n by Def7, A36, A37; :: thesis: verum
end;
A38: 0 <= lim (Prob * (Partial_Intersection (Union_Shift_Seq A))) by A7, A3, SEQ_2:17;
A39: ( Sum_Shift_Seq (Prob,A) is convergent implies lim (Prob * (Partial_Intersection (Union_Shift_Seq A))) <= lim (Sum_Shift_Seq (Prob,A)) )
proof
assume A40: Sum_Shift_Seq (Prob,A) is convergent ; :: thesis: lim (Prob * (Partial_Intersection (Union_Shift_Seq A))) <= lim (Sum_Shift_Seq (Prob,A))
A41: 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;
A48: 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 A49: Partial_Sums (Prob * A) is convergent ; :: thesis: ( 0 = lim (Sum_Shift_Seq (Prob,A)) & Sum_Shift_Seq (Prob,A) is convergent )
then A50: Prob * A is summable by SERIES_1:def 2;
A51: 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 A50, SERIES_1:15;
hence (Sum (Prob * A)) - (Sum ((Prob * A) ^\ (n + 1))) = (Partial_Sums (Prob * A)) . n ; :: thesis: verum
end;
A52: 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))
A53: ((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n) = ((Partial_Sums (Prob * A)) . m) - ((Sum (Prob * A)) - (Sum ((Prob * A) ^\ (n + 1)))) by A51;
A54: ((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 A51, A53;
A55: ((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n) = (Sum ((Prob * A) ^\ (n + 1))) - (Sum ((Prob * A) ^\ (m + 1))) by A54;
A56: 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 A57: (Prob * (A ^\ n)) . k = Prob . ((A ^\ n) . k) by FUNCT_1:12;
dom (Prob * A) = NAT by FUNCT_2:def 1;
then A58: 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 A57, A58, NAT_1:def 3; :: thesis: verum
end;
hence Prob * (A ^\ n) = (Prob * A) ^\ n by FUNCT_2:63; :: thesis: verum
end;
A59: 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))
A60: ((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 Def11;
hence ((Sum_Shift_Seq (Prob,A)) ^\ 1) . n = Sum ((Prob * A) ^\ (n + 1)) by A56, A60; :: thesis: verum
end;
A61: 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 A55, A59;
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 A59; :: 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 A62: - 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 A62, 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 A63: (((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 A63, 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 A61; :: thesis: verum
end;
A64: ( ( 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 A65: 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 A66: 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
A67: for m being Element of NAT st n <= m holds
abs (((Partial_Sums (Prob * A)) . m) - ((Partial_Sums (Prob * A)) . n)) < sr by A65, A66;
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 A68: 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 A68, A52;
hence abs ((((Sum_Shift_Seq (Prob,A)) ^\ 1) . m) - (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n)) < sr by A67, A68; :: thesis: verum
end;
A69: ( Partial_Sums (Prob * A) is convergent & (Sum_Shift_Seq (Prob,A)) ^\ 1 is convergent ) by A49, A64, SEQ_4:41;
A70: dom (((Sum_Shift_Seq (Prob,A)) ^\ 1) + (Partial_Sums (Prob * A))) = NAT by FUNCT_2:def 1;
consider B being Real_Sequence such that
A71: B = ((Sum_Shift_Seq (Prob,A)) ^\ 1) + (Partial_Sums (Prob * A)) ;
set B1 = NAT --> (Sum (Prob * A));
A72: Prob * A is summable by A49, SERIES_1:def 2;
A73: 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
A74: 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))
A75: ((Sum_Shift_Seq (Prob,A)) ^\ 1) . n = (Sum_Shift_Seq (Prob,A)) . (n + 1) by NAT_1:def 3;
A76: 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 A77: (Prob * (A ^\ n)) . k = Prob . ((A ^\ n) . k) by FUNCT_1:12;
dom (Prob * A) = NAT by FUNCT_2:def 1;
then A78: 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 A77, A78, 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 Def11;
hence ((Sum_Shift_Seq (Prob,A)) ^\ 1) . n = Sum ((Prob * A) ^\ (n + 1)) by A75, A76; :: thesis: verum
end;
A79: ((Sum_Shift_Seq (Prob,A)) ^\ 1) . n = Sum ((Prob * A) ^\ (n + 1)) by A74;
Sum (Prob * A) = ((Partial_Sums (Prob * A)) . n) + (Sum ((Prob * A) ^\ (n + 1))) by A72, SERIES_1:15;
then (NAT --> (Sum (Prob * A))) . n = ((Partial_Sums (Prob * A)) . n) + (((Sum_Shift_Seq (Prob,A)) ^\ 1) . n) by A79, FUNCOP_1:7;
hence (NAT --> (Sum (Prob * A))) . n = B . n by A70, A71, VALUED_1:def 1; :: thesis: verum
end;
A80: 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 A73; :: thesis: verum
end;
hence lim (NAT --> (Sum (Prob * A))) = lim B by SEQ_4:19; :: thesis: verum
end;
A81: Sum (Prob * A) = (NAT --> (Sum (Prob * A))) . 1 by FUNCOP_1:7
.= lim B by A80, SEQ_4:26 ;
A82: lim B = (lim ((Sum_Shift_Seq (Prob,A)) ^\ 1)) + (lim (Partial_Sums (Prob * A))) by A71, A69, SEQ_2:6;
Sum (Prob * A) = (lim ((Sum_Shift_Seq (Prob,A)) ^\ 1)) + (Sum (Prob * A)) by A81, A82, SERIES_1:def 3;
hence ( 0 = lim (Sum_Shift_Seq (Prob,A)) & Sum_Shift_Seq (Prob,A) is convergent ) by A69, 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, A48;
hence ( Prob . (@lim_sup A) = 0 & lim (Sum_Shift_Seq (Prob,A)) = 0 & Sum_Shift_Seq (Prob,A) is convergent ) by A5, A7, A38, A39, PROB_2:def 1; :: thesis: verum