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 41140
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 5735 . . . . 5 Rel (𝑥 ∈ V ↦ {𝑦 ∈ On ∣ 𝑦𝑥})
3 df-card 9697 . . . . . 6 card = (𝑥 ∈ V ↦ {𝑦 ∈ On ∣ 𝑦𝑥})
43releqi 5688 . . . . 5 (Rel card ↔ Rel (𝑥 ∈ V ↦ {𝑦 ∈ On ∣ 𝑦𝑥}))
52, 4mpbir 230 . . . 4 Rel card
6 relelrnb 5856 . . . 4 (Rel card → (𝐴 ∈ ran card ↔ ∃𝑥 𝑥card𝐴))
75, 6ax-mp 5 . . 3 (𝐴 ∈ ran card ↔ ∃𝑥 𝑥card𝐴)
83funmpt2 6473 . . . . . . 7 Fun card
9 funbrfv 6820 . . . . . . 7 (Fun card → (𝑥card𝐴 → (card‘𝑥) = 𝐴))
108, 9ax-mp 5 . . . . . 6 (𝑥card𝐴 → (card‘𝑥) = 𝐴)
1110eqcomd 2744 . . . . 5 (𝑥card𝐴𝐴 = (card‘𝑥))
1211eximi 1837 . . . 4 (∃𝑥 𝑥card𝐴 → ∃𝑥 𝐴 = (card‘𝑥))
13 cardidm 9717 . . . . . . 7 (card‘(card‘𝑥)) = (card‘𝑥)
14 fveq2 6774 . . . . . . 7 (𝐴 = (card‘𝑥) → (card‘𝐴) = (card‘(card‘𝑥)))
15 id 22 . . . . . . 7 (𝐴 = (card‘𝑥) → 𝐴 = (card‘𝑥))
1613, 14, 153eqtr4a 2804 . . . . . 6 (𝐴 = (card‘𝑥) → (card‘𝐴) = 𝐴)
1716exlimiv 1933 . . . . 5 (∃𝑥 𝐴 = (card‘𝑥) → (card‘𝐴) = 𝐴)
181biimpi 215 . . . . . . . . . . 11 ((card‘𝐴) = 𝐴𝐴 = (card‘𝐴))
19 cardon 9702 . . . . . . . . . . 11 (card‘𝐴) ∈ On
2018, 19eqeltrdi 2847 . . . . . . . . . 10 ((card‘𝐴) = 𝐴𝐴 ∈ On)
21 onenon 9707 . . . . . . . . . 10 (𝐴 ∈ On → 𝐴 ∈ dom card)
2220, 21syl 17 . . . . . . . . 9 ((card‘𝐴) = 𝐴𝐴 ∈ dom card)
23 funfvbrb 6928 . . . . . . . . . 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 5100 . . . . . . 7 ((card‘𝐴) = 𝐴𝐴card𝐴)
28 id 22 . . . . . . . . . 10 (𝐴 = (card‘𝐴) → 𝐴 = (card‘𝐴))
2928, 19eqeltrdi 2847 . . . . . . . . 9 (𝐴 = (card‘𝐴) → 𝐴 ∈ On)
3029eqcoms 2746 . . . . . . . 8 ((card‘𝐴) = 𝐴𝐴 ∈ On)
31 sbcbr1g 5131 . . . . . . . . 9 (𝐴 ∈ On → ([𝐴 / 𝑥]𝑥card𝐴𝐴 / 𝑥𝑥card𝐴))
32 csbvarg 4365 . . . . . . . . . 10 (𝐴 ∈ On → 𝐴 / 𝑥𝑥 = 𝐴)
3332breq1d 5084 . . . . . . . . 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 3816 . . . . 5 ((card‘𝐴) = 𝐴 → ∃𝑥 𝑥card𝐴)
3817, 37syl 17 . . . 4 (∃𝑥 𝐴 = (card‘𝑥) → ∃𝑥 𝑥card𝐴)
3912, 38impbii 208 . . 3 (∃𝑥 𝑥card𝐴 ↔ ∃𝑥 𝐴 = (card‘𝑥))
40 oncard 9718 . . 3 (∃𝑥 𝐴 = (card‘𝑥) ↔ 𝐴 = (card‘𝐴))
417, 39, 403bitrri 298 . 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 1782  wcel 2106  {crab 3068  Vcvv 3432  [wsbc 3716  csb 3832   cint 4879   class class class wbr 5074  cmpt 5157  dom cdm 5589  ran crn 5590  Rel wrel 5594  Oncon0 6266  Fun wfun 6427  cfv 6433  cen 8730  cardccrd 9693
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-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-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-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-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-ord 6269  df-on 6270  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-er 8498  df-en 8734  df-card 9697
This theorem is referenced by:  minregex  41141  minregex2  41142  elrncard  41144  alephiso2  41165
  Copyright terms: Public domain W3C validator