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

Theorem harval3 41041
Description: (har‘𝐴) is the least cardinal that is greater than 𝐴. (Contributed by RP, 4-Nov-2023.)
Assertion
Ref Expression
harval3 (𝐴 ∈ dom card → (har‘𝐴) = {𝑥 ∈ ran card ∣ 𝐴𝑥})
Distinct variable group:   𝑥,𝐴

Proof of Theorem harval3
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 harval2 9686 . 2 (𝐴 ∈ dom card → (har‘𝐴) = {𝑦 ∈ On ∣ 𝐴𝑦})
2 vex 3426 . . . . . 6 𝑥 ∈ V
32a1i 11 . . . . 5 (𝐴 ∈ dom card → 𝑥 ∈ V)
4 elrncard 41040 . . . . . . . . 9 (𝑥 ∈ ran card ↔ (𝑥 ∈ On ∧ ∀𝑦𝑥 ¬ 𝑦𝑥))
54simplbi 497 . . . . . . . 8 (𝑥 ∈ ran card → 𝑥 ∈ On)
65anim1i 614 . . . . . . 7 ((𝑥 ∈ ran card ∧ 𝐴𝑥) → (𝑥 ∈ On ∧ 𝐴𝑥))
7 eleq1 2826 . . . . . . . 8 (𝑦 = 𝑥 → (𝑦 ∈ On ↔ 𝑥 ∈ On))
8 breq2 5074 . . . . . . . 8 (𝑦 = 𝑥 → (𝐴𝑦𝐴𝑥))
97, 8anbi12d 630 . . . . . . 7 (𝑦 = 𝑥 → ((𝑦 ∈ On ∧ 𝐴𝑦) ↔ (𝑥 ∈ On ∧ 𝐴𝑥)))
106, 9syl5ibr 245 . . . . . 6 (𝑦 = 𝑥 → ((𝑥 ∈ ran card ∧ 𝐴𝑥) → (𝑦 ∈ On ∧ 𝐴𝑦)))
1110adantl 481 . . . . 5 ((𝐴 ∈ dom card ∧ 𝑦 = 𝑥) → ((𝑥 ∈ ran card ∧ 𝐴𝑥) → (𝑦 ∈ On ∧ 𝐴𝑦)))
12 ssidd 3940 . . . . 5 (𝐴 ∈ dom card → 𝑥𝑥)
133, 11, 12intabssd 41024 . . . 4 (𝐴 ∈ dom card → {𝑦 ∣ (𝑦 ∈ On ∧ 𝐴𝑦)} ⊆ {𝑥 ∣ (𝑥 ∈ ran card ∧ 𝐴𝑥)})
14 vex 3426 . . . . . . 7 𝑦 ∈ V
1514inex1 5236 . . . . . 6 (𝑦 ∩ (card‘𝑦)) ∈ V
1615a1i 11 . . . . 5 (𝐴 ∈ dom card → (𝑦 ∩ (card‘𝑦)) ∈ V)
17 oncardid 9645 . . . . . . . . . . . 12 (𝑦 ∈ On → (card‘𝑦) ≈ 𝑦)
1817ensymd 8746 . . . . . . . . . . 11 (𝑦 ∈ On → 𝑦 ≈ (card‘𝑦))
19 sdomentr 8847 . . . . . . . . . . . 12 ((𝐴𝑦𝑦 ≈ (card‘𝑦)) → 𝐴 ≺ (card‘𝑦))
2019a1i 11 . . . . . . . . . . 11 (𝑦 ∈ On → ((𝐴𝑦𝑦 ≈ (card‘𝑦)) → 𝐴 ≺ (card‘𝑦)))
2118, 20mpan2d 690 . . . . . . . . . 10 (𝑦 ∈ On → (𝐴𝑦𝐴 ≺ (card‘𝑦)))
22 df-card 9628 . . . . . . . . . . . 12 card = (𝑥 ∈ V ↦ {𝑦 ∈ On ∣ 𝑦𝑥})
2322funmpt2 6457 . . . . . . . . . . 11 Fun card
24 onenon 9638 . . . . . . . . . . 11 (𝑦 ∈ On → 𝑦 ∈ dom card)
25 fvelrn 6936 . . . . . . . . . . 11 ((Fun card ∧ 𝑦 ∈ dom card) → (card‘𝑦) ∈ ran card)
2623, 24, 25sylancr 586 . . . . . . . . . 10 (𝑦 ∈ On → (card‘𝑦) ∈ ran card)
2721, 26jctild 525 . . . . . . . . 9 (𝑦 ∈ On → (𝐴𝑦 → ((card‘𝑦) ∈ ran card ∧ 𝐴 ≺ (card‘𝑦))))
2827adantl 481 . . . . . . . 8 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → (𝐴𝑦 → ((card‘𝑦) ∈ ran card ∧ 𝐴 ≺ (card‘𝑦))))
29 simpl 482 . . . . . . . . . 10 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → 𝑥 = (𝑦 ∩ (card‘𝑦)))
30 cardonle 9646 . . . . . . . . . . . 12 (𝑦 ∈ On → (card‘𝑦) ⊆ 𝑦)
3130adantl 481 . . . . . . . . . . 11 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → (card‘𝑦) ⊆ 𝑦)
32 sseqin2 4146 . . . . . . . . . . 11 ((card‘𝑦) ⊆ 𝑦 ↔ (𝑦 ∩ (card‘𝑦)) = (card‘𝑦))
3331, 32sylib 217 . . . . . . . . . 10 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → (𝑦 ∩ (card‘𝑦)) = (card‘𝑦))
3429, 33eqtrd 2778 . . . . . . . . 9 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → 𝑥 = (card‘𝑦))
35 eleq1 2826 . . . . . . . . . 10 (𝑥 = (card‘𝑦) → (𝑥 ∈ ran card ↔ (card‘𝑦) ∈ ran card))
36 breq2 5074 . . . . . . . . . 10 (𝑥 = (card‘𝑦) → (𝐴𝑥𝐴 ≺ (card‘𝑦)))
3735, 36anbi12d 630 . . . . . . . . 9 (𝑥 = (card‘𝑦) → ((𝑥 ∈ ran card ∧ 𝐴𝑥) ↔ ((card‘𝑦) ∈ ran card ∧ 𝐴 ≺ (card‘𝑦))))
3834, 37syl 17 . . . . . . . 8 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → ((𝑥 ∈ ran card ∧ 𝐴𝑥) ↔ ((card‘𝑦) ∈ ran card ∧ 𝐴 ≺ (card‘𝑦))))
3928, 38sylibrd 258 . . . . . . 7 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → (𝐴𝑦 → (𝑥 ∈ ran card ∧ 𝐴𝑥)))
4039expimpd 453 . . . . . 6 (𝑥 = (𝑦 ∩ (card‘𝑦)) → ((𝑦 ∈ On ∧ 𝐴𝑦) → (𝑥 ∈ ran card ∧ 𝐴𝑥)))
4140adantl 481 . . . . 5 ((𝐴 ∈ dom card ∧ 𝑥 = (𝑦 ∩ (card‘𝑦))) → ((𝑦 ∈ On ∧ 𝐴𝑦) → (𝑥 ∈ ran card ∧ 𝐴𝑥)))
42 inss1 4159 . . . . . 6 (𝑦 ∩ (card‘𝑦)) ⊆ 𝑦
4342a1i 11 . . . . 5 (𝐴 ∈ dom card → (𝑦 ∩ (card‘𝑦)) ⊆ 𝑦)
4416, 41, 43intabssd 41024 . . . 4 (𝐴 ∈ dom card → {𝑥 ∣ (𝑥 ∈ ran card ∧ 𝐴𝑥)} ⊆ {𝑦 ∣ (𝑦 ∈ On ∧ 𝐴𝑦)})
4513, 44eqssd 3934 . . 3 (𝐴 ∈ dom card → {𝑦 ∣ (𝑦 ∈ On ∧ 𝐴𝑦)} = {𝑥 ∣ (𝑥 ∈ ran card ∧ 𝐴𝑥)})
46 df-rab 3072 . . . 4 {𝑦 ∈ On ∣ 𝐴𝑦} = {𝑦 ∣ (𝑦 ∈ On ∧ 𝐴𝑦)}
4746inteqi 4880 . . 3 {𝑦 ∈ On ∣ 𝐴𝑦} = {𝑦 ∣ (𝑦 ∈ On ∧ 𝐴𝑦)}
48 df-rab 3072 . . . 4 {𝑥 ∈ ran card ∣ 𝐴𝑥} = {𝑥 ∣ (𝑥 ∈ ran card ∧ 𝐴𝑥)}
4948inteqi 4880 . . 3 {𝑥 ∈ ran card ∣ 𝐴𝑥} = {𝑥 ∣ (𝑥 ∈ ran card ∧ 𝐴𝑥)}
5045, 47, 493eqtr4g 2804 . 2 (𝐴 ∈ dom card → {𝑦 ∈ On ∣ 𝐴𝑦} = {𝑥 ∈ ran card ∣ 𝐴𝑥})
511, 50eqtrd 2778 1 (𝐴 ∈ dom card → (har‘𝐴) = {𝑥 ∈ ran card ∣ 𝐴𝑥})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  {cab 2715  wral 3063  {crab 3067  Vcvv 3422  cin 3882  wss 3883   cint 4876   class class class wbr 5070  dom cdm 5580  ran crn 5581  Oncon0 6251  Fun wfun 6412  cfv 6418  cen 8688  csdm 8690  harchar 9245  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
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-rmo 3071  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-se 5536  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-isom 6427  df-riota 7212  df-ov 7258  df-2nd 7805  df-frecs 8068  df-wrecs 8099  df-recs 8173  df-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-oi 9199  df-har 9246  df-card 9628
This theorem is referenced by:  harval3on  41042
  Copyright terms: Public domain W3C validator