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

Theorem cotrcltrcl 41222
Description: The transitive closure is idempotent. (Contributed by RP, 16-Jun-2020.)
Assertion
Ref Expression
cotrcltrcl (t+ ∘ t+) = t+

Proof of Theorem cotrcltrcl
Dummy variables 𝑎 𝑏 𝑐 𝑑 𝑖 𝑗 𝑘 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dftrcl3 41217 . 2 t+ = (𝑎 ∈ V ↦ 𝑖 ∈ ℕ (𝑎𝑟𝑖))
2 dftrcl3 41217 . 2 t+ = (𝑏 ∈ V ↦ 𝑗 ∈ ℕ (𝑏𝑟𝑗))
3 dftrcl3 41217 . 2 t+ = (𝑐 ∈ V ↦ 𝑘 ∈ ℕ (𝑐𝑟𝑘))
4 nnex 11909 . 2 ℕ ∈ V
5 unidm 4082 . . 3 (ℕ ∪ ℕ) = ℕ
65eqcomi 2747 . 2 ℕ = (ℕ ∪ ℕ)
7 1ex 10902 . . . . . 6 1 ∈ V
8 oveq2 7263 . . . . . 6 (𝑖 = 1 → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1))
97, 8iunxsn 5016 . . . . 5 𝑖 ∈ {1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1)
10 ovex 7288 . . . . . . . 8 (𝑑𝑟𝑗) ∈ V
114, 10iunex 7784 . . . . . . 7 𝑗 ∈ ℕ (𝑑𝑟𝑗) ∈ V
12 relexp1g 14665 . . . . . . 7 ( 𝑗 ∈ ℕ (𝑑𝑟𝑗) ∈ V → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1) = 𝑗 ∈ ℕ (𝑑𝑟𝑗))
1311, 12ax-mp 5 . . . . . 6 ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1) = 𝑗 ∈ ℕ (𝑑𝑟𝑗)
14 oveq2 7263 . . . . . . 7 (𝑗 = 𝑘 → (𝑑𝑟𝑗) = (𝑑𝑟𝑘))
1514cbviunv 4966 . . . . . 6 𝑗 ∈ ℕ (𝑑𝑟𝑗) = 𝑘 ∈ ℕ (𝑑𝑟𝑘)
1613, 15eqtri 2766 . . . . 5 ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1) = 𝑘 ∈ ℕ (𝑑𝑟𝑘)
179, 16eqtri 2766 . . . 4 𝑖 ∈ {1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) = 𝑘 ∈ ℕ (𝑑𝑟𝑘)
1817eqcomi 2747 . . 3 𝑘 ∈ ℕ (𝑑𝑟𝑘) = 𝑖 ∈ {1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖)
19 1nn 11914 . . . 4 1 ∈ ℕ
20 snssi 4738 . . . 4 (1 ∈ ℕ → {1} ⊆ ℕ)
21 iunss1 4935 . . . 4 ({1} ⊆ ℕ → 𝑖 ∈ {1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑖 ∈ ℕ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖))
2219, 20, 21mp2b 10 . . 3 𝑖 ∈ {1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑖 ∈ ℕ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖)
2318, 22eqsstri 3951 . 2 𝑘 ∈ ℕ (𝑑𝑟𝑘) ⊆ 𝑖 ∈ ℕ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖)
24 iunss 4971 . . . 4 ( 𝑖 ∈ ℕ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘) ↔ ∀𝑖 ∈ ℕ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘))
25 oveq2 7263 . . . . . 6 (𝑥 = 1 → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑥) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1))
2625sseq1d 3948 . . . . 5 (𝑥 = 1 → (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑥) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘) ↔ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)))
27 oveq2 7263 . . . . . 6 (𝑥 = 𝑦 → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑥) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦))
2827sseq1d 3948 . . . . 5 (𝑥 = 𝑦 → (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑥) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘) ↔ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)))
29 oveq2 7263 . . . . . 6 (𝑥 = (𝑦 + 1) → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑥) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟(𝑦 + 1)))
3029sseq1d 3948 . . . . 5 (𝑥 = (𝑦 + 1) → (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑥) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘) ↔ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟(𝑦 + 1)) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)))
31 oveq2 7263 . . . . . 6 (𝑥 = 𝑖 → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑥) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖))
3231sseq1d 3948 . . . . 5 (𝑥 = 𝑖 → (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑥) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘) ↔ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)))
3316eqimssi 3975 . . . . 5 ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)
34 simpl 482 . . . . . . . 8 ((𝑦 ∈ ℕ ∧ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)) → 𝑦 ∈ ℕ)
35 relexpsucnnr 14664 . . . . . . . 8 (( 𝑗 ∈ ℕ (𝑑𝑟𝑗) ∈ V ∧ 𝑦 ∈ ℕ) → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟(𝑦 + 1)) = (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)))
3611, 34, 35sylancr 586 . . . . . . 7 ((𝑦 ∈ ℕ ∧ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)) → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟(𝑦 + 1)) = (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)))
37 coss1 5753 . . . . . . . . 9 (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘) → (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)) ⊆ ( 𝑘 ∈ ℕ (𝑑𝑟𝑘) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)))
3837adantl 481 . . . . . . . 8 ((𝑦 ∈ ℕ ∧ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)) → (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)) ⊆ ( 𝑘 ∈ ℕ (𝑑𝑟𝑘) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)))
3915coeq2i 5758 . . . . . . . . 9 ( 𝑘 ∈ ℕ (𝑑𝑟𝑘) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)) = ( 𝑘 ∈ ℕ (𝑑𝑟𝑘) ∘ 𝑘 ∈ ℕ (𝑑𝑟𝑘))
40 trclfvcotrg 14655 . . . . . . . . . 10 ((t+‘𝑑) ∘ (t+‘𝑑)) ⊆ (t+‘𝑑)
41 oveq1 7262 . . . . . . . . . . . . . 14 (𝑐 = 𝑑 → (𝑐𝑟𝑘) = (𝑑𝑟𝑘))
4241iuneq2d 4950 . . . . . . . . . . . . 13 (𝑐 = 𝑑 𝑘 ∈ ℕ (𝑐𝑟𝑘) = 𝑘 ∈ ℕ (𝑑𝑟𝑘))
43 ovex 7288 . . . . . . . . . . . . . 14 (𝑑𝑟𝑘) ∈ V
444, 43iunex 7784 . . . . . . . . . . . . 13 𝑘 ∈ ℕ (𝑑𝑟𝑘) ∈ V
4542, 3, 44fvmpt 6857 . . . . . . . . . . . 12 (𝑑 ∈ V → (t+‘𝑑) = 𝑘 ∈ ℕ (𝑑𝑟𝑘))
4645elv 3428 . . . . . . . . . . 11 (t+‘𝑑) = 𝑘 ∈ ℕ (𝑑𝑟𝑘)
4746, 46coeq12i 5761 . . . . . . . . . 10 ((t+‘𝑑) ∘ (t+‘𝑑)) = ( 𝑘 ∈ ℕ (𝑑𝑟𝑘) ∘ 𝑘 ∈ ℕ (𝑑𝑟𝑘))
4840, 47, 463sstr3i 3959 . . . . . . . . 9 ( 𝑘 ∈ ℕ (𝑑𝑟𝑘) ∘ 𝑘 ∈ ℕ (𝑑𝑟𝑘)) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)
4939, 48eqsstri 3951 . . . . . . . 8 ( 𝑘 ∈ ℕ (𝑑𝑟𝑘) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)
5038, 49sstrdi 3929 . . . . . . 7 ((𝑦 ∈ ℕ ∧ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)) → (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘))
5136, 50eqsstrd 3955 . . . . . 6 ((𝑦 ∈ ℕ ∧ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)) → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟(𝑦 + 1)) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘))
5251ex 412 . . . . 5 (𝑦 ∈ ℕ → (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘) → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟(𝑦 + 1)) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)))
5326, 28, 30, 32, 33, 52nnind 11921 . . . 4 (𝑖 ∈ ℕ → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘))
5424, 53mprgbir 3078 . . 3 𝑖 ∈ ℕ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)
55 iuneq1 4937 . . . 4 (ℕ = (ℕ ∪ ℕ) → 𝑘 ∈ ℕ (𝑑𝑟𝑘) = 𝑘 ∈ (ℕ ∪ ℕ)(𝑑𝑟𝑘))
566, 55ax-mp 5 . . 3 𝑘 ∈ ℕ (𝑑𝑟𝑘) = 𝑘 ∈ (ℕ ∪ ℕ)(𝑑𝑟𝑘)
5754, 56sseqtri 3953 . 2 𝑖 ∈ ℕ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑘 ∈ (ℕ ∪ ℕ)(𝑑𝑟𝑘)
581, 2, 3, 4, 4, 6, 23, 23, 57comptiunov2i 41203 1 (t+ ∘ t+) = t+
Colors of variables: wff setvar class
Syntax hints:  wa 395   = wceq 1539  wcel 2108  Vcvv 3422  cun 3881  wss 3883  {csn 4558   ciun 4921  ccom 5584  cfv 6418  (class class class)co 7255  1c1 10803   + caddc 10805  cn 11903  t+ctcl 14624  𝑟crelexp 14658
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-rep 5205  ax-sep 5218  ax-nul 5225  ax-pow 5283  ax-pr 5347  ax-un 7566  ax-cnex 10858  ax-resscn 10859  ax-1cn 10860  ax-icn 10861  ax-addcl 10862  ax-addrcl 10863  ax-mulcl 10864  ax-mulrcl 10865  ax-mulcom 10866  ax-addass 10867  ax-mulass 10868  ax-distr 10869  ax-i2m1 10870  ax-1ne0 10871  ax-1rid 10872  ax-rnegex 10873  ax-rrecex 10874  ax-cnre 10875  ax-pre-lttri 10876  ax-pre-lttrn 10877  ax-pre-ltadd 10878  ax-pre-mulgt0 10879
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3or 1086  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-nel 3049  df-ral 3068  df-rex 3069  df-reu 3070  df-rab 3072  df-v 3424  df-sbc 3712  df-csb 3829  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-pss 3902  df-nul 4254  df-if 4457  df-pw 4532  df-sn 4559  df-pr 4561  df-tp 4563  df-op 4565  df-uni 4837  df-int 4877  df-iun 4923  df-br 5071  df-opab 5133  df-mpt 5154  df-tr 5188  df-id 5480  df-eprel 5486  df-po 5494  df-so 5495  df-fr 5535  df-we 5537  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-pred 6191  df-ord 6254  df-on 6255  df-lim 6256  df-suc 6257  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-f1 6423  df-fo 6424  df-f1o 6425  df-fv 6426  df-riota 7212  df-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-pnf 10942  df-mnf 10943  df-xr 10944  df-ltxr 10945  df-le 10946  df-sub 11137  df-neg 11138  df-nn 11904  df-2 11966  df-n0 12164  df-z 12250  df-uz 12512  df-seq 13650  df-trcl 14626  df-relexp 14659
This theorem is referenced by:  cortrcltrcl  41237  cotrclrtrcl  41241
  Copyright terms: Public domain W3C validator