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

Theorem cardidm 8730
Description: The cardinality function is idempotent. Proposition 10.11 of [TakeutiZaring] p. 85. (Contributed by Mario Carneiro, 7-Jan-2013.)
Assertion
Ref Expression
cardidm (card‘(card‘𝐴)) = (card‘𝐴)

Proof of Theorem cardidm
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 cardid2 8724 . . . . . . . 8 (𝐴 ∈ dom card → (card‘𝐴) ≈ 𝐴)
21ensymd 7952 . . . . . . 7 (𝐴 ∈ dom card → 𝐴 ≈ (card‘𝐴))
3 entr 7953 . . . . . . . 8 ((𝑦𝐴𝐴 ≈ (card‘𝐴)) → 𝑦 ≈ (card‘𝐴))
43expcom 451 . . . . . . 7 (𝐴 ≈ (card‘𝐴) → (𝑦𝐴𝑦 ≈ (card‘𝐴)))
52, 4syl 17 . . . . . 6 (𝐴 ∈ dom card → (𝑦𝐴𝑦 ≈ (card‘𝐴)))
6 entr 7953 . . . . . . . 8 ((𝑦 ≈ (card‘𝐴) ∧ (card‘𝐴) ≈ 𝐴) → 𝑦𝐴)
76expcom 451 . . . . . . 7 ((card‘𝐴) ≈ 𝐴 → (𝑦 ≈ (card‘𝐴) → 𝑦𝐴))
81, 7syl 17 . . . . . 6 (𝐴 ∈ dom card → (𝑦 ≈ (card‘𝐴) → 𝑦𝐴))
95, 8impbid 202 . . . . 5 (𝐴 ∈ dom card → (𝑦𝐴𝑦 ≈ (card‘𝐴)))
109rabbidv 3182 . . . 4 (𝐴 ∈ dom card → {𝑦 ∈ On ∣ 𝑦𝐴} = {𝑦 ∈ On ∣ 𝑦 ≈ (card‘𝐴)})
1110inteqd 4450 . . 3 (𝐴 ∈ dom card → {𝑦 ∈ On ∣ 𝑦𝐴} = {𝑦 ∈ On ∣ 𝑦 ≈ (card‘𝐴)})
12 cardval3 8723 . . 3 (𝐴 ∈ dom card → (card‘𝐴) = {𝑦 ∈ On ∣ 𝑦𝐴})
13 cardon 8715 . . . 4 (card‘𝐴) ∈ On
14 oncardval 8726 . . . 4 ((card‘𝐴) ∈ On → (card‘(card‘𝐴)) = {𝑦 ∈ On ∣ 𝑦 ≈ (card‘𝐴)})
1513, 14mp1i 13 . . 3 (𝐴 ∈ dom card → (card‘(card‘𝐴)) = {𝑦 ∈ On ∣ 𝑦 ≈ (card‘𝐴)})
1611, 12, 153eqtr4rd 2671 . 2 (𝐴 ∈ dom card → (card‘(card‘𝐴)) = (card‘𝐴))
17 card0 8729 . . 3 (card‘∅) = ∅
18 ndmfv 6176 . . . 4 𝐴 ∈ dom card → (card‘𝐴) = ∅)
1918fveq2d 6154 . . 3 𝐴 ∈ dom card → (card‘(card‘𝐴)) = (card‘∅))
2017, 19, 183eqtr4a 2686 . 2 𝐴 ∈ dom card → (card‘(card‘𝐴)) = (card‘𝐴))
2116, 20pm2.61i 176 1 (card‘(card‘𝐴)) = (card‘𝐴)
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4   = wceq 1480  wcel 1992  {crab 2916  c0 3896   cint 4445   class class class wbr 4618  dom cdm 5079  Oncon0 5685  cfv 5850  cen 7897  cardccrd 8706
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 1841  ax-6 1890  ax-7 1937  ax-8 1994  ax-9 2001  ax-10 2021  ax-11 2036  ax-12 2049  ax-13 2250  ax-ext 2606  ax-sep 4746  ax-nul 4754  ax-pow 4808  ax-pr 4872  ax-un 6903
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 1883  df-eu 2478  df-mo 2479  df-clab 2613  df-cleq 2619  df-clel 2622  df-nfc 2756  df-ne 2797  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3193  df-sbc 3423  df-dif 3563  df-un 3565  df-in 3567  df-ss 3574  df-pss 3576  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 5688  df-on 5689  df-iota 5813  df-fun 5852  df-fn 5853  df-f 5854  df-f1 5855  df-fo 5856  df-f1o 5857  df-fv 5858  df-er 7688  df-en 7901  df-card 8710
This theorem is referenced by:  oncard  8731  cardlim  8743  cardiun  8753  alephnbtwn2  8840  infenaleph  8859  dfac12k  8914  pwsdompw  8971  cardcf  9019  cfeq0  9023  cfflb  9026  alephval2  9339  cfpwsdom  9351  gch2  9442  tskcard  9548  hashcard  13083
  Copyright terms: Public domain W3C validator