Lm1:
for x being object
for X being set holds
( {x} c= X iff x in X )
Lm2:
for x being object
for X, Y being set st Y c= X & not x in Y holds
Y c= X \ {x}
Lm3:
for x being object
for Y being set holds
( Y c= {x} iff ( Y = {} or Y = {x} ) )
definition
let X1,
X2 be
set ;
defpred S1[
object ]
means ex
x,
y being
object st
(
x in X1 &
y in X2 & $1
= [x,y] );
existence
ex b1 being set st
for z being object holds
( z in b1 iff ex x, y being object st
( x in X1 & y in X2 & z = [x,y] ) )
uniqueness
for b1, b2 being set st ( for z being object holds
( z in b1 iff ex x, y being object st
( x in X1 & y in X2 & z = [x,y] ) ) ) & ( for z being object holds
( z in b2 iff ex x, y being object st
( x in X1 & y in X2 & z = [x,y] ) ) ) holds
b1 = b2
end;
theorem Th6:
for
x1,
x2,
y1,
y2 being
object holds
( not
{x1,x2} = {y1,y2} or
x1 = y1 or
x1 = y2 )
Lm4:
for x being object
for X being set st {x} \/ X c= X holds
x in X
Lm5:
for x being object
for X being set st {x} misses X holds
not x in X
Lm6:
for x being object
for X being set st not x in X holds
{x} misses X
Lm7:
for x being object
for X being set st X /\ {x} = {x} holds
x in X
Lm8:
for x being object
for X being set st x in X holds
X /\ {x} = {x}
by Lm1, XBOOLE_1:28;
Lm9:
for x being object
for X being set holds
( {x} \ X = {x} iff not x in X )
by Lm5, Lm6, XBOOLE_1:83;
Lm10:
for x being object
for X being set holds
( {x} \ X = {} iff x in X )
by Lm1, XBOOLE_1:37;
Lm11:
for x, y being object
for X being set holds
( {x,y} \ X = {x} iff ( not x in X & ( y in X or x = y ) ) )
Lm12:
for x being object
for X being set st X <> {x} & X <> {} holds
ex y being object st
( y in X & y <> x )
Lm13:
for x1, x2 being object
for Z being set holds
( Z c= {x1,x2} iff ( Z = {} or Z = {x1} or Z = {x2} or Z = {x1,x2} ) )
theorem
for
x1,
x2,
y1,
y2 being
object holds
( not
{x1,x2} c= {y1,y2} or
x1 = y1 or
x1 = y2 )
Lm14:
for A, X being set st X in A holds
X c= union A
by TARSKI:def 4;
Lm15:
for X, Y being set holds union {X,Y} = X \/ Y
Lm16:
for x, y being object
for X, Y being set holds
( [x,y] in [:X,Y:] iff ( x in X & y in Y ) )
theorem Th29:
for
x,
y,
z being
object holds
(
[:{x},{y,z}:] = {[x,y],[x,z]} &
[:{x,y},{z}:] = {[x,z],[y,z]} )
theorem Th31:
for
x1,
x2 being
object for
Z being
set holds
(
{x1,x2} c= Z iff (
x1 in Z &
x2 in Z ) )
theorem
for
X1,
X2,
Y1,
Y2 being
set st ( for
x,
y being
object holds
(
[x,y] in [:X1,Y1:] iff
[x,y] in [:X2,Y2:] ) ) holds
[:X1,Y1:] = [:X2,Y2:]
Lm17:
for A, B, X1, X2, Y1, Y2 being set st A c= [:X1,Y1:] & B c= [:X2,Y2:] & ( for x, y being object holds
( [x,y] in A iff [x,y] in B ) ) holds
A = B
Lm18:
for A, B being set st ( for z being object st z in A holds
ex x, y being object st z = [x,y] ) & ( for z being object st z in B holds
ex x, y being object st z = [x,y] ) & ( for x, y being object holds
( [x,y] in A iff [x,y] in B ) ) holds
A = B
Lm19:
for z being object
for X, Y being set st z in [:X,Y:] holds
ex x, y being object st [x,y] = z
theorem
for
x,
y,
z,
Z being
set holds
(
Z c= {x,y,z} iff (
Z = {} or
Z = {x} or
Z = {y} or
Z = {z} or
Z = {x,y} or
Z = {y,z} or
Z = {x,z} or
Z = {x,y,z} ) )
Lm20:
for x, y being object
for X being set st not x in X & not y in X holds
{x,y} misses X
definition
let x1,
x2,
x3,
x4 be
object ;
end;
definition
let x1,
x2,
x3,
x4,
x5 be
object ;
end;
definition
let x1,
x2,
x3,
x4,
x5,
x6 be
object ;
end;
::
deftheorem defines
are_mutually_distinct ZFMISC_1:def 8 :
for x1, x2, x3, x4, x5, x6 being object holds
( x1,x2,x3,x4,x5,x6 are_mutually_distinct iff ( x1 <> x2 & x1 <> x3 & x1 <> x4 & x1 <> x5 & x1 <> x6 & x2 <> x3 & x2 <> x4 & x2 <> x5 & x2 <> x6 & x3 <> x4 & x3 <> x5 & x3 <> x6 & x4 <> x5 & x4 <> x6 & x5 <> x6 ) );
definition
let x1,
x2,
x3,
x4,
x5,
x6,
x7 be
object ;
end;
::
deftheorem defines
are_mutually_distinct ZFMISC_1:def 9 :
for x1, x2, x3, x4, x5, x6, x7 being object holds
( x1,x2,x3,x4,x5,x6,x7 are_mutually_distinct iff ( x1 <> x2 & x1 <> x3 & x1 <> x4 & x1 <> x5 & x1 <> x6 & x1 <> x7 & x2 <> x3 & x2 <> x4 & x2 <> x5 & x2 <> x6 & x2 <> x7 & x3 <> x4 & x3 <> x5 & x3 <> x6 & x3 <> x7 & x4 <> x5 & x4 <> x6 & x4 <> x7 & x5 <> x6 & x5 <> x7 & x6 <> x7 ) );
theorem
for
x1,
x2,
y1,
y2 being
object holds
[:{x1,x2},{y1,y2}:] = {[x1,y1],[x1,y2],[x2,y1],[x2,y2]}
theorem
for
a,
b,
c,
X being
set st
a in X &
b in X &
c in X holds
{a,b,c} c= X
:: Empty set.
::