MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  r1om Structured version   Visualization version   GIF version

Theorem r1om 9931
Description: The set of hereditarily finite sets is countable. See ackbij2 9930 for an explicit bijection that works without Infinity. See also r1omALT 10463. (Contributed by Stefan O'Rear, 18-Nov-2014.)
Assertion
Ref Expression
r1om (𝑅1‘ω) ≈ ω

Proof of Theorem r1om
Dummy variables 𝑎 𝑏 𝑐 𝑑 𝑒 𝑓 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 omex 9331 . . . 4 ω ∈ V
2 limom 7703 . . . 4 Lim ω
3 r1lim 9461 . . . 4 ((ω ∈ V ∧ Lim ω) → (𝑅1‘ω) = 𝑎 ∈ ω (𝑅1𝑎))
41, 2, 3mp2an 688 . . 3 (𝑅1‘ω) = 𝑎 ∈ ω (𝑅1𝑎)
5 r1fnon 9456 . . . 4 𝑅1 Fn On
6 fnfun 6517 . . . 4 (𝑅1 Fn On → Fun 𝑅1)
7 funiunfv 7103 . . . 4 (Fun 𝑅1 𝑎 ∈ ω (𝑅1𝑎) = (𝑅1 “ ω))
85, 6, 7mp2b 10 . . 3 𝑎 ∈ ω (𝑅1𝑎) = (𝑅1 “ ω)
94, 8eqtri 2766 . 2 (𝑅1‘ω) = (𝑅1 “ ω)
10 iuneq1 4937 . . . . . . 7 (𝑒 = 𝑎 𝑓𝑒 ({𝑓} × 𝒫 𝑓) = 𝑓𝑎 ({𝑓} × 𝒫 𝑓))
11 sneq 4568 . . . . . . . . 9 (𝑓 = 𝑏 → {𝑓} = {𝑏})
12 pweq 4546 . . . . . . . . 9 (𝑓 = 𝑏 → 𝒫 𝑓 = 𝒫 𝑏)
1311, 12xpeq12d 5611 . . . . . . . 8 (𝑓 = 𝑏 → ({𝑓} × 𝒫 𝑓) = ({𝑏} × 𝒫 𝑏))
1413cbviunv 4966 . . . . . . 7 𝑓𝑎 ({𝑓} × 𝒫 𝑓) = 𝑏𝑎 ({𝑏} × 𝒫 𝑏)
1510, 14eqtrdi 2795 . . . . . 6 (𝑒 = 𝑎 𝑓𝑒 ({𝑓} × 𝒫 𝑓) = 𝑏𝑎 ({𝑏} × 𝒫 𝑏))
1615fveq2d 6760 . . . . 5 (𝑒 = 𝑎 → (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)) = (card‘ 𝑏𝑎 ({𝑏} × 𝒫 𝑏)))
1716cbvmptv 5183 . . . 4 (𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓))) = (𝑎 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑏𝑎 ({𝑏} × 𝒫 𝑏)))
18 dmeq 5801 . . . . . . . 8 (𝑐 = 𝑎 → dom 𝑐 = dom 𝑎)
1918pweqd 4549 . . . . . . 7 (𝑐 = 𝑎 → 𝒫 dom 𝑐 = 𝒫 dom 𝑎)
20 imaeq1 5953 . . . . . . . 8 (𝑐 = 𝑎 → (𝑐𝑑) = (𝑎𝑑))
2120fveq2d 6760 . . . . . . 7 (𝑐 = 𝑎 → ((𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)))‘(𝑐𝑑)) = ((𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)))‘(𝑎𝑑)))
2219, 21mpteq12dv 5161 . . . . . 6 (𝑐 = 𝑎 → (𝑑 ∈ 𝒫 dom 𝑐 ↦ ((𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)))‘(𝑐𝑑))) = (𝑑 ∈ 𝒫 dom 𝑎 ↦ ((𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)))‘(𝑎𝑑))))
23 imaeq2 5954 . . . . . . . 8 (𝑑 = 𝑏 → (𝑎𝑑) = (𝑎𝑏))
2423fveq2d 6760 . . . . . . 7 (𝑑 = 𝑏 → ((𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)))‘(𝑎𝑑)) = ((𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)))‘(𝑎𝑏)))
2524cbvmptv 5183 . . . . . 6 (𝑑 ∈ 𝒫 dom 𝑎 ↦ ((𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)))‘(𝑎𝑑))) = (𝑏 ∈ 𝒫 dom 𝑎 ↦ ((𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)))‘(𝑎𝑏)))
2622, 25eqtrdi 2795 . . . . 5 (𝑐 = 𝑎 → (𝑑 ∈ 𝒫 dom 𝑐 ↦ ((𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)))‘(𝑐𝑑))) = (𝑏 ∈ 𝒫 dom 𝑎 ↦ ((𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)))‘(𝑎𝑏))))
2726cbvmptv 5183 . . . 4 (𝑐 ∈ V ↦ (𝑑 ∈ 𝒫 dom 𝑐 ↦ ((𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)))‘(𝑐𝑑)))) = (𝑎 ∈ V ↦ (𝑏 ∈ 𝒫 dom 𝑎 ↦ ((𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)))‘(𝑎𝑏))))
28 eqid 2738 . . . 4 (rec((𝑐 ∈ V ↦ (𝑑 ∈ 𝒫 dom 𝑐 ↦ ((𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)))‘(𝑐𝑑)))), ∅) “ ω) = (rec((𝑐 ∈ V ↦ (𝑑 ∈ 𝒫 dom 𝑐 ↦ ((𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)))‘(𝑐𝑑)))), ∅) “ ω)
2917, 27, 28ackbij2 9930 . . 3 (rec((𝑐 ∈ V ↦ (𝑑 ∈ 𝒫 dom 𝑐 ↦ ((𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)))‘(𝑐𝑑)))), ∅) “ ω): (𝑅1 “ ω)–1-1-onto→ω
30 fvex 6769 . . . . 5 (𝑅1‘ω) ∈ V
319, 30eqeltrri 2836 . . . 4 (𝑅1 “ ω) ∈ V
3231f1oen 8716 . . 3 ( (rec((𝑐 ∈ V ↦ (𝑑 ∈ 𝒫 dom 𝑐 ↦ ((𝑒 ∈ (𝒫 ω ∩ Fin) ↦ (card‘ 𝑓𝑒 ({𝑓} × 𝒫 𝑓)))‘(𝑐𝑑)))), ∅) “ ω): (𝑅1 “ ω)–1-1-onto→ω → (𝑅1 “ ω) ≈ ω)
3329, 32ax-mp 5 . 2 (𝑅1 “ ω) ≈ ω
349, 33eqbrtri 5091 1 (𝑅1‘ω) ≈ ω
Colors of variables: wff setvar class
Syntax hints:   = wceq 1539  wcel 2108  Vcvv 3422  cin 3882  c0 4253  𝒫 cpw 4530  {csn 4558   cuni 4836   ciun 4921   class class class wbr 5070  cmpt 5153   × cxp 5578  dom cdm 5580  cima 5583  Oncon0 6251  Lim wlim 6252  Fun wfun 6412   Fn wfn 6413  1-1-ontowf1o 6417  cfv 6418  ωcom 7687  reccrdg 8211  cen 8688  Fincfn 8691  𝑅1cr1 9451  cardccrd 9624
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-inf2 9329
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-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-ov 7258  df-oprab 7259  df-mpo 7260  df-om 7688  df-1st 7804  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-rdg 8212  df-1o 8267  df-2o 8268  df-oadd 8271  df-er 8456  df-map 8575  df-en 8692  df-dom 8693  df-sdom 8694  df-fin 8695  df-r1 9453  df-rank 9454  df-dju 9590  df-card 9628
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator