let Y be non empty set ; for PA being a_partition of Y ex RA being Equivalence_Relation of Y st
for x, y being set holds
( [x,y] in RA iff ex A being Subset of Y st
( A in PA & x in A & y in A ) )
let PA be a_partition of Y; ex RA being Equivalence_Relation of Y st
for x, y being set holds
( [x,y] in RA iff ex A being Subset of Y st
( A in PA & x in A & y in A ) )
A1:
union PA = Y
by EQREL_1:def 6;
ex RA being Equivalence_Relation of Y st
for x, y being set holds
( [x,y] in RA iff ex A being Subset of Y st
( A in PA & x in A & y in A ) )
proof
defpred S1[
set ,
set ]
means ex
A being
Subset of
Y st
(
A in PA & $1
in A & $2
in A );
A3:
for
x being
set st
x in Y holds
S1[
x,
x]
proof
let x be
set ;
( x in Y implies S1[x,x] )
assume
x in Y
;
S1[x,x]
then
ex
Z being
set st
(
x in Z &
Z in PA )
by A1, TARSKI:def 4;
then consider Z being non
empty set such that A6:
x in Z
and A7:
Z in PA
;
reconsider A =
Z as
Subset of
Y by A7;
take
A
;
( A in PA & x in A & x in A )
thus
(
A in PA &
x in A &
x in A )
by A6, A7;
verum
end;
A8:
for
x,
y being
set st
S1[
x,
y] holds
S1[
y,
x]
;
A9:
for
x,
y,
z being
set st
S1[
x,
y] &
S1[
y,
z] holds
S1[
x,
z]
proof
let x,
y,
z be
set ;
( S1[x,y] & S1[y,z] implies S1[x,z] )
given A being
Subset of
Y such that A10:
A in PA
and A11:
(
x in A &
y in A )
;
( not S1[y,z] or S1[x,z] )
given B being
Subset of
Y such that A12:
B in PA
and A13:
(
y in B &
z in B )
;
S1[x,z]
(
A = B or
A misses B )
by A10, A12, EQREL_1:def 6;
hence
S1[
x,
z]
by A10, A11, A13, XBOOLE_0:3;
verum
end;
consider RA being
Equivalence_Relation of
Y such that A15:
for
x,
y being
set holds
(
[x,y] in RA iff (
x in Y &
y in Y &
S1[
x,
y] ) )
from EQREL_1:sch 1(A3, A8, A9);
take
RA
;
for x, y being set holds
( [x,y] in RA iff ex A being Subset of Y st
( A in PA & x in A & y in A ) )
thus
for
x,
y being
set holds
(
[x,y] in RA iff ex
A being
Subset of
Y st
(
A in PA &
x in A &
y in A ) )
by A15;
verum
end;
hence
ex RA being Equivalence_Relation of Y st
for x, y being set holds
( [x,y] in RA iff ex A being Subset of Y st
( A in PA & x in A & y in A ) )
; verum