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

Theorem cardmin2 9688
Description: The smallest ordinal that strictly dominates a set is a cardinal, if it exists. (Contributed by Mario Carneiro, 2-Feb-2013.)
Assertion
Ref Expression
cardmin2 (∃𝑥 ∈ On 𝐴𝑥 ↔ (card‘ {𝑥 ∈ On ∣ 𝐴𝑥}) = {𝑥 ∈ On ∣ 𝐴𝑥})
Distinct variable group:   𝑥,𝐴

Proof of Theorem cardmin2
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 onintrab2 7624 . . . 4 (∃𝑥 ∈ On 𝐴𝑥 {𝑥 ∈ On ∣ 𝐴𝑥} ∈ On)
21biimpi 215 . . 3 (∃𝑥 ∈ On 𝐴𝑥 {𝑥 ∈ On ∣ 𝐴𝑥} ∈ On)
32adantr 480 . . . . . 6 ((∃𝑥 ∈ On 𝐴𝑥𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}) → {𝑥 ∈ On ∣ 𝐴𝑥} ∈ On)
4 eloni 6261 . . . . . . . 8 ( {𝑥 ∈ On ∣ 𝐴𝑥} ∈ On → Ord {𝑥 ∈ On ∣ 𝐴𝑥})
5 ordelss 6267 . . . . . . . 8 ((Ord {𝑥 ∈ On ∣ 𝐴𝑥} ∧ 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}) → 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥})
64, 5sylan 579 . . . . . . 7 (( {𝑥 ∈ On ∣ 𝐴𝑥} ∈ On ∧ 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}) → 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥})
71, 6sylanb 580 . . . . . 6 ((∃𝑥 ∈ On 𝐴𝑥𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}) → 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥})
8 ssdomg 8741 . . . . . 6 ( {𝑥 ∈ On ∣ 𝐴𝑥} ∈ On → (𝑦 {𝑥 ∈ On ∣ 𝐴𝑥} → 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}))
93, 7, 8sylc 65 . . . . 5 ((∃𝑥 ∈ On 𝐴𝑥𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}) → 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥})
10 onelon 6276 . . . . . . . 8 (( {𝑥 ∈ On ∣ 𝐴𝑥} ∈ On ∧ 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}) → 𝑦 ∈ On)
111, 10sylanb 580 . . . . . . 7 ((∃𝑥 ∈ On 𝐴𝑥𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}) → 𝑦 ∈ On)
12 nfcv 2906 . . . . . . . . . . . . . 14 𝑥𝐴
13 nfcv 2906 . . . . . . . . . . . . . 14 𝑥
14 nfrab1 3310 . . . . . . . . . . . . . . 15 𝑥{𝑥 ∈ On ∣ 𝐴𝑥}
1514nfint 4886 . . . . . . . . . . . . . 14 𝑥 {𝑥 ∈ On ∣ 𝐴𝑥}
1612, 13, 15nfbr 5117 . . . . . . . . . . . . 13 𝑥 𝐴 {𝑥 ∈ On ∣ 𝐴𝑥}
17 breq2 5074 . . . . . . . . . . . . 13 (𝑥 = {𝑥 ∈ On ∣ 𝐴𝑥} → (𝐴𝑥𝐴 {𝑥 ∈ On ∣ 𝐴𝑥}))
1816, 17onminsb 7621 . . . . . . . . . . . 12 (∃𝑥 ∈ On 𝐴𝑥𝐴 {𝑥 ∈ On ∣ 𝐴𝑥})
19 sdomentr 8847 . . . . . . . . . . . 12 ((𝐴 {𝑥 ∈ On ∣ 𝐴𝑥} ∧ {𝑥 ∈ On ∣ 𝐴𝑥} ≈ 𝑦) → 𝐴𝑦)
2018, 19sylan 579 . . . . . . . . . . 11 ((∃𝑥 ∈ On 𝐴𝑥 {𝑥 ∈ On ∣ 𝐴𝑥} ≈ 𝑦) → 𝐴𝑦)
21 breq2 5074 . . . . . . . . . . . . . 14 (𝑥 = 𝑦 → (𝐴𝑥𝐴𝑦))
2221elrab 3617 . . . . . . . . . . . . 13 (𝑦 ∈ {𝑥 ∈ On ∣ 𝐴𝑥} ↔ (𝑦 ∈ On ∧ 𝐴𝑦))
23 ssrab2 4009 . . . . . . . . . . . . . 14 {𝑥 ∈ On ∣ 𝐴𝑥} ⊆ On
24 onnmin 7625 . . . . . . . . . . . . . 14 (({𝑥 ∈ On ∣ 𝐴𝑥} ⊆ On ∧ 𝑦 ∈ {𝑥 ∈ On ∣ 𝐴𝑥}) → ¬ 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥})
2523, 24mpan 686 . . . . . . . . . . . . 13 (𝑦 ∈ {𝑥 ∈ On ∣ 𝐴𝑥} → ¬ 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥})
2622, 25sylbir 234 . . . . . . . . . . . 12 ((𝑦 ∈ On ∧ 𝐴𝑦) → ¬ 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥})
2726expcom 413 . . . . . . . . . . 11 (𝐴𝑦 → (𝑦 ∈ On → ¬ 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}))
2820, 27syl 17 . . . . . . . . . 10 ((∃𝑥 ∈ On 𝐴𝑥 {𝑥 ∈ On ∣ 𝐴𝑥} ≈ 𝑦) → (𝑦 ∈ On → ¬ 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}))
2928impancom 451 . . . . . . . . 9 ((∃𝑥 ∈ On 𝐴𝑥𝑦 ∈ On) → ( {𝑥 ∈ On ∣ 𝐴𝑥} ≈ 𝑦 → ¬ 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}))
3029con2d 134 . . . . . . . 8 ((∃𝑥 ∈ On 𝐴𝑥𝑦 ∈ On) → (𝑦 {𝑥 ∈ On ∣ 𝐴𝑥} → ¬ {𝑥 ∈ On ∣ 𝐴𝑥} ≈ 𝑦))
3130impancom 451 . . . . . . 7 ((∃𝑥 ∈ On 𝐴𝑥𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}) → (𝑦 ∈ On → ¬ {𝑥 ∈ On ∣ 𝐴𝑥} ≈ 𝑦))
3211, 31mpd 15 . . . . . 6 ((∃𝑥 ∈ On 𝐴𝑥𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}) → ¬ {𝑥 ∈ On ∣ 𝐴𝑥} ≈ 𝑦)
33 ensym 8744 . . . . . 6 (𝑦 {𝑥 ∈ On ∣ 𝐴𝑥} → {𝑥 ∈ On ∣ 𝐴𝑥} ≈ 𝑦)
3432, 33nsyl 140 . . . . 5 ((∃𝑥 ∈ On 𝐴𝑥𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}) → ¬ 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥})
35 brsdom 8718 . . . . 5 (𝑦 {𝑥 ∈ On ∣ 𝐴𝑥} ↔ (𝑦 {𝑥 ∈ On ∣ 𝐴𝑥} ∧ ¬ 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}))
369, 34, 35sylanbrc 582 . . . 4 ((∃𝑥 ∈ On 𝐴𝑥𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}) → 𝑦 {𝑥 ∈ On ∣ 𝐴𝑥})
3736ralrimiva 3107 . . 3 (∃𝑥 ∈ On 𝐴𝑥 → ∀𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}𝑦 {𝑥 ∈ On ∣ 𝐴𝑥})
38 iscard 9664 . . 3 ((card‘ {𝑥 ∈ On ∣ 𝐴𝑥}) = {𝑥 ∈ On ∣ 𝐴𝑥} ↔ ( {𝑥 ∈ On ∣ 𝐴𝑥} ∈ On ∧ ∀𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}𝑦 {𝑥 ∈ On ∣ 𝐴𝑥}))
392, 37, 38sylanbrc 582 . 2 (∃𝑥 ∈ On 𝐴𝑥 → (card‘ {𝑥 ∈ On ∣ 𝐴𝑥}) = {𝑥 ∈ On ∣ 𝐴𝑥})
40 vprc 5234 . . . . . 6 ¬ V ∈ V
41 inteq 4879 . . . . . . . 8 ({𝑥 ∈ On ∣ 𝐴𝑥} = ∅ → {𝑥 ∈ On ∣ 𝐴𝑥} = ∅)
42 int0 4890 . . . . . . . 8 ∅ = V
4341, 42eqtrdi 2795 . . . . . . 7 ({𝑥 ∈ On ∣ 𝐴𝑥} = ∅ → {𝑥 ∈ On ∣ 𝐴𝑥} = V)
4443eleq1d 2823 . . . . . 6 ({𝑥 ∈ On ∣ 𝐴𝑥} = ∅ → ( {𝑥 ∈ On ∣ 𝐴𝑥} ∈ V ↔ V ∈ V))
4540, 44mtbiri 326 . . . . 5 ({𝑥 ∈ On ∣ 𝐴𝑥} = ∅ → ¬ {𝑥 ∈ On ∣ 𝐴𝑥} ∈ V)
46 fvex 6769 . . . . . 6 (card‘ {𝑥 ∈ On ∣ 𝐴𝑥}) ∈ V
47 eleq1 2826 . . . . . 6 ((card‘ {𝑥 ∈ On ∣ 𝐴𝑥}) = {𝑥 ∈ On ∣ 𝐴𝑥} → ((card‘ {𝑥 ∈ On ∣ 𝐴𝑥}) ∈ V ↔ {𝑥 ∈ On ∣ 𝐴𝑥} ∈ V))
4846, 47mpbii 232 . . . . 5 ((card‘ {𝑥 ∈ On ∣ 𝐴𝑥}) = {𝑥 ∈ On ∣ 𝐴𝑥} → {𝑥 ∈ On ∣ 𝐴𝑥} ∈ V)
4945, 48nsyl 140 . . . 4 ({𝑥 ∈ On ∣ 𝐴𝑥} = ∅ → ¬ (card‘ {𝑥 ∈ On ∣ 𝐴𝑥}) = {𝑥 ∈ On ∣ 𝐴𝑥})
5049necon2ai 2972 . . 3 ((card‘ {𝑥 ∈ On ∣ 𝐴𝑥}) = {𝑥 ∈ On ∣ 𝐴𝑥} → {𝑥 ∈ On ∣ 𝐴𝑥} ≠ ∅)
51 rabn0 4316 . . 3 ({𝑥 ∈ On ∣ 𝐴𝑥} ≠ ∅ ↔ ∃𝑥 ∈ On 𝐴𝑥)
5250, 51sylib 217 . 2 ((card‘ {𝑥 ∈ On ∣ 𝐴𝑥}) = {𝑥 ∈ On ∣ 𝐴𝑥} → ∃𝑥 ∈ On 𝐴𝑥)
5339, 52impbii 208 1 (∃𝑥 ∈ On 𝐴𝑥 ↔ (card‘ {𝑥 ∈ On ∣ 𝐴𝑥}) = {𝑥 ∈ On ∣ 𝐴𝑥})
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 395   = wceq 1539  wcel 2108  wne 2942  wral 3063  wrex 3064  {crab 3067  Vcvv 3422  wss 3883  c0 4253   cint 4876   class class class wbr 5070  Ord word 6250  Oncon0 6251  cfv 6418  cen 8688  cdom 8689  csdm 8690  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-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-rab 3072  df-v 3424  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-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-ord 6254  df-on 6255  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-er 8456  df-en 8692  df-dom 8693  df-sdom 8694  df-card 9628
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator