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 45159
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 45096 . 2 r* = (𝑎 ∈ V ↦ ∪ 𝑖 ∈ {0, 1} (𝑎↑𝑟𝑖))
2 dftrcl3 45140 . 2 t+ = (𝑏 ∈ V ↦ ∪ 𝑗 ∈ ℕ (𝑏↑𝑟𝑗))
3 dfrtrcl3 45153 . 2 t* = (𝑐 ∈ V ↦ ∪ 𝑘 ∈ ℕ0 (𝑐↑𝑟𝑘))
4 prex 5411 . 2 {0, 1} ∈ V
5 nnex 12400 . 2 ℕ ∈ V
6 df-n0 12666 . . 3 ℕ0 = (ℕ ∪ {0})
7 uncom 4167 . . 3 (ℕ ∪ {0}) = ({0} ∪ ℕ)
8 df-pr 4598 . . . . 5 {0, 1} = ({0} ∪ {1})
98uneq1i 4173 . . . 4 ({0, 1} ∪ ℕ) = (({0} ∪ {1}) ∪ ℕ)
10 unass 4180 . . . 4 (({0} ∪ {1}) ∪ ℕ) = ({0} ∪ ({1} ∪ ℕ))
11 1nn 12405 . . . . . . 7 1 ∈ ℕ
12 snssi 4756 . . . . . . 7 (1 ∈ ℕ → {1} ⊆ ℕ)
1311, 12ax-mp 5 . . . . . 6 {1} ⊆ ℕ
14 ssequn1 4194 . . . . . 6 ({1} ⊆ ℕ ↔ ({1} ∪ ℕ) = ℕ)
1513, 14mpbi 233 . . . . 5 ({1} ∪ ℕ) = ℕ
1615uneq2i 4174 . . . 4 ({0} ∪ ({1} ∪ ℕ)) = ({0} ∪ ℕ)
179, 10, 163eqtrri 2802 . . 3 ({0} ∪ ℕ) = ({0, 1} ∪ ℕ)
186, 7, 173eqtri 2801 . 2 ℕ0 = ({0, 1} ∪ ℕ)
19 oveq2 7478 . . . 4 (𝑘 = 𝑖 → (𝑑↑𝑟𝑘) = (𝑑↑𝑟𝑖))
2019cbviunv 5010 . . 3 ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘) = ∪ 𝑖 ∈ {0, 1} (𝑑↑𝑟𝑖)
21 ss2iun 4983 . . . 4 (∀𝑖 ∈ {0, 1} (𝑑↑𝑟𝑖) ⊆ (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖) → ∪ 𝑖 ∈ {0, 1} (𝑑↑𝑟𝑖) ⊆ ∪ 𝑖 ∈ {0, 1} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖))
22 relexp1g 15243 . . . . . . . 8 (𝑑 ∈ V → (𝑑↑𝑟1) = 𝑑)
2322elv 3466 . . . . . . 7 (𝑑↑𝑟1) = 𝑑
24 oveq2 7478 . . . . . . . . 9 (𝑗 = 1 → (𝑑↑𝑟𝑗) = (𝑑↑𝑟1))
2524ssiun2s 5020 . . . . . . . 8 (1 ∈ ℕ → (𝑑↑𝑟1) ⊆ ∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗))
2611, 25ax-mp 5 . . . . . . 7 (𝑑↑𝑟1) ⊆ ∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)
2723, 26eqsstrri 3967 . . . . . 6 𝑑 ⊆ ∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)
2827a1i 11 . . . . 5 (𝑖 ∈ {0, 1} → 𝑑 ⊆ ∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗))
29 ovex 7503 . . . . . . 7 (𝑑↑𝑟𝑗) ∈ V
305, 29iunex 8033 . . . . . 6 ∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗) ∈ V
3130a1i 11 . . . . 5 (𝑖 ∈ {0, 1} → ∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗) ∈ V)
32 0nn0 12680 . . . . . . 7 0 ∈ ℕ0
33 1nn0 12681 . . . . . . 7 1 ∈ ℕ0
34 prssi 4790 . . . . . . 7 ((0 ∈ ℕ0 ∧ 1 ∈ ℕ0) → {0, 1} ⊆ ℕ0)
3532, 33, 34mp2an 705 . . . . . 6 {0, 1} ⊆ ℕ0
3635sseli 3916 . . . . 5 (𝑖 ∈ {0, 1} → 𝑖 ∈ ℕ0)
3728, 31, 36relexpss1d 45125 . . . 4 (𝑖 ∈ {0, 1} → (𝑑↑𝑟𝑖) ⊆ (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖))
3821, 37mprg 3097 . . 3 ∪ 𝑖 ∈ {0, 1} (𝑑↑𝑟𝑖) ⊆ ∪ 𝑖 ∈ {0, 1} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖)
3920, 38eqsstri 3966 . 2 ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘) ⊆ ∪ 𝑖 ∈ {0, 1} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖)
40 oveq2 7478 . . . . 5 (𝑘 = 𝑗 → (𝑑↑𝑟𝑘) = (𝑑↑𝑟𝑗))
4140cbviunv 5010 . . . 4 ∪ 𝑘 ∈ ℕ (𝑑↑𝑟𝑘) = ∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)
42 relexp1g 15243 . . . . 5 (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗) ∈ V → (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟1) = ∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗))
4330, 42ax-mp 5 . . . 4 (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟1) = ∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)
4441, 43eqtr4i 2800 . . 3 ∪ 𝑘 ∈ ℕ (𝑑↑𝑟𝑘) = (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟1)
45 1elpr01 11362 . . . 4 1 ∈ {0, 1}
46 oveq2 7478 . . . . 5 (𝑖 = 1 → (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖) = (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟1))
4746ssiun2s 5020 . . . 4 (1 ∈ {0, 1} → (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟1) ⊆ ∪ 𝑖 ∈ {0, 1} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖))
4845, 47ax-mp 5 . . 3 (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟1) ⊆ ∪ 𝑖 ∈ {0, 1} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖)
4944, 48eqsstri 3966 . 2 ∪ 𝑘 ∈ ℕ (𝑑↑𝑟𝑘) ⊆ ∪ 𝑖 ∈ {0, 1} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖)
50 c0ex 11358 . . . . . 6 0 ∈ V
5150prid1 4733 . . . . 5 0 ∈ {0, 1}
52 oveq2 7478 . . . . . 6 (𝑘 = 0 → (𝑑↑𝑟𝑘) = (𝑑↑𝑟0))
5352ssiun2s 5020 . . . . 5 (0 ∈ {0, 1} → (𝑑↑𝑟0) ⊆ ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘))
5451, 53ax-mp 5 . . . 4 (𝑑↑𝑟0) ⊆ ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘)
55 ssid 3942 . . . 4 ∪ 𝑘 ∈ ℕ (𝑑↑𝑟𝑘) ⊆ ∪ 𝑘 ∈ ℕ (𝑑↑𝑟𝑘)
56 unss12 4196 . . . 4 (((𝑑↑𝑟0) ⊆ ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘) ∧ ∪ 𝑘 ∈ ℕ (𝑑↑𝑟𝑘) ⊆ ∪ 𝑘 ∈ ℕ (𝑑↑𝑟𝑘)) → ((𝑑↑𝑟0) ∪ ∪ 𝑘 ∈ ℕ (𝑑↑𝑟𝑘)) ⊆ (∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘) ∪ ∪ 𝑘 ∈ ℕ (𝑑↑𝑟𝑘)))
5754, 55, 56mp2an 705 . . 3 ((𝑑↑𝑟0) ∪ ∪ 𝑘 ∈ ℕ (𝑑↑𝑟𝑘)) ⊆ (∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘) ∪ ∪ 𝑘 ∈ ℕ (𝑑↑𝑟𝑘))
58 iuneq1 4981 . . . . 5 ({0, 1} = ({0} ∪ {1}) → ∪ 𝑖 ∈ {0, 1} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖) = ∪ 𝑖 ∈ ({0} ∪ {1})(∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖))
598, 58ax-mp 5 . . . 4 ∪ 𝑖 ∈ {0, 1} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖) = ∪ 𝑖 ∈ ({0} ∪ {1})(∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖)
60 iunxun 5067 . . . 4 ∪ 𝑖 ∈ ({0} ∪ {1})(∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖) = (∪ 𝑖 ∈ {0} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖) ∪ ∪ 𝑖 ∈ {1} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖))
61 oveq2 7478 . . . . . . 7 (𝑖 = 0 → (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖) = (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟0))
6250, 61iunxsn 5064 . . . . . 6 ∪ 𝑖 ∈ {0} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖) = (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟0)
63 vex 3465 . . . . . . 7 𝑑 ∈ V
64 nnssnn0 12668 . . . . . . 7 ℕ ⊆ ℕ0
65 inelcm 4428 . . . . . . . 8 ((1 ∈ {0, 1} ∧ 1 ∈ ℕ) → ({0, 1} ∩ ℕ) ≠ ∅)
6645, 11, 65mp2an 705 . . . . . . 7 ({0, 1} ∩ ℕ) ≠ ∅
67 iunrelexp0 45122 . . . . . . 7 ((𝑑 ∈ V ∧ ℕ ⊆ ℕ0 ∧ ({0, 1} ∩ ℕ) ≠ ∅) → (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟0) = (𝑑↑𝑟0))
6863, 64, 66, 67mp3an 1493 . . . . . 6 (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟0) = (𝑑↑𝑟0)
6962, 68eqtri 2797 . . . . 5 ∪ 𝑖 ∈ {0} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖) = (𝑑↑𝑟0)
70 1ex 11361 . . . . . . 7 1 ∈ V
7170, 46iunxsn 5064 . . . . . 6 ∪ 𝑖 ∈ {1} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖) = (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟1)
7243, 41eqtr4i 2800 . . . . . 6 (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟1) = ∪ 𝑘 ∈ ℕ (𝑑↑𝑟𝑘)
7371, 72eqtri 2797 . . . . 5 ∪ 𝑖 ∈ {1} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖) = ∪ 𝑘 ∈ ℕ (𝑑↑𝑟𝑘)
7469, 73uneq12i 4175 . . . 4 (∪ 𝑖 ∈ {0} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖) ∪ ∪ 𝑖 ∈ {1} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖)) = ((𝑑↑𝑟0) ∪ ∪ 𝑘 ∈ ℕ (𝑑↑𝑟𝑘))
7559, 60, 743eqtri 2801 . . 3 ∪ 𝑖 ∈ {0, 1} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖) = ((𝑑↑𝑟0) ∪ ∪ 𝑘 ∈ ℕ (𝑑↑𝑟𝑘))
76 iunxun 5067 . . 3 ∪ 𝑘 ∈ ({0, 1} ∪ ℕ)(𝑑↑𝑟𝑘) = (∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘) ∪ ∪ 𝑘 ∈ ℕ (𝑑↑𝑟𝑘))
7757, 75, 763sstr4i 3971 . 2 ∪ 𝑖 ∈ {0, 1} (∪ 𝑗 ∈ ℕ (𝑑↑𝑟𝑗)↑𝑟𝑖) ⊆ ∪ 𝑘 ∈ ({0, 1} ∪ ℕ)(𝑑↑𝑟𝑘)
781, 2, 3, 4, 5, 18, 39, 49, 77comptiunov2i 45126 1 (r* ∘ t+) = t*
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   = wceq 1572   ∈ wcel 2156   ≠ wne 2970  Vcvv 3461   ⊆ wss 3907   ∩ cin 4099   ∪ cun 4159  ∅c0 4288  {csn 4595  {cpr 4597  ∪ ciun 4964   ∘ ccom 5670  (class class class)co 7470  0cc0 11258  1c1 11259  ℕcn 12394  ℕ0cn0 12665  t+ctcl 15202  t*crtcl 15203  ↑𝑟crelexp 15236  r*crcl 45092
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1834  ax-4 1848  ax-5 1951  ax-6 2009  ax-7 2050  ax-8 2158  ax-9 2166  ax-10 2189  ax-11 2206  ax-12 2225  ax-ext 2746  ax-rep 5246  ax-sep 5263  ax-nul 5274  ax-pow 5342  ax-pr 5406  ax-un 7802  ax-cnex 11314  ax-resscn 11315  ax-1cn 11316  ax-icn 11317  ax-addcl 11318  ax-addrcl 11319  ax-mulcl 11320  ax-mulrcl 11321  ax-mulcom 11322  ax-addass 11323  ax-mulass 11324  ax-distr 11325  ax-i2m1 11326  ax-1ne0 11327  ax-1rid 11328  ax-rnegex 11329  ax-rrecex 11330  ax-cnre 11331  ax-pre-lttri 11332  ax-pre-lttrn 11333  ax-pre-ltadd 11334  ax-pre-mulgt0 11335
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1819  df-nf 1823  df-sb 2110  df-mo 2576  df-eu 2606  df-clab 2753  df-cleq 2766  df-clel 2850  df-nfc 2924  df-ne 2971  df-nel 3077  df-ral 3092  df-rex 3102  df-reu 3377  df-rab 3424  df-v 3463  df-sbc 3750  df-csb 3859  df-ss 3908  df-pss 4024  df-dif 4057  df-in 4101  df-un 4161  df-nul 4289  df-if 4493  df-pw 4569  df-sn 4596  df-pr 4598  df-op 4849  df-uni 4881  df-int 4921  df-iun 4966  df-br 5117  df-opab 5182  df-mpt 5201  df-tr 5227  df-id 5561  df-eprel 5566  df-po 5574  df-so 5575  df-fr 5619  df-we 5621  df-xp 5672  df-rel 5673  df-cnv 5674  df-co 5675  df-dm 5676  df-rn 5677  df-res 5678  df-ima 5679  df-pred 6343  df-ord 6404  df-on 6405  df-lim 6406  df-suc 6407  df-iota 6533  df-fun 6581  df-fn 6582  df-f 6583  df-f1 6584  df-fo 6585  df-f1o 6586  df-fv 6587  df-riota 7426  df-ov 7473  df-oprab 7474  df-mpo 7475  df-om 7931  df-2nd 8055  df-frecs 8356  df-wrecs 8387  df-recs 8436  df-rdg 8475  df-er 8774  df-en 9031  df-dom 9032  df-sdom 9033  df-pnf 11403  df-mnf 11404  df-xr 11405  df-ltxr 11406  df-le 11407  df-sub 11601  df-neg 11602  df-nn 12395  df-2 12464  df-n0 12666  df-z 12753  df-uz 13025  df-seq 14206  df-trcl 15204  df-rtrcl 15205  df-relexp 15237  df-rcl 45093
This theorem is used by:  cortrcltrcl  45160  corclrtrcl  45161
  Copyright terms: Public domain W3C validator