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

Theorem carduni 9739
Description: The union of a set of cardinals is a cardinal. Theorem 18.14 of [Monk1] p. 133. (Contributed by Mario Carneiro, 20-Jan-2013.)
Assertion
Ref Expression
carduni (𝐴𝑉 → (∀𝑥𝐴 (card‘𝑥) = 𝑥 → (card‘ 𝐴) = 𝐴))
Distinct variable group:   𝑥,𝐴
Allowed substitution hint:   𝑉(𝑥)

Proof of Theorem carduni
Dummy variable 𝑦 is distinct from all other variables.
StepHypRef Expression
1 ssonuni 7630 . . . . 5 (𝐴𝑉 → (𝐴 ⊆ On → 𝐴 ∈ On))
2 fveq2 6774 . . . . . . . . 9 (𝑥 = 𝑦 → (card‘𝑥) = (card‘𝑦))
3 id 22 . . . . . . . . 9 (𝑥 = 𝑦𝑥 = 𝑦)
42, 3eqeq12d 2754 . . . . . . . 8 (𝑥 = 𝑦 → ((card‘𝑥) = 𝑥 ↔ (card‘𝑦) = 𝑦))
54rspcv 3557 . . . . . . 7 (𝑦𝐴 → (∀𝑥𝐴 (card‘𝑥) = 𝑥 → (card‘𝑦) = 𝑦))
6 cardon 9702 . . . . . . . 8 (card‘𝑦) ∈ On
7 eleq1 2826 . . . . . . . 8 ((card‘𝑦) = 𝑦 → ((card‘𝑦) ∈ On ↔ 𝑦 ∈ On))
86, 7mpbii 232 . . . . . . 7 ((card‘𝑦) = 𝑦𝑦 ∈ On)
95, 8syl6com 37 . . . . . 6 (∀𝑥𝐴 (card‘𝑥) = 𝑥 → (𝑦𝐴𝑦 ∈ On))
109ssrdv 3927 . . . . 5 (∀𝑥𝐴 (card‘𝑥) = 𝑥𝐴 ⊆ On)
111, 10impel 506 . . . 4 ((𝐴𝑉 ∧ ∀𝑥𝐴 (card‘𝑥) = 𝑥) → 𝐴 ∈ On)
12 cardonle 9715 . . . 4 ( 𝐴 ∈ On → (card‘ 𝐴) ⊆ 𝐴)
1311, 12syl 17 . . 3 ((𝐴𝑉 ∧ ∀𝑥𝐴 (card‘𝑥) = 𝑥) → (card‘ 𝐴) ⊆ 𝐴)
14 cardon 9702 . . . . 5 (card‘ 𝐴) ∈ On
1514onirri 6373 . . . 4 ¬ (card‘ 𝐴) ∈ (card‘ 𝐴)
16 eluni 4842 . . . . . . . 8 ((card‘ 𝐴) ∈ 𝐴 ↔ ∃𝑦((card‘ 𝐴) ∈ 𝑦𝑦𝐴))
17 elssuni 4871 . . . . . . . . . . . . . . . . . 18 (𝑦𝐴𝑦 𝐴)
18 ssdomg 8786 . . . . . . . . . . . . . . . . . . 19 ( 𝐴 ∈ On → (𝑦 𝐴𝑦 𝐴))
1918adantl 482 . . . . . . . . . . . . . . . . . 18 (((card‘𝑦) = 𝑦 𝐴 ∈ On) → (𝑦 𝐴𝑦 𝐴))
2017, 19syl5 34 . . . . . . . . . . . . . . . . 17 (((card‘𝑦) = 𝑦 𝐴 ∈ On) → (𝑦𝐴𝑦 𝐴))
21 id 22 . . . . . . . . . . . . . . . . . . 19 ((card‘𝑦) = 𝑦 → (card‘𝑦) = 𝑦)
22 onenon 9707 . . . . . . . . . . . . . . . . . . . 20 ((card‘𝑦) ∈ On → (card‘𝑦) ∈ dom card)
236, 22ax-mp 5 . . . . . . . . . . . . . . . . . . 19 (card‘𝑦) ∈ dom card
2421, 23eqeltrrdi 2848 . . . . . . . . . . . . . . . . . 18 ((card‘𝑦) = 𝑦𝑦 ∈ dom card)
25 onenon 9707 . . . . . . . . . . . . . . . . . 18 ( 𝐴 ∈ On → 𝐴 ∈ dom card)
26 carddom2 9735 . . . . . . . . . . . . . . . . . 18 ((𝑦 ∈ dom card ∧ 𝐴 ∈ dom card) → ((card‘𝑦) ⊆ (card‘ 𝐴) ↔ 𝑦 𝐴))
2724, 25, 26syl2an 596 . . . . . . . . . . . . . . . . 17 (((card‘𝑦) = 𝑦 𝐴 ∈ On) → ((card‘𝑦) ⊆ (card‘ 𝐴) ↔ 𝑦 𝐴))
2820, 27sylibrd 258 . . . . . . . . . . . . . . . 16 (((card‘𝑦) = 𝑦 𝐴 ∈ On) → (𝑦𝐴 → (card‘𝑦) ⊆ (card‘ 𝐴)))
29 sseq1 3946 . . . . . . . . . . . . . . . . 17 ((card‘𝑦) = 𝑦 → ((card‘𝑦) ⊆ (card‘ 𝐴) ↔ 𝑦 ⊆ (card‘ 𝐴)))
3029adantr 481 . . . . . . . . . . . . . . . 16 (((card‘𝑦) = 𝑦 𝐴 ∈ On) → ((card‘𝑦) ⊆ (card‘ 𝐴) ↔ 𝑦 ⊆ (card‘ 𝐴)))
3128, 30sylibd 238 . . . . . . . . . . . . . . 15 (((card‘𝑦) = 𝑦 𝐴 ∈ On) → (𝑦𝐴𝑦 ⊆ (card‘ 𝐴)))
32 ssel 3914 . . . . . . . . . . . . . . 15 (𝑦 ⊆ (card‘ 𝐴) → ((card‘ 𝐴) ∈ 𝑦 → (card‘ 𝐴) ∈ (card‘ 𝐴)))
3331, 32syl6 35 . . . . . . . . . . . . . 14 (((card‘𝑦) = 𝑦 𝐴 ∈ On) → (𝑦𝐴 → ((card‘ 𝐴) ∈ 𝑦 → (card‘ 𝐴) ∈ (card‘ 𝐴))))
3433ex 413 . . . . . . . . . . . . 13 ((card‘𝑦) = 𝑦 → ( 𝐴 ∈ On → (𝑦𝐴 → ((card‘ 𝐴) ∈ 𝑦 → (card‘ 𝐴) ∈ (card‘ 𝐴)))))
3534com3r 87 . . . . . . . . . . . 12 (𝑦𝐴 → ((card‘𝑦) = 𝑦 → ( 𝐴 ∈ On → ((card‘ 𝐴) ∈ 𝑦 → (card‘ 𝐴) ∈ (card‘ 𝐴)))))
365, 35syld 47 . . . . . . . . . . 11 (𝑦𝐴 → (∀𝑥𝐴 (card‘𝑥) = 𝑥 → ( 𝐴 ∈ On → ((card‘ 𝐴) ∈ 𝑦 → (card‘ 𝐴) ∈ (card‘ 𝐴)))))
3736com4r 94 . . . . . . . . . 10 ((card‘ 𝐴) ∈ 𝑦 → (𝑦𝐴 → (∀𝑥𝐴 (card‘𝑥) = 𝑥 → ( 𝐴 ∈ On → (card‘ 𝐴) ∈ (card‘ 𝐴)))))
3837imp 407 . . . . . . . . 9 (((card‘ 𝐴) ∈ 𝑦𝑦𝐴) → (∀𝑥𝐴 (card‘𝑥) = 𝑥 → ( 𝐴 ∈ On → (card‘ 𝐴) ∈ (card‘ 𝐴))))
3938exlimiv 1933 . . . . . . . 8 (∃𝑦((card‘ 𝐴) ∈ 𝑦𝑦𝐴) → (∀𝑥𝐴 (card‘𝑥) = 𝑥 → ( 𝐴 ∈ On → (card‘ 𝐴) ∈ (card‘ 𝐴))))
4016, 39sylbi 216 . . . . . . 7 ((card‘ 𝐴) ∈ 𝐴 → (∀𝑥𝐴 (card‘𝑥) = 𝑥 → ( 𝐴 ∈ On → (card‘ 𝐴) ∈ (card‘ 𝐴))))
4140com13 88 . . . . . 6 ( 𝐴 ∈ On → (∀𝑥𝐴 (card‘𝑥) = 𝑥 → ((card‘ 𝐴) ∈ 𝐴 → (card‘ 𝐴) ∈ (card‘ 𝐴))))
4241imp 407 . . . . 5 (( 𝐴 ∈ On ∧ ∀𝑥𝐴 (card‘𝑥) = 𝑥) → ((card‘ 𝐴) ∈ 𝐴 → (card‘ 𝐴) ∈ (card‘ 𝐴)))
4311, 42sylancom 588 . . . 4 ((𝐴𝑉 ∧ ∀𝑥𝐴 (card‘𝑥) = 𝑥) → ((card‘ 𝐴) ∈ 𝐴 → (card‘ 𝐴) ∈ (card‘ 𝐴)))
4415, 43mtoi 198 . . 3 ((𝐴𝑉 ∧ ∀𝑥𝐴 (card‘𝑥) = 𝑥) → ¬ (card‘ 𝐴) ∈ 𝐴)
4514onordi 6371 . . . 4 Ord (card‘ 𝐴)
46 eloni 6276 . . . . 5 ( 𝐴 ∈ On → Ord 𝐴)
4711, 46syl 17 . . . 4 ((𝐴𝑉 ∧ ∀𝑥𝐴 (card‘𝑥) = 𝑥) → Ord 𝐴)
48 ordtri4 6303 . . . 4 ((Ord (card‘ 𝐴) ∧ Ord 𝐴) → ((card‘ 𝐴) = 𝐴 ↔ ((card‘ 𝐴) ⊆ 𝐴 ∧ ¬ (card‘ 𝐴) ∈ 𝐴)))
4945, 47, 48sylancr 587 . . 3 ((𝐴𝑉 ∧ ∀𝑥𝐴 (card‘𝑥) = 𝑥) → ((card‘ 𝐴) = 𝐴 ↔ ((card‘ 𝐴) ⊆ 𝐴 ∧ ¬ (card‘ 𝐴) ∈ 𝐴)))
5013, 44, 49mpbir2and 710 . 2 ((𝐴𝑉 ∧ ∀𝑥𝐴 (card‘𝑥) = 𝑥) → (card‘ 𝐴) = 𝐴)
5150ex 413 1 (𝐴𝑉 → (∀𝑥𝐴 (card‘𝑥) = 𝑥 → (card‘ 𝐴) = 𝐴))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396   = wceq 1539  wex 1782  wcel 2106  wral 3064  wss 3887   cuni 4839   class class class wbr 5074  dom cdm 5589  Ord word 6265  Oncon0 6266  cfv 6433  cdom 8731  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-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-dom 8735  df-sdom 8736  df-card 9697
This theorem is referenced by:  cardiun  9740  carduniima  9852
  Copyright terms: Public domain W3C validator