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

Theorem carden2b 8745
Description: If two sets are equinumerous, then they have equal cardinalities. (This assertion and carden2a 8744 are meant to replace carden 9325 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 8743 . . . . 5 ((card‘𝐵) ∈ (card‘𝐴) → ¬ (card‘𝐵) ≈ 𝐴)
2 ennum 8725 . . . . . . . 8 (𝐴𝐵 → (𝐴 ∈ dom card ↔ 𝐵 ∈ dom card))
32biimpa 501 . . . . . . 7 ((𝐴𝐵𝐴 ∈ dom card) → 𝐵 ∈ dom card)
4 cardid2 8731 . . . . . . 7 (𝐵 ∈ dom card → (card‘𝐵) ≈ 𝐵)
53, 4syl 17 . . . . . 6 ((𝐴𝐵𝐴 ∈ dom card) → (card‘𝐵) ≈ 𝐵)
6 ensym 7957 . . . . . . 7 (𝐴𝐵𝐵𝐴)
76adantr 481 . . . . . 6 ((𝐴𝐵𝐴 ∈ dom card) → 𝐵𝐴)
8 entr 7960 . . . . . 6 (((card‘𝐵) ≈ 𝐵𝐵𝐴) → (card‘𝐵) ≈ 𝐴)
95, 7, 8syl2anc 692 . . . . 5 ((𝐴𝐵𝐴 ∈ dom card) → (card‘𝐵) ≈ 𝐴)
101, 9nsyl3 133 . . . 4 ((𝐴𝐵𝐴 ∈ dom card) → ¬ (card‘𝐵) ∈ (card‘𝐴))
11 cardon 8722 . . . . 5 (card‘𝐴) ∈ On
12 cardon 8722 . . . . 5 (card‘𝐵) ∈ On
13 ontri1 5721 . . . . 5 (((card‘𝐴) ∈ On ∧ (card‘𝐵) ∈ On) → ((card‘𝐴) ⊆ (card‘𝐵) ↔ ¬ (card‘𝐵) ∈ (card‘𝐴)))
1411, 12, 13mp2an 707 . . . 4 ((card‘𝐴) ⊆ (card‘𝐵) ↔ ¬ (card‘𝐵) ∈ (card‘𝐴))
1510, 14sylibr 224 . . 3 ((𝐴𝐵𝐴 ∈ dom card) → (card‘𝐴) ⊆ (card‘𝐵))
16 cardne 8743 . . . . 5 ((card‘𝐴) ∈ (card‘𝐵) → ¬ (card‘𝐴) ≈ 𝐵)
17 cardid2 8731 . . . . . 6 (𝐴 ∈ dom card → (card‘𝐴) ≈ 𝐴)
18 id 22 . . . . . 6 (𝐴𝐵𝐴𝐵)
19 entr 7960 . . . . . 6 (((card‘𝐴) ≈ 𝐴𝐴𝐵) → (card‘𝐴) ≈ 𝐵)
2017, 18, 19syl2anr 495 . . . . 5 ((𝐴𝐵𝐴 ∈ dom card) → (card‘𝐴) ≈ 𝐵)
2116, 20nsyl3 133 . . . 4 ((𝐴𝐵𝐴 ∈ dom card) → ¬ (card‘𝐴) ∈ (card‘𝐵))
22 ontri1 5721 . . . . 5 (((card‘𝐵) ∈ On ∧ (card‘𝐴) ∈ On) → ((card‘𝐵) ⊆ (card‘𝐴) ↔ ¬ (card‘𝐴) ∈ (card‘𝐵)))
2312, 11, 22mp2an 707 . . . 4 ((card‘𝐵) ⊆ (card‘𝐴) ↔ ¬ (card‘𝐴) ∈ (card‘𝐵))
2421, 23sylibr 224 . . 3 ((𝐴𝐵𝐴 ∈ dom card) → (card‘𝐵) ⊆ (card‘𝐴))
2515, 24eqssd 3604 . 2 ((𝐴𝐵𝐴 ∈ dom card) → (card‘𝐴) = (card‘𝐵))
26 ndmfv 6180 . . . 4 𝐴 ∈ dom card → (card‘𝐴) = ∅)
2726adantl 482 . . 3 ((𝐴𝐵 ∧ ¬ 𝐴 ∈ dom card) → (card‘𝐴) = ∅)
282notbid 308 . . . . 5 (𝐴𝐵 → (¬ 𝐴 ∈ dom card ↔ ¬ 𝐵 ∈ dom card))
2928biimpa 501 . . . 4 ((𝐴𝐵 ∧ ¬ 𝐴 ∈ dom card) → ¬ 𝐵 ∈ dom card)
30 ndmfv 6180 . . . 4 𝐵 ∈ dom card → (card‘𝐵) = ∅)
3129, 30syl 17 . . 3 ((𝐴𝐵 ∧ ¬ 𝐴 ∈ dom card) → (card‘𝐵) = ∅)
3227, 31eqtr4d 2658 . 2 ((𝐴𝐵 ∧ ¬ 𝐴 ∈ dom card) → (card‘𝐴) = (card‘𝐵))
3325, 32pm2.61dan 831 1 (𝐴𝐵 → (card‘𝐴) = (card‘𝐵))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 196  wa 384   = wceq 1480  wcel 1987  wss 3559  c0 3896   class class class wbr 4618  dom cdm 5079  Oncon0 5687  cfv 5852  cen 7904  cardccrd 8713
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1719  ax-4 1734  ax-5 1836  ax-6 1885  ax-7 1932  ax-8 1989  ax-9 1996  ax-10 2016  ax-11 2031  ax-12 2044  ax-13 2245  ax-ext 2601  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6909
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3or 1037  df-3an 1038  df-tru 1483  df-ex 1702  df-nf 1707  df-sb 1878  df-eu 2473  df-mo 2474  df-clab 2608  df-cleq 2614  df-clel 2617  df-nfc 2750  df-ne 2791  df-ral 2912  df-rex 2913  df-rab 2916  df-v 3191  df-sbc 3422  df-dif 3562  df-un 3564  df-in 3566  df-ss 3573  df-pss 3575  df-nul 3897  df-if 4064  df-pw 4137  df-sn 4154  df-pr 4156  df-tp 4158  df-op 4160  df-uni 4408  df-int 4446  df-br 4619  df-opab 4679  df-mpt 4680  df-tr 4718  df-eprel 4990  df-id 4994  df-po 5000  df-so 5001  df-fr 5038  df-we 5040  df-xp 5085  df-rel 5086  df-cnv 5087  df-co 5088  df-dm 5089  df-rn 5090  df-res 5091  df-ima 5092  df-ord 5690  df-on 5691  df-iota 5815  df-fun 5854  df-fn 5855  df-f 5856  df-f1 5857  df-fo 5858  df-f1o 5859  df-fv 5860  df-er 7694  df-en 7908  df-card 8717
This theorem is referenced by:  card1  8746  carddom2  8755  cardennn  8761  cardsucinf  8762  pm54.43lem  8777  nnacda  8975  ficardun  8976  ackbij1lem5  8998  ackbij1lem8  9001  ackbij1lem9  9002  ackbij2lem2  9014  carden  9325  r1tskina  9556  cardfz  12717
  Copyright terms: Public domain W3C validator