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

Theorem fundmen 6286
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 4598 . . 3 dom 𝐹 ∈ V
32a1i 9 . 2 (Fun 𝐹 → dom 𝐹 ∈ V)
41a1i 9 . 2 (Fun 𝐹𝐹 ∈ V)
5 funfvop 5279 . . 3 ((Fun 𝐹𝑥 ∈ dom 𝐹) → ⟨𝑥, (𝐹𝑥)⟩ ∈ 𝐹)
65ex 108 . 2 (Fun 𝐹 → (𝑥 ∈ dom 𝐹 → ⟨𝑥, (𝐹𝑥)⟩ ∈ 𝐹))
7 funrel 4919 . . 3 (Fun 𝐹 → Rel 𝐹)
8 elreldm 4560 . . . 4 ((Rel 𝐹𝑦𝐹) → 𝑦 ∈ dom 𝐹)
98ex 108 . . 3 (Rel 𝐹 → (𝑦𝐹 𝑦 ∈ dom 𝐹))
107, 9syl 14 . 2 (Fun 𝐹 → (𝑦𝐹 𝑦 ∈ dom 𝐹))
11 df-rel 4352 . . . . . . . . 9 (Rel 𝐹𝐹 ⊆ (V × V))
127, 11sylib 127 . . . . . . . 8 (Fun 𝐹𝐹 ⊆ (V × V))
1312sselda 2945 . . . . . . 7 ((Fun 𝐹𝑦𝐹) → 𝑦 ∈ (V × V))
14 elvv 4402 . . . . . . 7 (𝑦 ∈ (V × V) ↔ ∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩)
1513, 14sylib 127 . . . . . 6 ((Fun 𝐹𝑦𝐹) → ∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩)
16 inteq 3618 . . . . . . . . . . . . . . . . 17 (𝑦 = ⟨𝑧, 𝑤⟩ → 𝑦 = 𝑧, 𝑤⟩)
1716inteqd 3620 . . . . . . . . . . . . . . . 16 (𝑦 = ⟨𝑧, 𝑤⟩ → 𝑦 = 𝑧, 𝑤⟩)
18 vex 2560 . . . . . . . . . . . . . . . . 17 𝑧 ∈ V
19 vex 2560 . . . . . . . . . . . . . . . . 17 𝑤 ∈ V
2018, 19op1stb 4209 . . . . . . . . . . . . . . . 16 𝑧, 𝑤⟩ = 𝑧
2117, 20syl6eq 2088 . . . . . . . . . . . . . . 15 (𝑦 = ⟨𝑧, 𝑤⟩ → 𝑦 = 𝑧)
22 eqeq1 2046 . . . . . . . . . . . . . . 15 (𝑥 = 𝑦 → (𝑥 = 𝑧 𝑦 = 𝑧))
2321, 22syl5ibr 145 . . . . . . . . . . . . . 14 (𝑥 = 𝑦 → (𝑦 = ⟨𝑧, 𝑤⟩ → 𝑥 = 𝑧))
24 opeq1 3549 . . . . . . . . . . . . . 14 (𝑥 = 𝑧 → ⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩)
2523, 24syl6 29 . . . . . . . . . . . . 13 (𝑥 = 𝑦 → (𝑦 = ⟨𝑧, 𝑤⟩ → ⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩))
2625imp 115 . . . . . . . . . . . 12 ((𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩) → ⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩)
27 eqeq2 2049 . . . . . . . . . . . . . 14 (⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩ → (𝑦 = ⟨𝑥, 𝑤⟩ ↔ 𝑦 = ⟨𝑧, 𝑤⟩))
2827biimprcd 149 . . . . . . . . . . . . 13 (𝑦 = ⟨𝑧, 𝑤⟩ → (⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩ → 𝑦 = ⟨𝑥, 𝑤⟩))
2928adantl 262 . . . . . . . . . . . 12 ((𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩) → (⟨𝑥, 𝑤⟩ = ⟨𝑧, 𝑤⟩ → 𝑦 = ⟨𝑥, 𝑤⟩))
3026, 29mpd 13 . . . . . . . . . . 11 ((𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩) → 𝑦 = ⟨𝑥, 𝑤⟩)
3130ancoms 255 . . . . . . . . . 10 ((𝑦 = ⟨𝑧, 𝑤⟩ ∧ 𝑥 = 𝑦) → 𝑦 = ⟨𝑥, 𝑤⟩)
3231adantl 262 . . . . . . . . 9 (((Fun 𝐹𝑦𝐹) ∧ (𝑦 = ⟨𝑧, 𝑤⟩ ∧ 𝑥 = 𝑦)) → 𝑦 = ⟨𝑥, 𝑤⟩)
3330eleq1d 2106 . . . . . . . . . . . . . . 15 ((𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩) → (𝑦𝐹 ↔ ⟨𝑥, 𝑤⟩ ∈ 𝐹))
3433adantl 262 . . . . . . . . . . . . . 14 ((Fun 𝐹 ∧ (𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩)) → (𝑦𝐹 ↔ ⟨𝑥, 𝑤⟩ ∈ 𝐹))
35 funopfv 5213 . . . . . . . . . . . . . . 15 (Fun 𝐹 → (⟨𝑥, 𝑤⟩ ∈ 𝐹 → (𝐹𝑥) = 𝑤))
3635adantr 261 . . . . . . . . . . . . . 14 ((Fun 𝐹 ∧ (𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩)) → (⟨𝑥, 𝑤⟩ ∈ 𝐹 → (𝐹𝑥) = 𝑤))
3734, 36sylbid 139 . . . . . . . . . . . . 13 ((Fun 𝐹 ∧ (𝑥 = 𝑦𝑦 = ⟨𝑧, 𝑤⟩)) → (𝑦𝐹 → (𝐹𝑥) = 𝑤))
3837exp32 347 . . . . . . . . . . . 12 (Fun 𝐹 → (𝑥 = 𝑦 → (𝑦 = ⟨𝑧, 𝑤⟩ → (𝑦𝐹 → (𝐹𝑥) = 𝑤))))
3938com24 81 . . . . . . . . . . 11 (Fun 𝐹 → (𝑦𝐹 → (𝑦 = ⟨𝑧, 𝑤⟩ → (𝑥 = 𝑦 → (𝐹𝑥) = 𝑤))))
4039imp43 337 . . . . . . . . . 10 (((Fun 𝐹𝑦𝐹) ∧ (𝑦 = ⟨𝑧, 𝑤⟩ ∧ 𝑥 = 𝑦)) → (𝐹𝑥) = 𝑤)
4140opeq2d 3556 . . . . . . . . 9 (((Fun 𝐹𝑦𝐹) ∧ (𝑦 = ⟨𝑧, 𝑤⟩ ∧ 𝑥 = 𝑦)) → ⟨𝑥, (𝐹𝑥)⟩ = ⟨𝑥, 𝑤⟩)
4232, 41eqtr4d 2075 . . . . . . . 8 (((Fun 𝐹𝑦𝐹) ∧ (𝑦 = ⟨𝑧, 𝑤⟩ ∧ 𝑥 = 𝑦)) → 𝑦 = ⟨𝑥, (𝐹𝑥)⟩)
4342exp32 347 . . . . . . 7 ((Fun 𝐹𝑦𝐹) → (𝑦 = ⟨𝑧, 𝑤⟩ → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩)))
4443exlimdvv 1777 . . . . . 6 ((Fun 𝐹𝑦𝐹) → (∃𝑧𝑤 𝑦 = ⟨𝑧, 𝑤⟩ → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩)))
4515, 44mpd 13 . . . . 5 ((Fun 𝐹𝑦𝐹) → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩))
4645adantrl 447 . . . 4 ((Fun 𝐹 ∧ (𝑥 ∈ dom 𝐹𝑦𝐹)) → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩))
47 inteq 3618 . . . . . . . . 9 (𝑦 = ⟨𝑥, (𝐹𝑥)⟩ → 𝑦 = 𝑥, (𝐹𝑥)⟩)
4847inteqd 3620 . . . . . . . 8 (𝑦 = ⟨𝑥, (𝐹𝑥)⟩ → 𝑦 = 𝑥, (𝐹𝑥)⟩)
4948adantl 262 . . . . . . 7 (((Fun 𝐹𝑥 ∈ dom 𝐹) ∧ 𝑦 = ⟨𝑥, (𝐹𝑥)⟩) → 𝑦 = 𝑥, (𝐹𝑥)⟩)
50 vex 2560 . . . . . . . . 9 𝑥 ∈ V
51 funfvex 5192 . . . . . . . . 9 ((Fun 𝐹𝑥 ∈ dom 𝐹) → (𝐹𝑥) ∈ V)
52 op1stbg 4210 . . . . . . . . 9 ((𝑥 ∈ V ∧ (𝐹𝑥) ∈ V) → 𝑥, (𝐹𝑥)⟩ = 𝑥)
5350, 51, 52sylancr 393 . . . . . . . 8 ((Fun 𝐹𝑥 ∈ dom 𝐹) → 𝑥, (𝐹𝑥)⟩ = 𝑥)
5453adantr 261 . . . . . . 7 (((Fun 𝐹𝑥 ∈ dom 𝐹) ∧ 𝑦 = ⟨𝑥, (𝐹𝑥)⟩) → 𝑥, (𝐹𝑥)⟩ = 𝑥)
5549, 54eqtr2d 2073 . . . . . 6 (((Fun 𝐹𝑥 ∈ dom 𝐹) ∧ 𝑦 = ⟨𝑥, (𝐹𝑥)⟩) → 𝑥 = 𝑦)
5655ex 108 . . . . 5 ((Fun 𝐹𝑥 ∈ dom 𝐹) → (𝑦 = ⟨𝑥, (𝐹𝑥)⟩ → 𝑥 = 𝑦))
5756adantrr 448 . . . 4 ((Fun 𝐹 ∧ (𝑥 ∈ dom 𝐹𝑦𝐹)) → (𝑦 = ⟨𝑥, (𝐹𝑥)⟩ → 𝑥 = 𝑦))
5846, 57impbid 120 . . 3 ((Fun 𝐹 ∧ (𝑥 ∈ dom 𝐹𝑦𝐹)) → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩))
5958ex 108 . 2 (Fun 𝐹 → ((𝑥 ∈ dom 𝐹𝑦𝐹) → (𝑥 = 𝑦𝑦 = ⟨𝑥, (𝐹𝑥)⟩)))
603, 4, 6, 10, 59en3d 6249 1 (Fun 𝐹 → dom 𝐹𝐹)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 97  wb 98   = wceq 1243  wex 1381  wcel 1393  Vcvv 2557  wss 2917  cop 3378   cint 3615   class class class wbr 3764   × cxp 4343  dom cdm 4345  Rel wrel 4350  Fun wfun 4896  cfv 4902  cen 6219
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-13 1404  ax-14 1405  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-sep 3875  ax-pow 3927  ax-pr 3944  ax-un 4170
This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-nf 1350  df-sb 1646  df-eu 1903  df-mo 1904  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-rex 2312  df-v 2559  df-sbc 2765  df-un 2922  df-in 2924  df-ss 2931  df-pw 3361  df-sn 3381  df-pr 3382  df-op 3384  df-uni 3581  df-int 3616  df-br 3765  df-opab 3819  df-mpt 3820  df-id 4030  df-xp 4351  df-rel 4352  df-cnv 4353  df-co 4354  df-dm 4355  df-rn 4356  df-iota 4867  df-fun 4904  df-fn 4905  df-f 4906  df-f1 4907  df-fo 4908  df-f1o 4909  df-fv 4910  df-en 6222
This theorem is referenced by:  fundmeng  6287
  Copyright terms: Public domain W3C validator