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

Theorem fundmen 8821
Description: A function is equinumerous to its domain. Exercise 4 of [Suppes] p. 98. (Contributed by NM, 28-Jul-2004.) (Revised by Mario Carneiro, 15-Nov-2014.)
Hypothesis
Ref Expression
fundmen.1 𝐹 ∈ V
Assertion
Ref Expression
fundmen (Fun 𝐹 → dom 𝐹𝐹)

Proof of Theorem fundmen
Dummy variables 𝑥 𝑦 𝑧 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fundmen.1 . . . 4 𝐹 ∈ V
21dmex 7758 . . 3 dom 𝐹 ∈ V
32a1i 11 . 2 (Fun 𝐹 → dom 𝐹 ∈ V)
41a1i 11 . 2 (Fun 𝐹𝐹 ∈ V)
5 funfvop 6927 . . 3 ((Fun 𝐹𝑥 ∈ dom 𝐹) → ⟨𝑥, (𝐹𝑥)⟩ ∈ 𝐹)
65ex 413 . 2 (Fun 𝐹 → (𝑥 ∈ dom 𝐹 → ⟨𝑥, (𝐹𝑥)⟩ ∈ 𝐹))
7 funrel 6451 . . 3 (Fun 𝐹 → Rel 𝐹)
8 elreldm 5844 . . . 4 ((Rel 𝐹𝑦𝐹) → 𝑦 ∈ dom 𝐹)
98ex 413 . . 3 (Rel 𝐹 → (𝑦𝐹 𝑦 ∈ dom 𝐹))
107, 9syl 17 . 2 (Fun 𝐹 → (𝑦𝐹 𝑦 ∈ dom 𝐹))
11 df-rel 5596 . . . . . . . . 9 (Rel 𝐹𝐹 ⊆ (V × V))
127, 11sylib 217 . . . . . . . 8 (Fun 𝐹𝐹 ⊆ (V × V))
1312sselda 3921 . . . . . . 7 ((Fun 𝐹𝑦𝐹) → 𝑦 ∈ (V × V))
14 elvv 5661 . . . . . . 7 (𝑦 ∈ (V × V) ↔ ∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩)
1513, 14sylib 217 . . . . . 6 ((Fun 𝐹𝑦𝐹) → ∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩)
16 inteq 4882 . . . . . . . . . . . . . . . . 17 (𝑦 = ⟨𝑧, 𝑤⟩ → 𝑦 = 𝑧, 𝑤⟩)
1716inteqd 4884 . . . . . . . . . . . . . . . 16 (𝑦 = ⟨𝑧, 𝑤⟩ → 𝑦 = 𝑧, 𝑤⟩)
18 vex 3436 . . . . . . . . . . . . . . . . 17 𝑧 ∈ V
19 vex 3436 . . . . . . . . . . . . . . . . 17 𝑤 ∈ V
2018, 19op1stb 5386 . . . . . . . . . . . . . . . 16 𝑧, 𝑤⟩ = 𝑧
2117, 20eqtrdi 2794 . . . . . . . . . . . . . . 15 (𝑦 = ⟨𝑧, 𝑤⟩ → 𝑦 = 𝑧)
22 eqeq1 2742 . . . . . . . . . . . . . . 15 (𝑥 = 𝑦 → (𝑥 = 𝑧 𝑦 = 𝑧))
2321, 22syl5ibr 245 . . . . . . . . . . . . . 14 (𝑥 = 𝑦 → (𝑦 = ⟨𝑧, 𝑤⟩ → 𝑥 = 𝑧))
24 opeq1 4804 . . . . . . . . . . . . . 14 (𝑥 = 𝑧 → ⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩)
2523, 24syl6 35 . . . . . . . . . . . . 13 (𝑥 = 𝑦 → (𝑦 = ⟨𝑧, 𝑤⟩ → ⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩))
2625imp 407 . . . . . . . . . . . 12 ((𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩) → ⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩)
27 eqeq2 2750 . . . . . . . . . . . . . 14 (⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩ → (𝑦 = ⟨𝑥, 𝑤⟩ ↔ 𝑦 = ⟨𝑧, 𝑤⟩))
2827biimprcd 249 . . . . . . . . . . . . 13 (𝑦 = ⟨𝑧, 𝑤⟩ → (⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩ → 𝑦 = ⟨𝑥, 𝑤⟩))
2928adantl 482 . . . . . . . . . . . 12 ((𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩) → (⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩ → 𝑦 = ⟨𝑥, 𝑤⟩))
3026, 29mpd 15 . . . . . . . . . . 11 ((𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩) → 𝑦 = ⟨𝑥, 𝑤⟩)
3130ancoms 459 . . . . . . . . . 10 ((𝑦 = ⟨𝑧, 𝑤⟩ ∧ 𝑥 = 𝑦) → 𝑦 = ⟨𝑥, 𝑤⟩)
3231adantl 482 . . . . . . . . 9 (((Fun 𝐹𝑦𝐹) ∧ (𝑦 = ⟨𝑧, 𝑤⟩ ∧ 𝑥 = 𝑦)) → 𝑦 = ⟨𝑥, 𝑤⟩)
3330eleq1d 2823 . . . . . . . . . . . . . . 15 ((𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩) → (𝑦𝐹 ↔ ⟨𝑥, 𝑤⟩ ∈ 𝐹))
3433adantl 482 . . . . . . . . . . . . . 14 ((Fun 𝐹 ∧ (𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩)) → (𝑦𝐹 ↔ ⟨𝑥, 𝑤⟩ ∈ 𝐹))
35 funopfv 6821 . . . . . . . . . . . . . . 15 (Fun 𝐹 → (⟨𝑥, 𝑤⟩ ∈ 𝐹 → (𝐹𝑥) = 𝑤))
3635adantr 481 . . . . . . . . . . . . . 14 ((Fun 𝐹 ∧ (𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩)) → (⟨𝑥, 𝑤⟩ ∈ 𝐹 → (𝐹𝑥) = 𝑤))
3734, 36sylbid 239 . . . . . . . . . . . . 13 ((Fun 𝐹 ∧ (𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩)) → (𝑦𝐹 → (𝐹𝑥) = 𝑤))
3837exp32 421 . . . . . . . . . . . 12 (Fun 𝐹 → (𝑥 = 𝑦 → (𝑦 = ⟨𝑧, 𝑤⟩ → (𝑦𝐹 → (𝐹𝑥) = 𝑤))))
3938com24 95 . . . . . . . . . . 11 (Fun 𝐹 → (𝑦𝐹 → (𝑦 = ⟨𝑧, 𝑤⟩ → (𝑥 = 𝑦 → (𝐹𝑥) = 𝑤))))
4039imp43 428 . . . . . . . . . 10 (((Fun 𝐹𝑦𝐹) ∧ (𝑦 = ⟨𝑧, 𝑤⟩ ∧ 𝑥 = 𝑦)) → (𝐹𝑥) = 𝑤)
4140opeq2d 4811 . . . . . . . . 9 (((Fun 𝐹𝑦𝐹) ∧ (𝑦 = ⟨𝑧, 𝑤⟩ ∧ 𝑥 = 𝑦)) → ⟨𝑥, (𝐹𝑥)⟩ = ⟨𝑥, 𝑤⟩)
4232, 41eqtr4d 2781 . . . . . . . 8 (((Fun 𝐹𝑦𝐹) ∧ (𝑦 = ⟨𝑧, 𝑤⟩ ∧ 𝑥 = 𝑦)) → 𝑦 = ⟨𝑥, (𝐹𝑥)⟩)
4342exp32 421 . . . . . . 7 ((Fun 𝐹𝑦𝐹) → (𝑦 = ⟨𝑧, 𝑤⟩ → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩)))
4443exlimdvv 1937 . . . . . 6 ((Fun 𝐹𝑦𝐹) → (∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩ → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩)))
4515, 44mpd 15 . . . . 5 ((Fun 𝐹𝑦𝐹) → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩))
4645adantrl 713 . . . 4 ((Fun 𝐹 ∧ (𝑥 ∈ dom 𝐹𝑦𝐹)) → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩))
47 inteq 4882 . . . . . 6 (𝑦 = ⟨𝑥, (𝐹𝑥)⟩ → 𝑦 = 𝑥, (𝐹𝑥)⟩)
4847inteqd 4884 . . . . 5 (𝑦 = ⟨𝑥, (𝐹𝑥)⟩ → 𝑦 = 𝑥, (𝐹𝑥)⟩)
49 vex 3436 . . . . . 6 𝑥 ∈ V
50 fvex 6787 . . . . . 6 (𝐹𝑥) ∈ V
5149, 50op1stb 5386 . . . . 5 𝑥, (𝐹𝑥)⟩ = 𝑥
5248, 51eqtr2di 2795 . . . 4 (𝑦 = ⟨𝑥, (𝐹𝑥)⟩ → 𝑥 = 𝑦)
5346, 52impbid1 224 . . 3 ((Fun 𝐹 ∧ (𝑥 ∈ dom 𝐹𝑦𝐹)) → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩))
5453ex 413 . 2 (Fun 𝐹 → ((𝑥 ∈ dom 𝐹𝑦𝐹) → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩)))
553, 4, 6, 10, 54en3d 8777 1 (Fun 𝐹 → dom 𝐹𝐹)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 205  wa 396   = wceq 1539  wex 1782  wcel 2106  Vcvv 3432  wss 3887  cop 4567   cint 4879   class class class wbr 5074   × cxp 5587  dom cdm 5589  Rel wrel 5594  Fun wfun 6427  cfv 6433  cen 8730
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-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-ral 3069  df-rex 3070  df-rab 3073  df-v 3434  df-dif 3890  df-un 3892  df-in 3894  df-ss 3904  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-id 5489  df-xp 5595  df-rel 5596  df-cnv 5597  df-co 5598  df-dm 5599  df-rn 5600  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-en 8734
This theorem is referenced by:  fundmeng  8822  infmap2  9974  heicant  35812
  Copyright terms: Public domain W3C validator