Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  trrelsuperrel2dg Structured version   Visualization version   GIF version

Theorem trrelsuperrel2dg 39881
Description: Concrete construction of a superclass of relation 𝑅 which is a transitive relation. (Contributed by RP, 20-Jul-2020.)
Hypothesis
Ref Expression
trrelsuperrel2dg.s (𝜑𝑆 = (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
Assertion
Ref Expression
trrelsuperrel2dg (𝜑 → (𝑅𝑆 ∧ (𝑆𝑆) ⊆ 𝑆))

Proof of Theorem trrelsuperrel2dg
StepHypRef Expression
1 ssun1 4152 . . 3 𝑅 ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅))
2 trrelsuperrel2dg.s . . 3 (𝜑𝑆 = (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
31, 2sseqtrrid 4024 . 2 (𝜑𝑅𝑆)
4 xptrrel 14330 . . . . 5 ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)) ⊆ (dom 𝑅 × ran 𝑅)
5 ssun2 4153 . . . . 5 (dom 𝑅 × ran 𝑅) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅))
64, 5sstri 3980 . . . 4 ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅))
76a1i 11 . . 3 (𝜑 → ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
82, 2coeq12d 5734 . . . 4 (𝜑 → (𝑆𝑆) = ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))))
9 coundir 6099 . . . . . 6 ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) = ((𝑅 ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) ∪ ((dom 𝑅 × ran 𝑅) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))))
10 relcnv 5965 . . . . . . 7 Rel 𝑅
11 cocnvcnv1 6108 . . . . . . . . 9 (𝑅 ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) = (𝑅 ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
12 relssdmrn 6119 . . . . . . . . . . 11 (Rel 𝑅𝑅 ⊆ (dom 𝑅 × ran 𝑅))
13 dmcnvcnv 5802 . . . . . . . . . . . 12 dom 𝑅 = dom 𝑅
14 rncnvcnv 5803 . . . . . . . . . . . 12 ran 𝑅 = ran 𝑅
1513, 14xpeq12i 5582 . . . . . . . . . . 11 (dom 𝑅 × ran 𝑅) = (dom 𝑅 × ran 𝑅)
1612, 15syl6sseq 4021 . . . . . . . . . 10 (Rel 𝑅𝑅 ⊆ (dom 𝑅 × ran 𝑅))
17 coss1 5725 . . . . . . . . . 10 (𝑅 ⊆ (dom 𝑅 × ran 𝑅) → (𝑅 ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) ⊆ ((dom 𝑅 × ran 𝑅) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))))
1816, 17syl 17 . . . . . . . . 9 (Rel 𝑅 → (𝑅 ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) ⊆ ((dom 𝑅 × ran 𝑅) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))))
1911, 18eqsstrrid 4020 . . . . . . . 8 (Rel 𝑅 → (𝑅 ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) ⊆ ((dom 𝑅 × ran 𝑅) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))))
20 ssequn1 4160 . . . . . . . 8 ((𝑅 ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) ⊆ ((dom 𝑅 × ran 𝑅) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) ↔ ((𝑅 ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) ∪ ((dom 𝑅 × ran 𝑅) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))) = ((dom 𝑅 × ran 𝑅) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))))
2119, 20sylib 219 . . . . . . 7 (Rel 𝑅 → ((𝑅 ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) ∪ ((dom 𝑅 × ran 𝑅) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))) = ((dom 𝑅 × ran 𝑅) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))))
2210, 21ax-mp 5 . . . . . 6 ((𝑅 ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) ∪ ((dom 𝑅 × ran 𝑅) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))) = ((dom 𝑅 × ran 𝑅) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
239, 22eqtri 2849 . . . . 5 ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) = ((dom 𝑅 × ran 𝑅) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
24 coundi 6098 . . . . . 6 ((dom 𝑅 × ran 𝑅) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) = (((dom 𝑅 × ran 𝑅) ∘ 𝑅) ∪ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
25 cocnvcnv2 6109 . . . . . . . . 9 ((dom 𝑅 × ran 𝑅) ∘ 𝑅) = ((dom 𝑅 × ran 𝑅) ∘ 𝑅)
26 coss2 5726 . . . . . . . . . 10 (𝑅 ⊆ (dom 𝑅 × ran 𝑅) → ((dom 𝑅 × ran 𝑅) ∘ 𝑅) ⊆ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
2716, 26syl 17 . . . . . . . . 9 (Rel 𝑅 → ((dom 𝑅 × ran 𝑅) ∘ 𝑅) ⊆ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
2825, 27eqsstrrid 4020 . . . . . . . 8 (Rel 𝑅 → ((dom 𝑅 × ran 𝑅) ∘ 𝑅) ⊆ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
29 ssequn1 4160 . . . . . . . 8 (((dom 𝑅 × ran 𝑅) ∘ 𝑅) ⊆ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)) ↔ (((dom 𝑅 × ran 𝑅) ∘ 𝑅) ∪ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅))) = ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
3028, 29sylib 219 . . . . . . 7 (Rel 𝑅 → (((dom 𝑅 × ran 𝑅) ∘ 𝑅) ∪ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅))) = ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
3110, 30ax-mp 5 . . . . . 6 (((dom 𝑅 × ran 𝑅) ∘ 𝑅) ∪ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅))) = ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅))
3224, 31eqtri 2849 . . . . 5 ((dom 𝑅 × ran 𝑅) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) = ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅))
3323, 32eqtri 2849 . . . 4 ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) = ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅))
348, 33syl6eq 2877 . . 3 (𝜑 → (𝑆𝑆) = ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
357, 34, 23sstr4d 4018 . 2 (𝜑 → (𝑆𝑆) ⊆ 𝑆)
363, 35jca 512 1 (𝜑 → (𝑅𝑆 ∧ (𝑆𝑆) ⊆ 𝑆))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1530  cun 3938  wss 3940   × cxp 5552  ccnv 5553  dom cdm 5554  ran crn 5555  ccom 5558  Rel wrel 5559
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1789  ax-4 1803  ax-5 1904  ax-6 1963  ax-7 2008  ax-8 2109  ax-9 2117  ax-10 2138  ax-11 2153  ax-12 2169  ax-ext 2798  ax-sep 5200  ax-nul 5207  ax-pr 5326
This theorem depends on definitions:  df-bi 208  df-an 397  df-or 844  df-3an 1083  df-tru 1533  df-ex 1774  df-nf 1778  df-sb 2063  df-mo 2620  df-eu 2652  df-clab 2805  df-cleq 2819  df-clel 2898  df-nfc 2968  df-ne 3022  df-ral 3148  df-rex 3149  df-rab 3152  df-v 3502  df-dif 3943  df-un 3945  df-in 3947  df-ss 3956  df-nul 4296  df-if 4471  df-sn 4565  df-pr 4567  df-op 4571  df-br 5064  df-opab 5126  df-xp 5560  df-rel 5561  df-cnv 5562  df-co 5563  df-dm 5564  df-rn 5565  df-res 5566
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator