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

Theorem canth4 10403
Description: An "effective" form of Cantor's theorem canth 7229. For any function 𝐹 from the powerset of 𝐴 to 𝐴, there are two definable sets 𝐵 and 𝐶 which witness non-injectivity of 𝐹. Corollary 1.3 of [KanamoriPincus] p. 416. (Contributed by Mario Carneiro, 18-May-2015.)
Hypotheses
Ref Expression
canth4.1 𝑊 = {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦))}
canth4.2 𝐵 = dom 𝑊
canth4.3 𝐶 = ((𝑊𝐵) “ {(𝐹𝐵)})
Assertion
Ref Expression
canth4 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → (𝐵𝐴𝐶𝐵 ∧ (𝐹𝐵) = (𝐹𝐶)))
Distinct variable groups:   𝑥,𝑟,𝑦,𝐴   𝐵,𝑟,𝑥,𝑦   𝐷,𝑟,𝑥,𝑦   𝐹,𝑟,𝑥,𝑦   𝑉,𝑟,𝑥,𝑦   𝑦,𝐶   𝑊,𝑟,𝑥,𝑦
Allowed substitution hints:   𝐶(𝑥,𝑟)

Proof of Theorem canth4
StepHypRef Expression
1 eqid 2738 . . . . . . . 8 𝐵 = 𝐵
2 eqid 2738 . . . . . . . 8 (𝑊𝐵) = (𝑊𝐵)
31, 2pm3.2i 471 . . . . . . 7 (𝐵 = 𝐵 ∧ (𝑊𝐵) = (𝑊𝐵))
4 canth4.1 . . . . . . . 8 𝑊 = {⟨𝑥, 𝑟⟩ ∣ ((𝑥𝐴𝑟 ⊆ (𝑥 × 𝑥)) ∧ (𝑟 We 𝑥 ∧ ∀𝑦𝑥 (𝐹‘(𝑟 “ {𝑦})) = 𝑦))}
5 simp1 1135 . . . . . . . 8 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → 𝐴𝑉)
6 simpl2 1191 . . . . . . . . 9 (((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) ∧ 𝑥 ∈ (𝒫 𝐴 ∩ dom card)) → 𝐹:𝐷𝐴)
7 simp3 1137 . . . . . . . . . 10 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → (𝒫 𝐴 ∩ dom card) ⊆ 𝐷)
87sselda 3921 . . . . . . . . 9 (((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) ∧ 𝑥 ∈ (𝒫 𝐴 ∩ dom card)) → 𝑥𝐷)
96, 8ffvelrnd 6962 . . . . . . . 8 (((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) ∧ 𝑥 ∈ (𝒫 𝐴 ∩ dom card)) → (𝐹𝑥) ∈ 𝐴)
10 canth4.2 . . . . . . . 8 𝐵 = dom 𝑊
114, 5, 9, 10fpwwe 10402 . . . . . . 7 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → ((𝐵𝑊(𝑊𝐵) ∧ (𝐹𝐵) ∈ 𝐵) ↔ (𝐵 = 𝐵 ∧ (𝑊𝐵) = (𝑊𝐵))))
123, 11mpbiri 257 . . . . . 6 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → (𝐵𝑊(𝑊𝐵) ∧ (𝐹𝐵) ∈ 𝐵))
1312simpld 495 . . . . 5 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → 𝐵𝑊(𝑊𝐵))
144, 5fpwwelem 10401 . . . . 5 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → (𝐵𝑊(𝑊𝐵) ↔ ((𝐵𝐴 ∧ (𝑊𝐵) ⊆ (𝐵 × 𝐵)) ∧ ((𝑊𝐵) We 𝐵 ∧ ∀𝑦𝐵 (𝐹‘((𝑊𝐵) “ {𝑦})) = 𝑦))))
1513, 14mpbid 231 . . . 4 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → ((𝐵𝐴 ∧ (𝑊𝐵) ⊆ (𝐵 × 𝐵)) ∧ ((𝑊𝐵) We 𝐵 ∧ ∀𝑦𝐵 (𝐹‘((𝑊𝐵) “ {𝑦})) = 𝑦)))
1615simpld 495 . . 3 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → (𝐵𝐴 ∧ (𝑊𝐵) ⊆ (𝐵 × 𝐵)))
1716simpld 495 . 2 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → 𝐵𝐴)
18 canth4.3 . . . . 5 𝐶 = ((𝑊𝐵) “ {(𝐹𝐵)})
19 cnvimass 5989 . . . . 5 ((𝑊𝐵) “ {(𝐹𝐵)}) ⊆ dom (𝑊𝐵)
2018, 19eqsstri 3955 . . . 4 𝐶 ⊆ dom (𝑊𝐵)
2116simprd 496 . . . . . 6 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → (𝑊𝐵) ⊆ (𝐵 × 𝐵))
22 dmss 5811 . . . . . 6 ((𝑊𝐵) ⊆ (𝐵 × 𝐵) → dom (𝑊𝐵) ⊆ dom (𝐵 × 𝐵))
2321, 22syl 17 . . . . 5 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → dom (𝑊𝐵) ⊆ dom (𝐵 × 𝐵))
24 dmxpid 5839 . . . . 5 dom (𝐵 × 𝐵) = 𝐵
2523, 24sseqtrdi 3971 . . . 4 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → dom (𝑊𝐵) ⊆ 𝐵)
2620, 25sstrid 3932 . . 3 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → 𝐶𝐵)
2712simprd 496 . . 3 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → (𝐹𝐵) ∈ 𝐵)
2815simprd 496 . . . . . . 7 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → ((𝑊𝐵) We 𝐵 ∧ ∀𝑦𝐵 (𝐹‘((𝑊𝐵) “ {𝑦})) = 𝑦))
2928simpld 495 . . . . . 6 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → (𝑊𝐵) We 𝐵)
30 weso 5580 . . . . . 6 ((𝑊𝐵) We 𝐵 → (𝑊𝐵) Or 𝐵)
3129, 30syl 17 . . . . 5 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → (𝑊𝐵) Or 𝐵)
32 sonr 5526 . . . . 5 (((𝑊𝐵) Or 𝐵 ∧ (𝐹𝐵) ∈ 𝐵) → ¬ (𝐹𝐵)(𝑊𝐵)(𝐹𝐵))
3331, 27, 32syl2anc 584 . . . 4 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → ¬ (𝐹𝐵)(𝑊𝐵)(𝐹𝐵))
3418eleq2i 2830 . . . . 5 ((𝐹𝐵) ∈ 𝐶 ↔ (𝐹𝐵) ∈ ((𝑊𝐵) “ {(𝐹𝐵)}))
35 fvex 6787 . . . . . 6 (𝐹𝐵) ∈ V
3635eliniseg 6002 . . . . . 6 ((𝐹𝐵) ∈ V → ((𝐹𝐵) ∈ ((𝑊𝐵) “ {(𝐹𝐵)}) ↔ (𝐹𝐵)(𝑊𝐵)(𝐹𝐵)))
3735, 36ax-mp 5 . . . . 5 ((𝐹𝐵) ∈ ((𝑊𝐵) “ {(𝐹𝐵)}) ↔ (𝐹𝐵)(𝑊𝐵)(𝐹𝐵))
3834, 37bitri 274 . . . 4 ((𝐹𝐵) ∈ 𝐶 ↔ (𝐹𝐵)(𝑊𝐵)(𝐹𝐵))
3933, 38sylnibr 329 . . 3 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → ¬ (𝐹𝐵) ∈ 𝐶)
4026, 27, 39ssnelpssd 4047 . 2 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → 𝐶𝐵)
41 sneq 4571 . . . . . . . 8 (𝑦 = (𝐹𝐵) → {𝑦} = {(𝐹𝐵)})
4241imaeq2d 5969 . . . . . . 7 (𝑦 = (𝐹𝐵) → ((𝑊𝐵) “ {𝑦}) = ((𝑊𝐵) “ {(𝐹𝐵)}))
4342, 18eqtr4di 2796 . . . . . 6 (𝑦 = (𝐹𝐵) → ((𝑊𝐵) “ {𝑦}) = 𝐶)
4443fveq2d 6778 . . . . 5 (𝑦 = (𝐹𝐵) → (𝐹‘((𝑊𝐵) “ {𝑦})) = (𝐹𝐶))
45 id 22 . . . . 5 (𝑦 = (𝐹𝐵) → 𝑦 = (𝐹𝐵))
4644, 45eqeq12d 2754 . . . 4 (𝑦 = (𝐹𝐵) → ((𝐹‘((𝑊𝐵) “ {𝑦})) = 𝑦 ↔ (𝐹𝐶) = (𝐹𝐵)))
4728simprd 496 . . . 4 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → ∀𝑦𝐵 (𝐹‘((𝑊𝐵) “ {𝑦})) = 𝑦)
4846, 47, 27rspcdva 3562 . . 3 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → (𝐹𝐶) = (𝐹𝐵))
4948eqcomd 2744 . 2 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → (𝐹𝐵) = (𝐹𝐶))
5017, 40, 493jca 1127 1 ((𝐴𝑉𝐹:𝐷𝐴 ∧ (𝒫 𝐴 ∩ dom card) ⊆ 𝐷) → (𝐵𝐴𝐶𝐵 ∧ (𝐹𝐵) = (𝐹𝐶)))
Colors of variables: wff setvar class
Syntax hints:  ¬ wn 3  wi 4  wb 205  wa 396  w3a 1086   = wceq 1539  wcel 2106  wral 3064  Vcvv 3432  cin 3886  wss 3887  wpss 3888  𝒫 cpw 4533  {csn 4561   cuni 4839   class class class wbr 5074  {copab 5136   Or wor 5502   We wwe 5543   × cxp 5587  ccnv 5588  dom cdm 5589  cima 5592  wf 6429  cfv 6433  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-rep 5209  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-rmo 3071  df-reu 3072  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-tp 4566  df-op 4568  df-uni 4840  df-int 4880  df-iun 4926  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-se 5545  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-pred 6202  df-ord 6269  df-on 6270  df-lim 6271  df-suc 6272  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-isom 6442  df-riota 7232  df-ov 7278  df-1st 7831  df-2nd 7832  df-frecs 8097  df-wrecs 8128  df-recs 8202  df-en 8734  df-oi 9269  df-card 9697
This theorem is referenced by:  canthnumlem  10404  canthp1lem2  10409
  Copyright terms: Public domain W3C validator