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 40426
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 40421 . 2 t+ = (𝑎 ∈ V ↦ 𝑖 ∈ ℕ (𝑎𝑟𝑖))
2 dftrcl3 40421 . 2 t+ = (𝑏 ∈ V ↦ 𝑗 ∈ ℕ (𝑏𝑟𝑗))
3 dftrcl3 40421 . 2 t+ = (𝑐 ∈ V ↦ 𝑘 ∈ ℕ (𝑐𝑟𝑘))
4 nnex 11631 . 2 ℕ ∈ V
5 unidm 4079 . . 3 (ℕ ∪ ℕ) = ℕ
65eqcomi 2807 . 2 ℕ = (ℕ ∪ ℕ)
7 1ex 10626 . . . . . 6 1 ∈ V
8 oveq2 7143 . . . . . 6 (𝑖 = 1 → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1))
97, 8iunxsn 4976 . . . . 5 𝑖 ∈ {1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1)
10 ovex 7168 . . . . . . . 8 (𝑑𝑟𝑗) ∈ V
114, 10iunex 7651 . . . . . . 7 𝑗 ∈ ℕ (𝑑𝑟𝑗) ∈ V
12 relexp1g 14377 . . . . . . 7 ( 𝑗 ∈ ℕ (𝑑𝑟𝑗) ∈ V → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1) = 𝑗 ∈ ℕ (𝑑𝑟𝑗))
1311, 12ax-mp 5 . . . . . 6 ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1) = 𝑗 ∈ ℕ (𝑑𝑟𝑗)
14 oveq2 7143 . . . . . . 7 (𝑗 = 𝑘 → (𝑑𝑟𝑗) = (𝑑𝑟𝑘))
1514cbviunv 4927 . . . . . 6 𝑗 ∈ ℕ (𝑑𝑟𝑗) = 𝑘 ∈ ℕ (𝑑𝑟𝑘)
1613, 15eqtri 2821 . . . . 5 ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1) = 𝑘 ∈ ℕ (𝑑𝑟𝑘)
179, 16eqtri 2821 . . . 4 𝑖 ∈ {1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) = 𝑘 ∈ ℕ (𝑑𝑟𝑘)
1817eqcomi 2807 . . 3 𝑘 ∈ ℕ (𝑑𝑟𝑘) = 𝑖 ∈ {1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖)
19 1nn 11636 . . . 4 1 ∈ ℕ
20 snssi 4701 . . . 4 (1 ∈ ℕ → {1} ⊆ ℕ)
21 iunss1 4895 . . . 4 ({1} ⊆ ℕ → 𝑖 ∈ {1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑖 ∈ ℕ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖))
2219, 20, 21mp2b 10 . . 3 𝑖 ∈ {1} ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑖 ∈ ℕ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖)
2318, 22eqsstri 3949 . 2 𝑘 ∈ ℕ (𝑑𝑟𝑘) ⊆ 𝑖 ∈ ℕ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖)
24 iunss 4932 . . . 4 ( 𝑖 ∈ ℕ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘) ↔ ∀𝑖 ∈ ℕ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘))
25 oveq2 7143 . . . . . 6 (𝑥 = 1 → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑥) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1))
2625sseq1d 3946 . . . . 5 (𝑥 = 1 → (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑥) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘) ↔ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)))
27 oveq2 7143 . . . . . 6 (𝑥 = 𝑦 → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑥) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦))
2827sseq1d 3946 . . . . 5 (𝑥 = 𝑦 → (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑥) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘) ↔ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)))
29 oveq2 7143 . . . . . 6 (𝑥 = (𝑦 + 1) → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑥) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟(𝑦 + 1)))
3029sseq1d 3946 . . . . 5 (𝑥 = (𝑦 + 1) → (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑥) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘) ↔ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟(𝑦 + 1)) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)))
31 oveq2 7143 . . . . . 6 (𝑥 = 𝑖 → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑥) = ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖))
3231sseq1d 3946 . . . . 5 (𝑥 = 𝑖 → (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑥) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘) ↔ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)))
3316eqimssi 3973 . . . . 5 ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟1) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)
34 simpl 486 . . . . . . . 8 ((𝑦 ∈ ℕ ∧ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)) → 𝑦 ∈ ℕ)
35 relexpsucnnr 14376 . . . . . . . 8 (( 𝑗 ∈ ℕ (𝑑𝑟𝑗) ∈ V ∧ 𝑦 ∈ ℕ) → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟(𝑦 + 1)) = (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)))
3611, 34, 35sylancr 590 . . . . . . 7 ((𝑦 ∈ ℕ ∧ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)) → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟(𝑦 + 1)) = (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)))
37 coss1 5690 . . . . . . . . 9 (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘) → (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)) ⊆ ( 𝑘 ∈ ℕ (𝑑𝑟𝑘) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)))
3837adantl 485 . . . . . . . 8 ((𝑦 ∈ ℕ ∧ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)) → (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)) ⊆ ( 𝑘 ∈ ℕ (𝑑𝑟𝑘) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)))
3915coeq2i 5695 . . . . . . . . 9 ( 𝑘 ∈ ℕ (𝑑𝑟𝑘) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)) = ( 𝑘 ∈ ℕ (𝑑𝑟𝑘) ∘ 𝑘 ∈ ℕ (𝑑𝑟𝑘))
40 trclfvcotrg 14367 . . . . . . . . . 10 ((t+‘𝑑) ∘ (t+‘𝑑)) ⊆ (t+‘𝑑)
41 oveq1 7142 . . . . . . . . . . . . . 14 (𝑐 = 𝑑 → (𝑐𝑟𝑘) = (𝑑𝑟𝑘))
4241iuneq2d 4910 . . . . . . . . . . . . 13 (𝑐 = 𝑑 𝑘 ∈ ℕ (𝑐𝑟𝑘) = 𝑘 ∈ ℕ (𝑑𝑟𝑘))
43 ovex 7168 . . . . . . . . . . . . . 14 (𝑑𝑟𝑘) ∈ V
444, 43iunex 7651 . . . . . . . . . . . . 13 𝑘 ∈ ℕ (𝑑𝑟𝑘) ∈ V
4542, 3, 44fvmpt 6745 . . . . . . . . . . . 12 (𝑑 ∈ V → (t+‘𝑑) = 𝑘 ∈ ℕ (𝑑𝑟𝑘))
4645elv 3446 . . . . . . . . . . 11 (t+‘𝑑) = 𝑘 ∈ ℕ (𝑑𝑟𝑘)
4746, 46coeq12i 5698 . . . . . . . . . 10 ((t+‘𝑑) ∘ (t+‘𝑑)) = ( 𝑘 ∈ ℕ (𝑑𝑟𝑘) ∘ 𝑘 ∈ ℕ (𝑑𝑟𝑘))
4840, 47, 463sstr3i 3957 . . . . . . . . 9 ( 𝑘 ∈ ℕ (𝑑𝑟𝑘) ∘ 𝑘 ∈ ℕ (𝑑𝑟𝑘)) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)
4939, 48eqsstri 3949 . . . . . . . 8 ( 𝑘 ∈ ℕ (𝑑𝑟𝑘) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)
5038, 49sstrdi 3927 . . . . . . 7 ((𝑦 ∈ ℕ ∧ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)) → (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ∘ 𝑗 ∈ ℕ (𝑑𝑟𝑗)) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘))
5136, 50eqsstrd 3953 . . . . . 6 ((𝑦 ∈ ℕ ∧ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)) → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟(𝑦 + 1)) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘))
5251ex 416 . . . . 5 (𝑦 ∈ ℕ → (( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑦) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘) → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟(𝑦 + 1)) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)))
5326, 28, 30, 32, 33, 52nnind 11643 . . . 4 (𝑖 ∈ ℕ → ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘))
5424, 53mprgbir 3121 . . 3 𝑖 ∈ ℕ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑘 ∈ ℕ (𝑑𝑟𝑘)
55 iuneq1 4897 . . . 4 (ℕ = (ℕ ∪ ℕ) → 𝑘 ∈ ℕ (𝑑𝑟𝑘) = 𝑘 ∈ (ℕ ∪ ℕ)(𝑑𝑟𝑘))
566, 55ax-mp 5 . . 3 𝑘 ∈ ℕ (𝑑𝑟𝑘) = 𝑘 ∈ (ℕ ∪ ℕ)(𝑑𝑟𝑘)
5754, 56sseqtri 3951 . 2 𝑖 ∈ ℕ ( 𝑗 ∈ ℕ (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑘 ∈ (ℕ ∪ ℕ)(𝑑𝑟𝑘)
581, 2, 3, 4, 4, 6, 23, 23, 57comptiunov2i 40407 1 (t+ ∘ t+) = t+
Colors of variables: wff setvar class
Syntax hints:  wa 399   = wceq 1538  wcel 2111  Vcvv 3441  cun 3879  wss 3881  {csn 4525   ciun 4881  ccom 5523  cfv 6324  (class class class)co 7135  1c1 10527   + caddc 10529  cn 11625  t+ctcl 14336  𝑟crelexp 14370
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-relexp 14371
This theorem is referenced by:  cortrcltrcl  40441  cotrclrtrcl  40445
  Copyright terms: Public domain W3C validator