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

Theorem trclubgNEW 41226
Description: If a relation exists then the transitive closure has an upper bound. (Contributed by RP, 24-Jul-2020.)
Hypothesis
Ref Expression
trclubgNEW.rex (𝜑𝑅 ∈ V)
Assertion
Ref Expression
trclubgNEW (𝜑 {𝑥 ∣ (𝑅𝑥 ∧ (𝑥𝑥) ⊆ 𝑥)} ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
Distinct variable group:   𝑥,𝑅
Allowed substitution hint:   𝜑(𝑥)

Proof of Theorem trclubgNEW
StepHypRef Expression
1 trclubgNEW.rex . . 3 (𝜑𝑅 ∈ V)
21dmexd 7752 . . . 4 (𝜑 → dom 𝑅 ∈ V)
3 rnexg 7751 . . . . 5 (𝑅 ∈ V → ran 𝑅 ∈ V)
41, 3syl 17 . . . 4 (𝜑 → ran 𝑅 ∈ V)
52, 4xpexd 7601 . . 3 (𝜑 → (dom 𝑅 × ran 𝑅) ∈ V)
6 unexg 7599 . . 3 ((𝑅 ∈ V ∧ (dom 𝑅 × ran 𝑅) ∈ V) → (𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∈ V)
71, 5, 6syl2anc 584 . 2 (𝜑 → (𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∈ V)
8 id 22 . . . 4 (𝑥 = (𝑅 ∪ (dom 𝑅 × ran 𝑅)) → 𝑥 = (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
98, 8coeq12d 5773 . . 3 (𝑥 = (𝑅 ∪ (dom 𝑅 × ran 𝑅)) → (𝑥𝑥) = ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))))
109, 8sseq12d 3954 . 2 (𝑥 = (𝑅 ∪ (dom 𝑅 × ran 𝑅)) → ((𝑥𝑥) ⊆ 𝑥 ↔ ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅))))
11 ssun1 4106 . . 3 𝑅 ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅))
1211a1i 11 . 2 (𝜑𝑅 ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
13 cnvssrndm 6174 . . 3 𝑅 ⊆ (ran 𝑅 × dom 𝑅)
14 coundi 6151 . . . 4 ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) = (((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅) ∪ ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅)))
15 cnvss 5781 . . . . . . . 8 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → 𝑅(ran 𝑅 × dom 𝑅))
16 coss2 5765 . . . . . . . 8 (𝑅(ran 𝑅 × dom 𝑅) → ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅) ⊆ ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (ran 𝑅 × dom 𝑅)))
1715, 16syl 17 . . . . . . 7 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅) ⊆ ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (ran 𝑅 × dom 𝑅)))
18 cocnvcnv2 6162 . . . . . . 7 ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅) = ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅)
19 cnvxp 6060 . . . . . . . 8 (ran 𝑅 × dom 𝑅) = (dom 𝑅 × ran 𝑅)
2019coeq2i 5769 . . . . . . 7 ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (ran 𝑅 × dom 𝑅)) = ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅))
2117, 18, 203sstr3g 3965 . . . . . 6 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅) ⊆ ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅)))
22 ssequn1 4114 . . . . . 6 (((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅) ⊆ ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅)) ↔ (((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅) ∪ ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅))) = ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅)))
2321, 22sylib 217 . . . . 5 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → (((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅) ∪ ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅))) = ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅)))
24 coundir 6152 . . . . . 6 ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅)) = ((𝑅 ∘ (dom 𝑅 × ran 𝑅)) ∪ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
25 coss1 5764 . . . . . . . . . 10 (𝑅(ran 𝑅 × dom 𝑅) → (𝑅 ∘ (dom 𝑅 × ran 𝑅)) ⊆ ((ran 𝑅 × dom 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
2615, 25syl 17 . . . . . . . . 9 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → (𝑅 ∘ (dom 𝑅 × ran 𝑅)) ⊆ ((ran 𝑅 × dom 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
27 cocnvcnv1 6161 . . . . . . . . 9 (𝑅 ∘ (dom 𝑅 × ran 𝑅)) = (𝑅 ∘ (dom 𝑅 × ran 𝑅))
2819coeq1i 5768 . . . . . . . . 9 ((ran 𝑅 × dom 𝑅) ∘ (dom 𝑅 × ran 𝑅)) = ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅))
2926, 27, 283sstr3g 3965 . . . . . . . 8 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → (𝑅 ∘ (dom 𝑅 × ran 𝑅)) ⊆ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
30 ssequn1 4114 . . . . . . . 8 ((𝑅 ∘ (dom 𝑅 × ran 𝑅)) ⊆ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)) ↔ ((𝑅 ∘ (dom 𝑅 × ran 𝑅)) ∪ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅))) = ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
3129, 30sylib 217 . . . . . . 7 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → ((𝑅 ∘ (dom 𝑅 × ran 𝑅)) ∪ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅))) = ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
32 xptrrel 14691 . . . . . . . . 9 ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)) ⊆ (dom 𝑅 × ran 𝑅)
33 ssun2 4107 . . . . . . . . 9 (dom 𝑅 × ran 𝑅) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅))
3432, 33sstri 3930 . . . . . . . 8 ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅))
3534a1i 11 . . . . . . 7 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
3631, 35eqsstrd 3959 . . . . . 6 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → ((𝑅 ∘ (dom 𝑅 × ran 𝑅)) ∪ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅))) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
3724, 36eqsstrid 3969 . . . . 5 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅)) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
3823, 37eqsstrd 3959 . . . 4 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → (((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅) ∪ ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅))) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
3914, 38eqsstrid 3969 . . 3 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
4013, 39mp1i 13 . 2 (𝜑 → ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
417, 10, 12, 40clublem 41218 1 (𝜑 {𝑥 ∣ (𝑅𝑥 ∧ (𝑥𝑥) ⊆ 𝑥)} ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396   = wceq 1539  wcel 2106  {cab 2715  Vcvv 3432  cun 3885  wss 3887   cint 4879   × cxp 5587  ccnv 5588  dom cdm 5589  ran crn 5590  ccom 5593
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-br 5075  df-opab 5137  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601
This theorem is referenced by:  trclubNEW  41227
  Copyright terms: Public domain W3C validator