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

Theorem carden2b 9462
Description: If two sets are equinumerous, then they have equal cardinalities. (This assertion and carden2a 9461 are meant to replace carden 10044 in ZF without AC.) (Contributed by Mario Carneiro, 9-Jan-2013.) (Proof shortened by Mario Carneiro, 27-Apr-2015.)
Assertion
Ref Expression
carden2b (𝐴𝐵 → (card‘𝐴) = (card‘𝐵))

Proof of Theorem carden2b
StepHypRef Expression
1 cardne 9460 . . . . 5 ((card‘𝐵) ∈ (card‘𝐴) → ¬ (card‘𝐵) ≈ 𝐴)
2 ennum 9442 . . . . . . . 8 (𝐴𝐵 → (𝐴 ∈ dom card ↔ 𝐵 ∈ dom card))
32biimpa 480 . . . . . . 7 ((𝐴𝐵𝐴 ∈ dom card) → 𝐵 ∈ dom card)
4 cardid2 9448 . . . . . . 7 (𝐵 ∈ dom card → (card‘𝐵) ≈ 𝐵)
53, 4syl 17 . . . . . 6 ((𝐴𝐵𝐴 ∈ dom card) → (card‘𝐵) ≈ 𝐵)
6 ensym 8597 . . . . . . 7 (𝐴𝐵𝐵𝐴)
76adantr 484 . . . . . 6 ((𝐴𝐵𝐴 ∈ dom card) → 𝐵𝐴)
8 entr 8600 . . . . . 6 (((card‘𝐵) ≈ 𝐵𝐵𝐴) → (card‘𝐵) ≈ 𝐴)
95, 7, 8syl2anc 587 . . . . 5 ((𝐴𝐵𝐴 ∈ dom card) → (card‘𝐵) ≈ 𝐴)
101, 9nsyl3 140 . . . 4 ((𝐴𝐵𝐴 ∈ dom card) → ¬ (card‘𝐵) ∈ (card‘𝐴))
11 cardon 9439 . . . . 5 (card‘𝐴) ∈ On
12 cardon 9439 . . . . 5 (card‘𝐵) ∈ On
13 ontri1 6200 . . . . 5 (((card‘𝐴) ∈ On ∧ (card‘𝐵) ∈ On) → ((card‘𝐴) ⊆ (card‘𝐵) ↔ ¬ (card‘𝐵) ∈ (card‘𝐴)))
1411, 12, 13mp2an 692 . . . 4 ((card‘𝐴) ⊆ (card‘𝐵) ↔ ¬ (card‘𝐵) ∈ (card‘𝐴))
1510, 14sylibr 237 . . 3 ((𝐴𝐵𝐴 ∈ dom card) → (card‘𝐴) ⊆ (card‘𝐵))
16 cardne 9460 . . . . 5 ((card‘𝐴) ∈ (card‘𝐵) → ¬ (card‘𝐴) ≈ 𝐵)
17 cardid2 9448 . . . . . 6 (𝐴 ∈ dom card → (card‘𝐴) ≈ 𝐴)
18 id 22 . . . . . 6 (𝐴𝐵𝐴𝐵)
19 entr 8600 . . . . . 6 (((card‘𝐴) ≈ 𝐴𝐴𝐵) → (card‘𝐴) ≈ 𝐵)
2017, 18, 19syl2anr 600 . . . . 5 ((𝐴𝐵𝐴 ∈ dom card) → (card‘𝐴) ≈ 𝐵)
2116, 20nsyl3 140 . . . 4 ((𝐴𝐵𝐴 ∈ dom card) → ¬ (card‘𝐴) ∈ (card‘𝐵))
22 ontri1 6200 . . . . 5 (((card‘𝐵) ∈ On ∧ (card‘𝐴) ∈ On) → ((card‘𝐵) ⊆ (card‘𝐴) ↔ ¬ (card‘𝐴) ∈ (card‘𝐵)))
2312, 11, 22mp2an 692 . . . 4 ((card‘𝐵) ⊆ (card‘𝐴) ↔ ¬ (card‘𝐴) ∈ (card‘𝐵))
2421, 23sylibr 237 . . 3 ((𝐴𝐵𝐴 ∈ dom card) → (card‘𝐵) ⊆ (card‘𝐴))
2515, 24eqssd 3892 . 2 ((𝐴𝐵𝐴 ∈ dom card) → (card‘𝐴) = (card‘𝐵))
26 ndmfv 6698 . . . 4 𝐴 ∈ dom card → (card‘𝐴) = ∅)
2726adantl 485 . . 3 ((𝐴𝐵 ∧ ¬ 𝐴 ∈ dom card) → (card‘𝐴) = ∅)
282notbid 321 . . . . 5 (𝐴𝐵 → (¬ 𝐴 ∈ dom card ↔ ¬ 𝐵 ∈ dom card))
2928biimpa 480 . . . 4 ((𝐴𝐵 ∧ ¬ 𝐴 ∈ dom card) → ¬ 𝐵 ∈ dom card)
30 ndmfv 6698 . . . 4 𝐵 ∈ dom card → (card‘𝐵) = ∅)
3129, 30syl 17 . . 3 ((𝐴𝐵 ∧ ¬ 𝐴 ∈ dom card) → (card‘𝐵) = ∅)
3227, 31eqtr4d 2776 . 2 ((𝐴𝐵 ∧ ¬ 𝐴 ∈ dom card) → (card‘𝐴) = (card‘𝐵))
3325, 32pm2.61dan 813 1 (𝐴𝐵 → (card‘𝐴) = (card‘𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 209  wa 399   = wceq 1542  wcel 2113  wss 3841  c0 4209   class class class wbr 5027  dom cdm 5519  Oncon0 6166  cfv 6333  cen 8545  cardccrd 9430
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1802  ax-4 1816  ax-5 1916  ax-6 1974  ax-7 2019  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2161  ax-12 2178  ax-ext 2710  ax-sep 5164  ax-nul 5171  ax-pow 5229  ax-pr 5293  ax-un 7473
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 847  df-3or 1089  df-3an 1090  df-tru 1545  df-fal 1555  df-ex 1787  df-nf 1791  df-sb 2074  df-mo 2540  df-eu 2570  df-clab 2717  df-cleq 2730  df-clel 2811  df-nfc 2881  df-ne 2935  df-ral 3058  df-rex 3059  df-rab 3062  df-v 3399  df-sbc 3680  df-dif 3844  df-un 3846  df-in 3848  df-ss 3858  df-pss 3860  df-nul 4210  df-if 4412  df-pw 4487  df-sn 4514  df-pr 4516  df-tp 4518  df-op 4520  df-uni 4794  df-int 4834  df-br 5028  df-opab 5090  df-mpt 5108  df-tr 5134  df-id 5425  df-eprel 5430  df-po 5438  df-so 5439  df-fr 5478  df-we 5480  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-ord 6169  df-on 6170  df-iota 6291  df-fun 6335  df-fn 6336  df-f 6337  df-f1 6338  df-fo 6339  df-f1o 6340  df-fv 6341  df-er 8313  df-en 8549  df-card 9434
This theorem is referenced by:  card1  9463  carddom2  9472  cardennn  9478  cardsucinf  9479  pm54.43lem  9495  nnadju  9690  nnadjuALT  9691  ficardun  9693  ficardunOLD  9694  ackbij1lem5  9717  ackbij1lem8  9720  ackbij1lem9  9721  ackbij2lem2  9733  carden  10044  r1tskina  10275  cardfz  13422
  Copyright terms: Public domain W3C validator