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 41115
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 7726 . . . 4 (𝜑 → dom 𝑅 ∈ V)
3 rnexg 7725 . . . . 5 (𝑅 ∈ V → ran 𝑅 ∈ V)
41, 3syl 17 . . . 4 (𝜑 → ran 𝑅 ∈ V)
52, 4xpexd 7579 . . 3 (𝜑 → (dom 𝑅 × ran 𝑅) ∈ V)
6 unexg 7577 . . 3 ((𝑅 ∈ V ∧ (dom 𝑅 × ran 𝑅) ∈ V) → (𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∈ V)
71, 5, 6syl2anc 583 . 2 (𝜑 → (𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∈ V)
8 id 22 . . . 4 (𝑥 = (𝑅 ∪ (dom 𝑅 × ran 𝑅)) → 𝑥 = (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
98, 8coeq12d 5762 . . 3 (𝑥 = (𝑅 ∪ (dom 𝑅 × ran 𝑅)) → (𝑥𝑥) = ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))))
109, 8sseq12d 3950 . 2 (𝑥 = (𝑅 ∪ (dom 𝑅 × ran 𝑅)) → ((𝑥𝑥) ⊆ 𝑥 ↔ ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅))))
11 ssun1 4102 . . 3 𝑅 ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅))
1211a1i 11 . 2 (𝜑𝑅 ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
13 cnvssrndm 6163 . . 3 𝑅 ⊆ (ran 𝑅 × dom 𝑅)
14 coundi 6140 . . . 4 ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) = (((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅) ∪ ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅)))
15 cnvss 5770 . . . . . . . 8 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → 𝑅(ran 𝑅 × dom 𝑅))
16 coss2 5754 . . . . . . . 8 (𝑅(ran 𝑅 × dom 𝑅) → ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅) ⊆ ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (ran 𝑅 × dom 𝑅)))
1715, 16syl 17 . . . . . . 7 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅) ⊆ ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (ran 𝑅 × dom 𝑅)))
18 cocnvcnv2 6151 . . . . . . 7 ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅) = ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅)
19 cnvxp 6049 . . . . . . . 8 (ran 𝑅 × dom 𝑅) = (dom 𝑅 × ran 𝑅)
2019coeq2i 5758 . . . . . . 7 ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (ran 𝑅 × dom 𝑅)) = ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅))
2117, 18, 203sstr3g 3961 . . . . . 6 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅) ⊆ ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅)))
22 ssequn1 4110 . . . . . 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 6141 . . . . . 6 ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅)) = ((𝑅 ∘ (dom 𝑅 × ran 𝑅)) ∪ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
25 coss1 5753 . . . . . . . . . 10 (𝑅(ran 𝑅 × dom 𝑅) → (𝑅 ∘ (dom 𝑅 × ran 𝑅)) ⊆ ((ran 𝑅 × dom 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
2615, 25syl 17 . . . . . . . . 9 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → (𝑅 ∘ (dom 𝑅 × ran 𝑅)) ⊆ ((ran 𝑅 × dom 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
27 cocnvcnv1 6150 . . . . . . . . 9 (𝑅 ∘ (dom 𝑅 × ran 𝑅)) = (𝑅 ∘ (dom 𝑅 × ran 𝑅))
2819coeq1i 5757 . . . . . . . . 9 ((ran 𝑅 × dom 𝑅) ∘ (dom 𝑅 × ran 𝑅)) = ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅))
2926, 27, 283sstr3g 3961 . . . . . . . 8 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → (𝑅 ∘ (dom 𝑅 × ran 𝑅)) ⊆ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)))
30 ssequn1 4110 . . . . . . . 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 14619 . . . . . . . . 9 ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)) ⊆ (dom 𝑅 × ran 𝑅)
33 ssun2 4103 . . . . . . . . 9 (dom 𝑅 × ran 𝑅) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅))
3432, 33sstri 3926 . . . . . . . 8 ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅))
3534a1i 11 . . . . . . 7 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅)) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
3631, 35eqsstrd 3955 . . . . . 6 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → ((𝑅 ∘ (dom 𝑅 × ran 𝑅)) ∪ ((dom 𝑅 × ran 𝑅) ∘ (dom 𝑅 × ran 𝑅))) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
3724, 36eqsstrid 3965 . . . . 5 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅)) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
3823, 37eqsstrd 3955 . . . 4 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → (((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ 𝑅) ∪ ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (dom 𝑅 × ran 𝑅))) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
3914, 38eqsstrid 3965 . . 3 (𝑅 ⊆ (ran 𝑅 × dom 𝑅) → ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
4013, 39mp1i 13 . 2 (𝜑 → ((𝑅 ∪ (dom 𝑅 × ran 𝑅)) ∘ (𝑅 ∪ (dom 𝑅 × ran 𝑅))) ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
417, 10, 12, 40clublem 41107 1 (𝜑 {𝑥 ∣ (𝑅𝑥 ∧ (𝑥𝑥) ⊆ 𝑥)} ⊆ (𝑅 ∪ (dom 𝑅 × ran 𝑅)))
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395   = wceq 1539  wcel 2108  {cab 2715  Vcvv 3422  cun 3881  wss 3883   cint 4876   × cxp 5578  ccnv 5579  dom cdm 5580  ran crn 5581  ccom 5584
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-int 4877  df-br 5071  df-opab 5133  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592
This theorem is referenced by:  trclubNEW  41116
  Copyright terms: Public domain W3C validator