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

Theorem cfeq0 9870
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 9861 . . . 4 (𝐴 ∈ On → (cf‘𝐴) = {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))})
21eqeq1d 2739 . . 3 (𝐴 ∈ On → ((cf‘𝐴) = ∅ ↔ {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} = ∅))
3 vex 3412 . . . . . . . . 9 𝑣 ∈ V
4 eqeq1 2741 . . . . . . . . . . 11 (𝑥 = 𝑣 → (𝑥 = (card‘𝑦) ↔ 𝑣 = (card‘𝑦)))
54anbi1d 633 . . . . . . . . . 10 (𝑥 = 𝑣 → ((𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) ↔ (𝑣 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))))
65exbidv 1929 . . . . . . . . 9 (𝑥 = 𝑣 → (∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) ↔ ∃𝑦(𝑣 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))))
73, 6elab 3587 . . . . . . . 8 (𝑣 ∈ {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} ↔ ∃𝑦(𝑣 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)))
8 fveq2 6717 . . . . . . . . . . . 12 (𝑣 = (card‘𝑦) → (card‘𝑣) = (card‘(card‘𝑦)))
9 cardidm 9575 . . . . . . . . . . . 12 (card‘(card‘𝑦)) = (card‘𝑦)
108, 9eqtrdi 2794 . . . . . . . . . . 11 (𝑣 = (card‘𝑦) → (card‘𝑣) = (card‘𝑦))
11 eqeq2 2749 . . . . . . . . . . 11 (𝑣 = (card‘𝑦) → ((card‘𝑣) = 𝑣 ↔ (card‘𝑣) = (card‘𝑦)))
1210, 11mpbird 260 . . . . . . . . . 10 (𝑣 = (card‘𝑦) → (card‘𝑣) = 𝑣)
1312adantr 484 . . . . . . . . 9 ((𝑣 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → (card‘𝑣) = 𝑣)
1413exlimiv 1938 . . . . . . . 8 (∃𝑦(𝑣 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → (card‘𝑣) = 𝑣)
157, 14sylbi 220 . . . . . . 7 (𝑣 ∈ {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} → (card‘𝑣) = 𝑣)
16 cardon 9560 . . . . . . 7 (card‘𝑣) ∈ On
1715, 16eqeltrrdi 2847 . . . . . 6 (𝑣 ∈ {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} → 𝑣 ∈ On)
1817ssriv 3905 . . . . 5 {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} ⊆ On
19 onint0 7575 . . . . 5 ({𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} ⊆ On → ( {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} = ∅ ↔ ∅ ∈ {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))}))
2018, 19ax-mp 5 . . . 4 ( {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} = ∅ ↔ ∅ ∈ {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))})
21 0ex 5200 . . . . . 6 ∅ ∈ V
22 eqeq1 2741 . . . . . . . 8 (𝑥 = ∅ → (𝑥 = (card‘𝑦) ↔ ∅ = (card‘𝑦)))
2322anbi1d 633 . . . . . . 7 (𝑥 = ∅ → ((𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) ↔ (∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))))
2423exbidv 1929 . . . . . 6 (𝑥 = ∅ → (∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) ↔ ∃𝑦(∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))))
2521, 24elab 3587 . . . . 5 (∅ ∈ {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} ↔ ∃𝑦(∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)))
26 onss 7568 . . . . . . . . . . 11 (𝐴 ∈ On → 𝐴 ⊆ On)
27 sstr 3909 . . . . . . . . . . . 12 ((𝑦𝐴𝐴 ⊆ On) → 𝑦 ⊆ On)
2827ancoms 462 . . . . . . . . . . 11 ((𝐴 ⊆ On ∧ 𝑦𝐴) → 𝑦 ⊆ On)
2926, 28sylan 583 . . . . . . . . . 10 ((𝐴 ∈ On ∧ 𝑦𝐴) → 𝑦 ⊆ On)
30293adant2 1133 . . . . . . . . 9 ((𝐴 ∈ On ∧ ∅ = (card‘𝑦) ∧ 𝑦𝐴) → 𝑦 ⊆ On)
31303adant3r 1183 . . . . . . . 8 ((𝐴 ∈ On ∧ ∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → 𝑦 ⊆ On)
32 simp2 1139 . . . . . . . 8 ((𝐴 ∈ On ∧ ∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → ∅ = (card‘𝑦))
33 simp3 1140 . . . . . . . 8 ((𝐴 ∈ On ∧ ∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))
34 eqcom 2744 . . . . . . . . . . . 12 (∅ = (card‘𝑦) ↔ (card‘𝑦) = ∅)
35 vex 3412 . . . . . . . . . . . . . 14 𝑦 ∈ V
36 onssnum 9654 . . . . . . . . . . . . . 14 ((𝑦 ∈ V ∧ 𝑦 ⊆ On) → 𝑦 ∈ dom card)
3735, 36mpan 690 . . . . . . . . . . . . 13 (𝑦 ⊆ On → 𝑦 ∈ dom card)
38 cardnueq0 9580 . . . . . . . . . . . . 13 (𝑦 ∈ dom card → ((card‘𝑦) = ∅ ↔ 𝑦 = ∅))
3937, 38syl 17 . . . . . . . . . . . 12 (𝑦 ⊆ On → ((card‘𝑦) = ∅ ↔ 𝑦 = ∅))
4034, 39syl5bb 286 . . . . . . . . . . 11 (𝑦 ⊆ On → (∅ = (card‘𝑦) ↔ 𝑦 = ∅))
4140biimpa 480 . . . . . . . . . 10 ((𝑦 ⊆ On ∧ ∅ = (card‘𝑦)) → 𝑦 = ∅)
42 sseq1 3926 . . . . . . . . . . . 12 (𝑦 = ∅ → (𝑦𝐴 ↔ ∅ ⊆ 𝐴))
43 rexeq 3320 . . . . . . . . . . . . 13 (𝑦 = ∅ → (∃𝑤𝑦 𝑧𝑤 ↔ ∃𝑤 ∈ ∅ 𝑧𝑤))
4443ralbidv 3118 . . . . . . . . . . . 12 (𝑦 = ∅ → (∀𝑧𝐴𝑤𝑦 𝑧𝑤 ↔ ∀𝑧𝐴𝑤 ∈ ∅ 𝑧𝑤))
4542, 44anbi12d 634 . . . . . . . . . . 11 (𝑦 = ∅ → ((𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤) ↔ (∅ ⊆ 𝐴 ∧ ∀𝑧𝐴𝑤 ∈ ∅ 𝑧𝑤)))
4645biimpa 480 . . . . . . . . . 10 ((𝑦 = ∅ ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → (∅ ⊆ 𝐴 ∧ ∀𝑧𝐴𝑤 ∈ ∅ 𝑧𝑤))
4741, 46sylan 583 . . . . . . . . 9 (((𝑦 ⊆ On ∧ ∅ = (card‘𝑦)) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → (∅ ⊆ 𝐴 ∧ ∀𝑧𝐴𝑤 ∈ ∅ 𝑧𝑤))
48 rex0 4272 . . . . . . . . . . . . 13 ¬ ∃𝑤 ∈ ∅ 𝑧𝑤
4948rgenw 3073 . . . . . . . . . . . 12 𝑧𝐴 ¬ ∃𝑤 ∈ ∅ 𝑧𝑤
50 r19.2z 4406 . . . . . . . . . . . 12 ((𝐴 ≠ ∅ ∧ ∀𝑧𝐴 ¬ ∃𝑤 ∈ ∅ 𝑧𝑤) → ∃𝑧𝐴 ¬ ∃𝑤 ∈ ∅ 𝑧𝑤)
5149, 50mpan2 691 . . . . . . . . . . 11 (𝐴 ≠ ∅ → ∃𝑧𝐴 ¬ ∃𝑤 ∈ ∅ 𝑧𝑤)
52 rexnal 3160 . . . . . . . . . . 11 (∃𝑧𝐴 ¬ ∃𝑤 ∈ ∅ 𝑧𝑤 ↔ ¬ ∀𝑧𝐴𝑤 ∈ ∅ 𝑧𝑤)
5351, 52sylib 221 . . . . . . . . . 10 (𝐴 ≠ ∅ → ¬ ∀𝑧𝐴𝑤 ∈ ∅ 𝑧𝑤)
5453necon4ai 2972 . . . . . . . . 9 (∀𝑧𝐴𝑤 ∈ ∅ 𝑧𝑤𝐴 = ∅)
5547, 54simpl2im 507 . . . . . . . 8 (((𝑦 ⊆ On ∧ ∅ = (card‘𝑦)) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → 𝐴 = ∅)
5631, 32, 33, 55syl21anc 838 . . . . . . 7 ((𝐴 ∈ On ∧ ∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → 𝐴 = ∅)
57563expib 1124 . . . . . 6 (𝐴 ∈ On → ((∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → 𝐴 = ∅))
5857exlimdv 1941 . . . . 5 (𝐴 ∈ On → (∃𝑦(∅ = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤)) → 𝐴 = ∅))
5925, 58syl5bi 245 . . . 4 (𝐴 ∈ On → (∅ ∈ {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} → 𝐴 = ∅))
6020, 59syl5bi 245 . . 3 (𝐴 ∈ On → ( {𝑥 ∣ ∃𝑦(𝑥 = (card‘𝑦) ∧ (𝑦𝐴 ∧ ∀𝑧𝐴𝑤𝑦 𝑧𝑤))} = ∅ → 𝐴 = ∅))
612, 60sylbid 243 . 2 (𝐴 ∈ On → ((cf‘𝐴) = ∅ → 𝐴 = ∅))
62 fveq2 6717 . . 3 (𝐴 = ∅ → (cf‘𝐴) = (cf‘∅))
63 cf0 9865 . . 3 (cf‘∅) = ∅
6462, 63eqtrdi 2794 . 2 (𝐴 = ∅ → (cf‘𝐴) = ∅)
6561, 64impbid1 228 1 (𝐴 ∈ On → ((cf‘𝐴) = ∅ ↔ 𝐴 = ∅))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399  w3a 1089   = wceq 1543  wex 1787  wcel 2110  {cab 2714  wne 2940  wral 3061  wrex 3062  Vcvv 3408  wss 3866  c0 4237   cint 4859  dom cdm 5551  Oncon0 6213  cfv 6380  cardccrd 9551  cfccf 9553
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-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-card 9555  df-cf 9557
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator