:: RELSET_2 semantic presentation  Show TPTP formulae Show IDV graph for whole article:: Showing IDV graph ... (Click the Palm Trees again to close it)

notation
let X be set ;
synonym {_{X}_} for SmallestPartition X;
end;

theorem Th1: :: RELSET_2:1  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for y, X being set holds
( y in {_{X}_} iff ex x being set st
( y = {x} & x in X ) )
proof end;

theorem Th2: :: RELSET_2:2  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for X being set holds
( X = {} iff {_{X}_} = {} )
proof end;

theorem Th3: :: RELSET_2:3  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for X, Y being set holds {_{(X \/ Y)}_} = {_{X}_} \/ {_{Y}_}
proof end;

theorem Th4: :: RELSET_2:4  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for X, Y being set holds {_{(X /\ Y)}_} = {_{X}_} /\ {_{Y}_}
proof end;

theorem :: RELSET_2:5  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for X, Y being set holds {_{(X \ Y)}_} = {_{X}_} \ {_{Y}_}
proof end;

theorem Th6: :: RELSET_2:6  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for X, Y being set holds
( X c= Y iff {_{X}_} c= {_{Y}_} )
proof end;

definition
let M be set ;
let X, Y be Subset-Family of M;
:: original: /\
redefine func X /\ Y -> Subset-Family of M;
coherence
X /\ Y is Subset-Family of M
proof end;
end;

theorem :: RELSET_2:7  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for M being set
for B1, B2 being Subset-Family of M holds (Intersect B1) /\ (Intersect B2) c= Intersect (B1 /\ B2)
proof end;

theorem :: RELSET_2:8  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for P, Q, R being Relation holds (P /\ Q) * R c= (P * R) /\ (Q * R)
proof end;

definition
let X, Y be set ;
let R be Relation of X,Y;
let x be Element of X;
func R .: x -> Subset of Y equals :: RELSET_2:def 1
R .: {x};
correctness
coherence
R .: {x} is Subset of Y
;
;
end;

:: deftheorem defines .: RELSET_2:def 1 :
for X, Y being set
for R being Relation of X,Y
for x being Element of X holds R .: x = R .: {x};

theorem Th9: :: RELSET_2:9  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for y, x being set
for R being Relation holds
( y in R .: {x} iff [x,y] in R )
proof end;

theorem Th10: :: RELSET_2:10  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x being set
for R1, R2 being Relation holds (R1 \/ R2) .: {x} = (R1 .: {x}) \/ (R2 .: {x})
proof end;

theorem Th11: :: RELSET_2:11  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x being set
for R1, R2 being Relation holds (R1 /\ R2) .: {x} = (R1 .: {x}) /\ (R2 .: {x})
proof end;

theorem :: RELSET_2:12  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for x being set
for R1, R2 being Relation holds (R1 \ R2) .: {x} = (R1 .: {x}) \ (R2 .: {x})
proof end;

theorem :: RELSET_2:13  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for X being set
for R1, R2 being Relation holds (R1 /\ R2) .: {_{X}_} c= (R1 .: {_{X}_}) /\ (R2 .: {_{X}_})
proof end;

definition
let X, Y be set ;
let R be Relation of X,Y;
let x be Element of X;
func R " x -> Subset of X equals :: RELSET_2:def 2
R " {x};
correctness
coherence
R " {x} is Subset of X
;
;
end;

:: deftheorem defines " RELSET_2:def 2 :
for X, Y being set
for R being Relation of X,Y
for x being Element of X holds R " x = R " {x};

theorem :: RELSET_2:14  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A being set
for F being Subset-Family of A
for R being Relation holds R .: (union F) = union { (R .: X) where X is Subset of A : X in F }
proof end;

theorem Th15: :: RELSET_2:15  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A being non empty set
for X being Subset of A holds X = union { {x} where x is Element of A : x in X }
proof end;

theorem :: RELSET_2:16  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A being non empty set
for X being Subset of A holds { {x} where x is Element of A : x in X } is Subset-Family of A
proof end;

