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

Theorem cfeq0 10012
Description: Only the ordinal zero has cofinality zero. (Contributed by NM, 24-Apr-2004.) (Revised by Mario Carneiro, 12-Feb-2013.)
Assertion
Ref Expression
cfeq0 (𝐴 ∈ On → ((cf‘𝐴) = ∅ ↔ 𝐴 = ∅))

Proof of Theorem cfeq0
Dummy variables 𝑣 𝑤 𝑥 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 cfval 10003 . . . 4 (𝐴 ∈ On → (cf‘𝐴) = {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))})
21eqeq1d 2740 . . 3 (𝐴 ∈ On → ((cf‘𝐴) = ∅ ↔ {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} = ∅))
3 vex 3436 . . . . . . . . 9 𝑣 ∈ V
4 eqeq1 2742 . . . . . . . . . . 11 (𝑥 = 𝑣 → (𝑥 = (card‘𝑦) ↔ 𝑣 = (card‘𝑦)))
54anbi1d 630 . . . . . . . . . 10 (𝑥 = 𝑣 → ((𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) ↔ (𝑣 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))))
65exbidv 1924 . . . . . . . . 9 (𝑥 = 𝑣 → (∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) ↔ ∃𝑦(𝑣 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))))
73, 6elab 3609 . . . . . . . 8 (𝑣 ∈ {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} ↔ ∃𝑦(𝑣 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)))
8 fveq2 6774 . . . . . . . . . . . 12 (𝑣 = (card‘𝑦) → (card‘𝑣) = (card‘(card‘𝑦)))
9 cardidm 9717 . . . . . . . . . . . 12 (card‘(card‘𝑦)) = (card‘𝑦)
108, 9eqtrdi 2794 . . . . . . . . . . 11 (𝑣 = (card‘𝑦) → (card‘𝑣) = (card‘𝑦))
11 eqeq2 2750 . . . . . . . . . . 11 (𝑣 = (card‘𝑦) → ((card‘𝑣) = 𝑣 ↔ (card‘𝑣) = (card‘𝑦)))
1210, 11mpbird 256 . . . . . . . . . 10 (𝑣 = (card‘𝑦) → (card‘𝑣) = 𝑣)
1312adantr 481 . . . . . . . . 9 ((𝑣 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → (card‘𝑣) = 𝑣)
1413exlimiv 1933 . . . . . . . 8 (∃𝑦(𝑣 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → (card‘𝑣) = 𝑣)
157, 14sylbi 216 . . . . . . 7 (𝑣 ∈ {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} → (card‘𝑣) = 𝑣)
16 cardon 9702 . . . . . . 7 (card‘𝑣) ∈ On
1715, 16eqeltrrdi 2848 . . . . . 6 (𝑣 ∈ {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} → 𝑣 ∈ On)
1817ssriv 3925 . . . . 5 {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} ⊆ On
19 onint0 7641 . . . . 5 ({𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} ⊆ On → ( {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} = ∅ ↔ ∅ ∈ {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))}))
2018, 19ax-mp 5 . . . 4 ( {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} = ∅ ↔ ∅ ∈ {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))})
21 0ex 5231 . . . . . 6 ∅ ∈ V
22 eqeq1 2742 . . . . . . . 8 (𝑥 = ∅ → (𝑥 = (card‘𝑦) ↔ ∅ = (card‘𝑦)))
2322anbi1d 630 . . . . . . 7 (𝑥 = ∅ → ((𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) ↔ (∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))))
2423exbidv 1924 . . . . . 6 (𝑥 = ∅ → (∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) ↔ ∃𝑦(∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))))
2521, 24elab 3609 . . . . 5 (∅ ∈ {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} ↔ ∃𝑦(∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)))
26 onss 7634 . . . . . . . . . . 11 (𝐴 ∈ On → 𝐴 ⊆ On)
27 sstr 3929 . . . . . . . . . . . 12 ((𝑦𝐴𝐴 ⊆ On) → 𝑦 ⊆ On)
2827ancoms 459 . . . . . . . . . . 11 ((𝐴 ⊆ On ∧ 𝑦𝐴) → 𝑦 ⊆ On)
2926, 28sylan 580 . . . . . . . . . 10 ((𝐴 ∈ On ∧ 𝑦𝐴) → 𝑦 ⊆ On)
30293adant2 1130 . . . . . . . . 9 ((𝐴 ∈ On ∧ ∅ = (card‘𝑦) ∧ 𝑦𝐴) → 𝑦 ⊆ On)
31303adant3r 1180 . . . . . . . 8 ((𝐴 ∈ On ∧ ∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → 𝑦 ⊆ On)
32 simp2 1136 . . . . . . . 8 ((𝐴 ∈ On ∧ ∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → ∅ = (card‘𝑦))
33 simp3 1137 . . . . . . . 8 ((𝐴 ∈ On ∧ ∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))
34 eqcom 2745 . . . . . . . . . . . 12 (∅ = (card‘𝑦) ↔ (card‘𝑦) = ∅)
35 vex 3436 . . . . . . . . . . . . . 14 𝑦 ∈ V
36 onssnum 9796 . . . . . . . . . . . . . 14 ((𝑦 ∈ V ∧ 𝑦 ⊆ On) → 𝑦 ∈ dom card)
3735, 36mpan 687 . . . . . . . . . . . . 13 (𝑦 ⊆ On → 𝑦 ∈ dom card)
38 cardnueq0 9722 . . . . . . . . . . . . 13 (𝑦 ∈ dom card → ((card‘𝑦) = ∅ ↔ 𝑦 = ∅))
3937, 38syl 17 . . . . . . . . . . . 12 (𝑦 ⊆ On → ((card‘𝑦) = ∅ ↔ 𝑦 = ∅))
4034, 39bitrid 282 . . . . . . . . . . 11 (𝑦 ⊆ On → (∅ = (card‘𝑦) ↔ 𝑦 = ∅))
4140biimpa 477 . . . . . . . . . 10 ((𝑦 ⊆ On ∧ ∅ = (card‘𝑦)) → 𝑦 = ∅)
42 sseq1 3946 . . . . . . . . . . . 12 (𝑦 = ∅ → (𝑦𝐴 ↔ ∅ ⊆ 𝐴))
43 rexeq 3343 . . . . . . . . . . . . 13 (𝑦 = ∅ → (∃𝑤𝑦 𝑧𝑤 ↔ ∃𝑤 ∈ ∅ 𝑧𝑤))
4443ralbidv 3112 . . . . . . . . . . . 12 (𝑦 = ∅ → (∀𝑧𝐴𝑤𝑦 𝑧𝑤 ↔ ∀𝑧𝐴𝑤 ∈ ∅ 𝑧𝑤))
4542, 44anbi12d 631 . . . . . . . . . . 11 (𝑦 = ∅ → ((𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤) ↔ (∅ ⊆ 𝐴 ∧ ∀𝑧𝐴𝑤 ∈ ∅ 𝑧𝑤)))
4645biimpa 477 . . . . . . . . . 10 ((𝑦 = ∅ ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → (∅ ⊆ 𝐴 ∧ ∀𝑧𝐴𝑤 ∈ ∅ 𝑧𝑤))
4741, 46sylan 580 . . . . . . . . 9 (((𝑦 ⊆ On ∧ ∅ = (card‘𝑦)) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → (∅ ⊆ 𝐴 ∧ ∀𝑧𝐴𝑤 ∈ ∅ 𝑧𝑤))
48 rex0 4291 . . . . . . . . . . . . 13 ¬ ∃𝑤 ∈ ∅ 𝑧𝑤
4948rgenw 3076 . . . . . . . . . . . 12 𝑧𝐴 ¬ ∃𝑤 ∈ ∅ 𝑧𝑤
50 r19.2z 4425 . . . . . . . . . . . 12 ((𝐴 ≠ ∅ ∧ ∀𝑧𝐴 ¬ ∃𝑤 ∈ ∅ 𝑧𝑤) → ∃𝑧𝐴 ¬ ∃𝑤 ∈ ∅ 𝑧𝑤)
5149, 50mpan2 688 . . . . . . . . . . 11 (𝐴 ≠ ∅ → ∃𝑧𝐴 ¬ ∃𝑤 ∈ ∅ 𝑧𝑤)
52 rexnal 3169 . . . . . . . . . . 11 (∃𝑧𝐴 ¬ ∃𝑤 ∈ ∅ 𝑧𝑤 ↔ ¬ ∀𝑧𝐴𝑤 ∈ ∅ 𝑧𝑤)
5351, 52sylib 217 . . . . . . . . . 10 (𝐴 ≠ ∅ → ¬ ∀𝑧𝐴𝑤 ∈ ∅ 𝑧𝑤)
5453necon4ai 2975 . . . . . . . . 9 (∀𝑧𝐴𝑤 ∈ ∅ 𝑧𝑤𝐴 = ∅)
5547, 54simpl2im 504 . . . . . . . 8 (((𝑦 ⊆ On ∧ ∅ = (card‘𝑦)) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → 𝐴 = ∅)
5631, 32, 33, 55syl21anc 835 . . . . . . 7 ((𝐴 ∈ On ∧ ∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → 𝐴 = ∅)
57563expib 1121 . . . . . 6 (𝐴 ∈ On → ((∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → 𝐴 = ∅))
5857exlimdv 1936 . . . . 5 (𝐴 ∈ On → (∃𝑦(∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → 𝐴 = ∅))
5925, 58syl5bi 241 . . . 4 (𝐴 ∈ On → (∅ ∈ {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} → 𝐴 = ∅))
6020, 59syl5bi 241 . . 3 (𝐴 ∈ On → ( {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} = ∅ → 𝐴 = ∅))
612, 60sylbid 239 . 2 (𝐴 ∈ On → ((cf‘𝐴) = ∅ → 𝐴 = ∅))
62 fveq2 6774 . . 3 (𝐴 = ∅ → (cf‘𝐴) = (cf‘∅))
63 cf0 10007 . . 3 (cf‘∅) = ∅
6462, 63eqtrdi 2794 . 2 (𝐴 = ∅ → (cf‘𝐴) = ∅)
6561, 64impbid1 224 1 (𝐴 ∈ On → ((cf‘𝐴) = ∅ ↔ 𝐴 = ∅))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wex 1782  wcel 2106  {cab 2715  wne 2943  wral 3064  wrex 3065  Vcvv 3432  wss 3887  c0 4256   cint 4879  dom cdm 5589  Oncon0 6266  cfv 6433  cardccrd 9693  cfccf 9695
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-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-card 9697  df-cf 9699
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator