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

Theorem corcltrcl 40440
Description: The composition of the reflexive and transitive closures is the reflexive-transitive closure. (Contributed by RP, 17-Jun-2020.)
Assertion
Ref Expression
corcltrcl (r* ∘ t+) = t*

Proof of Theorem corcltrcl
Dummy variables 𝑎 𝑏 𝑐 𝑑 𝑖 𝑗 𝑘 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dfrcl4 40377 . 2 r* = (𝑎 ∈ V ↦ 𝑖 ∈ {0, 1} (𝑎𝑟𝑖))
2 dftrcl3 40421 . 2 t+ = (𝑏 ∈ V ↦ 𝑗 ∈ ℕ (𝑏𝑟𝑗))
3 dfrtrcl3 40434 . 2 t* = (𝑐 ∈ V ↦ 𝑘 ∈ ℕ0 (𝑐𝑟𝑘))
4 prex 5298 . 2 {0, 1} ∈ V
5 nnex 11631 . 2 ℕ ∈ V
6 df-n0 11886 . . 3 0 = (ℕ ∪ {0})
7 uncom 4080 . . 3 (ℕ ∪ {0}) = ({0} ∪ ℕ)
8 df-pr 4528 . . . . 5 {0, 1} = ({0} ∪ {1})
98uneq1i 4086 . . . 4 ({0, 1} ∪ ℕ) = (({0} ∪ {1}) ∪ ℕ)
10 unass 4093 . . . 4 (({0} ∪ {1}) ∪ ℕ) = ({0} ∪ ({1} ∪ ℕ))
11 1nn 11636 . . . . . . 7 1 ∈ ℕ
12 snssi 4701 . . . . . . 7 (1 ∈ ℕ → {1} ⊆ ℕ)
1311, 12ax-mp 5 . . . . . 6 {1} ⊆ ℕ
14 ssequn1 4107 . . . . . 6 ({1} ⊆ ℕ ↔ ({1} ∪ ℕ) = ℕ)
1513, 14mpbi 233 . . . . 5 ({1} ∪ ℕ) = ℕ
1615uneq2i 4087 . . . 4 ({0} ∪ ({1} ∪ ℕ)) = ({0} ∪ ℕ)
179, 10, 163eqtrri 2826 . . 3 ({0} ∪ ℕ) = ({0, 1} ∪ ℕ)
186, 7, 173eqtri 2825 . 2 0 = ({0, 1} ∪ ℕ)
19 oveq2 7143 . . . 4 (𝑘 = 𝑖 → (𝑑𝑟𝑘) = (𝑑𝑟𝑖))
2019cbviunv 4927 . . 3 𝑘 ∈ {0, 1} (𝑑𝑟𝑘) = 𝑖 ∈ {0, 1} (𝑑𝑟𝑖)
21 ss2iun 4899 . . . 4 (∀𝑖 ∈ {0, 1} (𝑑𝑟𝑖) ⊆ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) → 𝑖 ∈ {0, 1} (𝑑𝑟𝑖) ⊆ 𝑖 ∈ {0, 1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖))
22 relexp1g 14377 . . . . . . . 8 (𝑑 ∈ V → (𝑑𝑟1) = 𝑑)
2322elv 3446 . . . . . . 7 (𝑑𝑟1) = 𝑑
24 oveq2 7143 . . . . . . . . 9 (𝑗 = 1 → (𝑑𝑟𝑗) = (𝑑𝑟1))
2524ssiun2s 4935 . . . . . . . 8 (1 ∈ ℕ → (𝑑𝑟1) ⊆ 𝑗 ∈ ℕ (𝑑𝑟𝑗))
2611, 25ax-mp 5 . . . . . . 7 (𝑑𝑟1) ⊆ 𝑗 ∈ ℕ (𝑑𝑟𝑗)
2723, 26eqsstrri 3950 . . . . . 6 𝑑 𝑗 ∈ ℕ (𝑑𝑟𝑗)
2827a1i 11 . . . . 5 (𝑖 ∈ {0, 1} → 𝑑 𝑗 ∈ ℕ (𝑑𝑟𝑗))
29 ovex 7168 . . . . . . 7 (𝑑𝑟𝑗) ∈ V
305, 29iunex 7651 . . . . . 6 𝑗 ∈ ℕ (𝑑𝑟𝑗) ∈ V
3130a1i 11 . . . . 5 (𝑖 ∈ {0, 1} → 𝑗 ∈ ℕ (𝑑𝑟𝑗) ∈ V)
32 0nn0 11900 . . . . . . 7 0 ∈ ℕ0
33 1nn0 11901 . . . . . . 7 1 ∈ ℕ0
34 prssi 4714 . . . . . . 7 ((0 ∈ ℕ0 ∧ 1 ∈ ℕ0) → {0, 1} ⊆ ℕ0)
3532, 33, 34mp2an 691 . . . . . 6 {0, 1} ⊆ ℕ0
3635sseli 3911 . . . . 5 (𝑖 ∈ {0, 1} → 𝑖 ∈ ℕ0)
3728, 31, 36relexpss1d 40406 . . . 4 (𝑖 ∈ {0, 1} → (𝑑𝑟𝑖) ⊆ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖))
3821, 37mprg 3120 . . 3 𝑖 ∈ {0, 1} (𝑑𝑟𝑖) ⊆ 𝑖 ∈ {0, 1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖)
3920, 38eqsstri 3949 . 2 𝑘 ∈ {0, 1} (𝑑𝑟𝑘) ⊆ 𝑖 ∈ {0, 1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖)
40 oveq2 7143 . . . . 5 (𝑘 = 𝑗 → (𝑑𝑟𝑘) = (𝑑𝑟𝑗))
4140cbviunv 4927 . . . 4 𝑘 ∈ ℕ (𝑑𝑟𝑘) = 𝑗 ∈ ℕ (𝑑𝑟𝑗)
42 relexp1g 14377 . . . . 5 ( 𝑗 ∈ ℕ (𝑑𝑟𝑗) ∈ V → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1) = 𝑗 ∈ ℕ (𝑑𝑟𝑗))
4330, 42ax-mp 5 . . . 4 ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1) = 𝑗 ∈ ℕ (𝑑𝑟𝑗)
4441, 43eqtr4i 2824 . . 3 𝑘 ∈ ℕ (𝑑𝑟𝑘) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1)
45 1ex 10626 . . . . 5 1 ∈ V
4645prid2 4659 . . . 4 1 ∈ {0, 1}
47 oveq2 7143 . . . . 5 (𝑖 = 1 → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1))
4847ssiun2s 4935 . . . 4 (1 ∈ {0, 1} → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1) ⊆ 𝑖 ∈ {0, 1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖))
4946, 48ax-mp 5 . . 3 ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1) ⊆ 𝑖 ∈ {0, 1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖)
5044, 49eqsstri 3949 . 2 𝑘 ∈ ℕ (𝑑𝑟𝑘) ⊆ 𝑖 ∈ {0, 1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖)
51 c0ex 10624 . . . . . 6 0 ∈ V
5251prid1 4658 . . . . 5 0 ∈ {0, 1}
53 oveq2 7143 . . . . . 6 (𝑘 = 0 → (𝑑𝑟𝑘) = (𝑑𝑟0))
5453ssiun2s 4935 . . . . 5 (0 ∈ {0, 1} → (𝑑𝑟0) ⊆ 𝑘 ∈ {0, 1} (𝑑𝑟𝑘))
5552, 54ax-mp 5 . . . 4 (𝑑𝑟0) ⊆ 𝑘 ∈ {0, 1} (𝑑𝑟𝑘)
56 ssid 3937 . . . 4 𝑘 ∈ ℕ (𝑑𝑟𝑘) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)
57 unss12 4109 . . . 4 (((𝑑𝑟0) ⊆ 𝑘 ∈ {0, 1} (𝑑𝑟𝑘) ∧ 𝑘 ∈ ℕ (𝑑𝑟𝑘) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)) → ((𝑑𝑟0) ∪ 𝑘 ∈ ℕ (𝑑𝑟𝑘)) ⊆ ( 𝑘 ∈ {0, 1} (𝑑𝑟𝑘) ∪ 𝑘 ∈ ℕ (𝑑𝑟𝑘)))
5855, 56, 57mp2an 691 . . 3 ((𝑑𝑟0) ∪ 𝑘 ∈ ℕ (𝑑𝑟𝑘)) ⊆ ( 𝑘 ∈ {0, 1} (𝑑𝑟𝑘) ∪ 𝑘 ∈ ℕ (𝑑𝑟𝑘))
59 iuneq1 4897 . . . . 5 ({0, 1} = ({0} ∪ {1}) → 𝑖 ∈ {0, 1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) = 𝑖 ∈ ({0} ∪ {1})( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖))
608, 59ax-mp 5 . . . 4 𝑖 ∈ {0, 1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) = 𝑖 ∈ ({0} ∪ {1})( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖)
61 iunxun 4979 . . . 4 𝑖 ∈ ({0} ∪ {1})( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) = ( 𝑖 ∈ {0} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ∪ 𝑖 ∈ {1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖))
62 oveq2 7143 . . . . . . 7 (𝑖 = 0 → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟0))
6351, 62iunxsn 4976 . . . . . 6 𝑖 ∈ {0} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟0)
64 vex 3444 . . . . . . 7 𝑑 ∈ V
65 nnssnn0 11888 . . . . . . 7 ℕ ⊆ ℕ0
66 inelcm 4372 . . . . . . . 8 ((1 ∈ {0, 1} ∧ 1 ∈ ℕ) → ({0, 1} ∩ ℕ) ≠ ∅)
6746, 11, 66mp2an 691 . . . . . . 7 ({0, 1} ∩ ℕ) ≠ ∅
68 iunrelexp0 40403 . . . . . . 7 ((𝑑 ∈ V ∧ ℕ ⊆ ℕ0 ∧ ({0, 1} ∩ ℕ) ≠ ∅) → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟0) = (𝑑𝑟0))
6964, 65, 67, 68mp3an 1458 . . . . . 6 ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟0) = (𝑑𝑟0)
7063, 69eqtri 2821 . . . . 5 𝑖 ∈ {0} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) = (𝑑𝑟0)
7145, 47iunxsn 4976 . . . . . 6 𝑖 ∈ {1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1)
7243, 41eqtr4i 2824 . . . . . 6 ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1) = 𝑘 ∈ ℕ (𝑑𝑟𝑘)
7371, 72eqtri 2821 . . . . 5 𝑖 ∈ {1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) = 𝑘 ∈ ℕ (𝑑𝑟𝑘)
7470, 73uneq12i 4088 . . . 4 ( 𝑖 ∈ {0} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ∪ 𝑖 ∈ {1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖)) = ((𝑑𝑟0) ∪ 𝑘 ∈ ℕ (𝑑𝑟𝑘))
7560, 61, 743eqtri 2825 . . 3 𝑖 ∈ {0, 1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) = ((𝑑𝑟0) ∪ 𝑘 ∈ ℕ (𝑑𝑟𝑘))
76 iunxun 4979 . . 3 𝑘 ∈ ({0, 1} ∪ ℕ)(𝑑𝑟𝑘) = ( 𝑘 ∈ {0, 1} (𝑑𝑟𝑘) ∪ 𝑘 ∈ ℕ (𝑑𝑟𝑘))
7758, 75, 763sstr4i 3958 . 2 𝑖 ∈ {0, 1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑘 ∈ ({0, 1} ∪ ℕ)(𝑑𝑟𝑘)
781, 2, 3, 4, 5, 18, 39, 50, 77comptiunov2i 40407 1 (r* ∘ t+) = t*
Colors of variables: wff setvar class
Syntax hints:   = wceq 1538  wcel 2111  wne 2987  Vcvv 3441  cun 3879  cin 3880  wss 3881  c0 4243  {csn 4525  {cpr 4527   ciun 4881  ccom 5523  (class class class)co 7135  0cc0 10526  1c1 10527  cn 11625  0cn0 11885  t+ctcl 14336  t*crtcl 14337  𝑟crelexp 14370  r*crcl 40373
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-rep 5154  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441  ax-cnex 10582  ax-resscn 10583  ax-1cn 10584  ax-icn 10585  ax-addcl 10586  ax-addrcl 10587  ax-mulcl 10588  ax-mulrcl 10589  ax-mulcom 10590  ax-addass 10591  ax-mulass 10592  ax-distr 10593  ax-i2m1 10594  ax-1ne0 10595  ax-1rid 10596  ax-rnegex 10597  ax-rrecex 10598  ax-cnre 10599  ax-pre-lttri 10600  ax-pre-lttrn 10601  ax-pre-ltadd 10602  ax-pre-mulgt0 10603
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3or 1085  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-nel 3092  df-ral 3111  df-rex 3112  df-reu 3113  df-rab 3115  df-v 3443  df-sbc 3721  df-csb 3829  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-pss 3900  df-nul 4244  df-if 4426  df-pw 4499  df-sn 4526  df-pr 4528  df-tp 4530  df-op 4532  df-uni 4801  df-int 4839  df-iun 4883  df-br 5031  df-opab 5093  df-mpt 5111  df-tr 5137  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-pred 6116  df-ord 6162  df-on 6163  df-lim 6164  df-suc 6165  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-f1 6329  df-fo 6330  df-f1o 6331  df-fv 6332  df-riota 7093  df-ov 7138  df-oprab 7139  df-mpo 7140  df-om 7561  df-2nd 7672  df-wrecs 7930  df-recs 7991  df-rdg 8029  df-er 8272  df-en 8493  df-dom 8494  df-sdom 8495  df-pnf 10666  df-mnf 10667  df-xr 10668  df-ltxr 10669  df-le 10670  df-sub 10861  df-neg 10862  df-nn 11626  df-2 11688  df-n0 11886  df-z 11970  df-uz 12232  df-seq 13365  df-trcl 14338  df-rtrcl 14339  df-relexp 14371  df-rcl 40374
This theorem is referenced by:  cortrcltrcl  40441  corclrtrcl  40442
  Copyright terms: Public domain W3C validator