theorem :: RELSET_2:17  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A being non empty set
for B being set
for X being Subset of A
for R being Relation of A,B holds R .: X = union { (R .: x) where x is Element of A : x in X }
proof end;

theorem :: RELSET_2:18  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A being non empty set
for B being set
for X being Subset of A
for R being Relation of A,B holds { (R .: x) where x is Element of A : x in X } is Subset-Family of B
proof end;

definition
let A, B be set ;
let R be Subset of [:A,(bool B):];
let X be set ;
:: original: .:
redefine func R .: X -> Subset-Family of B;
coherence
R .: X is Subset-Family of B
proof end;
end;

definition
let A be set ;
let R be Relation;
func .: R,A -> Function means :Def3: :: RELSET_2:def 3
( dom it = bool A & ( for X being set st X c= A holds
it . X = R .: X ) );
existence
ex b1 being Function st
( dom b1 = bool A & ( for X being set st X c= A holds
b1 . X = R .: X ) )
proof end;
uniqueness
for b1, b2 being Function st dom b1 = bool A & ( for X being set st X c= A holds
b1 . X = R .: X ) & dom b2 = bool A & ( for X being set st X c= A holds
b2 . X = R .: X ) holds
b1 = b2
proof end;
end;

:: deftheorem Def3 defines .: RELSET_2:def 3 :
for A being set
for R being Relation
for b3 being Function holds
( b3 = .: R,A iff ( dom b3 = bool A & ( for X being set st X c= A holds
b3 . X = R .: X ) ) );

notation
let B, A be set ;
let R be Subset of [:A,B:];
synonym .: R for .: A,B;
end;

theorem Th19: :: RELSET_2:19  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for X, A, B being set
for R being Subset of [:A,B:] st X in dom (.: ) holds
(.: ) . X = R .: X
proof end;

theorem Th20: :: RELSET_2:20  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for R being Subset of [:A,B:] holds rng (.: ) c= bool (rng R)
proof end;

theorem Th21: :: RELSET_2:21  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for R being Subset of [:A,B:] holds .: is Function of bool A, bool (rng R)
proof end;

definition
let B, A be set ;
let R be Subset of [:A,B:];
:: original: .:
redefine func .: R -> Function of bool A, bool B;
correctness
coherence
.: R,A is Function of bool A, bool B
;
proof end;
end;

theorem :: RELSET_2:22  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for R being Subset of [:A,B:] holds union ((.: R) .: A) c= R .: (union A)
proof end;

definition
let A, B be set ;
let X be Subset of A;
let R be Subset of [:A,B:];
func R .:^ X -> set equals :: RELSET_2:def 4
Intersect ((.: R) .: {_{X}_});
correctness
coherence
Intersect ((.: R) .: {_{X}_}) is set
;
;
end;

:: deftheorem defines .:^ RELSET_2:def 4 :
for A, B being set
for X being Subset of A
for R being Subset of [:A,B:] holds R .:^ X = Intersect ((.: R) .: {_{X}_});

definition
let A, B be set ;
let X be Subset of A;
let R be Subset of [:A,B:];
:: original: .:^
redefine func R .:^ X -> Subset of B;
coherence
R .:^ X is Subset of B
;
end;

theorem Th23: :: RELSET_2:23  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for R being Subset of [:A,B:] holds
( (.: R) .: {_{X}_} = {} iff X = {} )
proof end;

theorem Th24: :: RELSET_2:24  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B, y being set
for X being Subset of A
for R being Subset of [:A,B:] st y in R .:^ X holds
for x being set st x in X holds
y in R .: {x}
proof end;

theorem Th25: :: RELSET_2:25  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for B being non empty set
for A being set
for X being Subset of A
for y being Element of B
for R being Subset of [:A,B:] holds
( y in R .:^ X iff for x being set st x in X holds
y in R .: {x} )
proof end;

theorem :: RELSET_2:26  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X1, X2 being Subset of A
for R being Subset of [:A,B:] st (.: R) .: {_{X1}_} = {} holds
R .:^ (X1 \/ X2) = R .:^ X2
proof end;

