Metamath Proof Explorer


Theorem trrelsuperrel2dg

Description: Concrete construction of a superclass of relation R which is a transitive relation. (Contributed by RP, 20-Jul-2020)

Ref Expression
Hypothesis trrelsuperrel2dg.s φ S = R dom R × ran R
Assertion trrelsuperrel2dg φ R S S S S

Proof

Step Hyp Ref Expression
1 trrelsuperrel2dg.s φ S = R dom R × ran R
2 ssun1 R R dom R × ran R
3 2 1 sseqtrrid φ R S
4 xptrrel dom R × ran R dom R × ran R dom R × ran R
5 ssun2 dom R × ran R R dom R × ran R
6 4 5 sstri dom R × ran R dom R × ran R R dom R × ran R
7 6 a1i φ dom R × ran R dom R × ran R R dom R × ran R
8 1 1 coeq12d φ S S = R dom R × ran R R dom R × ran R
9 coundir R dom R × ran R R dom R × ran R = R R dom R × ran R dom R × ran R R dom R × ran R
10 relcnv Rel R -1 -1
11 cocnvcnv1 R -1 -1 R dom R × ran R = R R dom R × ran R
12 relssdmrn Rel R -1 -1 R -1 -1 dom R -1 -1 × ran R -1 -1
13 dmcnvcnv dom R -1 -1 = dom R
14 rncnvcnv ran R -1 -1 = ran R
15 13 14 xpeq12i dom R -1 -1 × ran R -1 -1 = dom R × ran R
16 12 15 sseqtrdi Rel R -1 -1 R -1 -1 dom R × ran R
17 coss1 R -1 -1 dom R × ran R R -1 -1 R dom R × ran R dom R × ran R R dom R × ran R
18 16 17 syl Rel R -1 -1 R -1 -1 R dom R × ran R dom R × ran R R dom R × ran R
19 11 18 eqsstrrid Rel R -1 -1 R R dom R × ran R dom R × ran R R dom R × ran R
20 ssequn1 R R dom R × ran R dom R × ran R R dom R × ran R R R dom R × ran R dom R × ran R R dom R × ran R = dom R × ran R R dom R × ran R
21 19 20 sylib Rel R -1 -1 R R dom R × ran R dom R × ran R R dom R × ran R = dom R × ran R R dom R × ran R
22 10 21 ax-mp R R dom R × ran R dom R × ran R R dom R × ran R = dom R × ran R R dom R × ran R
23 9 22 eqtri R dom R × ran R R dom R × ran R = dom R × ran R R dom R × ran R
24 coundi dom R × ran R R dom R × ran R = dom R × ran R R dom R × ran R dom R × ran R
25 cocnvcnv2 dom R × ran R R -1 -1 = dom R × ran R R
26 coss2 R -1 -1 dom R × ran R dom R × ran R R -1 -1 dom R × ran R dom R × ran R
27 16 26 syl Rel R -1 -1 dom R × ran R R -1 -1 dom R × ran R dom R × ran R
28 25 27 eqsstrrid Rel R -1 -1 dom R × ran R R dom R × ran R dom R × ran R
29 ssequn1 dom R × ran R R dom R × ran R dom R × ran R dom R × ran R R dom R × ran R dom R × ran R = dom R × ran R dom R × ran R
30 28 29 sylib Rel R -1 -1 dom R × ran R R dom R × ran R dom R × ran R = dom R × ran R dom R × ran R
31 10 30 ax-mp dom R × ran R R dom R × ran R dom R × ran R = dom R × ran R dom R × ran R
32 24 31 eqtri dom R × ran R R dom R × ran R = dom R × ran R dom R × ran R
33 23 32 eqtri R dom R × ran R R dom R × ran R = dom R × ran R dom R × ran R
34 8 33 eqtrdi φ S S = dom R × ran R dom R × ran R
35 7 34 1 3sstr4d φ S S S
36 3 35 jca φ R S S S S