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 45108
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 45077 . 2 r* = (𝑎 ∈ V ↦ ∪ 𝑖 ∈ {0, 1} (𝑎↑𝑟𝑖))
2 dfrcl4 45077 . 2 r* = (𝑏 ∈ V ↦ ∪ 𝑗 ∈ {0, 1} (𝑏↑𝑟𝑗))
3 dfrcl4 45077 . 2 r* = (𝑐 ∈ V ↦ ∪ 𝑘 ∈ {0, 1} (𝑐↑𝑟𝑘))
4 prex 5411 . 2 {0, 1} ∈ V
5 unidm 4166 . . 3 ({0, 1} ∪ {0, 1}) = {0, 1}
65eqcomi 2783 . 2 {0, 1} = ({0, 1} ∪ {0, 1})
7 oveq2 7475 . . . . 5 (𝑘 = 𝑗 → (𝑑↑𝑟𝑘) = (𝑑↑𝑟𝑗))
87cbviunv 5010 . . . 4 ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘) = ∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)
9 1ex 11358 . . . . . . 7 1 ∈ V
10 oveq2 7475 . . . . . . 7 (𝑖 = 1 → (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖) = (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟1))
119, 10iunxsn 5064 . . . . . 6 ∪ 𝑖 ∈ {1} (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖) = (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟1)
12 ovex 7500 . . . . . . . 8 (𝑑↑𝑟𝑗) ∈ V
134, 12iunex 8030 . . . . . . 7 ∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗) ∈ V
14 relexp1g 15240 . . . . . . 7 (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗) ∈ V → (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟1) = ∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗))
1513, 14ax-mp 5 . . . . . 6 (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟1) = ∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)
1611, 15eqtri 2797 . . . . 5 ∪ 𝑖 ∈ {1} (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖) = ∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)
1716eqcomi 2783 . . . 4 ∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗) = ∪ 𝑖 ∈ {1} (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖)
188, 17eqtri 2797 . . 3 ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘) = ∪ 𝑖 ∈ {1} (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖)
19 snsspr2 4784 . . . 4 {1} ⊆ {0, 1}
20 iunss1 4979 . . . 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 3966 . 2 ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘) ⊆ ∪ 𝑖 ∈ {0, 1} (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖)
23 0elpr01 11356 . . . . 5 0 ∈ {0, 1}
24 oveq2 7475 . . . . . 6 (𝑘 = 0 → (𝑑↑𝑟𝑘) = (𝑑↑𝑟0))
2524ssiun2s 5020 . . . . 5 (0 ∈ {0, 1} → (𝑑↑𝑟0) ⊆ ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘))
2623, 25ax-mp 5 . . . 4 (𝑑↑𝑟0) ⊆ ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘)
27 oveq2 7475 . . . . . 6 (𝑗 = 𝑘 → (𝑑↑𝑟𝑗) = (𝑑↑𝑟𝑘))
2827cbviunv 5010 . . . . 5 ∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗) = ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘)
2928eqimssi 3980 . . . 4 ∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗) ⊆ ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘)
30 unss12 4196 . . . 4 (((𝑑↑𝑟0) ⊆ ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘) ∧ ∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗) ⊆ ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘)) → ((𝑑↑𝑟0) ∪ ∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)) ⊆ (∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘) ∪ ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘)))
3126, 29, 30mp2an 705 . . 3 ((𝑑↑𝑟0) ∪ ∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)) ⊆ (∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘) ∪ ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘))
32 df-pr 4598 . . . . 5 {0, 1} = ({0} ∪ {1})
33 iuneq1 4981 . . . . 5 ({0, 1} = ({0} ∪ {1}) → ∪ 𝑖 ∈ {0, 1} (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖) = ∪ 𝑖 ∈ ({0} ∪ {1})(∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖))
3432, 33ax-mp 5 . . . 4 ∪ 𝑖 ∈ {0, 1} (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖) = ∪ 𝑖 ∈ ({0} ∪ {1})(∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖)
35 iunxun 5067 . . . . 5 ∪ 𝑖 ∈ ({0} ∪ {1})(∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖) = (∪ 𝑖 ∈ {0} (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖) ∪ ∪ 𝑖 ∈ {1} (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖))
36 c0ex 11355 . . . . . . . 8 0 ∈ V
37 oveq2 7475 . . . . . . . 8 (𝑖 = 0 → (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖) = (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟0))
3836, 37iunxsn 5064 . . . . . . 7 ∪ 𝑖 ∈ {0} (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖) = (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟0)
39 vex 3465 . . . . . . . 8 𝑑 ∈ V
40 0nn0 12677 . . . . . . . . 9 0 ∈ ℕ0
41 1nn0 12678 . . . . . . . . 9 1 ∈ ℕ0
42 prssi 4790 . . . . . . . . 9 ((0 ∈ ℕ0 ∧ 1 ∈ ℕ0) → {0, 1} ⊆ ℕ0)
4340, 41, 42mp2an 705 . . . . . . . 8 {0, 1} ⊆ ℕ0
4423, 23elini 4106 . . . . . . . . 9 0 ∈ ({0, 1} ∩ {0, 1})
4544ne0ii 4300 . . . . . . . 8 ({0, 1} ∩ {0, 1}) ≠ ∅
46 iunrelexp0 45103 . . . . . . . 8 ((𝑑 ∈ V ∧ {0, 1} ⊆ ℕ0 ∧ ({0, 1} ∩ {0, 1}) ≠ ∅) → (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟0) = (𝑑↑𝑟0))
4739, 43, 45, 46mp3an 1493 . . . . . . 7 (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟0) = (𝑑↑𝑟0)
4838, 47eqtri 2797 . . . . . 6 ∪ 𝑖 ∈ {0} (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖) = (𝑑↑𝑟0)
4948, 16uneq12i 4175 . . . . 5 (∪ 𝑖 ∈ {0} (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖) ∪ ∪ 𝑖 ∈ {1} (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖)) = ((𝑑↑𝑟0) ∪ ∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗))
5035, 49eqtri 2797 . . . 4 ∪ 𝑖 ∈ ({0} ∪ {1})(∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖) = ((𝑑↑𝑟0) ∪ ∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗))
5134, 50eqtri 2797 . . 3 ∪ 𝑖 ∈ {0, 1} (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖) = ((𝑑↑𝑟0) ∪ ∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗))
52 iunxun 5067 . . 3 ∪ 𝑘 ∈ ({0, 1} ∪ {0, 1})(𝑑↑𝑟𝑘) = (∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘) ∪ ∪ 𝑘 ∈ {0, 1} (𝑑↑𝑟𝑘))
5331, 51, 523sstr4i 3971 . 2 ∪ 𝑖 ∈ {0, 1} (∪ 𝑗 ∈ {0, 1} (𝑑↑𝑟𝑗)↑𝑟𝑖) ⊆ ∪ 𝑘 ∈ ({0, 1} ∪ {0, 1})(𝑑↑𝑟𝑘)
541, 2, 3, 4, 4, 6, 22, 22, 53comptiunov2i 45107 1 (r* ∘ r*) = r*
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 7467  0cc0 11255  1c1 11256  ℕ0cn0 12662  ↑𝑟crelexp 15233  r*crcl 45073
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 7799  ax-cnex 11311  ax-resscn 11312  ax-1cn 11313  ax-icn 11314  ax-addcl 11315  ax-addrcl 11316  ax-mulcl 11317  ax-mulrcl 11318  ax-mulcom 11319  ax-addass 11320  ax-mulass 11321  ax-distr 11322  ax-i2m1 11323  ax-1ne0 11324  ax-1rid 11325  ax-rnegex 11326  ax-rrecex 11327  ax-cnre 11328  ax-pre-lttri 11329  ax-pre-lttrn 11330  ax-pre-ltadd 11331  ax-pre-mulgt0 11332
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 6342  df-ord 6403  df-on 6404  df-lim 6405  df-suc 6406  df-iota 6532  df-fun 6580  df-fn 6581  df-f 6582  df-f1 6583  df-fo 6584  df-f1o 6585  df-fv 6586  df-riota 7423  df-ov 7470  df-oprab 7471  df-mpo 7472  df-om 7928  df-2nd 8052  df-frecs 8353  df-wrecs 8384  df-recs 8433  df-rdg 8472  df-er 8771  df-en 9028  df-dom 9029  df-sdom 9030  df-pnf 11400  df-mnf 11401  df-xr 11402  df-ltxr 11403  df-le 11404  df-sub 11598  df-neg 11599  df-nn 12392  df-n0 12663  df-z 12750  df-uz 13022  df-seq 14203  df-relexp 15234  df-rcl 45074
This theorem is used by:  corclrtrcl  45142  cortrclrcl  45144
  Copyright terms: Public domain W3C validator