Users' Mathboxes Mathbox for Richard Penner < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  iscard4 Structured version   Visualization version   GIF version

Theorem iscard4 41038
Description: Two ways to express the property of being a cardinal number. (Contributed by RP, 8-Nov-2023.)
Assertion
Ref Expression
iscard4 ((card‘𝐴) = 𝐴𝐴 ∈ ran card)

Proof of Theorem iscard4
Dummy variables 𝑥 𝑦 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 eqcom 2745 . 2 ((card‘𝐴) = 𝐴𝐴 = (card‘𝐴))
2 mptrel 5724 . . . . 5 Rel (𝑥 ∈ V ↦ {𝑦 ∈ On ∣ 𝑦𝑥})
3 df-card 9628 . . . . . 6 card = (𝑥 ∈ V ↦ {𝑦 ∈ On ∣ 𝑦𝑥})
43releqi 5678 . . . . 5 (Rel card ↔ Rel (𝑥 ∈ V ↦ {𝑦 ∈ On ∣ 𝑦𝑥}))
52, 4mpbir 230 . . . 4 Rel card
6 relelrnb 5845 . . . 4 (Rel card → (𝐴 ∈ ran card ↔ ∃𝑥 𝑥card𝐴))
75, 6ax-mp 5 . . 3 (𝐴 ∈ ran card ↔ ∃𝑥 𝑥card𝐴)
83funmpt2 6457 . . . . . . 7 Fun card
9 funbrfv 6802 . . . . . . 7 (Fun card → (𝑥card𝐴 → (card‘𝑥) = 𝐴))
108, 9ax-mp 5 . . . . . 6 (𝑥card𝐴 → (card‘𝑥) = 𝐴)
1110eqcomd 2744 . . . . 5 (𝑥card𝐴𝐴 = (card‘𝑥))
1211eximi 1838 . . . 4 (∃𝑥 𝑥card𝐴 → ∃𝑥 𝐴 = (card‘𝑥))
13 cardidm 9648 . . . . . . 7 (card‘(card‘𝑥)) = (card‘𝑥)
14 fveq2 6756 . . . . . . 7 (𝐴 = (card‘𝑥) → (card‘𝐴) = (card‘(card‘𝑥)))
15 id 22 . . . . . . 7 (𝐴 = (card‘𝑥) → 𝐴 = (card‘𝑥))
1613, 14, 153eqtr4a 2805 . . . . . 6 (𝐴 = (card‘𝑥) → (card‘𝐴) = 𝐴)
1716exlimiv 1934 . . . . 5 (∃𝑥 𝐴 = (card‘𝑥) → (card‘𝐴) = 𝐴)
181biimpi 215 . . . . . . . . . . 11 ((card‘𝐴) = 𝐴𝐴 = (card‘𝐴))
19 cardon 9633 . . . . . . . . . . 11 (card‘𝐴) ∈ On
2018, 19eqeltrdi 2847 . . . . . . . . . 10 ((card‘𝐴) = 𝐴𝐴 ∈ On)
21 onenon 9638 . . . . . . . . . 10 (𝐴 ∈ On → 𝐴 ∈ dom card)
2220, 21syl 17 . . . . . . . . 9 ((card‘𝐴) = 𝐴𝐴 ∈ dom card)
23 funfvbrb 6910 . . . . . . . . . 10 (Fun card → (𝐴 ∈ dom card ↔ 𝐴card(card‘𝐴)))
2423biimpd 228 . . . . . . . . 9 (Fun card → (𝐴 ∈ dom card → 𝐴card(card‘𝐴)))
258, 22, 24mpsyl 68 . . . . . . . 8 ((card‘𝐴) = 𝐴𝐴card(card‘𝐴))
26 id 22 . . . . . . . 8 ((card‘𝐴) = 𝐴 → (card‘𝐴) = 𝐴)
2725, 26breqtrd 5096 . . . . . . 7 ((card‘𝐴) = 𝐴𝐴card𝐴)
28 id 22 . . . . . . . . . 10 (𝐴 = (card‘𝐴) → 𝐴 = (card‘𝐴))
2928, 19eqeltrdi 2847 . . . . . . . . 9 (𝐴 = (card‘𝐴) → 𝐴 ∈ On)
3029eqcoms 2746 . . . . . . . 8 ((card‘𝐴) = 𝐴𝐴 ∈ On)
31 sbcbr1g 5127 . . . . . . . . 9 (𝐴 ∈ On → ([𝐴 / 𝑥]𝑥card𝐴𝐴 / 𝑥𝑥card𝐴))
32 csbvarg 4362 . . . . . . . . . 10 (𝐴 ∈ On → 𝐴 / 𝑥𝑥 = 𝐴)
3332breq1d 5080 . . . . . . . . 9 (𝐴 ∈ On → (𝐴 / 𝑥𝑥card𝐴𝐴card𝐴))
3431, 33bitrd 278 . . . . . . . 8 (𝐴 ∈ On → ([𝐴 / 𝑥]𝑥card𝐴𝐴card𝐴))
3530, 34syl 17 . . . . . . 7 ((card‘𝐴) = 𝐴 → ([𝐴 / 𝑥]𝑥card𝐴𝐴card𝐴))
3627, 35mpbird 256 . . . . . 6 ((card‘𝐴) = 𝐴[𝐴 / 𝑥]𝑥card𝐴)
3736spesbcd 3812 . . . . 5 ((card‘𝐴) = 𝐴 → ∃𝑥 𝑥card𝐴)
3817, 37syl 17 . . . 4 (∃𝑥 𝐴 = (card‘𝑥) → ∃𝑥 𝑥card𝐴)
3912, 38impbii 208 . . 3 (∃𝑥 𝑥card𝐴 ↔ ∃𝑥 𝐴 = (card‘𝑥))
40 oncard 9649 . . 3 (∃𝑥 𝐴 = (card‘𝑥) ↔ 𝐴 = (card‘𝐴))
417, 39, 403bitrri 297 . 2 (𝐴 = (card‘𝐴) ↔ 𝐴 ∈ ran card)
421, 41bitri 274 1 ((card‘𝐴) = 𝐴𝐴 ∈ ran card)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205   = wceq 1539  wex 1783  wcel 2108  {crab 3067  Vcvv 3422  [wsbc 3711  csb 3828   cint 4876   class class class wbr 5070  cmpt 5153  dom cdm 5580  ran crn 5581  Rel wrel 5585  Oncon0 6251  Fun wfun 6412  cfv 6418  cen 8688  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-sbc 3712  df-csb 3829  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-card 9628
This theorem is referenced by:  elrncard  41040  alephiso2  41054
  Copyright terms: Public domain W3C validator