let A be non empty finite set ; for U being Function of (bool A),(bool A) st U . {} = {} & ( for X, Y being Subset of A holds U . (X \/ Y) = (U . X) \/ (U . Y) ) holds
ex R being non empty finite RelStr st
( the carrier of R = A & U = UAp R )
let L be Function of (bool A),(bool A); ( L . {} = {} & ( for X, Y being Subset of A holds L . (X \/ Y) = (L . X) \/ (L . Y) ) implies ex R being non empty finite RelStr st
( the carrier of R = A & L = UAp R ) )
assume that
A1:
L . {} = {}
and
A2:
for X, Y being Subset of A holds L . (X \/ Y) = (L . X) \/ (L . Y)
; ex R being non empty finite RelStr st
( the carrier of R = A & L = UAp R )
defpred S1[ set , set ] means $1 in L . {$2};
consider R being Relation of A such that
A3:
for x, y being Element of A holds
( [x,y] in R iff S1[x,y] )
from RELSET_1:sch 2();
reconsider RR = RelStr(# A,R #) as non empty finite RelStr ;
take
RR
; ( the carrier of RR = A & L = UAp RR )
A4:
for y being Element of RR
for Y being Subset of RR st Y = {y} holds
UAp Y = L . Y
proof
let y be
Element of
RR;
for Y being Subset of RR st Y = {y} holds
UAp Y = L . Ylet Y be
Subset of
RR;
( Y = {y} implies UAp Y = L . Y )
assume A5:
Y = {y}
;
UAp Y = L . Y
thus
UAp Y c= L . Y
XBOOLE_0:def 10 L . Y c= UAp Yproof
let x be
object ;
TARSKI:def 3 ( not x in UAp Y or x in L . Y )
assume
x in UAp Y
;
x in L . Y
then consider a being
Element of
RR such that A6:
(
a = x &
Class ( the
InternalRel of
RR,
a)
meets Y )
;
consider z being
object such that A7:
(
z in Class ( the
InternalRel of
RR,
a) &
z in Y )
by A6, XBOOLE_0:3;
z = y
by A7, TARSKI:def 1, A5;
then
[x,y] in R
by A6, A7, EQREL_1:18;
hence
x in L . Y
by A5, A3, A6;
verum
end;
let x be
object ;
TARSKI:def 3 ( not x in L . Y or x in UAp Y )
assume A8:
x in L . Y
;
x in UAp Y
A9:
y in Y
by TARSKI:def 1, A5;
A10:
L . Y in bool A
by FUNCT_2:5;
then
[x,y] in R
by A3, A8, A5;
then
y in Class (
R,
x)
by EQREL_1:18;
then
Class ( the
InternalRel of
RR,
x)
meets Y
by A9, XBOOLE_0:3;
hence
x in UAp Y
by A10, A8;
verum
end;
dom L = bool A
by FUNCT_2:def 1;
then A11:
dom (UAp RR) = dom L
by FUNCT_2:def 1;
for x being object st x in dom (UAp RR) holds
(UAp RR) . x = L . x
hence
( the carrier of RR = A & L = UAp RR )
by A11, FUNCT_1:2; verum