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

Theorem corclrcl 40072
Description: The reflexive closure is idempotent. (Contributed by RP, 13-Jun-2020.)
Assertion
Ref Expression
corclrcl (r* ∘ r*) = r*

Proof of Theorem corclrcl
Dummy variables 𝑎 𝑏 𝑐 𝑑 𝑖 𝑗 𝑘 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 dfrcl4 40041 . 2 r* = (𝑎 ∈ V ↦ 𝑖 ∈ {0, 1} (𝑎𝑟𝑖))
2 dfrcl4 40041 . 2 r* = (𝑏 ∈ V ↦ 𝑗 ∈ {0, 1} (𝑏𝑟𝑗))
3 dfrcl4 40041 . 2 r* = (𝑐 ∈ V ↦ 𝑘 ∈ {0, 1} (𝑐𝑟𝑘))
4 prex 5333 . 2 {0, 1} ∈ V
5 unidm 4128 . . 3 ({0, 1} ∪ {0, 1}) = {0, 1}
65eqcomi 2830 . 2 {0, 1} = ({0, 1} ∪ {0, 1})
7 oveq2 7164 . . . . 5 (𝑘 = 𝑗 → (𝑑𝑟𝑘) = (𝑑𝑟𝑗))
87cbviunv 4965 . . . 4 𝑘 ∈ {0, 1} (𝑑𝑟𝑘) = 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)
9 1ex 10637 . . . . . . 7 1 ∈ V
10 oveq2 7164 . . . . . . 7 (𝑖 = 1 → ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖) = ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟1))
119, 10iunxsn 5013 . . . . . 6 𝑖 ∈ {1} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖) = ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟1)
12 ovex 7189 . . . . . . . 8 (𝑑𝑟𝑗) ∈ V
134, 12iunex 7669 . . . . . . 7 𝑗 ∈ {0, 1} (𝑑𝑟𝑗) ∈ V
14 relexp1g 14385 . . . . . . 7 ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗) ∈ V → ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟1) = 𝑗 ∈ {0, 1} (𝑑𝑟𝑗))
1513, 14ax-mp 5 . . . . . 6 ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟1) = 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)
1611, 15eqtri 2844 . . . . 5 𝑖 ∈ {1} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖) = 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)
1716eqcomi 2830 . . . 4 𝑗 ∈ {0, 1} (𝑑𝑟𝑗) = 𝑖 ∈ {1} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖)
188, 17eqtri 2844 . . 3 𝑘 ∈ {0, 1} (𝑑𝑟𝑘) = 𝑖 ∈ {1} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖)
19 snsspr2 4748 . . . 4 {1} ⊆ {0, 1}
20 iunss1 4933 . . . 4 ({1} ⊆ {0, 1} → 𝑖 ∈ {1} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑖 ∈ {0, 1} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖))
2119, 20ax-mp 5 . . 3 𝑖 ∈ {1} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑖 ∈ {0, 1} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖)
2218, 21eqsstri 4001 . 2 𝑘 ∈ {0, 1} (𝑑𝑟𝑘) ⊆ 𝑖 ∈ {0, 1} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖)
23 c0ex 10635 . . . . . 6 0 ∈ V
2423prid1 4698 . . . . 5 0 ∈ {0, 1}
25 oveq2 7164 . . . . . 6 (𝑘 = 0 → (𝑑𝑟𝑘) = (𝑑𝑟0))
2625ssiun2s 4972 . . . . 5 (0 ∈ {0, 1} → (𝑑𝑟0) ⊆ 𝑘 ∈ {0, 1} (𝑑𝑟𝑘))
2724, 26ax-mp 5 . . . 4 (𝑑𝑟0) ⊆ 𝑘 ∈ {0, 1} (𝑑𝑟𝑘)
28 oveq2 7164 . . . . . 6 (𝑗 = 𝑘 → (𝑑𝑟𝑗) = (𝑑𝑟𝑘))
2928cbviunv 4965 . . . . 5 𝑗 ∈ {0, 1} (𝑑𝑟𝑗) = 𝑘 ∈ {0, 1} (𝑑𝑟𝑘)
3029eqimssi 4025 . . . 4 𝑗 ∈ {0, 1} (𝑑𝑟𝑗) ⊆ 𝑘 ∈ {0, 1} (𝑑𝑟𝑘)
31 unss12 4158 . . . 4 (((𝑑𝑟0) ⊆ 𝑘 ∈ {0, 1} (𝑑𝑟𝑘) ∧ 𝑗 ∈ {0, 1} (𝑑𝑟𝑗) ⊆ 𝑘 ∈ {0, 1} (𝑑𝑟𝑘)) → ((𝑑𝑟0) ∪ 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)) ⊆ ( 𝑘 ∈ {0, 1} (𝑑𝑟𝑘) ∪ 𝑘 ∈ {0, 1} (𝑑𝑟𝑘)))
3227, 30, 31mp2an 690 . . 3 ((𝑑𝑟0) ∪ 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)) ⊆ ( 𝑘 ∈ {0, 1} (𝑑𝑟𝑘) ∪ 𝑘 ∈ {0, 1} (𝑑𝑟𝑘))
33 df-pr 4570 . . . . 5 {0, 1} = ({0} ∪ {1})
34 iuneq1 4935 . . . . 5 ({0, 1} = ({0} ∪ {1}) → 𝑖 ∈ {0, 1} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖) = 𝑖 ∈ ({0} ∪ {1})( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖))
3533, 34ax-mp 5 . . . 4 𝑖 ∈ {0, 1} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖) = 𝑖 ∈ ({0} ∪ {1})( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖)
36 iunxun 5016 . . . . 5 𝑖 ∈ ({0} ∪ {1})( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖) = ( 𝑖 ∈ {0} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖) ∪ 𝑖 ∈ {1} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖))
37 oveq2 7164 . . . . . . . 8 (𝑖 = 0 → ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖) = ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟0))
3823, 37iunxsn 5013 . . . . . . 7 𝑖 ∈ {0} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖) = ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟0)
39 vex 3497 . . . . . . . 8 𝑑 ∈ V
40 0nn0 11913 . . . . . . . . 9 0 ∈ ℕ0
41 1nn0 11914 . . . . . . . . 9 1 ∈ ℕ0
42 prssi 4754 . . . . . . . . 9 ((0 ∈ ℕ0 ∧ 1 ∈ ℕ0) → {0, 1} ⊆ ℕ0)
4340, 41, 42mp2an 690 . . . . . . . 8 {0, 1} ⊆ ℕ0
4424, 24elini 4170 . . . . . . . . 9 0 ∈ ({0, 1} ∩ {0, 1})
4544ne0ii 4303 . . . . . . . 8 ({0, 1} ∩ {0, 1}) ≠ ∅
46 iunrelexp0 40067 . . . . . . . 8 ((𝑑 ∈ V ∧ {0, 1} ⊆ ℕ0 ∧ ({0, 1} ∩ {0, 1}) ≠ ∅) → ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟0) = (𝑑𝑟0))
4739, 43, 45, 46mp3an 1457 . . . . . . 7 ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟0) = (𝑑𝑟0)
4838, 47eqtri 2844 . . . . . 6 𝑖 ∈ {0} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖) = (𝑑𝑟0)
4948, 16uneq12i 4137 . . . . 5 ( 𝑖 ∈ {0} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖) ∪ 𝑖 ∈ {1} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖)) = ((𝑑𝑟0) ∪ 𝑗 ∈ {0, 1} (𝑑𝑟𝑗))
5036, 49eqtri 2844 . . . 4 𝑖 ∈ ({0} ∪ {1})( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖) = ((𝑑𝑟0) ∪ 𝑗 ∈ {0, 1} (𝑑𝑟𝑗))
5135, 50eqtri 2844 . . 3 𝑖 ∈ {0, 1} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖) = ((𝑑𝑟0) ∪ 𝑗 ∈ {0, 1} (𝑑𝑟𝑗))
52 iunxun 5016 . . 3 𝑘 ∈ ({0, 1} ∪ {0, 1})(𝑑𝑟𝑘) = ( 𝑘 ∈ {0, 1} (𝑑𝑟𝑘) ∪ 𝑘 ∈ {0, 1} (𝑑𝑟𝑘))
5332, 51, 523sstr4i 4010 . 2 𝑖 ∈ {0, 1} ( 𝑗 ∈ {0, 1} (𝑑𝑟𝑗)↑𝑟𝑖) ⊆ 𝑘 ∈ ({0, 1} ∪ {0, 1})(𝑑𝑟𝑘)
541, 2, 3, 4, 4, 6, 22, 22, 53comptiunov2i 40071 1 (r* ∘ r*) = r*
Colors of variables: wff setvar class
Syntax hints:   = wceq 1537  wcel 2114  wne 3016  Vcvv 3494  cun 3934  cin 3935  wss 3936  c0 4291  {csn 4567  {cpr 4569   ciun 4919  ccom 5559  (class class class)co 7156  0cc0 10537  1c1 10538  0cn0 11898  𝑟crelexp 14379  r*crcl 40037
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1796  ax-4 1810  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2116  ax-9 2124  ax-10 2145  ax-11 2161  ax-12 2177  ax-ext 2793  ax-rep 5190  ax-sep 5203  ax-nul 5210  ax-pow 5266  ax-pr 5330  ax-un 7461  ax-cnex 10593  ax-resscn 10594  ax-1cn 10595  ax-icn 10596  ax-addcl 10597  ax-addrcl 10598  ax-mulcl 10599  ax-mulrcl 10600  ax-mulcom 10601  ax-addass 10602  ax-mulass 10603  ax-distr 10604  ax-i2m1 10605  ax-1ne0 10606  ax-1rid 10607  ax-rnegex 10608  ax-rrecex 10609  ax-cnre 10610  ax-pre-lttri 10611  ax-pre-lttrn 10612  ax-pre-ltadd 10613  ax-pre-mulgt0 10614
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1540  df-ex 1781  df-nf 1785  df-sb 2070  df-mo 2622  df-eu 2654  df-clab 2800  df-cleq 2814  df-clel 2893  df-nfc 2963  df-ne 3017  df-nel 3124  df-ral 3143  df-rex 3144  df-reu 3145  df-rab 3147  df-v 3496  df-sbc 3773  df-csb 3884  df-dif 3939  df-un 3941  df-in 3943  df-ss 3952  df-pss 3954  df-nul 4292  df-if 4468  df-pw 4541  df-sn 4568  df-pr 4570  df-tp 4572  df-op 4574  df-uni 4839  df-int 4877  df-iun 4921  df-br 5067  df-opab 5129  df-mpt 5147  df-tr 5173  df-id 5460  df-eprel 5465  df-po 5474  df-so 5475  df-fr 5514  df-we 5516  df-xp 5561  df-rel 5562  df-cnv 5563  df-co 5564  df-dm 5565  df-rn 5566  df-res 5567  df-ima 5568  df-pred 6148  df-ord 6194  df-on 6195  df-lim 6196  df-suc 6197  df-iota 6314  df-fun 6357  df-fn 6358  df-f 6359  df-f1 6360  df-fo 6361  df-f1o 6362  df-fv 6363  df-riota 7114  df-ov 7159  df-oprab 7160  df-mpo 7161  df-om 7581  df-2nd 7690  df-wrecs 7947  df-recs 8008  df-rdg 8046  df-er 8289  df-en 8510  df-dom 8511  df-sdom 8512  df-pnf 10677  df-mnf 10678  df-xr 10679  df-ltxr 10680  df-le 10681  df-sub 10872  df-neg 10873  df-nn 11639  df-n0 11899  df-z 11983  df-uz 12245  df-seq 13371  df-relexp 14380  df-rcl 40038
This theorem is referenced by:  corclrtrcl  40106  cortrclrcl  40108
  Copyright terms: Public domain W3C validator