:: Set Sequences and Monotone Class
:: by Bo Zhang , Hiroshi Yamazaki and Yatsuka Nakamura
::
:: Received August 12, 2005
:: Copyright (c) 2005-2026 Association of Mizar Users
:: (Stowarzyszenie Uzytkownikow Mizara, Bialystok, Poland).
:: This code can be distributed under the GNU General Public Licence
:: version 3.0 or later, or the Creative Commons Attribution-ShareAlike
:: License version 3.0 or later, subject to the binding interpretation
:: detailed in file COPYING.interpretation.
:: See COPYING.GPL and COPYING.CC-BY-SA for the full text of these
:: licenses, or see http://www.gnu.org/licenses/gpl.html and
:: http://creativecommons.org/licenses/by-sa/3.0/.
environ
vocabularies NUMBERS, NAT_1, XREAL_0, PROB_1, FINSEQ_1, ZFMISC_1, XBOOLE_0,
CARD_1, ARYTM_3, XXREAL_0, ARYTM_1, RELAT_1, SEQ_1, FUNCT_1, SEQ_2,
ORDINAL2, SUBSET_1, COMPLEX1, RPR_1, TARSKI, VALUED_0, EQREL_1, CARD_3,
PROB_2, SERIES_1, XXREAL_2, FINSEQ_2, SETFAM_1, BINOP_2, SETWISEO,
FINSOP_1, SEQM_3, SETLIM_2, PROB_3, SEQ_4, REAL_1;
notations FINSEQ_1, ORDINAL1, CARD_3, REAL_1, RELAT_1, TARSKI, XBOOLE_0,
RVSUM_1, FINSOP_1, SUBSET_1, NUMBERS, XCMPLX_0, XREAL_0, SETFAM_1,
VALUED_0,
BINOP_1, SETWOP_2, BINOP_2, SETWISEO, NAT_1, FINSEQ_2, COMPLEX1, SEQ_1,
COMSEQ_2, SEQ_2, FUNCT_1, RELSET_1, PARTFUN1, FUNCT_2, PROB_1, PROB_2,
KURATO_0, SETLIM_2, SEQM_3, SETLIM_1, RINFSUP1, SERIES_1, XXREAL_0;
constructors SETFAM_1, PARTFUN1, SETWISEO, XXREAL_0, REAL_1, NAT_1, BINOP_2,
COMPLEX1, SEQ_2, SEQM_3, PROB_2, FINSOP_1, RVSUM_1, SERIES_1, BINOP_1,
KURATO_0, SETLIM_1, RINFSUP1, SETLIM_2, PROB_1, RELSET_1, SETWOP_2,
COMSEQ_2;
registrations SUBSET_1, ORDINAL1, RELSET_1, NUMBERS, XREAL_0, NAT_1, PROB_1,
VALUED_0, SEQ_2, FUNCT_2, FINSEQ_1;
requirements REAL, NUMERALS, BOOLE, SUBSET, ARITHM;
definitions TARSKI, XBOOLE_0, RELAT_1, FINSEQ_1;
equalities XBOOLE_0, FINSEQ_2;
expansions TARSKI, XBOOLE_0, RELAT_1, FUNCT_2;
theorems FUNCT_1, FUNCT_2, SEQ_1, ABSVALUE, SEQ_2, SUBSET_1, NAT_1, TARSKI,
XBOOLE_0, XBOOLE_1, PROB_2, SETLIM_2, RINFSUP1, RELAT_1, SETFAM_1,
ZFMISC_1, SEQM_3, CARD_3, SETLIM_1, PROB_1, FINSUB_1, SERIES_1, FINSEQ_1,
FINSEQ_2, FINSEQ_3, RVSUM_1, FINSOP_1, SETWISEO, BINOP_2, XREAL_1,
XXREAL_0, ORDINAL1, VALUED_0, FUNCOP_1, XREAL_0;
schemes CLASSES1, NAT_1, RECDEF_1, FINSEQ_2, PARTFUN1;
begin
reserve n,m,k,i
for Nat,
g,s,t,p
for Real,
x,y,z
for object, X,Y,Z
for set,
A1
for SetSequence
of X,
F1
for FinSequence
of bool X,
RFin
for real-valued FinSequence,
Si
for SigmaField
of X,
XSeq,YSeq
for SetSequence
of Si,
Omega
for non empty set,
Sigma
for SigmaField
of Omega,
ASeq,BSeq
for SetSequence
of Sigma,
P
for Probability
of Sigma;
Lm1:
for s st
0 < s & t <= p
holds t < p+s & t-s < p
proof
let s;
assume 0<s & t <= p;
then t+
0 < p+s
by XREAL_1:
8;
hence thesis by XREAL_1:
19;
end;
theorem Th1:
for f
being FinSequence
holds not 0 in dom f
proof
let f
be FinSequence;
assume 0 in dom f;
then 0 in Seg len f
by FINSEQ_1:def
3;
hence contradiction
by FINSEQ_1:
1;
end;
theorem Th2:
for f
being FinSequence
holds n
in dom f iff n<>
0 & n <= len f
proof
let f
be FinSequence;
n
in dom f iff n>=
1 & n <= len f
by FINSEQ_3:
25;
hence thesis by NAT_1:
14;
end;
theorem Th3:
for f
being Real_Sequence st (
ex k st
for n st k<=n
holds f.n=g)
holds f
is convergent & lim f = g
proof
let f
be Real_Sequence;
given k
such that
A1:
for n st k<=n
holds f.n=g;
A2:
now
let p
such that
A3:
0 < p;
take k;
let m
be Nat;
assume k<=m;
then f.m = g
by A1;
hence |.f.m-g.|<p
by A3,ABSVALUE:
2;
end;
hence f
is convergent
by SEQ_2:def
6;
hence thesis by A2,SEQ_2:def
7;
end;
theorem Th4:
(P * ASeq).n >=
0
proof
A1: n
in NAT
by ORDINAL1:def
12;
dom (P * ASeq) = NAT
by SEQ_1:
1;
then (P * ASeq).n = P.(ASeq.n)
by A1,FUNCT_1:
12;
hence thesis by PROB_1:def
8;
end;
theorem Th5:
ASeq.n c= BSeq.n
implies (P * ASeq).n <= (P * BSeq).n
proof
A1: n
in NAT
by ORDINAL1:def
12;
assume ASeq.n c= BSeq.n;
then P.(ASeq.n) <= P.(BSeq.n)
by PROB_1:
34;
then (P * ASeq).n <= P.(BSeq.n)
by A1,FUNCT_2:
15;
hence thesis by A1,FUNCT_2:
15;
end;
theorem Th6:
ASeq
is non-descending
implies P * ASeq
is non-decreasing
proof
A1: dom (P * ASeq) = NAT
by SEQ_1:
1;
assume
A2: ASeq
is non-descending;
now
let n,m
be Nat;
assume n <= m;
then
A3: ASeq.n c= ASeq.m
by A2,PROB_1:def
5;
reconsider nn=n, mm=m as Element
of NAT
by ORDINAL1:def
12;
(P * ASeq).nn = P.(ASeq.nn) & (P * ASeq).mm = P.(ASeq.mm)
by A1,FUNCT_1:
12;
hence (P * ASeq).n <= (P * ASeq).m
by A3,PROB_1:
34;
end;
hence thesis by SEQM_3:
6;
end;
theorem Th7:
ASeq
is non-ascending
implies P * ASeq
is non-increasing
proof
A1: dom (P * ASeq) = NAT
by SEQ_1:
1;
assume
A2: ASeq
is non-ascending;
now
let n,m
be Nat;
assume n <= m;
then
A3: ASeq.m c= ASeq.n
by A2,PROB_1:def
4;
reconsider nn=n, mm=m as Element
of NAT
by ORDINAL1:def
12;
(P * ASeq).nn = P.(ASeq.nn) & (P * ASeq).mm = P.(ASeq.mm)
by A1,FUNCT_1:
12;
hence (P * ASeq).m <= (P * ASeq).n
by A3,PROB_1:
34;
end;
hence thesis by SEQM_3:
8;
end;
definition
let X
be set, A1
be SetSequence
of X;
func Partial_Intersection A1 -> SetSequence
of X means
:Def1:
it.
0 = A1.
0 &
for n
being Nat
holds it.(n+
1) = it.n /\ A1.(n+
1);
existence
proof
defpred P[set,set,set] means
for x,y
being Subset
of X,s
being Nat
holds s =
$
1 & x = $
2 & y = $
3 implies y = x /\ A1.(s+
1);
A1:
for n
being Nat
for x
being Subset
of X
ex y
being Subset
of
X st P[n,x,y]
proof
let n
be Nat;
let x
be Subset
of X;
take x /\ A1.(n+
1);
thus thesis;
end;
consider F
being SetSequence
of X
such that
A2: F.
0 = A1.
0 and
A3:
for n
being Nat
holds P[n,F.n,F.(n+
1)]
from RECDEF_1:sch
2(A1 );
take F;
thus F.
0 = A1.
0 by A2;
let n
be Nat;
reconsider n as Element
of NAT
by ORDINAL1:def
12;
P[n,F.n,F.(n+
1)]
by A3;
hence thesis;
end;
uniqueness
proof
let S1,S2
be SetSequence
of X
such that
A4: S1.
0 = A1.
0 and
A5:
for n
being Nat
holds S1.(n+
1) = S1.n /\ A1.(n+
1)
and
A6: S2.
0 = A1.
0 and
A7:
for n
being Nat
holds S2.(n+
1) = S2.n /\ A1.(n+
1);
defpred P[object] means S1.$
1 = S2.$
1;
for n
being object
holds n
in NAT
implies P[n]
proof
let n
be object;
assume n
in NAT;
then reconsider n as Element
of NAT;
A8:
for k st P[k]
holds P[k+
1]
proof
let k;
assume S1.k = S2.k;
hence S1.(k+
1) = S2.k /\ A1.(k+
1)
by A5
.= S2.(k+
1)
by A7;
end;
A9: P[
0]
by A4,A6;
for k
being Nat
holds P[k]
from NAT_1:sch
2(A9,A8);
then S1.n = S2.n;
hence thesis;
end;
hence thesis;
end;
end;
definition
let X
be set, A1
be SetSequence
of X;
func Partial_Union A1 -> SetSequence
of X means
:Def2:
it.
0 = A1.
0 &
for n
being Nat
holds it.(n+
1) = it.n \/ A1.(n+
1);
existence
proof
defpred P[set,set,set] means
for x,y
being Subset
of X,s
being Nat
holds (s
= $
1 & x = $
2 & y = $
3 implies y = x \/ A1.(s+
1));
A1:
for n
being Nat
for x
being Subset
of X
ex y
being Subset
of
X st P[n,x,y]
proof
let n
be Nat;
let x
be Subset
of X;
take x \/ A1.(n+
1);
thus thesis;
end;
consider F
being SetSequence
of X
such that
A2: F.
0 = A1.
0 and
A3:
for n
being Nat
holds P[n,F.n,F.(n+
1)]
from RECDEF_1:sch
2(A1 );
take F;
thus F.
0 = A1.
0 by A2;
let n
be Nat;
reconsider n as Element
of NAT
by ORDINAL1:def
12;
P[n,F.n,F.(n+
1)]
by A3;
hence thesis;
end;
uniqueness
proof
let S1,S2
be SetSequence
of X
such that
A4: S1.
0 = A1.
0 and
A5:
for n
being Nat
holds S1.(n+
1) = S1.n \/ A1.(n+
1)
and
A6: S2.
0 = A1.
0 and
A7:
for n
being Nat
holds S2.(n+
1) = S2.n \/ A1.(n+
1);
defpred P[object] means S1.$
1 = S2.$
1;
for n
being object
holds n
in NAT
implies P[n]
proof
let n
be object;
assume n
in NAT;
then reconsider n as Element
of NAT;
A8:
for k st P[k]
holds P[k+
1]
proof
let k;
assume S1.k = S2.k;
hence S1.(k+
1) = S2.k \/ A1.(k+
1)
by A5
.= S2.(k+
1)
by A7;
end;
A9: P[
0]
by A4,A6;
for k
being Nat
holds P[k]
from NAT_1:sch
2(A9,A8);
then S1.n = S2.n;
hence thesis;
end;
hence thesis;
end;
end;
theorem Th8:
(Partial_Intersection A1).n c= A1.n
proof
per cases
by NAT_1:
6;
suppose
n =
0;
hence thesis by Def1;
end;
suppose
ex k
being Nat st n = k+
1;
then consider k
such that
A1: n = k+
1;
(Partial_Intersection A1).(k+
1) = (Partial_Intersection A1).k /\ A1.(k
+
1)
by Def1;
hence thesis by A1,XBOOLE_1:
17;
end;
end;
theorem Th9:
A1.n c= (Partial_Union A1).n
proof
per cases
by NAT_1:
6;
suppose
n =
0;
hence thesis by Def2;
end;
suppose
ex k
being Nat st n = k+
1;
then consider k
such that
A1: n = k+
1;
(Partial_Union A1).(k+
1) = (Partial_Union A1).k \/ A1.(k+
1)
by Def2;
hence thesis by A1,XBOOLE_1:
7;
end;
end;
theorem Th10:
Partial_Intersection A1
is non-ascending
proof
now
let n
be Nat;
(Partial_Intersection A1).(n+
1) = (Partial_Intersection A1).n /\ A1.(n
+
1)
by Def1;
hence (Partial_Intersection A1).(n+
1) c= (Partial_Intersection A1).n
by
XBOOLE_1:
17;
end;
hence thesis by PROB_2:
6;
end;
theorem Th11:
Partial_Union A1
is non-descending
proof
now
let n
be Nat;
(Partial_Union A1).(n+
1) = (Partial_Union A1).n \/ A1.(n+
1)
by Def2;
hence (Partial_Union A1).n c= (Partial_Union A1).(n+
1)
by XBOOLE_1:
7;
end;
hence thesis by PROB_2:
7;
end;
theorem Th12:
for x
being object
holds
x
in (Partial_Intersection A1).n iff
for k st k <= n
holds x
in A1.k
proof let x
be object;
defpred P[Nat] means (
for k st k <= $
1 holds x
in A1.k)
implies x
in (
Partial_Intersection A1).$
1;
A1:
for i st P[i]
holds P[i+
1]
proof
let i
such that
A2: (
for k st k <= i
holds x
in A1.k)
implies x
in (
Partial_Intersection A1).i;
assume for k st k <= i+
1 holds x
in A1.k;
then
A3: (
for k st k <= i
holds x
in A1.k)& x
in A1.(i+
1)
by NAT_1:
12;
(Partial_Intersection A1).(i+
1) = (Partial_Intersection A1).i /\ A1.(
i+
1)
by Def1;
hence thesis by A2,A3,XBOOLE_0:def
4;
end;
thus x
in (Partial_Intersection A1).n
implies for k st k <= n
holds x
in A1.
k
proof
assume
A4: x
in (Partial_Intersection A1).n;
for k st k <= n
holds x
in A1.k
proof
A5: Partial_Intersection A1
is non-ascending
by Th10;
let k
such that
A6: k <= n;
A7: (Partial_Intersection A1).k c= A1.k
by Th8;
(Partial_Intersection A1).n c= (Partial_Intersection A1).k
by A6,A5,
PROB_1:def
4;
then (Partial_Intersection A1).n c= A1.k
by A7;
hence thesis by A4;
end;
hence thesis;
end;
A8: P[
0]
proof
assume for k st k <=
0 holds x
in A1.k;
then x
in A1.
0;
hence thesis by Def1;
end;
for n
holds P[n]
from NAT_1:sch
2(A8,A1);
hence thesis;
end;
theorem Th13:
x
in (Partial_Union A1).n iff
ex k st k <= n & x
in A1.k
proof
defpred P[Nat] means (x
in (Partial_Union A1).$
1 implies ex k st k <= $
1 & x
in A1.k);
A1:
for i st P[i]
holds P[i+
1]
proof
let i
such that
A2: x
in (Partial_Union A1).i
implies ex k st k <= i & x
in A1.k;
assume
A3: x
in (Partial_Union A1).(i+
1);
A4: (Partial_Union A1).(i+
1) = (Partial_Union A1).i \/ A1.(i+
1)
by Def2;
now
per cases
by A3,A4,XBOOLE_0:def
3;
case
x
in (Partial_Union A1).i;
then consider k
such that
A5: k <= i & x
in A1.k
by A2;
take k;
thus thesis by A5,NAT_1:
12;
end;
case
x
in A1.(i+
1);
hence thesis;
end;
end;
hence thesis;
end;
A6: P[
0]
proof
assume
A7: x
in (Partial_Union A1).
0;
take 0;
thus thesis by A7,Def2;
end;
for n
holds P[n]
from NAT_1:sch
2(A6,A1);
hence x
in (Partial_Union A1).n
implies ex k st k <= n & x
in A1.k;
given i
such that
A8: i <= n
and
A9: x
in A1.i;
A1.i c= (Partial_Union A1).i
by Th9;
then
A10: x
in (Partial_Union A1).i
by A9;
A11: Partial_Union A1
is non-descending
by Th11;
(Partial_Union A1).i c= (Partial_Union A1).n
by A8,A11,PROB_1:def
5;
hence thesis by A10;
end;
theorem Th14:
Intersection Partial_Intersection A1 = Intersection A1
proof
thus Intersection Partial_Intersection A1 c= Intersection A1
proof
let x
be object;
assume
A1: x
in Intersection Partial_Intersection A1;
for n
be Nat
holds x
in A1.n
proof
let n
be Nat;
x
in (Partial_Intersection A1).n
by A1,PROB_1:
13;
hence thesis by Th12;
end;
hence thesis by PROB_1:
13;
end;
let x
be object;
assume
A2: x
in Intersection A1;
for n
be Nat
holds x
in (Partial_Intersection A1).n
proof
let n
be Nat;
for k st k <= n
holds x
in A1.k
by A2,PROB_1:
13;
hence thesis by Th12;
end;
hence thesis by PROB_1:
13;
end;
theorem Th15:
Union Partial_Union A1 = Union A1
proof
thus Union Partial_Union A1 c= Union A1
proof
let x
be object;
assume x
in Union Partial_Union A1;
then consider n
being Nat
such that
A1: x
in (Partial_Union A1).n
by PROB_1:
12;
consider k
such that
k <= n
and
A2: x
in A1.k
by A1,Th13;
thus thesis by A2,PROB_1:
12;
end;
let x
be object;
assume x
in Union A1;
then consider n
being Nat
such that
A3: x
in A1.n
by PROB_1:
12;
x
in (Partial_Union A1).n
by A3,Th13;
hence thesis by PROB_1:
12;
end;
definition
let X
be set, A1
be SetSequence
of X;
func Partial_Diff_Union A1 -> SetSequence
of X means
:Def3:
it.
0 = A1.
0 &
for n
being Nat
holds it.(n+
1) = A1.(n+
1) \ (Partial_Union A1).n;
existence
proof
defpred P[set,set,set] means
for x,y
being Subset
of X,s
being Nat
holds (s
= $
1 & x = $
2 & y = $
3 implies y = A1.(s+
1) \ (Partial_Union A1).s);
set A = A1.
0;
A1:
for n
being Nat
for x
being Subset
of X
ex y
being Subset
of
X st P[n,x,y]
proof
let n
be Nat;
let x
be Subset
of X;
take A1.(n+
1) \ (Partial_Union A1).n;
thus thesis;
end;
consider F
being SetSequence
of X
such that
A2: F.
0 = A &
for n
being Nat
holds P[n,F.n,F.(n+
1)]
from
RECDEF_1:sch
2(A1);
for n
holds F.(n+
1) = A1.(n+
1) \ (Partial_Union A1).n
proof
let n;
reconsider n1 = n as Element
of NAT
by ORDINAL1:def
12;
for x,y
being Subset
of X,s
being Nat
holds s = n1 & x = F.n1 & y = F.
(n1+
1)
implies y = A1.(s+
1) \ (Partial_Union A1).s
by A2;
hence thesis;
end;
hence thesis by A2;
end;
uniqueness
proof
let S1,S2
be SetSequence
of X
such that
A3: S1.
0 = A1.
0 and
A4:
for n
being Nat
holds S1.(n+
1) = A1.(n+
1) \ (Partial_Union A1).n
and
A5: S2.
0 = A1.
0 and
A6:
for n
being Nat
holds S2.(n+
1) = A1.(n+
1) \ (Partial_Union A1).n;
defpred P[object] means S1.$
1 = S2.$
1;
for n
being object
holds n
in NAT
implies P[n]
proof
let n
be object;
assume n
in NAT;
then reconsider n as Element
of NAT;
A7:
for k st P[k]
holds P[k+
1]
proof
let k;
assume S1.k = S2.k;
thus S1.(k+
1) = A1.(k+
1) \ (Partial_Union A1).k
by A4
.= S2.(k+
1)
by A6;
end;
A8: P[
0]
by A3,A5;
for k
being Nat
holds P[k]
from NAT_1:sch
2(A8,A7);
then S1.n = S2.n;
hence thesis;
end;
hence thesis;
end;
end;
theorem Th16:
x
in (Partial_Diff_Union A1).n iff x
in A1.n &
for k st k < n
holds not x
in A1.k
proof
thus x
in (Partial_Diff_Union A1).n
implies x
in A1.n &
for k st k < n
holds
not x
in A1.k
proof
assume
A1: x
in (Partial_Diff_Union A1).n;
now
per cases
by NAT_1:
6;
case
n =
0;
hence thesis by A1,Def3;
end;
case
ex n1
being Nat st n = n1 +
1;
then consider n1
being Nat
such that
A2: n = n1+
1;
A3: x
in A1.(n1+
1) \ (Partial_Union A1).n1
by A1,A2,Def3;
then
A4:
not x
in (Partial_Union A1).n1
by XBOOLE_0:def
5;
for k st k < n
holds not x
in A1.k
proof
let k;
assume k < n;
then k <= n1
by A2,NAT_1:
13;
hence thesis by A4,Th13;
end;
hence thesis by A2,A3,XBOOLE_0:def
5;
end;
end;
hence thesis;
end;
assume that
A5: x
in A1.n
and
A6:
for k st k < n
holds not x
in A1.k;
now
per cases
by NAT_1:
6;
case
n =
0;
hence thesis by A5,Def3;
end;
case
ex n1
being Nat st n = n1 +
1;
then consider n1
being Nat
such that
A7: n = n1+
1;
for k st k <= n1
holds not x
in A1.k
proof
let k;
assume k <= n1;
then k < n1+
1 by NAT_1:
13;
hence thesis by A6,A7;
end;
then not x
in (Partial_Union A1).n1
by Th13;
then x
in A1.(n1+
1) \ (Partial_Union A1).n1
by A5,A7,XBOOLE_0:def
5;
hence thesis by A7,Def3;
end;
end;
hence thesis;
end;
theorem Th17:
(Partial_Diff_Union A1).n c= A1.n
by Th16;
theorem Th18:
(Partial_Diff_Union A1).n c= (Partial_Union A1).n
proof
(Partial_Diff_Union A1).n c= A1.n & A1.n c= (Partial_Union A1).n
by Th9,Th17;
hence thesis;
end;
theorem Th19:
Partial_Union (Partial_Diff_Union A1) = Partial_Union A1
proof
for n
being Nat
holds (Partial_Union (Partial_Diff_Union A1))
.n = (Partial_Union A1).n
proof
set A2 = Partial_Diff_Union A1;
defpred P[set] means (Partial_Union A2).$
1 = (Partial_Union A1).$
1;
A1:
for k
be Nat st P[k]
holds P[k+
1]
proof
let k
be Nat
such that
A2: (Partial_Union A2).k = (Partial_Union A1).k;
thus (Partial_Union A2).(k+
1) = A2.(k+
1) \/ (Partial_Union A2).k
by Def2
.= (A1.(k+
1) \ (Partial_Union A1).k) \/ (Partial_Union A1).k
by A2,Def3
.= A1.(k+
1) \/ (Partial_Union A1).k
by XBOOLE_1:
39
.= (Partial_Union A1).(k+
1)
by Def2;
end;
(Partial_Union (Partial_Diff_Union A1)).
0 = A2.
0 by Def2
.= A1.
0 by Def3
.= (Partial_Union A1).
0 by Def2;
then
A3: P[
0];
thus for k
being Nat
holds P[k]
from NAT_1:sch
2(A3,A1 );
end;
hence thesis;
end;
theorem Th20:
Union Partial_Diff_Union A1 = Union A1
proof
thus Union Partial_Diff_Union A1 = Union Partial_Union (Partial_Diff_Union
A1)
by Th15
.= Union Partial_Union A1
by Th19
.= Union A1
by Th15;
end;
definition
let X,A1;
redefine
attr A1
is disjoint_valued means
for m,n st m <> n
holds A1. m misses A1.n;
compatibility
proof
thus A1
is disjoint_valued
implies for m,n st m <> n
holds A1.m misses A1.
n
by PROB_2:def
2;
assume
A1:
for m,n st m <> n
holds A1.m misses A1.n;
now
let x,y
be object;
assume
A2: x <> y;
per cases;
suppose
x
in dom A1 & y
in dom A1;
hence A1.x misses A1.y
by A1,A2;
end;
suppose
not (x
in dom A1 & y
in dom A1);
then A1.x = {}
or A1.y = {}
by FUNCT_1:def
2;
hence A1.x misses A1.y;
end;
end;
hence thesis by PROB_2:def
2;
end;
end;
registration let X,A1;
cluster Partial_Diff_Union A1 -> disjoint_valued;
coherence
proof
for m,n st m <> n
holds (Partial_Diff_Union A1).n misses (
Partial_Diff_Union A1).m
proof
let m,n
such that
A1: m <> n;
assume (Partial_Diff_Union A1).n meets (Partial_Diff_Union A1).m;
then consider x
being object
such that
A2: x
in (Partial_Diff_Union A1).n
and
A3: x
in (Partial_Diff_Union A1).m
by XBOOLE_0:
3;
per cases
by A1,XXREAL_0:
1;
suppose
m < n;
then not x
in A1.m
by A2,Th16;
hence contradiction
by A3,Th16;
end;
suppose
n < m;
then not x
in A1.n
by A3,Th16;
hence contradiction
by A2,Th16;
end;
end;
hence thesis;
end;
end;
registration
let X
be set, Si
be SigmaField
of X, XSeq
be SetSequence
of Si;
cluster Partial_Intersection XSeq -> Si-valued;
coherence
proof
defpred P[set] means (Partial_Intersection XSeq).$
1 in Si;
A1:
for k
being Nat st P[k]
holds P[k+
1]
proof
let k
be Nat;
assume
A2: (Partial_Intersection XSeq).k
in Si;
(Partial_Intersection XSeq).k /\ XSeq.(k+
1)
is Event
of Si
by A2,
PROB_1:
19;
then (Partial_Intersection XSeq).k /\ XSeq.(k+
1)
in Si;
hence thesis by Def1;
end;
XSeq.
0 in rng XSeq & (Partial_Intersection XSeq).
0 = XSeq.
0 by Def1,
NAT_1:
51;
then
A3: P[
0];
for k
being Nat
holds P[k]
from NAT_1:sch
2(A3,A1);
then rng Partial_Intersection XSeq c= Si
by NAT_1:
52;
hence thesis;
end;
end;
registration
let X
be set, Si
be SigmaField
of X, XSeq
be SetSequence
of Si;
cluster Partial_Union XSeq -> Si-valued;
coherence
proof
defpred P[set] means (Partial_Union XSeq).$
1 in Si;
A1:
for k
be Nat st P[k]
holds P[k+
1]
proof
let k
be Nat;
assume
A2: (Partial_Union XSeq).k
in Si;
(Partial_Union XSeq).k \/ XSeq.(k+
1)
is Event
of Si
by A2,PROB_1:
21;
then (Partial_Union XSeq).k \/ XSeq.(k+
1)
in Si;
hence thesis by Def2;
end;
XSeq.
0 in rng XSeq & (Partial_Union XSeq).
0 = XSeq.
0 by Def2,NAT_1:
51;
then
A3: P[
0];
for k
being Nat
holds P[k]
from NAT_1:sch
2(A3,A1);
then rng Partial_Union XSeq c= Si
by NAT_1:
52;
hence thesis;
end;
end;
registration
let X
be set, Si
be SigmaField
of X, XSeq
be SetSequence
of Si;
cluster Partial_Diff_Union XSeq -> Si-valued;
coherence
proof
A1: XSeq.
0 in rng XSeq & (Partial_Diff_Union XSeq).
0 = XSeq.
0 by Def3,NAT_1:
51;
for m
being Nat
holds (Partial_Diff_Union XSeq).m
in Si
proof
let m
be Nat;
now
per cases
by NAT_1:
6;
case
m =
0;
hence thesis by A1;
end;
case
ex k
being Nat st m = k+
1;
then consider k
being Nat
such that
A2: m = k+
1;
reconsider k as Element
of NAT
by ORDINAL1:def
12;
XSeq.(k+
1) \ (Partial_Union XSeq).k
in Si;
hence thesis by A2,Def3;
end;
end;
hence thesis;
end;
then rng Partial_Diff_Union XSeq c= Si
by NAT_1:
52;
hence thesis;
end;
end;
theorem
YSeq = Partial_Intersection XSeq
implies YSeq.
0 = XSeq.
0 &
for n
holds YSeq.(n+
1) = YSeq.n /\ XSeq.(n+
1)
by Def1;
theorem
YSeq = Partial_Union XSeq
implies YSeq.
0 = XSeq.
0 &
for n
holds YSeq.
(n+
1) = YSeq.n \/ XSeq.(n+
1)
by Def2;
theorem
(Partial_Intersection XSeq).n c= XSeq.n
by Th8;
theorem
XSeq.n c= (Partial_Union XSeq).n
by Th9;
theorem
for x
being object
holds
x
in (Partial_Intersection XSeq).n iff
for k st k <= n
holds x
in XSeq.k
proof reconsider XSeq as SetSequence
of X;
let x
be object;
x
in (Partial_Intersection XSeq).n iff
for k st k <= n
holds x
in XSeq.k
by Th12;
hence thesis;
end;
theorem
x
in (Partial_Union XSeq).n iff
ex k st k <= n & x
in XSeq.k
proof reconsider XSeq as SetSequence
of X;
x
in (Partial_Union XSeq).n iff
ex k st k <= n & x
in XSeq.k
by Th13;
hence thesis;
end;
theorem
Partial_Intersection XSeq
is non-ascending
by Th10;
theorem
Partial_Union XSeq
is non-descending
by Th11;
theorem
Intersection Partial_Intersection XSeq = Intersection XSeq
by Th14;
theorem
Union Partial_Union XSeq = Union XSeq
by Th15;
theorem
YSeq = Partial_Diff_Union XSeq
implies YSeq.
0 = XSeq.
0 &
for n
holds
YSeq.(n+
1) = XSeq.(n+
1) \ (Partial_Union XSeq).n
by Def3;
theorem
x
in (Partial_Diff_Union XSeq).n iff x
in XSeq.n &
for k st k < n
holds not x
in XSeq.k
proof reconsider XSeq as SetSequence
of X;
x
in (Partial_Diff_Union XSeq).n iff x
in XSeq.n &
for k st k < n
holds not x
in XSeq.k
by Th16;
hence thesis;
end;
theorem
(Partial_Diff_Union XSeq).n c= XSeq.n
by Th17;
theorem
(Partial_Diff_Union XSeq).n c= (Partial_Union XSeq).n
by Th18;
theorem
Partial_Union (Partial_Diff_Union XSeq) = Partial_Union XSeq
by Th19;
theorem
Union Partial_Diff_Union XSeq = Union XSeq
by Th20;
theorem Th37:
(P * Partial_Union ASeq)
is non-decreasing
proof
Partial_Union ASeq
is non-descending
by Th11;
hence thesis by Th6;
end;
theorem
(P * Partial_Intersection ASeq)
is non-increasing
proof
Partial_Intersection ASeq
is non-ascending
by Th10;
hence thesis by Th7;
end;
theorem
Partial_Sums(P * ASeq)
is non-decreasing
proof
for n
being Nat
holds (P * ASeq).n >=
0 by Th4;
hence thesis by SERIES_1:
16;
end;
theorem Th40:
(P * Partial_Union ASeq).
0 = Partial_Sums(P * ASeq).
0
proof
A1: dom (P * ASeq) = NAT
by SEQ_1:
1;
dom (P * Partial_Union ASeq) = NAT
by SEQ_1:
1;
then
A2: (P * Partial_Union ASeq).
0 = P.((Partial_Union ASeq).
0)
by FUNCT_1:
12
.= P.(ASeq.
0)
by Def2;
Partial_Sums(P * ASeq).
0 = (P * ASeq).
0 by SERIES_1:def
1
.= P.(ASeq.
0)
by A1,FUNCT_1:
12;
hence thesis by A2;
end;
theorem Th41:
P * Partial_Union ASeq
is convergent & lim (P * Partial_Union
ASeq) = upper_bound (P * Partial_Union ASeq) & lim (P * Partial_Union ASeq)
= P.Union
ASeq
proof
A1: P * Partial_Union ASeq
is non-decreasing
by Th37;
A2: Partial_Union ASeq
is non-descending
by Th11;
then P * Partial_Union ASeq
is convergent
by PROB_2:
10;
then
A3: P * Partial_Union ASeq
is bounded;
lim (P * Partial_Union ASeq) = P.Union (Partial_Union ASeq)
by A2,PROB_2:
10
.= P.Union ASeq
by Th15;
hence thesis by A2,A3,A1,PROB_2:
10,RINFSUP1:
24;
end;
theorem Th42:
ASeq
is disjoint_valued
implies for n,m st n < m
holds (
Partial_Union ASeq).n misses ASeq.m
proof
assume
A1: ASeq
is disjoint_valued;
let n,m
such that
A2: n < m;
assume (Partial_Union ASeq).n meets ASeq.m;
then consider x
being object
such that
A3: x
in (Partial_Union ASeq).n
and
A4: x
in ASeq.m
by XBOOLE_0:
3;
reconsider ASeq as SetSequence
of Omega;
consider k
being Nat
such that
A5: k <= n
and
A6: x
in ASeq.k
by A3,Th13;
ASeq.k misses ASeq.m
by A1,A2,A5;
then ASeq.k /\ ASeq.m = {};
hence contradiction
by A4,A6,XBOOLE_0:def
4;
end;
theorem Th43:
ASeq
is disjoint_valued
implies (P * Partial_Union ASeq).n =
Partial_Sums(P * ASeq).n
proof
A1: dom (P * ASeq) = NAT
by SEQ_1:
1;
defpred P[Nat] means (P * Partial_Union ASeq).$
1 = Partial_Sums(P * ASeq).
$
1;
A2: dom (P * Partial_Union ASeq) = NAT
by SEQ_1:
1;
assume
A3: ASeq
is disjoint_valued;
A4:
for k st P[k]
holds P[k+
1]
proof
let k
such that
A5: (P * Partial_Union ASeq).k = Partial_Sums(P * ASeq).k;
k < k+
1 by NAT_1:
13;
then
A6: (Partial_Union ASeq).k misses ASeq.(k+
1)
by A3,Th42;
reconsider k as Element
of NAT
by ORDINAL1:def
12;
A7: Partial_Sums(P * ASeq).(k+
1) =Partial_Sums(P * ASeq).k + (P * ASeq).(
k+
1)
by SERIES_1:def
1
.=Partial_Sums(P * ASeq).k + P.(ASeq.(k+
1))
by A1,FUNCT_1:
12;
(P * Partial_Union ASeq).(k+
1) = P.((Partial_Union ASeq).(k+
1))
by A2,
FUNCT_1:
12
.= P.((Partial_Union ASeq).k \/ ASeq.(k+
1))
by Def2
.= P.((Partial_Union ASeq).k) + P.(ASeq.(k+
1))
by A6,PROB_1:def
8
.= (P * Partial_Union ASeq).k + P.(ASeq.(k+
1))
by A2,FUNCT_1:
12;
hence thesis by A5,A7;
end;
A8: P[
0]
by Th40;
for k
holds P[k]
from NAT_1:sch
2(A8,A4);
hence thesis;
end;
theorem Th44:
ASeq
is disjoint_valued
implies (P * Partial_Union ASeq) =
Partial_Sums(P * ASeq)
by Th43;
theorem Th45:
ASeq
is disjoint_valued
implies Partial_Sums(P * ASeq)
is
convergent & lim Partial_Sums(P * ASeq) = upper_bound Partial_Sums(P * ASeq)
& lim
Partial_Sums(P * ASeq) = P.Union ASeq
proof
assume ASeq
is disjoint_valued;
then (P * Partial_Union ASeq) = Partial_Sums(P * ASeq)
by Th44;
hence thesis by Th41;
end;
theorem Th46:
ASeq
is disjoint_valued
implies P.(Union ASeq) = Sum(P * ASeq)
proof
assume ASeq
is disjoint_valued;
then lim Partial_Sums(P * ASeq) = P.Union ASeq
by Th45;
hence thesis by SERIES_1:def
3;
end;
definition
let X,F1,n;
redefine
func F1.n -> Subset
of X;
coherence
proof
per cases;
suppose
n
in dom F1;
hence thesis by FINSEQ_2:
11;
end;
suppose
not n
in dom F1;
then F1.n = {}
by FUNCT_1:def
2;
hence thesis by SUBSET_1:
1;
end;
end;
end;
theorem
ex F1
being FinSequence
of bool X st
for k st k
in dom F1
holds F1.k = X
proof
now
let n
be Element
of NAT;
set F1 = n |-> X;
A1: dom F1 = Seg n
by FUNCOP_1:
13;
rng F1 c= bool X
proof
let x
be object;
assume x
in rng F1;
then ex i
be Nat st i
in dom F1 & F1.i = x
by FINSEQ_2:
10;
then x = X
by A1,FINSEQ_2:
57;
hence thesis by ZFMISC_1:def
1;
end;
then
A2: F1
is FinSequence
of bool X
by FINSEQ_1:def
4;
for k
being Nat st k
in dom F1
holds F1.k = X
by A1,FINSEQ_2:
57;
hence thesis by A2;
end;
hence thesis;
end;
theorem
for F1
being FinSequence
of bool X
holds union rng F1
is Subset
of X;
definition
let X
be set, F1
be FinSequence
of bool X;
redefine
func Union F1 -> Subset
of X;
coherence
proof
Union F1 = union rng F1
by CARD_3:def
4;
hence thesis;
end;
end;
theorem Th49:
x
in Union F1 iff
ex k st k
in dom F1 & x
in F1.k
proof
set Y = union rng F1;
A1:
for x
holds x
in Y iff
ex k st k
in dom F1 & x
in F1.k
proof
let x;
thus x
in Y
implies ex k st k
in dom F1 & x
in F1.k
proof
assume x
in Y;
then consider Z
such that
A2: x
in Z
and
A3: Z
in rng F1
by TARSKI:def
4;
ex i
being Nat st i
in dom F1 & Z = F1.i
by A3,FINSEQ_2:
10;
hence thesis by A2;
end;
thus (
ex k st k
in dom F1 & x
in F1.k)
implies x
in Y
proof
given i
such that
A4: i
in dom F1
and
A5: x
in F1.i;
F1.i
in rng F1
by A4,FUNCT_1:def
3;
hence thesis by A5,TARSKI:def
4;
end;
end;
Y = Union F1
by CARD_3:def
4;
hence thesis by A1;
end;
definition
let X, F1;
func Complement F1 -> FinSequence
of bool X means
:Def5:
len it = len F1 &
for n st n
in dom it
holds it.n = (F1.n)`;
existence
proof
deffunc F(Nat) = (F1.$
1)`;
consider f
being FinSequence
of bool X
such that
A1: len f = len F1 &
for n
being Nat st n
in dom f
holds f.n = F(n)
from FINSEQ_2:sch
1;
take f;
thus thesis by A1;
end;
uniqueness
proof
let F2,F3
be FinSequence
of bool X
such that
A2: len F2 = len F1
and
A3:
for n st n
in dom F2
holds F2.n = (F1.n)`
and
A4: len F3 = len F1
and
A5:
for n st n
in dom F3
holds F3.n = (F1.n)`;
dom F2 = dom F3 &
for k
being Nat st k
in dom F2
holds F2.k = F3.k
proof
thus
A6: dom F2 = Seg len F3
by A2,A4,FINSEQ_1:def
3
.= dom F3
by FINSEQ_1:def
3;
let k
be Nat;
assume
A7: k
in dom F2;
hence F2.k = (F1.k)`
by A3
.= F3.k
by A5,A6,A7;
end;
hence thesis by FINSEQ_1:
13;
end;
end;
definition
let X, F1;
func Intersection F1 -> Subset
of X equals
:Def6:
(Union Complement F1)` if
F1 <> {} otherwise {};
coherence by SUBSET_1:
1;
consistency;
end;
theorem Th50:
dom Complement F1 = dom F1
proof
thus dom Complement F1 = Seg len Complement F1
by FINSEQ_1:def
3
.= Seg len F1
by Def5
.= dom F1
by FINSEQ_1:def
3;
end;
theorem Th51:
for x
being object
holds
F1 <> {}
implies (x
in Intersection F1 iff
for k st k
in dom F1
holds x
in F1.k )
proof let x
be object;
A1:
for n st n
in dom F1
holds X \ (Complement F1).n = F1.n
proof
let n;
assume n
in dom F1;
then
A2: n
in dom Complement F1
by Th50;
X \ (Complement F1).n = ((Complement F1).n)`
by SUBSET_1:def
4
.= ((F1.n)`)`
by A2,Def5
.= F1.n;
hence thesis;
end;
assume
A3: F1 <> {};
then
A4: dom F1 <> {}
by RELAT_1:
41;
A5: x
in X & (
for n st n
in dom F1
holds not x
in (Complement F1).n) iff
for n st n
in dom F1
holds x
in F1.n
proof
hereby
assume that
A6: x
in X
and
A7:
for n st n
in dom F1
holds not x
in (Complement F1).n;
let n
such that
A8: n
in dom F1;
not x
in (Complement F1).n
by A7,A8;
then x
in X \ (Complement F1).n
by A6,XBOOLE_0:def
5;
hence x
in F1.n
by A1,A8;
end;
assume
A9:
for n st n
in dom F1
holds x
in F1.n;
A10:
now
let n
be Element
of NAT
such that
A11: n
in dom F1;
x
in F1.n
by A9,A11;
then x
in X \ (Complement F1).n
by A1,A11;
hence x
in X &
not x
in (Complement F1).n
by XBOOLE_0:def
5;
end;
ex a
being object st a
in dom F1
by A4,XBOOLE_0:def
1;
hence thesis by A10;
end;
dom Complement F1 = dom F1
by Th50;
then
A12: x
in X & (
not x
in Union (Complement F1)) iff x
in X &
for n st n
in
dom F1
holds not x
in (Complement F1).n
by Th49;
x
in (Union Complement F1)` iff x
in X \ Union Complement F1
by
SUBSET_1:def
4;
hence thesis by A3,A12,A5,Def6,XBOOLE_0:def
5;
end;
theorem Th52:
F1 <> {}
implies (x
in meet rng F1 iff
for n st n
in dom F1
holds x
in F1.n)
proof
assume F1 <> {};
then
A1: rng F1 <> {}
by RELAT_1:
41;
A2:
now
let x;
assume
A3:
for n st n
in dom F1
holds x
in F1.n;
now
let Y;
assume Y
in rng F1;
then consider n
be object
such that
A4: n
in dom F1
and
A5: Y = F1.n
by FUNCT_1:def
3;
thus x
in Y
by A3,A4,A5;
end;
hence x
in meet rng F1
by A1,SETFAM_1:def
1;
end;
now
let x;
assume
A6: x
in meet rng F1;
now
let k;
assume k
in dom F1;
then F1.k
in rng F1
by FUNCT_1:
3;
hence x
in F1.k
by A6,SETFAM_1:def
1;
end;
hence for n st n
in dom F1
holds x
in F1.n;
end;
hence thesis by A2;
end;
theorem
Intersection F1 = meet rng F1
proof
per cases;
suppose
A1: F1 <> {};
now
let x
be object;
x
in Intersection F1 iff
for n st n
in dom F1
holds x
in F1.n
by A1,Th51;
hence x
in Intersection F1 iff x
in meet rng F1
by A1,Th52;
end;
hence thesis by TARSKI:
2;
end;
suppose
F1 = {};
hence thesis by Def6,RELAT_1:
38,SETFAM_1:
1;
end;
end;
theorem Th54:
for F1
being FinSequence
of bool X
holds ex A1
being SetSequence
of X st (
for k st k
in dom F1
holds A1.k = F1.k) &
for k st
not k
in dom F1
holds A1.k = {}
proof
deffunc G(object) = {};
let F1
be FinSequence
of bool X;
defpred P[object] means $
1 in dom F1;
deffunc F(object) = F1.$
1;
ex f
being Function st dom f = NAT &
for k
being object st k
in NAT
holds (
P[k]
implies f.k=F(k)) & (
not P[k]
implies f.k=G(k))
from PARTFUN1:sch
1;
then consider f
being Function
such that
A1: dom f = NAT
and
A2:
for x
being object st x
in NAT
holds (x
in dom F1
implies f.x = F1.x) & (
not x
in
dom F1
implies f.x = {});
A3:
for x st x
in dom F1
holds F1.x
in bool X
proof
let x;
assume x
in dom F1;
then F1.x
in rng F1
by FUNCT_1:
3;
hence thesis;
end;
for x st x
in NAT
holds f.x
in bool X
proof
let x;
assume
A4: x
in NAT;
per cases;
suppose
not x
in dom F1;
then f.x = {}
by A2,A4;
then f.x c= X;
hence thesis;
end;
suppose
A5: x
in dom F1;
then f.x = F1.x
by A2;
hence thesis by A3,A5;
end;
end;
then reconsider f as SetSequence
of X
by A1,FUNCT_2:
3;
take f;
thus for k st k
in dom F1
holds f.k = F1.k
by A2;
let k;
k
in NAT
by ORDINAL1:def
12;
hence thesis by A2;
end;
theorem Th55:
for F1
being FinSequence
of bool X
for A1
being SetSequence
of X
st (
for k st k
in dom F1
holds A1.k = F1.k) &
(
for k st
not k
in dom F1
holds A1.k = {})
holds A1.
0={} & Union A1 = Union F1
proof
let F1
be FinSequence
of bool X;
let A1
be SetSequence
of X
such that
A1:
for k st k
in dom F1
holds A1.k = F1.k
and
A2:
for k st
not k
in dom F1
holds A1.k = {};
thus A1.
0 = {}
by A2,Th1;
thus Union A1 = Union F1
proof
thus Union A1 c= Union F1
proof
let x
be object;
assume x
in Union A1;
then consider n
being Nat
such that
A3: x
in A1.n
by PROB_1:
12;
n
in dom F1 & x
in F1.n
by A1,A2,A3;
hence thesis by Th49;
end;
let x
be object;
assume x
in Union F1;
then consider n
such that
A4: n
in dom F1 & x
in F1.n
by Th49;
n
in NAT & x
in A1.n
by A1,A4;
hence thesis by PROB_1:
12;
end;
end;
definition :: czy wystarczy rejestracja?
let X
be set, Si
be SigmaField
of X;
redefine
mode FinSequence
of Si -> FinSequence
of bool X;
coherence
proof let f
be FinSequence
of Si;
thus rng f c= bool X
by XBOOLE_1:
1;
end;
end;
definition
let X
be set, Si
be SigmaField
of X, FSi
be FinSequence
of Si,n;
redefine
func FSi.n -> Event
of Si;
coherence
proof
per cases;
suppose
n
in dom FSi;
hence thesis by FINSEQ_2:
11;
end;
suppose
not n
in dom FSi;
then FSi.n = {}
by FUNCT_1:def
2;
hence thesis by PROB_1:
22;
end;
end;
end;
theorem Th56:
for FSi
being FinSequence
of Si
holds ex ASeq
being SetSequence
of Si st (
for k st k
in dom FSi
holds ASeq.k = FSi.k) &
for k st
not k
in dom
FSi
holds ASeq.k = {}
proof
let FSi
be FinSequence
of Si;
consider A1
being SetSequence
of X
such that
A1:
for k st k
in dom FSi
holds A1.k = FSi.k
and
A2:
for k st
not k
in dom FSi
holds A1.k = {}
by Th54;
for n
being Nat
holds A1.n
in Si
proof
let n
be Nat;
per cases;
suppose
not n
in dom FSi;
then A1.n = {}
by A2;
hence thesis by PROB_1:
4;
end;
suppose
n
in dom FSi;
then A1.n = FSi.n
by A1;
hence thesis;
end;
end;
then rng A1 c= Si
by NAT_1:
52;
then reconsider A1 as SetSequence
of Si
by RELAT_1:def
19;
take A1;
thus thesis by A1,A2;
end;
theorem Th57:
for FSi
being FinSequence
of Si
holds Union FSi
in Si
proof
let FSi
be FinSequence
of Si;
consider ASeq
being SetSequence
of Si
such that
A1: (
for k st k
in dom FSi
holds ASeq.k = FSi.k)&
for k st
not k
in dom FSi
holds ASeq.k = {}
by Th56;
reconsider ASeq as SetSequence
of X;
(
for k st k
in dom FSi
holds ASeq.k = FSi.k)&
for k st
not k
in dom FSi
holds ASeq.k = {}
by A1;
then Union ASeq = Union FSi
by Th55;
hence thesis by PROB_1:
17;
end;
registration
let X
be set, S
be SigmaField
of X, F
being FinSequence
of S;
cluster Complement F -> S-valued;
coherence
proof set G = Complement F;
let x
be object;
assume x
in rng G;
then consider y
being object
such that
A1: y
in dom G
and
A2: x = G.y
by FUNCT_1:def
3;
reconsider y as Nat
by A1;
G.y = (F.y)`
by A1,Def5;
then G.y
is Event
of S
by PROB_1:
20;
hence x
in S
by A2;
end;
end;
theorem
for FSi
being FinSequence
of Si
holds Intersection FSi
in Si
proof
let FSi
be FinSequence
of Si;
per cases;
suppose
FSi = {};
then Intersection FSi = {}
by Def6;
hence thesis by PROB_1:
4;
end;
suppose
A1: FSi <> {};
rng Complement FSi c= Si;
then reconsider C = Complement FSi as FinSequence
of Si
by FINSEQ_1:def
4;
A2: Union C
in Si
by Th57;
Intersection FSi = (Union Complement FSi)`
by A1,Def6;
hence thesis by A2,PROB_1:def
1;
end;
end;
reserve FSeq
for FinSequence
of Sigma;
theorem Th59:
dom(P * FSeq) = dom FSeq
proof
for x
being object
holds x
in dom (P * FSeq) iff x
in dom FSeq
proof
let x
be object;
thus x
in dom (P * FSeq)
implies x
in dom FSeq
by FUNCT_1:
11;
assume
A1: x
in dom FSeq;
then reconsider k=x as Element
of NAT;
FSeq.k
in Sigma;
then FSeq.k
in dom P
by FUNCT_2:def
1;
hence thesis by A1,FUNCT_1:
11;
end;
hence thesis by TARSKI:
2;
end;
theorem Th60:
P * FSeq
is FinSequence
of REAL
proof
dom (P * FSeq) = dom FSeq
by Th59;
then ex n
being Nat st dom (P * FSeq) = Seg n
by FINSEQ_1:def
2;
then reconsider RSeq = P * FSeq as FinSequence
by FINSEQ_1:def
2;
rng (P * FSeq) c= REAL;
then rng RSeq c= REAL;
hence thesis by FINSEQ_1:def
4;
end;
definition
let Omega,Sigma,FSeq,P;
redefine
func P * FSeq -> FinSequence
of REAL;
coherence by Th60;
end;
theorem Th61:
len (P * FSeq) = len FSeq
proof
dom(P * FSeq) = dom FSeq
by Th59;
then Seg len (P * FSeq) = dom FSeq
by FINSEQ_1:def
3;
hence thesis by FINSEQ_1:def
3;
end;
theorem Th62:
len RFin =
0 implies Sum RFin =
0
proof
assume
A1: len RFin=
0;
0 in REAL
by XREAL_0:def
1;
then
A2: addreal
is having_a_unity
by RVSUM_1:
1,SETWISEO:def
2;
reconsider RFin as FinSequence
of REAL
by FINSEQ_1:
106;
Sum(RFin) = addreal $$ RFin
by RVSUM_1:def
12
.=
0 by A1,A2,BINOP_2:
2,FINSOP_1:def
1;
hence thesis;
end;
theorem Th63:
len RFin >=
1 implies ex f
being Real_Sequence st f.
1 = RFin.
1 &
(
for n st
0 <> n & n < len RFin
holds f.(n+
1) = f.n+RFin.(n+
1)) &
Sum(RFin) = f.(len RFin)
proof
assume
A0: len RFin >=
1;
reconsider RFin as FinSequence
of REAL
by FINSEQ_1:
106;
consider f
be sequence
of REAL
such that
A1: f.
1 = RFin.
1 and
A2:
for n
being Nat st
0 <> n & n < len RFin
holds f.(n+
1) =
addreal.(f.n,RFin.(n+
1))
and
A3: addreal "**" RFin = f.(len RFin)
by A0,FINSOP_1:
1;
take f;
for n st
0 <> n & n < len RFin
holds f.(n+
1) = f.n+ RFin.(n+
1)
proof
let n;
reconsider n1=n as Element
of NAT
by ORDINAL1:def
12;
assume that
A4:
0 <> n
and
A5: n < len RFin;
thus f.(n+
1) = addreal.(f.n1,RFin.(n1+
1))
by A2,A4,A5
.= f.n+ RFin.(n+
1)
by BINOP_2:def
9;
end;
hence thesis by A1,A3,RVSUM_1:def
12;
end;
theorem Th64:
for FSeq
being FinSequence
of Sigma, ASeq
being SetSequence
of
Sigma st (
for k st k
in dom FSeq
holds ASeq.k = FSeq.k) & (
for k st
not k
in
dom FSeq
holds ASeq.k = {})
holds Partial_Sums(P * ASeq)
is convergent & Sum(P
* ASeq) = Partial_Sums(P * ASeq).(len FSeq) & P.(Union ASeq) <= Sum(P * ASeq) &
Sum(P * FSeq) = Sum(P * ASeq)
proof
let FSeq
be FinSequence
of Sigma, ASeq
be SetSequence
of Sigma
such that
A1:
for k st k
in dom FSeq
holds ASeq.k = FSeq.k
and
A2:
for k st
not k
in dom FSeq
holds ASeq.k = {};
reconsider XSeq = ASeq as SetSequence
of Omega;
(
for k st k
in dom FSeq
holds XSeq.k = FSeq.k) &
for k st
not k
in dom FSeq
holds XSeq.k = {}
by A1,A2;
then
A3: ASeq.
0 ={}
by Th55;
A4: (P * ASeq).
0 = P.(ASeq.
0)
by FUNCT_2:
15
.=
0 by A3,VALUED_0:def
19;
A5:
for k st k
in dom FSeq
holds (P * ASeq).k = (P * FSeq).k
proof
let k
such that
A6: k
in dom FSeq;
k
in NAT
by ORDINAL1:def
12;
hence (P * ASeq).k = P.(ASeq.k)
by FUNCT_2:
15
.= P.(FSeq.k)
by A1,A6
.= (P * FSeq).k
by A6,FUNCT_1:
13;
end;
1 =
0+
1;
then
A7: Partial_Sums(P * ASeq).
1 = Partial_Sums(P * ASeq).
0 + (P*ASeq).
1 by
SERIES_1:def
1
.= (P*ASeq).
0 + (P*ASeq).
1 by SERIES_1:def
1
.= (P * ASeq).
1 by A4;
A8: len FSeq >=
1 implies Partial_Sums(P * ASeq).
1=(P * FSeq).
1 &
for m st
m <>
0 & m < len FSeq
holds Partial_Sums(P*ASeq).(m+
1)=Partial_Sums(P*ASeq).m+(
P*FSeq).(m+
1)
proof
assume len FSeq >=
1;
then 1 in dom FSeq
by Th2;
hence Partial_Sums(P * ASeq).
1 = (P * FSeq).
1 by A5,A7;
thus for m st m <>
0 & m < len FSeq
holds Partial_Sums(P*ASeq).(m+
1)=
Partial_Sums(P*ASeq).m+(P*FSeq).(m+
1)
proof
let m;
assume that
m <>
0 and
A9: m < len FSeq;
reconsider m1 = m as Element
of NAT
by ORDINAL1:def
12;
m+
1 in Seg len FSeq
by A9,FINSEQ_3:
11;
then
A10: m+
1 in dom FSeq
by FINSEQ_1:def
3;
thus Partial_Sums(P*ASeq).(m+
1) = Partial_Sums(P*ASeq).m1+(P*ASeq).(m1+
1
)
by SERIES_1:def
1
.= Partial_Sums(P*ASeq).m+(P*FSeq).(m+
1)
by A5,A10;
end;
end;
defpred P[Nat] means Partial_Sums(P * ASeq).((len FSeq +
1) + $
1) =
Partial_Sums(P * ASeq).(len FSeq);
A11:
for m
being Nat
holds (P * ASeq).((len FSeq +
1) + m)=
0
proof
set k=len FSeq +
1;
let m
be Nat;
reconsider m1=m as Element
of NAT
by ORDINAL1:def
12;
k + m >= k
by NAT_1:
11;
then len FSeq +
1 + m > len FSeq
by Lm1;
then not len FSeq +
1 + m
in dom FSeq
by FINSEQ_3:
25;
then
A12: ASeq.((len FSeq +
1) + m) = {}
by A2;
thus (P * ASeq).((len FSeq +
1) + m) = P.(ASeq.((len FSeq +
1) + m1))
by
FUNCT_2:
15
.=
0 by A12,VALUED_0:def
19;
end;
A13:
for k st P[k]
holds P[k+
1]
proof
let k
such that
A14: Partial_Sums(P * ASeq).((len FSeq +
1) + k) = Partial_Sums(P *
ASeq).(len FSeq);
reconsider k1 = k as Element
of NAT
by ORDINAL1:def
12;
Partial_Sums(P * ASeq).((len FSeq +
1 + k)+
1) = Partial_Sums(P * ASeq
).(len FSeq +
1 + k1) + (P * ASeq).((len FSeq +
1) + (k1+
1))
by SERIES_1:def
1
.= Partial_Sums(P * ASeq).(len FSeq +
1 + k) +
0 by A11;
hence thesis by A14;
end;
now
let n
be Nat;
(Partial_Diff_Union ASeq).n c= ASeq.n
by Th17;
hence (P * Partial_Diff_Union ASeq).n <= (P * ASeq).n
by Th5;
end;
then
A15:
for n
being Nat
holds (Partial_Sums(P * Partial_Diff_Union
ASeq)).n <= (Partial_Sums(P * ASeq)).n
by SERIES_1:
14;
A16: Partial_Sums(P * Partial_Diff_Union ASeq)
is convergent
by Th45;
Partial_Sums(P * ASeq).((len FSeq +
1) +
0) = Partial_Sums(P * ASeq).(
len FSeq) + (P * ASeq).((len FSeq +
1) +
0)
by SERIES_1:def
1
.= Partial_Sums(P * ASeq).(len FSeq) +
0 by A11;
then
A17: P[
0];
A18:
for k
holds P[k]
from NAT_1:sch
2(A17,A13);
A19:
for m st len FSeq +
1 <= m
holds Partial_Sums(P * ASeq).m =
Partial_Sums(P * ASeq).(len FSeq)
proof
let m;
assume len FSeq +
1 <= m;
then ex k
being Nat st m = (len FSeq +
1) + k
by NAT_1:
10;
hence thesis by A18;
end;
then
A20: lim Partial_Sums(P * ASeq) = Partial_Sums(P * ASeq).(len FSeq)
by Th3;
then
A21: Sum(P * ASeq) = Partial_Sums(P * ASeq).(len FSeq)
by SERIES_1:def
3;
A22: Sum(P * FSeq) = Sum(P * ASeq)
proof
now
per cases;
suppose
len FSeq =
0;
then len (P * FSeq) =
0 & Sum(P * ASeq) =
0 by A4,A21,Th61,
SERIES_1:def
1;
hence thesis by Th62;
end;
suppose
A23: len FSeq <>
0;
then 1 <= len FSeq
by NAT_1:
14;
then
A24:
1 <= len (P * FSeq)
by Th61;
then consider seq1
being Real_Sequence
such that
A25: seq1.
1 = (P * FSeq).
1 and
A26:
for n st
0 <> n & n < len (P * FSeq)
holds seq1.(n+
1) = seq1.
n+(P * FSeq).(n+
1)
and
A27: Sum(P * FSeq) = seq1.(len (P * FSeq))
by Th63;
defpred P[object,object] means
ex n st (n=$
1 & (n =
0 implies $
2=
0) & (n <>
0 & n <= len (P * FSeq)
implies $
2=seq1.n) & (n <>
0 & n > len (P * FSeq)
implies $
2=Partial_Sums(P*ASeq).(len(P * FSeq))));
ex seq
being Real_Sequence st
for n
holds (n=
0 implies seq.n=
0) &
(n<>
0 & n <= len (P * FSeq)
implies seq.n=seq1.n) & (n<>
0 & n > len (P * FSeq)
implies seq.n=Partial_Sums(P*ASeq).(len (P * FSeq)))
proof
A28:
for x
being object st x
in NAT
ex y
being object st P[x,y]
proof
let x
be object;
assume x
in NAT;
then reconsider n=x as Element
of NAT;
now
per cases;
case
n=
0;
hence P[x,
0];
end;
case
n <>
0 & n <= len (P * FSeq);
hence P[x,(seq1.n)];
end;
case
n <>
0 &
not n <= len (P * FSeq);
hence P[x,Partial_Sums(P*ASeq).(len(P * FSeq))];
end;
end;
hence thesis;
end;
consider f
being Function
such that
A29: dom f=NAT &
for x
being object st x
in NAT
holds P[x,f.x]
from CLASSES1:
sch
1(A28);
now
let x;
assume x
in NAT;
then
ex n st n=x & (n =
0 implies f.x=
0) & (n <>
0 & n <= len (P *
FSeq)
implies f.x=seq1.n) & (n <>
0 & n > len (P * FSeq)
implies f.x=
Partial_Sums(P*ASeq).(len(P * FSeq)))
by A29;
:: Copyright (c)
2005-
2026 :: (Stowarzyszenie Uzytkownikow Mizara, Bialystok
:: This code can be distributed under the GNU General Public Licence
end:: http://creativecommons.org/licenses/by-sa/3.0/.
then CARD_1, ARYTM_3 ,
take seq=f;
let n;
n
in NAT
by ORDINAL2, java.lang.StringIndexOutOfBoundsException: Range [35, 34) out o
f bounds for length 77
kstk= &(k0implies.n0&(k<> k< (P*
FSeq)KURATO_0 java.lang.StringIndexOutOfBoundsException: Range [26, 24) out of bounds for length 73
Partial_Sums(P*ASeq).(len (P * FSeq))) by A29;
hence TARSKI,XBOOLE_0 java.lang.StringIndexOutOfBoundsException: Index 49 out of bounds for length 49
thenFINSEQ_2 FINSEQ_3, RVSUM_1, FINSOP_1,SETWISEO, BINOP_2, XREAL_1,
n0impliesseq2.=0) n<> &n =len P *
seq2.=eq1.n)&(n> &n>len ( *FSeq)impliessjava.lang.StringIndexOutOfBoundsException: Index 73 out of bounds for length 73
Partial_Sumsg,s,t,p for Real,
P[]means seq2. Partial_Sums *ASeq.$java.lang.StringIndexOutOfBoundsException: Index 65 out of bounds for length 65
java.lang.StringIndexOutOfBoundsException: Range [27, 3) out of bounds for length 34
proof XSeq,YSeqfor SetSequence Si,
let k such Omega for non empty set
P[;
per cases;
case
k = 0;
thus seq2.1 = Partial_Sums(P * ASeq).1 by A8,A23,A24,A25,A30,
NAT_1:14;
end;
case
A33: k <> 0 & k <= len (P * FSeq) -1;
then
A34: k + 0 < (len (P * FSeq) - 1) + 1 by XREAL_1:8;
then
A35: k < len FSeq by Th61;
k+1 <= len (P * FSeq) -1 +1 by A33,XREAL_1:7;
hence seq2.(k+1) = seq1.(k+1) by A30
.= seq1.k + (P * FSeq).(k+1) by A26,A33,A34
.= Partial_Sums(P * ASeq).k + (P * FSeq).(k+1) by A30,A32,A33
,A34
.= Partial_Sums(P * ASeq).(k+1) by A8,A33,A35,NAT_1:14;
end;
case
k <> 0 & not k <= len (P * FSeq) - 1;
then
A36: k+1 > len (P * FSeq) - 1 + 1 by XREAL_1:8;
then k+1 >= len (P * FSeq) + 1 by NAT_1:13;
then consider i being Nat such that
A37: k+1 = len (P * FSeq) + 1 + i by NAT_1:10;
thus seq2.(k+1) = Partial_Sums(P * ASeq).(len (P * FSeq)) by A30
,A36
.= Partial_Sums(P * ASeq).(len FSeq) by Th61
.= Partial_Sums(P * ASeq).((len FSeq + 1) + i) by A18
.= Partial_Sums(P * ASeq).(k+1) by A37,Th61;
end;
end;
hence thesis;
end;
seq2.0 = (P * ASeq).0 by A4,A30
.= Partial_Sums(P * ASeq).0 byjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
then
A38: 0;
A39: for k holds P[k] from NAT_1:sch 2(A38,A31);
len (P * FSeq) <> 0 by A23,Th61;
then seq2.(len A3:0 <p;
P * Partial_Sums(P *ASeq). P*)java.lang.StringIndexOutOfBoundsException: Range [73, 72) out of bounds for length 76
=Sum(* ASeq) by,
;
end*)n=P(.)by A1,FUNCT_1:12;
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
Partial_SumsP* by A19,Th3;
then P Partial_Diff_Union =lim Partial_SumsP java.lang.StringIndexOutOfBoundsException: Range [76, 77) out of bounds for length 76
assume =m
then Sum ( reconsider nn=n,mmm as Element of by ORDINAL1:def12;
SERIES_1 33java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 15
) =SumP :3
then(UnionPartial_Diff_Union ASeq) <= Sum(P * ASeq) by Th46;
hence thesis by A19,A20,A22,Th3,Th20,SERIES_1:def 3;
end;
theorem
P.(Union (P * ASeqP*ASeq).n =PASeq<(P *ASeq). byA3,ROB_1:
FSeq SumP *)
:java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
consider ASeq SetSequenceof suchthat
1 for k st kin dom FSeq holdsASeq.k=FSeq.k and
A2: for k st not k in dom FSeq holds ASeq.k = {} by Th56;
reconsider XSeq = ASeq as SetSequence of Omega;
A3: X st P[n,x,]
for k st not take x /\ A1n+);
then PA2 F. A1. and
A1A2Tjava.lang.StringIndexOutOfBoundsException: Range [53, 54) out of bounds for length 53
ionFSeq) =SumP*FSeq)by ,,Th64java.lang.StringIndexOutOfBoundsException: Index 54 out of bounds for length 54
proof
A4 .=A1. and
A5: FSeq is disjoint_valued implies ASeq is disjoint_valued
proof
assume
A6: FSeq is disjoint_valued;
for m,n being Nat
proof
let m,n proof
A7: m >n;
per end;
A8 m in dom FSeq&n in omFSeqjava.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 38
FSeq.misses FSeq. byA6,7PROB_2;
then ASeq.m misses :Def2:
by,java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
end;
suppose
not (m in dom FSeq:forbeing Natfor Subset ofX exy being Subsetof
:0 1. and
(A1)
letbeNat
end [nF.,F.1]by A3;
java.lang.StringIndexOutOfBoundsException: Range [16, 4) out of bounds for length 17
end;
thus forn beingNat)
hence
.Sum(P*FSeq) by A1,A2,Th64;
end;
definition
::$CD 2
letX;
IT Subset-Familyof X;
java.lang.StringIndexOutOfBoundsException: Range [20, 2) out of bounds for length 40
Def7
end
st n=k1
attr IT is non-increasing-closed means
:java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 0
for(artial_Intersection.+)=(artial_Intersection A1).n /\ A1.(n
st A1 is non-ascending+ byDef1
end;
theorem Th66
for IT b Natjava.lang.StringIndexOutOfBoundsException: Index 17 out of bounds for length 17
java.lang.StringIndexOutOfBoundsException: Range [48, 3) out of bounds for length 78
limA1 in IT
-Family ofX;
ITis nondecreasing-closed implies for A1being ofXst A1
is non-escending &rng c=IT lim A1 in IT
proof
A1: IT is non-decreasing-closed;
now
let A1 be SetSequence of X;
assume that
A2: A1 is nonendjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
A3k
A1inIT by A,A3;
java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 9
end;let ksuch that
hencethesis;
end;
assume
A4: forA8: [0]
holds limtheninA10
forA1 beingSetSequenceof Xst A1is nondescending &rng A1 c=IT
holds java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proofdefpred P[Nat x(A1.1 exk st k<$ java.lang.StringIndexOutOfBoundsException: Index 78 out of bounds for length 78
quence X
assume that
A5: A1 is non-descending and
A6 A1c= IT;
byA5,NAT_1:12java.lang.StringIndexOutOfBoundsException: Index 35 out of bounds for length 35
end
end;
thesis
end;
theorem Th67:
for IT be . =(java.lang.StringIndexOutOfBoundsException: Range [25, 24) out of bounds for length 38
forbeingofXstA1is- c=IT holds
lim A1 java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 4
proof
let IT be let java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
is non-increasing-closed implies for A1 being SetSequence of X st A1
is non-ascending & rng A1 c= IT holds lim A1 in IT
proof
assume
A1: IT is non-increasing-closed;
now
end
java.lang.StringIndexOutOfBoundsException: Range [6, 5) out of bounds for length 6
n java.lang.StringIndexOutOfBoundsException: Range [51, 47) out of bounds for length 53
A1c=IT;
end;
byA264
end;
hencePartc= A1
assume
A4: for Partial_Union A1. by12
holds lim A1 in IT;
for A1 being SetSequence of X st consider
holds Intersectionjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
proof
let hence thjava.lang.StringIndexOutOfBoundsException: Range [27, 24) out of bounds for length 28
assume that
A5: A1 is nonDef3
A6 c ;
l inITA4A5,6;
64;
end;
thesis;
end;
theorem Th68:
bool X is(Partial_Union)
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
cluster non-decreasing-xyjava.lang.StringIndexOutOfBoundsException: Range [18, 17) out of bounds for length 74
existence
proof
take java.lang.StringIndexOutOfBoundsException: Range [2, 13) out of bounds for length 7
thesisjava.lang.StringIndexOutOfBoundsException: Index 16 out of bounds for length 16
end;
definition
let X;
modethus S1k+)=A1.k+)\ (java.lang.StringIndexOutOfBoundsException: Index 61 out of bounds for length 61
Subset-Family of X;
end
Th69
java.lang.StringIndexOutOfBoundsException: Range [21, 20) out of bounds for length 56
SetSequenceof X st A1 is monotone & c= Z holdslimA1 Z
proof
isXc X&forbeing
of X st A1byNAT_16
proof
java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 44
A1 java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 28
then reconsider Z as java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 13
forjava.lang.StringIndexOutOfBoundsException: Range [26, 25) out of bounds for length 34
lim A1 java.lang.StringIndexOutOfBoundsException: Range [0, 13) out of bounds for length 8
assumejava.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
let A1 be SetSequence
assume
A2: A1 is monotone t java.lang.StringIndexOutOfBoundsException: Range [23, 19) out of bounds for length 42
A3: ljava.lang.StringIndexOutOfBoundsException: Range [14, 15) out of bounds for length 14
perhence java.lang.StringIndexOutOfBoundsException: Range [24, 23) out of bounds for length 30
suppose
A1 is by A7,;
java.lang.StringIndexOutOfBoundsException: Range [20, 13) out of bounds for length 35
endbyTh16;
supposejava.lang.StringIndexOutOfBoundsException: Range [26, 21) out of bounds for length 51
is non-java.lang.StringIndexOutOfBoundsException: Range [28, 27) out of bounds for length 28
hence thesis by A1,A3,java.lang.StringIndexOutOfBoundsException: Range [0, 34) out of bounds for length 13
;
end;
hencethesis;
that
A4: Z c= bool let k be Nat suchthat
A5:forA1 being SetSequence of X st A1 is monotone & rng A1 c= Z holds
limA1inZ
reconsider Zas - of X ;
java.lang.StringIndexOutOfBoundsException: Range [7, 3) out of bounds for length 70
holds lim. . java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 21
proof
letA1beofX;
assume
A7: A1 is non-ascending & rng A1 c= Z;
A1 is monotone & rng A1 c= Z implies lim A1 in Z by A5;
thesis,def1;
end;
A1=
holds lim A1 in Z
proof
let A1 be SetSequence of;
assume
A1 is non-&rngA1 c Z;
attrjava.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 43
hence thesis by A8,SETLIM_1:def 1;
end;
hence thesis by A6,Th66,Th67now
end;
theorem Th70:
for F being java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
is MonotoneClass of X
proof
let F be hesis by PROB_2:def ;
thus F is java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Range [7, 8) out of bounds for length 7
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 32
then reconsider F <java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
:A1 ofXst A1is non-&rng A1 c=F
holds Union A1 in F
java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 36
let A1 be SetSequence of X;
assume
A1isnon-
gA1 c=F
reconsider;
java.lang.StringIndexOutOfBoundsException: Index 12 out of bounds for length 12
hence thesis;
end;
Fis non-ncreasing-closed
ef6
hencethesis ,Def7
end;
assume
: java.lang.StringIndexOutOfBoundsException: Range [26, 22) out of bounds for length 28
tersectionA1inF
proof
let A1 XSeq0inrng& Partial_Intersection. = XSeq.0 by Def1,
A4: rng A1 c= java.lang.StringIndexOutOfBoundsException: Index 15 out of bounds for length 9
set A2 = Partial_Intersection A1;
defpred P[Nat] means A2.$1 in hence
A5: java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
let k;
assume
A6A1:for be Nat st P[k holdsP[+
A1.(k+1) in rng A1 & A2.(k+1) = A2.k /\ A1.(k+1) by Def1,NAT_1:51;
hence A2.(k+1) in F by A4,A6,FINSUB_1:def 2;
end;
A1.0 in rng A1 & A2.0 = A1.0 by Def1,NAT_1:51;
then
A7: P[0] by A4;
for k holds P[k] from NAT_1:sch 2(A7,A5);
then
A8: rng A2 c= F by NAT_1:52;
A2 is non-ascending by Th10;
then Intersection A2 in F by A3,A8,Def8;
hence thesis by Th14;
end;
hence thesis by PROB_1:def 6;
end;
theorem
bool Omega is MonotoneClass of Omega by Th68;
definition
let Omega;
let X be Subset-Family of Omega;
func monotoneclass(X) -> MonotoneClass
:Def9:
X c= it & for Z st X c= Z & Z is MonotoneClass of Omega holds it c= Z;
existence
proof
set V = { M where M is Subset-Family of Omega : X c= M & M is MonotoneClass
of Omega};
set Y = meet V;
A1: for Z st Z in V holds X c= Z
proof
let Z;
coherence
then -amilyofst =M c &Mis
MonotoneClass of Omega;
java.lang.StringIndexOutOfBoundsException: Index 9 out of bounds for length 9
end;
bool Omega is MonotoneClass of Omegathen
then
A2: bool Omega in V;
for MSeq being SetSequence of byA2,Def3;
holds lim MSeq
let MSeq be SetSequence of Omega such that
A3: MSeq is monotone and
A4: rng MSeq c= Y;
now
let Z;
assume
A5: Z in V;
now
let n be Nat n+)=YSeq.n / Def2
MSeq.n (java.lang.StringIndexOutOfBoundsException: Range [30, 23) out of bounds for length 49
henceMSeq. inZ A4A5Sdef1
end;
then
:rngMSeq c= Z by NAT_1:52;
ex M being Subset-Family of Omega st Z = x ( XSeq).
MonotoneClass of Omega by A5;
hence lim MSeq in Z by A3,A6,java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
end;
java.lang.StringIndexOutOfBoundsException: Range [35, 4) out of bounds for length 38
end;
theore
take Y;
for Z st X c= Z & Z is MonotoneClass of java.lang.StringIndexOutOfBoundsException: Index 44 out of bounds for length 7
proof
let Z;
assume java.lang.StringIndexOutOfBoundsException: Index 7 out of bounds for length 7
XSeqimplies YSeq0=XSeq. & for n
hence thesis by SETFAM_1:3;
end;
hence thesis by A2,A1,SETFAM_1:5;
end;
uniqueness
end;
theorem Th72:
for Z being Field_Subset of Omegajava.lang.StringIndexOutOfBoundsException: Range [5, 6) out of bounds for length 5
(XSeq). c Partial_UnionXSeq)n Th18
proof
java.lang.StringIndexOutOfBoundsException: Range [16, 15) out of bounds for length 71
A1: Z c= monotoneclass(Z) by Union Partial_Diff_Union XSjava.lang.StringIndexOutOfBoundsException: Range [27, 26) out of bounds for length 53
then reconsider Z1=monotoneclass(P *java.lang.StringIndexOutOfBoundsException: Range [25, 20) out of bounds for length 44
A2: for y,Y being set
st Y = {x where x
x /\ y in Z1}
for z being set st z in Y holds z in Z1 & y \ z in Z1 & z \ y in java.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
z /\ y in Z1
proof
let y,Y be set;
assume
A3: Y = {x where x is Element of Z1: y \ x in Z1 & x \ y in Z1 &hence thesis bySERIES_116java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
thus for z being set st z in Y
holdsz in Z1 y z inZ1 \y in Z1 &z /\ y
Z1
proof
let zbe ;
assume z in Y;
exz1be Z1st &y Z1&z1\y in & z1
/ inbyjava.lang.StringIndexOutOfBoundsException: Range [23, 24) out of bounds for length 23
hence thesis;
endASeq=( *Partial_UnionASeq &lim( Partial_UnionASeq)
nd;
A4:for Element of Z1Y Y={xw x is of : y\x
Z1 x\y & /y inZ1}holdsY is MonotoneClassof
proof
let y be java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
=PASeq Th15
A5: Y = {x where x is Element of Z1: y java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 4
A6: for A1 being Partial_Union ASeqnmissesm
n,such
proof
let A1 be SetSequence of Omega A3 in(ASeq.and
A7: A1 java.lang.StringIndexOutOfBoundsException: Range [18, 12) out of bounds for length 42
A9 A1 is convergent A7,ETLIM_165;
for thenASeq. / ASeq. }java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 29
proof
let n;
A1.n in rng A1 by NAT_1:51;
hencebyA2,A5A8
end;
then rng A1 c= Z1A3is disjoint_valued
then
A10: lim A1 is Element of Z1 by A7,Th69;
for n holds (A1 (\) y).n in Z1
proof
let n be Nat;
A1.n in rng A1 by java.lang.StringIndexOutOfBoundsException: Index 29 out of bounds for length 19
then n in NAT & A1.A6: (artial_Union ASeq)k misses ASeq.k+)by A3,Th42
hence thesis by SETLIM_2:def 8;
end;
then
:rngA1 (\ y c 52;
( .k1)= .ASeq.k+)byA2
proof
let n;
.= =P*Partial_Union ASeq).k + P.(ASeq.(k+1)) by A2,FUNCT_1:12;
then n in NAT & y then n in NAT & y
hence thesis by SETLIM_2:def 5;
end;
then
A12: rng ( java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 60
y (/\) A1 is monotone by A7 onvergent &lim Partial_Sums(P*ASeq)=upper_bound Partial_Sums(P * ASeq)
then lim (y (/\) A1) in Z1 ASeq
then
A13: y /\ lim A1 in Z1 by A9,SETLIM_2java.lang.StringIndexOutOfBoundsException: Index 38 out of bounds for length 23
for n holds (y (\) A1).n in Z1
proof
java.lang.StringIndexOutOfBoundsException: Range [2, 1) out of bounds for length 57
A1.n in java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 0
then n in NAT &coherence
henceper cases;
end;
then
A14: rng(y (\) A1) c= Z1 by NAT_1:52;
y (n in dom F1;
then lim (y (\) A1) in Z1 by A14,Th69;
then
A15: y \ let n be ElementNAT;
A1 (\) y njava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 34
then lim (A1 (\) y) in Z1 by A11,Th69;
then lim A1 \ y then ex i be Nat stin dom &F1ix10;
hence thesis by A5,A10,A15,A13;
end;
for z being object holds zendjava.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
then Y c= Z1;
hencebyA6,Th69XBOOLE_1:;
end;
A16hence java.lang.StringIndexOutOfBoundsException: Range [17, 16) out of bounds for length 23
Z1 x \y inZ1&x/\y Z1}holds Z1 c= Y
proof
let
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 10
A17: Y = {x where x is Element of Z1: y \ x in Z1 & x \ yredefinefuncUnion F1 - ubset ofjava.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
y in Z1}java.lang.StringIndexOutOfBoundsException: Index 13 out of bounds for length 13
c Y
proof
zbe object;
java.lang.StringIndexOutOfBoundsException: Index 23 out of bounds for length 23
assume
A19: z in Z;
then
A20:assume x in Yjava.lang.StringIndexOutOfBoundsException: Range [20, 21) out of bounds for length 20
zz \ y in Z & y \ zz in Z by A19,PROB_1:6;
hence thesis ex i being Nat i in domF1 &Z = F1.by A3,FINSEQ_2:;
end;
y Z;
then then Y is java.lang.StringIndexOutOfBoundsException: Range [19, 18) out of bounds for length 23
henceby,
Y = Union F1 by CARD_3:def 4;
A21: for y being Element of Z1,Y st Y = {x where x is Element of Z1: y \ x
in Z1 & x \ y in Z1 & x /\
proof
let y be Element of Z1,Y;
assume
nt of Z1 x in Z1 \y in Z1 x/
y in Z1};
A23: Z c= Y
proof
z beobject;
reconsider zz=z as set by TARSKI:1;
set Y1=
from FINSEQ_2:sch1;
in Z1};
assume
A24: endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
then
A25: Z1 c= Y1 by A16;
A26: y in Z1;
then
A27:zz/ y in Z1 by A2,A25;
zz\y Z1 &y \ zz in Z1 byA2,A25,A26;
hence byA1A,,A27
java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
Y is MonotoneClass of Omega by java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 19
hence thesis by A23,Def9;
end;
A28: for y being Subset of Omega st y in Z1 holds y` in Z1
proof
Omega in Z by java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 18
then
A29: Omega in Z1 by hence thesis by:13;
let y
A30: yin Z1;
set Y = {x Def6
Z1}java.lang.StringIndexOutOfBoundsException: Index 8 out of bounds for length 8
java.lang.StringIndexOutOfBoundsException: Range [4, 3) out of bounds for length 4
then Omega java.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 66
hence thesis by SUBSET_1:def 4;
end;
now
let y, beset;
assume that
A31: A1: fornst n in dom holds X \(omplementF1)n F1.n
A32: let n;
set Y = {x where x is Element of Z1: y \ x in Z1 & x \ y in Z1 & x assume indomF1;
Z1};
=(F1)by A2,Def5
hence ence thesis;
end assume
hence thesisA4: dom F1< {}byRELAT_1:;
end;
theorem
for Z being Field_Subset of Omega holds assume
proof
let Z be Field_Subset of Omega;
Z Field_Subset Omegaby Th72java.lang.StringIndexOutOfBoundsException: Index 51 out of bounds for length 51
then
java.lang.StringIndexOutOfBoundsException: Range [33, 2) out of bounds for length 51
Z c=ZbyDef9
hence java.lang.StringIndexOutOfBoundsException: Index 10 out of bounds for length 10
n Elementof NAT such that
hence thesis by Def9;
end;