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 40828
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 9613 . 2 (𝐴 ∈ dom card → (har‘𝐴) = {𝑦 ∈ On ∣ 𝐴𝑦})
2 vex 3412 . . . . . 6 𝑥 ∈ V
32a1i 11 . . . . 5 (𝐴 ∈ dom card → 𝑥 ∈ V)
4 elrncard 40827 . . . . . . . . 9 (𝑥 ∈ ran card ↔ (𝑥 ∈ On ∧ ∀𝑦𝑥 ¬ 𝑦𝑥))
54simplbi 501 . . . . . . . 8 (𝑥 ∈ ran card → 𝑥 ∈ On)
65anim1i 618 . . . . . . 7 ((𝑥 ∈ ran card ∧ 𝐴𝑥) → (𝑥 ∈ On ∧ 𝐴𝑥))
7 eleq1 2825 . . . . . . . 8 (𝑦 = 𝑥 → (𝑦 ∈ On ↔ 𝑥 ∈ On))
8 breq2 5057 . . . . . . . 8 (𝑦 = 𝑥 → (𝐴𝑦𝐴𝑥))
97, 8anbi12d 634 . . . . . . 7 (𝑦 = 𝑥 → ((𝑦 ∈ On ∧ 𝐴𝑦) ↔ (𝑥 ∈ On ∧ 𝐴𝑥)))
106, 9syl5ibr 249 . . . . . 6 (𝑦 = 𝑥 → ((𝑥 ∈ ran card ∧ 𝐴𝑥) → (𝑦 ∈ On ∧ 𝐴𝑦)))
1110adantl 485 . . . . 5 ((𝐴 ∈ dom card ∧ 𝑦 = 𝑥) → ((𝑥 ∈ ran card ∧ 𝐴𝑥) → (𝑦 ∈ On ∧ 𝐴𝑦)))
12 ssidd 3924 . . . . 5 (𝐴 ∈ dom card → 𝑥𝑥)
133, 11, 12intabssd 40811 . . . 4 (𝐴 ∈ dom card → {𝑦 ∣ (𝑦 ∈ On ∧ 𝐴𝑦)} ⊆ {𝑥 ∣ (𝑥 ∈ ran card ∧ 𝐴𝑥)})
14 vex 3412 . . . . . . 7 𝑦 ∈ V
1514inex1 5210 . . . . . 6 (𝑦 ∩ (card‘𝑦)) ∈ V
1615a1i 11 . . . . 5 (𝐴 ∈ dom card → (𝑦 ∩ (card‘𝑦)) ∈ V)
17 oncardid 9572 . . . . . . . . . . . 12 (𝑦 ∈ On → (card‘𝑦) ≈ 𝑦)
1817ensymd 8679 . . . . . . . . . . 11 (𝑦 ∈ On → 𝑦 ≈ (card‘𝑦))
19 sdomentr 8780 . . . . . . . . . . . 12 ((𝐴𝑦𝑦 ≈ (card‘𝑦)) → 𝐴 ≺ (card‘𝑦))
2019a1i 11 . . . . . . . . . . 11 (𝑦 ∈ On → ((𝐴𝑦𝑦 ≈ (card‘𝑦)) → 𝐴 ≺ (card‘𝑦)))
2118, 20mpan2d 694 . . . . . . . . . 10 (𝑦 ∈ On → (𝐴𝑦𝐴 ≺ (card‘𝑦)))
22 df-card 9555 . . . . . . . . . . . 12 card = (𝑥 ∈ V ↦ {𝑦 ∈ On ∣ 𝑦𝑥})
2322funmpt2 6419 . . . . . . . . . . 11 Fun card
24 onenon 9565 . . . . . . . . . . 11 (𝑦 ∈ On → 𝑦 ∈ dom card)
25 fvelrn 6897 . . . . . . . . . . 11 ((Fun card ∧ 𝑦 ∈ dom card) → (card‘𝑦) ∈ ran card)
2623, 24, 25sylancr 590 . . . . . . . . . 10 (𝑦 ∈ On → (card‘𝑦) ∈ ran card)
2721, 26jctild 529 . . . . . . . . 9 (𝑦 ∈ On → (𝐴𝑦 → ((card‘𝑦) ∈ ran card ∧ 𝐴 ≺ (card‘𝑦))))
2827adantl 485 . . . . . . . 8 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → (𝐴𝑦 → ((card‘𝑦) ∈ ran card ∧ 𝐴 ≺ (card‘𝑦))))
29 simpl 486 . . . . . . . . . 10 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → 𝑥 = (𝑦 ∩ (card‘𝑦)))
30 cardonle 9573 . . . . . . . . . . . 12 (𝑦 ∈ On → (card‘𝑦) ⊆ 𝑦)
3130adantl 485 . . . . . . . . . . 11 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → (card‘𝑦) ⊆ 𝑦)
32 sseqin2 4130 . . . . . . . . . . 11 ((card‘𝑦) ⊆ 𝑦 ↔ (𝑦 ∩ (card‘𝑦)) = (card‘𝑦))
3331, 32sylib 221 . . . . . . . . . 10 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → (𝑦 ∩ (card‘𝑦)) = (card‘𝑦))
3429, 33eqtrd 2777 . . . . . . . . 9 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → 𝑥 = (card‘𝑦))
35 eleq1 2825 . . . . . . . . . 10 (𝑥 = (card‘𝑦) → (𝑥 ∈ ran card ↔ (card‘𝑦) ∈ ran card))
36 breq2 5057 . . . . . . . . . 10 (𝑥 = (card‘𝑦) → (𝐴𝑥𝐴 ≺ (card‘𝑦)))
3735, 36anbi12d 634 . . . . . . . . 9 (𝑥 = (card‘𝑦) → ((𝑥 ∈ ran card ∧ 𝐴𝑥) ↔ ((card‘𝑦) ∈ ran card ∧ 𝐴 ≺ (card‘𝑦))))
3834, 37syl 17 . . . . . . . 8 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → ((𝑥 ∈ ran card ∧ 𝐴𝑥) ↔ ((card‘𝑦) ∈ ran card ∧ 𝐴 ≺ (card‘𝑦))))
3928, 38sylibrd 262 . . . . . . 7 ((𝑥 = (𝑦 ∩ (card‘𝑦)) ∧ 𝑦 ∈ On) → (𝐴𝑦 → (𝑥 ∈ ran card ∧ 𝐴𝑥)))
4039expimpd 457 . . . . . 6 (𝑥 = (𝑦 ∩ (card‘𝑦)) → ((𝑦 ∈ On ∧ 𝐴𝑦) → (𝑥 ∈ ran card ∧ 𝐴𝑥)))
4140adantl 485 . . . . 5 ((𝐴 ∈ dom card ∧ 𝑥 = (𝑦 ∩ (card‘𝑦))) → ((𝑦 ∈ On ∧ 𝐴𝑦) → (𝑥 ∈ ran card ∧ 𝐴𝑥)))
42 inss1 4143 . . . . . 6 (𝑦 ∩ (card‘𝑦)) ⊆ 𝑦
4342a1i 11 . . . . 5 (𝐴 ∈ dom card → (𝑦 ∩ (card‘𝑦)) ⊆ 𝑦)
4416, 41, 43intabssd 40811 . . . 4 (𝐴 ∈ dom card → {𝑥 ∣ (𝑥 ∈ ran card ∧ 𝐴𝑥)} ⊆ {𝑦 ∣ (𝑦 ∈ On ∧ 𝐴𝑦)})
4513, 44eqssd 3918 . . 3 (𝐴 ∈ dom card → {𝑦 ∣ (𝑦 ∈ On ∧ 𝐴𝑦)} = {𝑥 ∣ (𝑥 ∈ ran card ∧ 𝐴𝑥)})
46 df-rab 3070 . . . 4 {𝑦 ∈ On ∣ 𝐴𝑦} = {𝑦 ∣ (𝑦 ∈ On ∧ 𝐴𝑦)}
4746inteqi 4863 . . 3 {𝑦 ∈ On ∣ 𝐴𝑦} = {𝑦 ∣ (𝑦 ∈ On ∧ 𝐴𝑦)}
48 df-rab 3070 . . . 4 {𝑥 ∈ ran card ∣ 𝐴𝑥} = {𝑥 ∣ (𝑥 ∈ ran card ∧ 𝐴𝑥)}
4948inteqi 4863 . . 3 {𝑥 ∈ ran card ∣ 𝐴𝑥} = {𝑥 ∣ (𝑥 ∈ ran card ∧ 𝐴𝑥)}
5045, 47, 493eqtr4g 2803 . 2 (𝐴 ∈ dom card → {𝑦 ∈ On ∣ 𝐴𝑦} = {𝑥 ∈ ran card ∣ 𝐴𝑥})
511, 50eqtrd 2777 1 (𝐴 ∈ dom card → (har‘𝐴) = {𝑥 ∈ ran card ∣ 𝐴𝑥})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399   = wceq 1543  wcel 2110  {cab 2714  wral 3061  {crab 3065  Vcvv 3408  cin 3865  wss 3866   cint 4859   class class class wbr 5053  dom cdm 5551  ran crn 5552  Oncon0 6213  Fun wfun 6374  cfv 6380  cen 8623  csdm 8625  harchar 9172  cardccrd 9551
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1803  ax-4 1817  ax-5 1918  ax-6 1976  ax-7 2016  ax-8 2112  ax-9 2120  ax-10 2141  ax-11 2158  ax-12 2175  ax-ext 2708  ax-rep 5179  ax-sep 5192  ax-nul 5199  ax-pow 5258  ax-pr 5322  ax-un 7523
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 848  df-3or 1090  df-3an 1091  df-tru 1546  df-fal 1556  df-ex 1788  df-nf 1792  df-sb 2071  df-mo 2539  df-eu 2568  df-clab 2715  df-cleq 2729  df-clel 2816  df-nfc 2886  df-ne 2941  df-ral 3066  df-rex 3067  df-reu 3068  df-rmo 3069  df-rab 3070  df-v 3410  df-sbc 3695  df-csb 3812  df-dif 3869  df-un 3871  df-in 3873  df-ss 3883  df-pss 3885  df-nul 4238  df-if 4440  df-pw 4515  df-sn 4542  df-pr 4544  df-tp 4546  df-op 4548  df-uni 4820  df-int 4860  df-iun 4906  df-br 5054  df-opab 5116  df-mpt 5136  df-tr 5162  df-id 5455  df-eprel 5460  df-po 5468  df-so 5469  df-fr 5509  df-se 5510  df-we 5511  df-xp 5557  df-rel 5558  df-cnv 5559  df-co 5560  df-dm 5561  df-rn 5562  df-res 5563  df-ima 5564  df-pred 6160  df-ord 6216  df-on 6217  df-lim 6218  df-suc 6219  df-iota 6338  df-fun 6382  df-fn 6383  df-f 6384  df-f1 6385  df-fo 6386  df-f1o 6387  df-fv 6388  df-isom 6389  df-riota 7170  df-wrecs 8047  df-recs 8108  df-er 8391  df-en 8627  df-dom 8628  df-sdom 8629  df-oi 9126  df-har 9173  df-card 9555
This theorem is referenced by:  harval3on  40829
  Copyright terms: Public domain W3C validator