theorem :: RELSET_2:27  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X1, X2 being Subset of A
for R being Subset of [:A,B:] holds R .:^ (X1 \/ X2) = (R .:^ X1) /\ (R .:^ X2)
proof end;

theorem :: RELSET_2:28  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A being non empty set
for B being set
for F being Subset-Family of A
for R being Relation of A,B holds { (R .:^ X) where X is Subset of A : X in F } is Subset-Family of B
proof end;

theorem Th29: :: RELSET_2:29  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for R being Subset of [:A,B:] st X = {} holds
R .:^ X = B
proof end;

theorem :: RELSET_2:30  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A being set
for F being Subset-Family of A holds
( union F = {} iff for X being set st X in F holds
X = {} )
proof end;

theorem :: RELSET_2:31  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A being set
for B being non empty set
for R being Relation of A,B
for F being Subset-Family of A
for G being Subset-Family of B st G = { (R .:^ Y) where Y is Subset of A : Y in F } holds
R .:^ (union F) = Intersect G
proof end;

theorem Th32: :: RELSET_2:32  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X1, X2 being Subset of A
for R being Subset of [:A,B:] st X1 c= X2 holds
R .:^ X2 c= R .:^ X1
proof end;

theorem :: RELSET_2:33  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X1, X2 being Subset of A
for R being Subset of [:A,B:] holds (R .:^ X1) \/ (R .:^ X2) c= R .:^ (X1 /\ X2)
proof end;

theorem :: RELSET_2:34  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for R1, R2 being Subset of [:A,B:] holds (R1 /\ R2) .:^ X = (R1 .:^ X) /\ (R2 .:^ X)
proof end;

theorem :: RELSET_2:35  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for FR being Subset-Family of [:A,B:] holds (union FR) .: X = union { (R .: X) where R is Subset of [:A,B:] : R in FR }
proof end;

theorem :: RELSET_2:36  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for FR being Subset-Family of [:A,B:]
for A, B being set
for X being Subset of A holds { (R .:^ X) where R is Subset of [:A,B:] : R in FR } is Subset-Family of B
proof end;

theorem Th37: :: RELSET_2:37  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for R being Subset of [:A,B:] st R = {} & X <> {} holds
R .:^ X = {}
proof end;

theorem Th38: :: RELSET_2:38  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for R being Subset of [:A,B:] st R = [:A,B:] holds
R .:^ X = B
proof end;

theorem :: RELSET_2:39  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for B, A being set
for X being Subset of A
for FR being Subset-Family of [:A,B:]
for G being Subset-Family of B st G = { (R .:^ X) where R is Subset of [:A,B:] : R in FR } holds
(Intersect FR) .:^ X = Intersect G
proof end;

theorem :: RELSET_2:40  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for R1, R2 being Subset of [:A,B:] st R1 c= R2 holds
R1 .:^ X c= R2 .:^ X
proof end;

theorem :: RELSET_2:41  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for R1, R2 being Subset of [:A,B:] holds (R1 .:^ X) \/ (R2 .:^ X) c= (R1 \/ R2) .:^ X
proof end;

