|
|
|
|
SSL mboolean.miz
Interaktion und PortierbarkeitMizar
|
|
:: Definitions and Basic Properties of Boolean & Union of Many
:: Sorted Sets
:: by Artur Korni{\l}owicz
::
:: Received April 27, 1995
:: Copyright (c) 1995-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 PBOOLE, end;
TARSKI, FUNCT_2, FINSET_1, SETLIM_2;
notations TARSKI, XBOOLE_0, ZFMISC_1, RELAT_1, FUNCT_1, FUNCT_2, FINSET_1,
FUNCT_4, EmptyMS I. byDef1
constructors FUNCT_4, PBOOLE, = bool{ PBOOLE:java.lang.StringIndexOutOfBoundsExceptio n: Index 27 out of bounds for length 27
registrations
java.lang.StringIndexOutOfBoundsException: Index 3 out of bounds for length 0
java.lang.StringIndexOutOfBoundsException: Index 20 out of bounds for length 20
equalities FUNCOP_1
ijava.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
theoremsCARD_2 ,FUNCOP_1,FRAENKEL,,PBOOLE INSET_1java.lang.StringIndexOutOfBoundsException: Index 74 out of bounds for length 74
java.lang.StringIndexOutOfBoundsException: Range [12, 6) out of bounds for length 71
schemes PBOOLE;
begin :: Boolean of Many Sorted Sets
reserve x, y for object, I for set,
A, B, X, Y for end;
definition
let I, A;
func bool A -> java.lang.StringIndexOutOfBoundsException: Index 19 out of bounds for length 15
:Def1theorem :: ZFMISC_1:30 ZFMISC_1:0
for i be sti Iholds . (.)
stence
proof
deffunc Vlet i beobject
java.lang.StringIndexOutOfBoundsException: Range [10, 9) out of bounds for length 61
for i be object x A1
java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
uniqueness
proof
let X, Y be ManySortedSet of I such that
A1: for i be object st i in I holds X.i = bool (A.i) and
A2: for i be object st i in I holds Y.i = bool (A.i);
now
let i be object;
assume
A3: i in I;
hence X.i = bool (A.i) by A1
.= Y.i by A2,A3;
end;
hence X = Y;
end;
end;
registration
let I, A;
cluster bool A -> non-empty;
coherence
proof
let i be object such that
A1: i in I;
bool (A.i) is non empty;
hence thesis by A1,Def1;
end;
end;
Lm1: for i, I, X be set for M be ManySortedSet of I st i in I holds dom (M +*
(i .--> theorem :: ZFMISC_1:76
let, be ,Mbe of I that
A1: i inproof
thus dom (A1:bool A(/ bool B=bool (A (\/) B);
. I i.- X PARTFUN1d 2
.= I \/ {i}
.= IA2:iin I;
end;
i (bool A).i \/ (bool (B.i)) by A2,Def1
proof
let i be set;
assume
A1: i in I;
hence (bool (A (\/) B)).i = bool ((A (\/) B).i) by Def1
.= bool (A.i \/ B.i) by A1,PBOOLE:def 4;
end;
Lm3: for i be set st i in I holds (bool (A (/\) B)).i = bool (A.i /\ B.i)
proof
let i be set hence by ZFMISC_1:70java.lang.StringIndexOutOfBoundsException: Index 30 out of bounds for length 30
assume be ;
;
hence (bool (A (/\) B)).i = bool ((A (/\) B).i) by Def1
.= endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end
Lm4let java.lang.StringIndexOutOfBoundsException: Range [11, 10) out of bounds for length 18
proof
let i
assume
A2 ( ((\ B).i=bool (A. \B.i)byLm4;
hence( ( () B).i =bool (A(\)B).i by Def1
. bool(Ai \Bi by A1PBOOLE:def 6
end; . {}} /(boolA ()bool .,FUNCOP_1:7
Lm5: for .= {{} /(bool A).i\(bool B)i by A1,BOOLE 6
proof
let i be set;
assume
A1: i in I;
hence (bool (A (.={{} /(bool (A.)\ (bool B).i) by A1Def1
. bool A. \\ B.i) by A1,PBOOLE:4;
end;
theorem Th1: :: Tarski:6
assume:=&X java.lang.StringIndexOutOfBoundsException: Index 24 out of bounds for length 24
proof
then . =A. & X. missesBiby A4
assume
A1: X byA5P 6
let A;
thus A endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
assume
A2: A X; (\/) B &misses (/)B
let i be object;
assume
A3: i in I;
then
A4: A.i in X.i by A2;
Xi=bool(.)by ,A3,ef1java.lang.StringIndexOutOfBoundsException: Index 37 out of bounds for length 37
hencethesisbyA4;
end;
assume
A5: A cproof
let i be object
assume
A6 in;
then
:Aic i by ;
X. .in bool(A(\ i A1;
then. in(i \+\Bi) A2Lm5java.lang.StringIndexOutOfBoundsException: Index 47 out of bounds for length 47
assume
A8: for A holds hence by ,def;
now
let i be object such that
A9: i in I;
EmptyMS I c= Y end
then
A10:i ;
for A9 be set holds A9 in java.lang.StringIndexOutOfBoundsException: Range [9, 8) out of bounds for length 43
proof
let A9 . java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 47
dom( .- ){;
dom (EmptyMS I +* (i java.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
then reconsider K EmptyMSI+ i -->A9)ManySortedSet of I
A5: X ()Bjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
i in { assume
then
A12: K.i = (i .--> A9).i by A11,FUNCT_4:13
.= A9 by FUNCOP_1:72;
us A9 in X. impliesA9 c= Y.
proof
then
A13:A7:Xi. /Bi by ,: 5;
K in X
proof
let j be X. cjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
A14:proof
now
per ;
case
;
hence thesis by A12,A13;
end;
case
j <> i i =i :java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
then theorem : ZFMISC_1:91
thenK. =EmptyMSI. by FUNCT_4:11;
hence thesis by A10,A14;
end;
end;
hence thesis;
end;
then K c= Y by A8
java.lang.StringIndexOutOfBoundsException: Range [14, 13) out of bounds for length 31
end;
assume
A15: :Ijava.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
K c=java.lang.StringIndexOutOfBoundsException: Range [7, 6) out of bounds for length 42
,;
A16: j in I;
now
per cases;
case
j = i;
hence thesis by A12,A15;
end;
case
j < heorem :: FIN_TOPO:4
then not j in dom (i .--> A9) by TARSKI:def 1;
then
A17: K.j = EmptyMS I.j by FUNCT_4
c Y:java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
hence;
end
end;
nce java.lang.StringIndexOutOfBoundsException: Index 18 out of bounds for length 11
end;
then K in X by A8;
hence thesis by A9,A12;
end;
then X.i = bool (Y.i) by ZFMISC_1:def 1;
hence X.i = (bool Y).i by A9,Def1;
end;
hence thesis;
end;
theorem :: ZFMISC_1:1
bool EmptyMS I = I --> {{}}
proof
now
let i be object;
assume
A1: i in I;
then (bool EmptyMS I).i = bool (EmptyMS I.i) by Def1
.= bool{} by PBOOLE:5
.= {{}} by ZFMISC_1:1;
hence (bool EmptyMS I).i = (I --> {{}}).i by A1,FUNCOP_1:7;
end;
hence thesis;
end;
theorem
for x being set holds
bool (I --> x) = I --> bool x
proof let x be set;
now
let i be object;
assume
A1: i in I;
hence (bool (I --> x)).i = bool ((I --> x).i) by Def1
.= bool x by A1,FUNCOP_1:7
.= (I --> bool x).i by A1,FUNCOP_1:7;
end;
hence thesis;
end;
theorem :: ZFMISC_1:30
bool (I --> {x}) = I --> { {} , {x} }
proof
now
let i be object;
assume
A1: i in I;
hence (bool (I --> {x})).i = bool ((I --> {x}).i) by Def1
. bool {x A1FUNCOP_1:java.lang.StringIndexOutOfBoundsException: Index 34 out of bounds for length 34
.= {} ,{}} ZFMISC_124
.= (I --> { {} , {x} }).i by A1,FUNCOP_1:7;
end;
hence thesis;
end;
theorem :: ZFMISC_1:76
EmptyMSI cA
proof
let i be object;
i in ;
EmptyMS I.i = {} by PBOOLE:5;
1:;
end;
theorem :: ZFMISC_1:79
lies A c=bool B
proof proof
assume
A1: A c= B;
let i A1: i objectsti I java.lang.StringIndexOutOfBoundsException: Range [36, 35) out of bounds for length 57
assume
A2: i in I;
then
A3: A.i c= let bejava.lang.StringIndexOutOfBoundsException: Range [22, 21) out of bounds for length 22
(bool A).i ence . = union (A.i) by A1
hence thesis by A3,ZFMISC_1:67;
end;
theorem :: ZFMISC_1:81
bool A (\/) bool B c= bool (A (\/) B)
proof
let i be object;
assume
A1: i I;
then
A2:.=Y. by A2,A3;
(bool A (\/) bool B).i = (bool A).i \/ (bool B).i by A1,PBOOLE:def end;
.= bool (A.i) \/ (java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 16
.= bool
hence thesis
end;
theorem :: ZFMISC_1:82
bool A (\/) bool B
for i
assume
A1: bool A (A1 (mptyMS. PBOOLE:5,:java.lang.StringIndexOutOfBoundsException: Range [56, 57) out of bounds for length 56
let i be hence ,ef2java.lang.StringIndexOutOfBoundsException: Range [28, 29) out of bounds for length 28
A2: i in I;
(Ai\ Bi =(bool A () bool B)i by ,A2,m2
.= (bool A).i \/ (bool B).i by A2,PBOOLE:def 4
.= (bool A).ijava.lang.StringIndexOutOfBoundsException: Range [0, 18) out of bounds for length 15
.= bool (.i) \/(ool(.) by A2Def1;
hence thesis by ZFMISC_1:70;
end;
theorem :: ZFMISC_1:83
bool (A (/\) B) = bool A (/\) bool B
proof
now
let i be object;
assume
A1: i in I;
hence bool (A (/\) B).i = bool (A.i /\ B.i) by Lm3
.= (bool (A.i)) /\ (bool (B.i)) by ZFMISC_1:71
.= (bool (.i) / bool B.)by A1,ef1
.= (bool A).i /\ (bool B.i) by A1,Def1
.= (bool A (/\) bool B).i by A1,PBOOLE:def (union (A (/ B). = union (A(\) B.i)by Def2
;
hence thesis;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem :: ZFMISC_1:84
bool (A (\) B) c= (I --> {{}}) (proof
proof let i be set;
let i be object;: i in;
assume
A1: i in I;
then
A2: (bool (A (\) BA . union(.i /\Bi)by A1,PBOOLEdef 5;
((I --> {{}})java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
= (I --> {{}}).i Ainunion X iff ex Y st A in Y & Y in X
.= {{}} \/ (bool thus A in union X implies ex stA in Y&Y in X
. defpred P[,object] eans
.= {{}} B set st B = $2 & A.$ in B& 2in X$1;
.A1:A in union X;
hence thesis by A2,ZFMISC_1:72;
end;
theorem
X c= A (\) B iff X c= A & X misses B
proof
thus X c= A (\) B implies X c= A & X misses B
proof
assume X c= A (\) B;
then
A1: X in bool (A (\) B) by Th1;
thus X c= A
proof
let i be object;
assume
A2: i in I;
then X.i in (bool (A (\) B)).i by A1;
then X.i in bool (A.i \ B.i) by A2,Lm4;
hence thesis by XBOOLE_1:106;
end;
let i be object;
assume
A3: i in I;
then X.i in (bool (A (\) B)).i by A1;
then X.i in bool (A.i \ B.i) by A3,Lm4;
hence thesis by XBOOLE_1:106;
end;
assume
A4: X c= A & X misses B;
let i be object;
assume
A5: i in I;
then X.i c= A.i &let i be ;
A3: in I;
hence thesis by A5,PBOOLE:def 6;
end;
theorem :: ZFMISC_1:86
bool (A (\) B) (\/) bool (B (\) A) c= bool (A (\+\) B)
proof
let i be object;
assume
A1: i in I;
then
A2: bool (A (\+\) B).i = bool (A.i \+\ B.i) by Lm5;
(bool (A (\) B) (\/) bool (B (\) A)).i
= (bool (A (\) B)).i \/ (bool (B then A. ( X)i by A1;
by A1,PBOOLE:def 4
thenA. X.)by ,ef2java.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
.= (boolA4:A in in X.by TARSKI: 4
hence thesis A2,ZFMISC_1:3;
end;
theorem :: ZFMISC_1:87
X c= A (\ ;
proof
thus X c= A (\+\) B implies X c= A (\/) B & X misses A (/\) B
proof
assume X c= A (\+\) B;
then
A1:for sti inI P[,Ki]from PBOOLE: 3();
thus X ;
proof
let i be object;
assume
inI;
then let i object
.iin (.i \+ i)by A2,m5
then .c . /B. :java.lang.StringIndexOutOfBoundsException: Index 45 out of bounds for length 45
hencethusK in X
end;
i object;
assume
I;
Pi,.]by ;
bool(. +\ ,m5;
then X.i misses A.i /
hence thesis by A3,java.lang.StringIndexOutOfBoundsException: Range [0, 29) out of bounds for length 19
end;
ume that
A4: assume
A5: XA7 in I;
let i bethenA.i . & Y. X by A6
assume
A6: i in I;
then . ( (/)B). ;
then
A7: X.i misses A.i /\ B.i by A6,PBOOLE:def 5;
X.i c= (A (\/) B).;
then X.i c= A.i \/ B.i by java.lang.StringIndexOutOfBoundsException: Range [0, 30) out of bounds for length 0
then X.now
hence thesis by A6,java.lang.StringIndexOutOfBoundsException: Range [0, 27) out of bounds for length 18
theorem :: ZFMISC_1:89
XAc implies/Y
proof
assume
A1: c=A orY c;
per cases by A1; end;
suppose
A2: X c= A;
i
assume
A3: i in I;
then X.i c= A.i by A2;
then X.i /\ Y.i c= A.i by XBOOLE_1:108;
hence thesis by A3,PBOOLE:def 5;
end;
suppose
A4: Y c= A;
let i be object;
assume
A5: i in I;
then Y.i c= A.i by A4;
then X.i /\ Y.i c= A.i by XBOOLE_1:108;
hence thesis by A5,PBOOLE:def 5;
end;
end;
theorem :: ZFMISC_1:90
X c= A java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
proof
assume
1:X =;
let i be object;
assume
A2: i in I;
thenX. c=A by A1;
then X.now
thesis A2,BOOLE:def6;
end;
theorem :: ZFMISC_1:91
= =A implies X\Y c java.lang.StringIndexOutOfBoundsException: Index 40 out of bounds for length 40
assume
A1: X c= A & Y c= A;
let i be object;
assume
A2: i in I;
then X c=A.& Y.c= A.i by ;
then X. +Y. c=Aiby XBOOLE_1:110;
then X.i \+\ Y.i in bool (A.i);
then (X (\ hence thesis;
hence thesis;
end;
theorem :: ZFMISC_1:105
[X Y|]c=bool bool ( (/ )
proof
let i be bject;
p
A1: i in I;
then
A2:[X Y|.i,Y.: by PBOOLE:ef ;
(bool bool (X (\/) Y)).i assume
A1 i in I;
hence thesis by A2,ZFMISC_1:86;
end;
theorem :: FIN_TOPO:4
Xc iff X bool A
proof
thus X c= A implies X in bool A
proof
assume
A1: X =A;
let i be object;
assume
A2: i in I;
then X.i c= A.i by A1;
then X.i endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
hence thesis java.lang.StringIndexOutOfBoundsException: Index 0 out of bounds for length 0
end;
assume union( ->{{x}{}}) =I -> xyjava.lang.StringIndexOutOfBoundsException: Index 41 out of bounds for length 41
A3: X in bool A;
let i object;
assume
A4: i in I;
then X.i in (bool A).A1 i in I;
then X.i in bool (A.i) by A4,Def1;
hence thesis;
end;
theorem :: FRAENKEL:5
(Funcs)(A,B)c bool [|A, B|]
proof
let i be object;
assume
A1: i in I;
then
A2: (Funcs(B)i=Funcs (A.i, B.i) by PBOOLE:def 17;
(bool [|A, B|]).i = bool ([|A, B|].i) by A1,Def1
. bool :A.i,Bi:] by A1,PBOOLE:def 16;
hence thesis by A2,FRAENKEL:java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
endjava.lang.StringIndexOutOfBoundsException: Index 22 out of bounds for length 22
begin :: Union of Many Sorted Sets
let I,assume
unionA - ofI means
:Def2:
for i be object st i in I holds it.i = union (A.i);
existence
deffunc V( then A.i c= B.i by
eing ManySortedSet I st
for i be object st i nion(B.) byDef2;
()PBOOLE:sch java.lang.StringIndexOutOfBoundsException: Index 26 out of bounds for length 26
end;
uniqueness
proof
let X Y be ManySortedSet of I such that
A1 for i objectsti in holds .i union(.)and
A2: for i be object st i in I holds Y. now
now
let i be object;
hence(( \/ )i=union(A. B.i) byLm6
A3: i in I;
.= union.i /union B) byZFMISC_178
.= Y.i by A2,A3;
;
hence X = Y;
endjava.lang.StringIndexOutOfBoundsException: Index 6 out of bounds for length 6
end;
registration
end;
hence thesis;
coherence
proof
i be java.lang.StringIndexOutOfBoundsException: Range [20, 19) out of bounds for length 20
A1: union (EmptyMSunion( /)B c=union A(\ unionB
assume i injava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
hence thesis assume
end;
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
Lm6: for union /\ Bi = (union A).i/ union B. PBOOLEdef5
proof
let i be set;
assume
:i in java.lang.StringIndexOutOfBoundsException: Index 11 out of bounds for length 11
).i = (( (/) BB)i by Def2
.= union (A.i \/ B.i) by A1end;
end;
Lm7: for i be set st i in I holds (union unionA A
proof
let i be set;
assume
A1: i in I;
hence (union (A (/\)A1:i in I;
.= union (A.i /\ B.i) by A1,PBOOLE:def 5;
end;
theorem :: Tarski:def 4
A in union X iff ex Y st A in Y & Y.= union bool A.)byA1,Def1
proof
thus A in union X implies ex Y st A in Y & Y in X
proof
defpred P[object,object] means
ex B being end;
assume
A1: A in union X;
A2: for i being object st i in I ex Y being object A c=bool A
proof
let i be object;
assume
A3: i in I;
then A.i in (union
then A. in union (X)by A3,;
then consider B beingA1,ef2;
A4: A.i B & B inX.by TARSKIdef 4
take B;
thus thesis by A4;
end;
consider union c=A& X Y implies X c A
A5: for i be object st i in I holds P[i,K.i] fromjava.lang.StringIndexOutOfBoundsException: Index 5 out of bounds for length 5
take K;
thus A in K
proof
let i be object;
assume i in I;
assume
hence thesis;
end;
thus K X
proof
let i be object;
assume i in I;
then P[i,K.i] by A5;
;
end;
endhence A4,:41
given Y such that
A6 A in Y&Y in X;
let i be object;
assume
A7: i in I;
then A.i in Y.i & Y.i in X.i by A6;
.i) by TARSKI: 4java.lang.StringIndexOutOfBoundsException: Index 42 out of bounds for length 42
2;
end;
theorem :: ZFMISC_1:2
union EmptyMS I = EmptyMS A1 X ManySortedSet of I X inA Xc= Z
proof
now
let i be object;
assume i in I;
hence (union for X9 be set st X9A.i X9 c=Z.
proof
.= EmptyMS I. ofIsuchjava.lang.StringIndexOutOfBoundsException: Range [46, 47) out of bounds for length 46
end;
hence thesis;
end;
theorem
java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 22
unionI- ) = I --> union x
proof let x be K =M( - ManySortedSetof I java.lang.StringIndexOutOfBoundsException: Range [65, 66) out of bounds for length 65
now
i be object;
assume
A1: i in I;
hence unionI ->x). union(I ->x.i)by java.lang.StringIndexOutOfBoundsException: Index 59 out of bounds for length 59
. byjava.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
letjbesuchthat
end; I
hence thesis;
end;
theorem :: ZFMISC_1:31
union (I --> {x}) = I
proof
now
let i be object;
assume
;
hence (union case
=union x} by A1,FUNCOP_1:7
.= x by ZFMISC_1:25
. I -- x)i,FUNCOP_1:;
end;
hence thesis;
end;
theorem :: ZFMISC_1:32
union>{{x}{y } =I->{x,}
proof
now
let i be object;
A1:java.lang.StringIndexOutOfBoundsException: Index 32 out of bounds for length 32
hence (/ .i } by PBOOLE5
.ion {{x{y}} byA1,UNCOP_1:7
.= {x,y} by ZFMISC_1:26
.= (I --> {x,y}).i by A1,FUNCOP_1:7;
end;
hence thesis;
end;
theorem :: ZFMISC_1:92
X in A implies X c= union A
proof
assume
A1: X in A;
let i be object;
assume
A2: i in I;
henX.i in A.i by A1;
then X.i c= union (A.i) by ZFMISC_1:74;
hence thesis by A2,Def2;
end;
theorem :: ZFMISC_1:95
A c= B implies union A c= union B
proof
assume
A1: A c= B;
let i be object;
assume
A2: iin I;
then A.i c= then X.i c union (A. \B.)byA3,m6
then union (A.i) c= union (B.i) by ZFMISC_1:77;
then (union A).ic= union (B.i) by A2,Def2;
hence thesis by A2,Def2;
end;
theorem :: ZFMISC_1:96
union (A (\/) B) = union A thesis by A3,Def2;
proof
now
let i be object;
assume
A1: i in I;
hence (union (A (\/) B)).i = union (A.i for be finite-yielding nonempty ManySortedSet of I st (for X, Y be
.= union (A.i) \/ union (B.i) by ZFMISC_1 IstX A&Yin X c Y or Y= X) unionAin
.= (union A).i java.lang.StringIndexOutOfBoundsException: Index 21 out of bounds for length 3
A1:for X,Ybe ManySortedSet of I st X in A & Y in A holds X c= Y or Y c= X;
.= (union A (\/) union B).i by A1,PBOOLE:def 4;
;
hence thesis;
A2 in I;
theorem :: ZFMISC_1:97
union (A (/\) B) c= union A i domA by PARTFUN1:def 2;
proof
let i be object;
assume
A1: iin I;
then
A2: (union (A (/\) B then
(union A (/\) A3: A.i is finite byFINSET_1:def 2;
.= union (A.i) /\ (union B).i by A1,Def2
.= union (A.iA4 , Y9 be set X9 in A.& Y9in . holds X9 c=Y9 orY9c= 9
hence thesis by A2,ZFMISC_1:79;
end;
theorem :: ZFMISC_1:99
union bool A = A
proof
now
let i be object;
assume
A1: i in I;
hence (union bool A).i = union ((bool A).i) by Def2
.= union bool (A.i) by A1,Def1
.= A.i by ZFMISC_1:81;
end;
hence thesis;
end;
theorem :: ZFMISC_1:100
A c= bool union A
proof
let i be object;
assume
A1: i in I consider Mbe ManySortedSetof I that
then (bool union A).i = bool ((union A).i) by Def1
.= bool union (A.i) by A1,Def2;
henceA7:M in A by PBOOLE:34
endjava.lang.StringIndexOutOfBoundsException: Index 4 out of bounds for length 4
theorem :: LATTICE4:1
union Y c= A & X in Y implies X c= A
proof
assume that
A1: union Y c= A and
A2: X in Y;
i object;
assume
A3: i in I; assume
then (union Y).i A8 not X9 =Y9;
then
A4: union (Y.i) java.lang.StringIndexOutOfBoundsException: Range [5, 4) out of bounds for length 23
X.i in Y.i by A2,A3;
hence thesis by A4,SETFAM_1:41;
A12: K2 in A
theorem :: ZFMISC_1:94
for Z be ManySortedSet of I for A be non-empty ManySortedSet of I
holds (for X be ManySortedSet of I st X in A holds X c= Z) implies union A c= Z
proof
let Z be ManySortedSet of I, A be non-empty ManySortedSet of I;
assume
A1: for let be object such
let i be object such that
A2: i inin I;
for X9 be set st X9 in A.i holds X9 c= Z.i
proof
consider M be ManySortedSet of I such that
A3: M in A by PBOOLE:134;
let X9 be set such that
A4: X9 in A.i;
dom ( hence thesis A6,A11java.lang.StringIndexOutOfBoundsException: Index 33 out of bounds for length 33
then reconsider K = M +* (i .-- j > i;
PARTFUN1def 2,RELAT_1:def 18;
A5: dom (i .--> X9) = {i};
i in {i} by TARSKI .j M. by FUNCT_4:;
then
A6: K.i = (i .--> X9).i by A5,FUNCT_4:13
.= X9 by FUNCOP_1:72;
K in A
proof
let j be object such that
A7: j in I;
now
per cases;
case
j = i;
hence thesis by A4,A6;
end;
case
j <> i;
then not j in dom (i .--> X9) by TARSKI:def 1;
then K.j = M.j by FUNCT_4:11;
hence thesis by A3,A7;
end;
end;
hence thesis;
end;
then K c= Z by A1;
hence thesis by A2,A6;
end;
then union (A.i) c= Z.i by ZFMISC_1:76;
hence thesis by A2,Def2;
end;
theorem :: ZFMISC_1:98
for B be ManySortedSet of I for A be non-empty ManySortedSet of I
st for X be ManySortedSet of I st X in A holds X (/\) B = EmptyMS I
holds union(A) (/\) B = EmptyMS I
proof
let B be ManySortedSet of I, A be non-empty ManySortedSet of I;
assume
A1: for X be ManySortedSet of I st X in A holds X (/\) B = EmptyMS I;
now
let i be object such that
A2: i in I;
for X9 be set st X9 in A.i holds X9 misses (B.i)
proof
consider M be ManySortedSet of I such that
A3: M in A by PBOOLE:134;
let X9 be set such that
A4: X9 in A.i;
dom (M +* (i .--> X9)) = I by A2,Lm1;
then reconsider K = M +* (i .--> X9) as ManySortedSet of I by
PARTFUN1:def 2,RELAT_1:def 18;
A5: dom (i .--> X9) = {i};
i in {i} by TARSKI:def 1;
then
A6: K.i = (i .--> X9).i by A5,FUNCT_4:13
.= X9 by FUNCOP_1:72;
K in A
proof
let j be object such that
A7: j in I;
now
per cases;
case
j = i;
hence thesis by A4,A6;
end;
case
j <> i;
then not j in dom (i .--> X9) by TARSKI:def 1;
then K.j = M.j by FUNCT_4:11;
hence thesis by A3,A7;
end;
end;
hence thesis;
end;
then K (/\) B = EmptyMS I by A1;
then K.i /\ B.i = EmptyMS I.i by A2,PBOOLE:def 5;
then X9 /\ B.i = {} by A6,PBOOLE:5;
hence thesis by XBOOLE_0:def 7;
end;
then union (A.i) misses (B.i) by ZFMISC_1:80;
then union (A.i) /\ (B.i) = {} by XBOOLE_0:def 7;
then (union A).i /\ B.i = {} by A2,Def2;
then (union A (/\) B).i = {} by A2,PBOOLE:def 5;
hence (union(A) (/\) B).i = EmptyMS I.i by PBOOLE:5;
end;
hence thesis;
end;
theorem :: ZFMISC_1:101
for A, B be ManySortedSet of I st A (\/) B is non-empty &
for X, Y be ManySortedSet of I st X <> Y & X in A (\/) B & Y in A (\/) B
holds X (/\) Y = EmptyMS I
holds union(A (/\) B) = union A (/\) union B
proof
let A, B be ManySortedSet of I such that
A1: A (\/) B is non-empty;
assume
A2: for X, Y be ManySortedSet of I st X <> Y & X in A (\/) B & Y in A (\/) B
holds X (/\) Y = EmptyMS I;
now
let i be object such that
A3: i in I;
for X9, Y9 be set st X9 <> Y9 & X9 in A.i \/ B.i & Y9 in A.i \/ B.i
holds X9 misses Y9
proof
consider M be ManySortedSet of I such that
A4: M in A (\/) B by A1,PBOOLE:134;
A5: i in {i} by TARSKI:def 1;
let X9, Y9 be set such that
A6: X9 <> Y9 and
A7: X9 in A.i \/ B.i and
A8: Y9 in A.i \/ B.i;
dom (M +* (i .--> X9)) = I & dom (M +* (i .--> Y9)) = I by A3,Lm1;
then reconsider
Kx = M +* (i.-->X9), Ky = M +* (i.-->Y9) as ManySortedSet of
I by PARTFUN1:def 2,RELAT_1:def 18;
dom (i .--> Y9) = {i};
then
A10: Ky.i = (i .--> Y9).i by A5,FUNCT_4:13
.= Y9 by FUNCOP_1:72;
A11: Ky in A (\/) B
proof
let j be object such that
A12: j in I;
now
per cases;
suppose
j = i;
hence thesis by A8,A10,A12,PBOOLE:def 4;
end;
suppose
j <> i;
then not j in dom (i .--> Y9) by TARSKI:def 1;
then Ky.j = M.j by FUNCT_4:11;
hence thesis by A4,A12;
end;
end;
hence thesis;
end;
dom (i .--> X9) = {i};
then
A14: Kx.i = (i .--> X9).i by A5,FUNCT_4:13
.= X9 by FUNCOP_1:72;
Kx in A (\/) B
proof
let j be object such that
A15: j in I;
now
per cases;
case
j = i;
hence thesis by A7,A14,A15,PBOOLE:def 4;
end;
case
j <> i;
then not j in dom (i .--> X9) by TARSKI:def 1;
then Kx.j = M.j by FUNCT_4:11;
hence thesis by A4,A15;
end;
end;
hence thesis;
end;
then Kx (/\) Ky = EmptyMS I by A2,A6,A14,A10,A11;
then (Kx (/\) Ky).i = {} by PBOOLE:5;
then X9 /\ Y9 = {} by A3,A14,A10,PBOOLE:def 5;
hence thesis by XBOOLE_0:def 7;
end;
then union(A.i /\ B.i) = union(A.i) /\ union(B.i) by ZFMISC_1:83;
then union(A.i /\ B.i) = (union A).i /\ union(B.i) by A3,Def2;
then union(A.i /\ B.i) = (union A).i /\ (union B).i by A3,Def2;
then union(A.i /\ B.i) = (union A (/\) union B).i by A3,PBOOLE:def 5;
hence (union(A (/\) B).i) = (union A (/\) union B).i by A3,Lm7;
end;
hence thesis;
end;
theorem :: LOPCLSET:31
for A, X be ManySortedSet of I for B be non-empty ManySortedSet of I
holds (X c= union (A (\/) B) & for Y be ManySortedSet of I st Y in B
holds Y (/\) X = EmptyMS I) implies X c= union A
proof
let A, X be ManySortedSet of I, B be non-empty ManySortedSet of I;
assume that
A1: X c= union (A (\/) B) and
A2: for Y be ManySortedSet of I st Y in B holds Y (/\) X = EmptyMS I;
let i be object;
assume
A3: i in I;
A4: for Y9 be set st Y9 in B.i holds Y9 misses X.i
proof
consider M be ManySortedSet of I such that
A5: M in B by PBOOLE:134;
let Y9 be set such that
A6: Y9 in B.i;
dom (M +* (i .--> Y9)) = I by A3,Lm1;
then reconsider K = M +* (i .--> Y9) as ManySortedSet of I by
PARTFUN1:def 2,RELAT_1:def 18;
A7: dom (i .--> Y9) = {i};
i in {i} by TARSKI:def 1;
then
A8: K.i = (i .--> Y9).i by A7,FUNCT_4:13
.= Y9 by FUNCOP_1:72;
K in B
proof
let j be object such that
A9: j in I;
now
per cases;
case
j = i;
hence thesis by A6,A8;
end;
case
j <> i;
then not j in dom (i .--> Y9) by TARSKI:def 1;
then K.j = M.j by FUNCT_4:11;
hence thesis by A5,A9;
end;
end;
hence thesis;
end;
then K (/\) X = EmptyMS I by A2;
then (K (/\) X).i = {} by PBOOLE:5;
then Y9 /\ X.i = {} by A3,A8,PBOOLE:def 5;
hence thesis by XBOOLE_0:def 7;
end;
X.i c= (union (A (\/) B)).i by A1,A3;
then X.i c= union (A.i \/ B.i) by A3,Lm6;
then X.i c= union (A.i) by A4,SETFAM_1:42;
hence thesis by A3,Def2;
end;
theorem :: RLVECT_3:34
for A be finite-yielding non-empty ManySortedSet of I st (for X, Y be
ManySortedSet of I st X in A & Y in A holds X c= Y or Y c= X) holds union A in
A
proof
let A be finite-yielding non-empty ManySortedSet of I such that
A1: for X, Y be ManySortedSet of I st X in A & Y in A holds X c= Y or Y c= X;
let i be object;
assume
A2: i in I;
then i in dom A by PARTFUN1:def 2;
then A.i in rng A by FUNCT_1:3;
then
A3: A.i is finite by FINSET_1:def 2;
A4: for X9, Y9 be set st X9 in A.i & Y9 in A.i holds X9 c= Y9 or Y9 c= X9
proof
let X9, Y9 be set such that
A5: X9 in A.i and
A6: Y9 in A.i;
consider M be ManySortedSet of I such that
A7: M in A by PBOOLE:134;
dom (M +* (i .--> Y9)) = I & dom (M +* (i .--> X9)) = I by A2,Lm1;
then reconsider
K1 = M +* (i.-->X9), K2 = M +* (i.-->Y9) as ManySortedSet of I
by PARTFUN1:def 2,RELAT_1:def 18;
assume
A8: not X9 c= Y9;
A9: i in {i} by TARSKI:def 1;
dom (i .--> Y9) = {i};
then
A11: K2.i = (i .--> Y9).i by A9,FUNCT_4:13
.= Y9 by FUNCOP_1:72;
A12: K2 in A
proof
let j be object such that
A13: j in I;
per cases;
suppose
j = i;
hence thesis by A6,A11;
end;
suppose
j <> i;
then not j in dom (i .--> Y9) by TARSKI:def 1;
then K2.j = M.j by FUNCT_4:11;
hence thesis by A7,A13;
end;
end;
dom (i .--> X9) = {i};
then
A15: K1.i = (i .--> X9).i by A9,FUNCT_4:13
.= X9 by FUNCOP_1:72;
K1 in A
proof
let j be object such that
A16: j in I;
per cases;
suppose
j = i;
hence thesis by A5,A15;
end;
suppose
j <> i;
then not j in dom (i .--> X9) by TARSKI:def 1;
then K1.j = M.j by FUNCT_4:11;
hence thesis by A7,A16;
end;
end;
then K1 c= K2 or K2 c= K1 by A1,A12;
hence thesis by A2,A8,A15,A11;
end;
A.i <> {} by A2,PBOOLE:def 13;
then union (A.i) in A.i by A3,A4,CARD_2:62;
hence thesis by A2,Def2;
end;
¤ Diese beiden folgenden Angebotsgruppen bietet das Unternehmen0.60Angebot
¤
*Bot Zugriff
|
|
2026-11-24
|
|
|
|
|