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 41145
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 9755 . 2 (𝐴 ∈ dom card → (har‘𝐴) = {𝑦 ∈ On ∣ 𝐴𝑦})
2 vex 3436 . . . . . 6 𝑥 ∈ V
32a1i 11 . . . . 5 (𝐴 ∈ dom card → 𝑥 ∈ V)
4 elrncard 41144 . . . . . . . . 9 (𝑥 ∈ ran card ↔ (𝑥 ∈ On ∧ ∀𝑦𝑥 ¬ 𝑦𝑥))
54simplbi 498 . . . . . . . 8 (𝑥 ∈ ran card → 𝑥 ∈ On)
65anim1i 615 . . . . . . 7 ((𝑥 ∈ ran card ∧ 𝐴𝑥) → (𝑥 ∈ On ∧ 𝐴𝑥))
7 eleq1 2826 . . . . . . . 8 (𝑦 = 𝑥 → (𝑦 ∈ On ↔ 𝑥 ∈ On))
8 breq2 5078 . . . . . . . 8 (𝑦 = 𝑥 → (𝐴𝑦𝐴𝑥))
97, 8anbi12d 631 . . . . . . 7 (𝑦 = 𝑥 → ((𝑦 ∈ On ∧ 𝐴𝑦) ↔ (𝑥 ∈ On ∧ 𝐴𝑥)))
106, 9syl5ibr 245 . . . . . 6 (𝑦 = 𝑥 → ((𝑥 ∈ ran card ∧ 𝐴𝑥) → (𝑦 ∈ On ∧ 𝐴𝑦)))
1110adantl 482 . . . . 5 ((𝐴 ∈ dom card ∧ 𝑦 = 𝑥) → ((𝑥 ∈ ran card ∧ 𝐴𝑥) → (𝑦 ∈ On ∧ 𝐴𝑦)))
12 ssidd 3944 . . . . 5 (𝐴 ∈ dom card → 𝑥𝑥)
133, 11, 12intabssd 41126 . . . 4 (𝐴 ∈ dom card → {𝑦 ∣ (𝑦 ∈ On ∧ 𝐴𝑦)} ⊆ {𝑥 ∣ (𝑥 ∈ ran card ∧ 𝐴𝑥)})
14 vex 3436 . . . . . . 7 𝑦 ∈ V
1514inex1 5241 . . . . . 6 (𝑦 ∩ (card‘𝑦)) ∈ V
1615a1i 11 . . . . 5 (𝐴 ∈ dom card → (𝑦 ∩ (card‘𝑦)) ∈ V)
17 oncardid 9714 . . . . . . . . . . . 12 (𝑦 ∈ On → (card‘𝑦) ≈ 𝑦)
1817ensymd 8791 . . . . . . . . . . 11 (𝑦 ∈ On → 𝑦 ≈ (card‘𝑦))
19 sdomentr 8898 . . . . . . . . . . . 12 ((𝐴𝑦𝑦 ≈ (card‘𝑦)) → 𝐴 ≺ (card‘𝑦))
2019a1i 11 . . . . . . . . . . 11 (𝑦 ∈ On → ((𝐴𝑦𝑦 ≈ (card‘𝑦)) → 𝐴 ≺ (card‘𝑦)))
2118, 20mpan2d 691 . . . . . . . . . 10 (𝑦 ∈ On → (𝐴𝑦𝐴 ≺ (card‘𝑦)))
22 df-card 9697 . . . . . . . . . . . 12 card = (𝑥 ∈ V ↦ {𝑦 ∈ On ∣ 𝑦𝑥})
2322funmpt2 6473 . . . . . . . . . . 11 Fun card
24 onenon 9707 . . . . . . . . . . 11 (𝑦 ∈ On → 𝑦 ∈ dom card)
25 fvelrn 6954 . . . . . . . . . . 11 ((Fun card ∧ 𝑦 ∈ dom card) → (card‘𝑦) ∈ ran card)
2623, 24, 25sylancr 587 . . . . . . . . . 10 (𝑦 ∈ On → (card‘𝑦) ∈ ran card)
2721, 26jctild 526 . . . . . . . . 9 (𝑦 ∈ On → (𝐴𝑦 → ((card‘𝑦) ∈ ran card ∧ 𝐴 ≺ (card‘𝑦))))
2827adantl 482 . . . . . . . 8 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → (𝐴𝑦 → ((card‘𝑦) ∈ ran card ∧ 𝐴 ≺ (card‘𝑦))))
29 simpl 483 . . . . . . . . . 10 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → 𝑥 = (𝑦 ∩ (card‘𝑦)))
30 cardonle 9715 . . . . . . . . . . . 12 (𝑦 ∈ On → (card‘𝑦) ⊆ 𝑦)
3130adantl 482 . . . . . . . . . . 11 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → (card‘𝑦) ⊆ 𝑦)
32 sseqin2 4149 . . . . . . . . . . 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 5078 . . . . . . . . . 10 (𝑥 = (card‘𝑦) → (𝐴𝑥𝐴 ≺ (card‘𝑦)))
3735, 36anbi12d 631 . . . . . . . . 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 454 . . . . . 6 (𝑥 = (𝑦 ∩ (card‘𝑦)) → ((𝑦 ∈ On ∧ 𝐴𝑦) → (𝑥 ∈ ran card ∧ 𝐴𝑥)))
4140adantl 482 . . . . 5 ((𝐴 ∈ dom card ∧ 𝑥 = (𝑦 ∩ (card‘𝑦))) → ((𝑦 ∈ On ∧ 𝐴𝑦) → (𝑥 ∈ ran card ∧ 𝐴𝑥)))
42 inss1 4162 . . . . . 6 (𝑦 ∩ (card‘𝑦)) ⊆ 𝑦
4342a1i 11 . . . . 5 (𝐴 ∈ dom card → (𝑦 ∩ (card‘𝑦)) ⊆ 𝑦)
4416, 41, 43intabssd 41126 . . . 4 (𝐴 ∈ dom card → {𝑥 ∣ (𝑥 ∈ ran card ∧ 𝐴𝑥)} ⊆ {𝑦 ∣ (𝑦 ∈ On ∧ 𝐴𝑦)})
4513, 44eqssd 3938 . . 3 (𝐴 ∈ dom card → {𝑦 ∣ (𝑦 ∈ On ∧ 𝐴𝑦)} = {𝑥 ∣ (𝑥 ∈ ran card ∧ 𝐴𝑥)})
46 df-rab 3073 . . . 4 {𝑦 ∈ On ∣ 𝐴𝑦} = {𝑦 ∣ (𝑦 ∈ On ∧ 𝐴𝑦)}
4746inteqi 4883 . . 3 {𝑦 ∈ On ∣ 𝐴𝑦} = {𝑦 ∣ (𝑦 ∈ On ∧ 𝐴𝑦)}
48 df-rab 3073 . . . 4 {𝑥 ∈ ran card ∣ 𝐴𝑥} = {𝑥 ∣ (𝑥 ∈ ran card ∧ 𝐴𝑥)}
4948inteqi 4883 . . 3 {𝑥 ∈ ran card ∣ 𝐴𝑥} = {𝑥 ∣ (𝑥 ∈ ran card ∧ 𝐴𝑥)}
5045, 47, 493eqtr4g 2803 . 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 396   = wceq 1539  wcel 2106  {cab 2715  wral 3064  {crab 3068  Vcvv 3432  cin 3886  wss 3887   cint 4879   class class class wbr 5074  dom cdm 5589  ran crn 5590  Oncon0 6266  Fun wfun 6427  cfv 6433  cen 8730  csdm 8732  harchar 9315  cardccrd 9693
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1798  ax-4 1812  ax-5 1913  ax-6 1971  ax-7 2011  ax-8 2108  ax-9 2116  ax-10 2137  ax-11 2154  ax-12 2171  ax-ext 2709  ax-rep 5209  ax-sep 5223  ax-nul 5230  ax-pow 5288  ax-pr 5352  ax-un 7588
This theorem depends on definitions:  df-bi 206  df-an 397  df-or 845  df-3or 1087  df-3an 1088  df-tru 1542  df-fal 1552  df-ex 1783  df-nf 1787  df-sb 2068  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2816  df-nfc 2889  df-ne 2944  df-ral 3069  df-rex 3070  df-rmo 3071  df-reu 3072  df-rab 3073  df-v 3434  df-sbc 3717  df-csb 3833  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  df-pss 3906  df-nul 4257  df-if 4460  df-pw 4535  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  df-br 5075  df-opab 5137  df-mpt 5158  df-tr 5192  df-id 5489  df-eprel 5495  df-po 5503  df-so 5504  df-fr 5544  df-se 5545  df-we 5546  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  df-res 5601  df-ima 5602  df-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  df-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-f1 6438  df-fo 6439  df-f1o 6440  df-fv 6441  df-isom 6442  df-riota 7232  df-ov 7278  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-er 8498  df-en 8734  df-dom 8735  df-sdom 8736  df-oi 9269  df-har 9316  df-card 9697
This theorem is referenced by:  harval3on  41146
  Copyright terms: Public domain W3C validator