ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  fundmen GIF version

Theorem fundmen 6772
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 4870 . . 3 dom 𝐹 ∈ V
32a1i 9 . 2 (Fun 𝐹 → dom 𝐹 ∈ V)
41a1i 9 . 2 (Fun 𝐹𝐹 ∈ V)
5 funfvop 5597 . . 3 ((Fun 𝐹𝑥 ∈ dom 𝐹) → ⟨𝑥, (𝐹𝑥)⟩ ∈ 𝐹)
65ex 114 . 2 (Fun 𝐹 → (𝑥 ∈ dom 𝐹 → ⟨𝑥, (𝐹𝑥)⟩ ∈ 𝐹))
7 funrel 5205 . . 3 (Fun 𝐹 → Rel 𝐹)
8 elreldm 4830 . . . 4 ((Rel 𝐹𝑦𝐹) → 𝑦 ∈ dom 𝐹)
98ex 114 . . 3 (Rel 𝐹 → (𝑦𝐹 𝑦 ∈ dom 𝐹))
107, 9syl 14 . 2 (Fun 𝐹 → (𝑦𝐹 𝑦 ∈ dom 𝐹))
11 df-rel 4611 . . . . . . . . 9 (Rel 𝐹𝐹 ⊆ (V × V))
127, 11sylib 121 . . . . . . . 8 (Fun 𝐹𝐹 ⊆ (V × V))
1312sselda 3142 . . . . . . 7 ((Fun 𝐹𝑦𝐹) → 𝑦 ∈ (V × V))
14 elvv 4666 . . . . . . 7 (𝑦 ∈ (V × V) ↔ ∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩)
1513, 14sylib 121 . . . . . 6 ((Fun 𝐹𝑦𝐹) → ∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩)
16 inteq 3827 . . . . . . . . . . . . . . . . 17 (𝑦 = ⟨𝑧, 𝑤⟩ → 𝑦 = 𝑧, 𝑤⟩)
1716inteqd 3829 . . . . . . . . . . . . . . . 16 (𝑦 = ⟨𝑧, 𝑤⟩ → 𝑦 = 𝑧, 𝑤⟩)
18 vex 2729 . . . . . . . . . . . . . . . . 17 𝑧 ∈ V
19 vex 2729 . . . . . . . . . . . . . . . . 17 𝑤 ∈ V
2018, 19op1stb 4456 . . . . . . . . . . . . . . . 16 𝑧, 𝑤⟩ = 𝑧
2117, 20eqtrdi 2215 . . . . . . . . . . . . . . 15 (𝑦 = ⟨𝑧, 𝑤⟩ → 𝑦 = 𝑧)
22 eqeq1 2172 . . . . . . . . . . . . . . 15 (𝑥 = 𝑦 → (𝑥 = 𝑧 𝑦 = 𝑧))
2321, 22syl5ibr 155 . . . . . . . . . . . . . 14 (𝑥 = 𝑦 → (𝑦 = ⟨𝑧, 𝑤⟩ → 𝑥 = 𝑧))
24 opeq1 3758 . . . . . . . . . . . . . 14 (𝑥 = 𝑧 → ⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩)
2523, 24syl6 33 . . . . . . . . . . . . 13 (𝑥 = 𝑦 → (𝑦 = ⟨𝑧, 𝑤⟩ → ⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩))
2625imp 123 . . . . . . . . . . . 12 ((𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩) → ⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩)
27 eqeq2 2175 . . . . . . . . . . . . . 14 (⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩ → (𝑦 = ⟨𝑥, 𝑤⟩ ↔ 𝑦 = ⟨𝑧, 𝑤⟩))
2827biimprcd 159 . . . . . . . . . . . . 13 (𝑦 = ⟨𝑧, 𝑤⟩ → (⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩ → 𝑦 = ⟨𝑥, 𝑤⟩))
2928adantl 275 . . . . . . . . . . . 12 ((𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩) → (⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩ → 𝑦 = ⟨𝑥, 𝑤⟩))
3026, 29mpd 13 . . . . . . . . . . 11 ((𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩) → 𝑦 = ⟨𝑥, 𝑤⟩)
3130ancoms 266 . . . . . . . . . 10 ((𝑦 = ⟨𝑧, 𝑤⟩ ∧ 𝑥 = 𝑦) → 𝑦 = ⟨𝑥, 𝑤⟩)
3231adantl 275 . . . . . . . . 9 (((Fun 𝐹𝑦𝐹) ∧ (𝑦 = ⟨𝑧, 𝑤⟩ ∧ 𝑥 = 𝑦)) → 𝑦 = ⟨𝑥, 𝑤⟩)
3330eleq1d 2235 . . . . . . . . . . . . . . 15 ((𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩) → (𝑦𝐹 ↔ ⟨𝑥, 𝑤⟩ ∈ 𝐹))
3433adantl 275 . . . . . . . . . . . . . 14 ((Fun 𝐹 ∧ (𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩)) → (𝑦𝐹 ↔ ⟨𝑥, 𝑤⟩ ∈ 𝐹))
35 funopfv 5526 . . . . . . . . . . . . . . 15 (Fun 𝐹 → (⟨𝑥, 𝑤⟩ ∈ 𝐹 → (𝐹𝑥) = 𝑤))
3635adantr 274 . . . . . . . . . . . . . 14 ((Fun 𝐹 ∧ (𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩)) → (⟨𝑥, 𝑤⟩ ∈ 𝐹 → (𝐹𝑥) = 𝑤))
3734, 36sylbid 149 . . . . . . . . . . . . 13 ((Fun 𝐹 ∧ (𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩)) → (𝑦𝐹 → (𝐹𝑥) = 𝑤))
3837exp32 363 . . . . . . . . . . . 12 (Fun 𝐹 → (𝑥 = 𝑦 → (𝑦 = ⟨𝑧, 𝑤⟩ → (𝑦𝐹 → (𝐹𝑥) = 𝑤))))
3938com24 87 . . . . . . . . . . 11 (Fun 𝐹 → (𝑦𝐹 → (𝑦 = ⟨𝑧, 𝑤⟩ → (𝑥 = 𝑦 → (𝐹𝑥) = 𝑤))))
4039imp43 353 . . . . . . . . . 10 (((Fun 𝐹𝑦𝐹) ∧ (𝑦 = ⟨𝑧, 𝑤⟩ ∧ 𝑥 = 𝑦)) → (𝐹𝑥) = 𝑤)
4140opeq2d 3765 . . . . . . . . 9 (((Fun 𝐹𝑦𝐹) ∧ (𝑦 = ⟨𝑧, 𝑤⟩ ∧ 𝑥 = 𝑦)) → ⟨𝑥, (𝐹𝑥)⟩ = ⟨𝑥, 𝑤⟩)
4232, 41eqtr4d 2201 . . . . . . . 8 (((Fun 𝐹𝑦𝐹) ∧ (𝑦 = ⟨𝑧, 𝑤⟩ ∧ 𝑥 = 𝑦)) → 𝑦 = ⟨𝑥, (𝐹𝑥)⟩)
4342exp32 363 . . . . . . 7 ((Fun 𝐹𝑦𝐹) → (𝑦 = ⟨𝑧, 𝑤⟩ → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩)))
4443exlimdvv 1885 . . . . . 6 ((Fun 𝐹𝑦𝐹) → (∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩ → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩)))
4515, 44mpd 13 . . . . 5 ((Fun 𝐹𝑦𝐹) → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩))
4645adantrl 470 . . . 4 ((Fun 𝐹 ∧ (𝑥 ∈ dom 𝐹𝑦𝐹)) → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩))
47 inteq 3827 . . . . . . . . 9 (𝑦 = ⟨𝑥, (𝐹𝑥)⟩ → 𝑦 = 𝑥, (𝐹𝑥)⟩)
4847inteqd 3829 . . . . . . . 8 (𝑦 = ⟨𝑥, (𝐹𝑥)⟩ → 𝑦 = 𝑥, (𝐹𝑥)⟩)
4948adantl 275 . . . . . . 7 (((Fun 𝐹𝑥 ∈ dom 𝐹) ∧ 𝑦 = ⟨𝑥, (𝐹𝑥)⟩) → 𝑦 = 𝑥, (𝐹𝑥)⟩)
50 vex 2729 . . . . . . . . 9 𝑥 ∈ V
51 funfvex 5503 . . . . . . . . 9 ((Fun 𝐹𝑥 ∈ dom 𝐹) → (𝐹𝑥) ∈ V)
52 op1stbg 4457 . . . . . . . . 9 ((𝑥 ∈ V ∧ (𝐹𝑥) ∈ V) → 𝑥, (𝐹𝑥)⟩ = 𝑥)
5350, 51, 52sylancr 411 . . . . . . . 8 ((Fun 𝐹𝑥 ∈ dom 𝐹) → 𝑥, (𝐹𝑥)⟩ = 𝑥)
5453adantr 274 . . . . . . 7 (((Fun 𝐹𝑥 ∈ dom 𝐹) ∧ 𝑦 = ⟨𝑥, (𝐹𝑥)⟩) → 𝑥, (𝐹𝑥)⟩ = 𝑥)
5549, 54eqtr2d 2199 . . . . . 6 (((Fun 𝐹𝑥 ∈ dom 𝐹) ∧ 𝑦 = ⟨𝑥, (𝐹𝑥)⟩) → 𝑥 = 𝑦)
5655ex 114 . . . . 5 ((Fun 𝐹𝑥 ∈ dom 𝐹) → (𝑦 = ⟨𝑥, (𝐹𝑥)⟩ → 𝑥 = 𝑦))
5756adantrr 471 . . . 4 ((Fun 𝐹 ∧ (𝑥 ∈ dom 𝐹𝑦𝐹)) → (𝑦 = ⟨𝑥, (𝐹𝑥)⟩ → 𝑥 = 𝑦))
5846, 57impbid 128 . . 3 ((Fun 𝐹 ∧ (𝑥 ∈ dom 𝐹𝑦𝐹)) → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩))
5958ex 114 . 2 (Fun 𝐹 → ((𝑥 ∈ dom 𝐹𝑦𝐹) → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩)))
603, 4, 6, 10, 59en3d 6735 1 (Fun 𝐹 → dom 𝐹𝐹)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104   = wceq 1343  wex 1480  wcel 2136  Vcvv 2726  wss 3116  cop 3579   cint 3824   class class class wbr 3982   × cxp 4602  dom cdm 4604  Rel wrel 4609  Fun wfun 5182  cfv 5188  cen 6704
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-13 2138  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187  ax-un 4411
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-v 2728  df-sbc 2952  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-uni 3790  df-int 3825  df-br 3983  df-opab 4044  df-mpt 4045  df-id 4271  df-xp 4610  df-rel 4611  df-cnv 4612  df-co 4613  df-dm 4614  df-rn 4615  df-iota 5153  df-fun 5190  df-fn 5191  df-f 5192  df-f1 5193  df-fo 5194  df-f1o 5195  df-fv 5196  df-en 6707
This theorem is referenced by:  fundmeng  6773
  Copyright terms: Public domain W3C validator