theorem Th42: :: RELSET_2:42  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for y, x, A, B being set
for R being Subset of [:A,B:] holds
( y in (R ` ) .: {x} iff ( not [x,y] in R & x in A & y in B ) )
proof end;

theorem :: RELSET_2:43  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for R being Subset of [:A,B:] st X <> {} holds
R .:^ X c= R .: X
proof end;

theorem Th44: :: RELSET_2:44  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for R being Subset of [:A,B:]
for X, Y being set holds
( X meets (R ~ ) .: Y iff ex x, y being set st
( x in X & y in Y & x in (R ~ ) .: {y} ) )
proof end;

theorem Th45: :: RELSET_2:45  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for R being Subset of [:A,B:]
for X, Y being set holds
( ex x, y being set st
( x in X & y in Y & x in (R ~ ) .: {y} ) iff Y meets R .: X )
proof end;

theorem Th46: :: RELSET_2:46  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for Y being Subset of B
for R being Subset of [:A,B:] holds
( X misses (R ~ ) .: Y iff Y misses R .: X )
proof end;

theorem Th47: :: RELSET_2:47  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for R being Subset of [:A,B:]
for X being set holds R .: X = R .: (X /\ (proj1 R))
proof end;

theorem Th48: :: RELSET_2:48  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for R being Subset of [:A,B:]
for Y being set holds (R ~ ) .: Y = (R ~ ) .: (Y /\ (proj2 R))
proof end;

theorem Th49: :: RELSET_2:49  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for R being Subset of [:A,B:] holds (R .:^ X) ` = (R ` ) .: X
proof end;

definition
let A, B, C be set ;
let R be Subset of [:A,B:];
let S be Subset of [:B,C:];
:: original: *
redefine func R * S -> Relation of A,C;
coherence
R * S is Relation of A,C
proof end;
end;

theorem Th50: :: RELSET_2:50  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for R being Relation of A,B holds (R .: X) ` = (R ` ) .:^ X
proof end;

theorem Th51: :: RELSET_2:51  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for B, A being set
for R being Relation of A,B holds
( proj1 R = (R ~ ) .: B & proj2 R = R .: A )
proof end;

theorem :: RELSET_2:52  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B, C being set
for R being Relation of A,B
for S being Relation of B,C holds
( proj1 (R * S) = (R ~ ) .: (proj1 S) & proj1 (R * S) c= proj1 R )
proof end;

theorem :: RELSET_2:53  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B, C being set
for R being Relation of A,B
for S being Relation of B,C holds
( proj2 (R * S) = S .: (proj2 R) & proj2 (R * S) c= proj2 S )
proof end;

theorem :: RELSET_2:54  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for R being Relation of A,B holds
( X c= proj1 R iff X c= (R * (R ~ )) .: X )
proof end;

theorem :: RELSET_2:55  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for Y being Subset of B
for R being Relation of A,B holds
( Y c= proj2 R iff Y c= ((R ~ ) * R) .: Y )
proof end;

theorem :: RELSET_2:56  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for B, A being set
for R being Relation of A,B holds
( proj1 R = (R ~ ) .: B & (R ~ ) .: (R .: A) = (R ~ ) .: (proj2 R) ) by Th51;

theorem :: RELSET_2:57  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for B, A being set
for R being Relation of A,B holds (R ~ ) .: B = (R * (R ~ )) .: A
proof end;

theorem :: RELSET_2:58  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for R being Relation of A,B holds R .: A = ((R ~ ) * R) .: B
proof end;

theorem :: RELSET_2:59  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B, C being set
for X being Subset of A
for R being Relation of A,B
for S being Relation of B,C holds S .:^ (R .: X) = ((R * (S ` )) ` ) .:^ X
proof end;

theorem Th60: :: RELSET_2:60  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for R being Relation of A,B holds (R ` ) ~ = (R ~ ) `
proof end;

theorem Th61: :: RELSET_2:61  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for Y being Subset of B
for R being Relation of A,B holds
( X c= (R ~ ) .:^ Y iff Y c= R .:^ X )
proof end;

theorem :: RELSET_2:62  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for Y being Subset of B
for R being Relation of A,B holds
( R .: (X ` ) c= Y ` iff (R ~ ) .: Y c= X )
proof end;

theorem :: RELSET_2:63  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for Y being Subset of B
for R being Relation of A,B holds
( X c= (R ~ ) .:^ (R .:^ X) & Y c= R .:^ ((R ~ ) .:^ Y) ) by Th61;

theorem :: RELSET_2:64  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for X being Subset of A
for Y being Subset of B
for R being Relation of A,B holds
( R .:^ X = R .:^ ((R ~ ) .:^ (R .:^ X)) & (R ~ ) .:^ Y = (R ~ ) .:^ (R .:^ ((R ~ ) .:^ Y)) )
proof end;

theorem :: RELSET_2:65  Show TPTP formulae Show IDV graph:: Showing IDV graph ... (Click the Palm Tree again to close it) Show TPTP problem
for A, B being set
for R being Relation of A,B holds (id A) * R = R * (id B)
proof end;