reconsider z = 0 , j = 1 as Element of {0,1} by TARSKI:def 2;
Lm1:
now for R1, S1 being set
for R being Relation of R1
for S being Relation of S1 st R1 misses S1 holds
for q1, q2 being object st [q1,q2] in R \/ S & q2 in S1 holds
( [q1,q2] in S & q1 in S1 )
let R1,
S1 be
set ;
for R being Relation of R1
for S being Relation of S1 st R1 misses S1 holds
for q1, q2 being object st [q1,q2] in R \/ S & q2 in S1 holds
( [q1,q2] in S & q1 in S1 )let R be
Relation of
R1;
for S being Relation of S1 st R1 misses S1 holds
for q1, q2 being object st [q1,q2] in R \/ S & q2 in S1 holds
( [q1,q2] in S & q1 in S1 )let S be
Relation of
S1;
( R1 misses S1 implies for q1, q2 being object st [q1,q2] in R \/ S & q2 in S1 holds
( [q1,q2] in S & q1 in S1 ) )assume A1:
R1 misses S1
;
for q1, q2 being object st [q1,q2] in R \/ S & q2 in S1 holds
( [q1,q2] in S & q1 in S1 )let q1,
q2 be
object ;
( [q1,q2] in R \/ S & q2 in S1 implies ( [q1,q2] in S & q1 in S1 ) )assume that A2:
[q1,q2] in R \/ S
and A3:
q2 in S1
;
( [q1,q2] in S & q1 in S1 )A4:
(
[q1,q2] in R or
[q1,q2] in S )
by A2, XBOOLE_0:def 3;
hence
(
[q1,q2] in S &
q1 in S1 )
by A4, ZFMISC_1:87;
verum
end;
definition
let R1,
R2,
S1,
S2 be
set ;
let R be
Relation of
R1,
R2;
let S be
Relation of
S1,
S2;
defpred S1[
object ,
object ]
means ex
r1,
s1,
r2,
s2 being
set st
( $1
= [r1,s1] & $2
= [r2,s2] &
r1 in R1 &
s1 in S1 &
r2 in R2 &
s2 in S2 & (
[r1,r2] in R or
[s1,s2] in S ) );
func [^R,S^] -> Relation of
[:R1,S1:],
[:R2,S2:] means :
Def2:
for
x,
y being
object holds
(
[x,y] in it iff ex
r1,
s1,
r2,
s2 being
set st
(
x = [r1,s1] &
y = [r2,s2] &
r1 in R1 &
s1 in S1 &
r2 in R2 &
s2 in S2 & (
[r1,r2] in R or
[s1,s2] in S ) ) );
existence
ex b1 being Relation of [:R1,S1:],[:R2,S2:] st
for x, y being object holds
( [x,y] in b1 iff ex r1, s1, r2, s2 being set st
( x = [r1,s1] & y = [r2,s2] & r1 in R1 & s1 in S1 & r2 in R2 & s2 in S2 & ( [r1,r2] in R or [s1,s2] in S ) ) )
uniqueness
for b1, b2 being Relation of [:R1,S1:],[:R2,S2:] st ( for x, y being object holds
( [x,y] in b1 iff ex r1, s1, r2, s2 being set st
( x = [r1,s1] & y = [r2,s2] & r1 in R1 & s1 in S1 & r2 in R2 & s2 in S2 & ( [r1,r2] in R or [s1,s2] in S ) ) ) ) & ( for x, y being object holds
( [x,y] in b2 iff ex r1, s1, r2, s2 being set st
( x = [r1,s1] & y = [r2,s2] & r1 in R1 & s1 in S1 & r2 in R2 & s2 in S2 & ( [r1,r2] in R or [s1,s2] in S ) ) ) ) holds
b1 = b2
end;
::
deftheorem Def2 defines
[^ PCS_0:def 2 :
for R1, R2, S1, S2 being set
for R being Relation of R1,R2
for S being Relation of S1,S2
for b7 being Relation of [:R1,S1:],[:R2,S2:] holds
( b7 = [^R,S^] iff for x, y being object holds
( [x,y] in b7 iff ex r1, s1, r2, s2 being set st
( x = [r1,s1] & y = [r2,s2] & r1 in R1 & s1 in S1 & r2 in R2 & s2 in S2 & ( [r1,r2] in R or [s1,s2] in S ) ) ) );
definition
let R1,
R2,
S1,
S2 be non
empty set ;
let R be
Relation of
R1,
R2;
let S be
Relation of
S1,
S2;
compatibility
for b1 being Relation of [:R1,S1:],[:R2,S2:] holds
( b1 = [^R,S^] iff for r1 being Element of R1
for r2 being Element of R2
for s1 being Element of S1
for s2 being Element of S2 holds
( [[r1,s1],[r2,s2]] in b1 iff ( [r1,r2] in R or [s1,s2] in S ) ) )
end;
::
deftheorem Def3 defines
[^ PCS_0:def 3 :
for R1, R2, S1, S2 being non empty set
for R being Relation of R1,R2
for S being Relation of S1,S2
for b7 being Relation of [:R1,S1:],[:R2,S2:] holds
( b7 = [^R,S^] iff for r1 being Element of R1
for r2 being Element of R2
for s1 being Element of S1
for s2 being Element of S2 holds
( [[r1,s1],[r2,s2]] in b7 iff ( [r1,r2] in R or [s1,s2] in S ) ) );
Lm2:
for P, Q being pcs-Str
for p being set st p in the carrier of P & P c= Q holds
p is Element of Q
;
deffunc H1( pcs-Str , pcs-Str ) -> pcs-Str = pcs-Str(# ( the carrier of $1 \/ the carrier of $2),( the InternalRel of $1 \/ the InternalRel of $2),( the ToleranceRel of $1 \/ the ToleranceRel of $2) #);
definition
let P be
pcs-Str ;
let a be
set ;
existence
ex b1 being strict pcs-Str st
( the carrier of b1 = {a} \/ the carrier of P & the InternalRel of b1 = [:{a}, the carrier of b1:] \/ the InternalRel of P & the ToleranceRel of b1 = ([:{a}, the carrier of b1:] \/ [: the carrier of b1,{a}:]) \/ the ToleranceRel of P )
uniqueness
for b1, b2 being strict pcs-Str st the carrier of b1 = {a} \/ the carrier of P & the InternalRel of b1 = [:{a}, the carrier of b1:] \/ the InternalRel of P & the ToleranceRel of b1 = ([:{a}, the carrier of b1:] \/ [: the carrier of b1,{a}:]) \/ the ToleranceRel of P & the carrier of b2 = {a} \/ the carrier of P & the InternalRel of b2 = [:{a}, the carrier of b2:] \/ the InternalRel of P & the ToleranceRel of b2 = ([:{a}, the carrier of b2:] \/ [: the carrier of b2,{a}:]) \/ the ToleranceRel of P holds
b1 = b2
;
end;
definition
let P be
RelStr ;
let D be
set ;
defpred S1[
set ,
set ]
means ( $1
in D & $2
in D & ( for
a being
set st
a in $1 holds
ex
b being
set st
(
b in $2 &
[a,b] in the
InternalRel of
P ) ) );
existence
ex b1 being Relation of D st
for A, B being set holds
( [A,B] in b1 iff ( A in D & B in D & ( for a being set st a in A holds
ex b being set st
( b in B & [a,b] in the InternalRel of P ) ) ) )
uniqueness
for b1, b2 being Relation of D st ( for A, B being set holds
( [A,B] in b1 iff ( A in D & B in D & ( for a being set st a in A holds
ex b being set st
( b in B & [a,b] in the InternalRel of P ) ) ) ) ) & ( for A, B being set holds
( [A,B] in b2 iff ( A in D & B in D & ( for a being set st a in A holds
ex b being set st
( b in B & [a,b] in the InternalRel of P ) ) ) ) ) holds
b1 = b2
end;
definition
let P be
TolStr ;
let D be
set ;
defpred S1[
set ,
set ]
means ( $1
in D & $2
in D & ( for
a,
b being
set st
a in $1 &
b in $2 holds
[a,b] in the
ToleranceRel of
P ) );
existence
ex b1 being Relation of D st
for A, B being set holds
( [A,B] in b1 iff ( A in D & B in D & ( for a, b being set st a in A & b in B holds
[a,b] in the ToleranceRel of P ) ) )
uniqueness
for b1, b2 being Relation of D st ( for A, B being set holds
( [A,B] in b1 iff ( A in D & B in D & ( for a, b being set st a in A & b in B holds
[a,b] in the ToleranceRel of P ) ) ) ) & ( for A, B being set holds
( [A,B] in b2 iff ( A in D & B in D & ( for a, b being set st a in A & b in B holds
[a,b] in the ToleranceRel of P ) ) ) ) holds
b1 = b2
end;