Users' Mathboxes Mathbox for Scott Fenton < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >   Mathboxes  >  funpartfun Structured version   Visualization version   GIF version

Theorem funpartfun 33517
Description: The functional part of 𝐹 is a function. (Contributed by Scott Fenton, 16-Apr-2014.) (Revised by Mario Carneiro, 19-Apr-2014.) (Proof shortened by Peter Mazsa, 2-Oct-2022.)
Assertion
Ref Expression
funpartfun Fun Funpart𝐹

Proof of Theorem funpartfun
Dummy variables 𝑥 𝑦 𝑧 𝑤 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 relres 5847 . 2 Rel (𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))
2 vex 3444 . . . . . . 7 𝑧 ∈ V
32brresi 5827 . . . . . 6 (𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧 ↔ (𝑥 ∈ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )) ∧ 𝑥𝐹𝑧))
43simprbi 500 . . . . 5 (𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧𝑥𝐹𝑧)
5 vex 3444 . . . . . . . 8 𝑦 ∈ V
65brresi 5827 . . . . . . 7 (𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦 ↔ (𝑥 ∈ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )) ∧ 𝑥𝐹𝑦))
7 funpartlem 33516 . . . . . . . 8 (𝑥 ∈ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )) ↔ ∃𝑤(𝐹 “ {𝑥}) = {𝑤})
87anbi1i 626 . . . . . . 7 ((𝑥 ∈ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )) ∧ 𝑥𝐹𝑦) ↔ (∃𝑤(𝐹 “ {𝑥}) = {𝑤} ∧ 𝑥𝐹𝑦))
96, 8bitri 278 . . . . . 6 (𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦 ↔ (∃𝑤(𝐹 “ {𝑥}) = {𝑤} ∧ 𝑥𝐹𝑦))
10 df-br 5031 . . . . . . . . . . 11 (𝑥𝐹𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹)
11 df-br 5031 . . . . . . . . . . 11 (𝑥𝐹𝑧 ↔ ⟨𝑥, 𝑧⟩ ∈ 𝐹)
1210, 11anbi12i 629 . . . . . . . . . 10 ((𝑥𝐹𝑦𝑥𝐹𝑧) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹))
13 vex 3444 . . . . . . . . . . . 12 𝑥 ∈ V
1413, 5elimasn 5921 . . . . . . . . . . 11 (𝑦 ∈ (𝐹 “ {𝑥}) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹)
1513, 2elimasn 5921 . . . . . . . . . . 11 (𝑧 ∈ (𝐹 “ {𝑥}) ↔ ⟨𝑥, 𝑧⟩ ∈ 𝐹)
1614, 15anbi12i 629 . . . . . . . . . 10 ((𝑦 ∈ (𝐹 “ {𝑥}) ∧ 𝑧 ∈ (𝐹 “ {𝑥})) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹))
1712, 16bitr4i 281 . . . . . . . . 9 ((𝑥𝐹𝑦𝑥𝐹𝑧) ↔ (𝑦 ∈ (𝐹 “ {𝑥}) ∧ 𝑧 ∈ (𝐹 “ {𝑥})))
18 eleq2 2878 . . . . . . . . . . 11 ((𝐹 “ {𝑥}) = {𝑤} → (𝑦 ∈ (𝐹 “ {𝑥}) ↔ 𝑦 ∈ {𝑤}))
19 eleq2 2878 . . . . . . . . . . 11 ((𝐹 “ {𝑥}) = {𝑤} → (𝑧 ∈ (𝐹 “ {𝑥}) ↔ 𝑧 ∈ {𝑤}))
2018, 19anbi12d 633 . . . . . . . . . 10 ((𝐹 “ {𝑥}) = {𝑤} → ((𝑦 ∈ (𝐹 “ {𝑥}) ∧ 𝑧 ∈ (𝐹 “ {𝑥})) ↔ (𝑦 ∈ {𝑤} ∧ 𝑧 ∈ {𝑤})))
21 velsn 4541 . . . . . . . . . . 11 (𝑦 ∈ {𝑤} ↔ 𝑦 = 𝑤)
22 velsn 4541 . . . . . . . . . . 11 (𝑧 ∈ {𝑤} ↔ 𝑧 = 𝑤)
23 equtr2 2034 . . . . . . . . . . 11 ((𝑦 = 𝑤𝑧 = 𝑤) → 𝑦 = 𝑧)
2421, 22, 23syl2anb 600 . . . . . . . . . 10 ((𝑦 ∈ {𝑤} ∧ 𝑧 ∈ {𝑤}) → 𝑦 = 𝑧)
2520, 24syl6bi 256 . . . . . . . . 9 ((𝐹 “ {𝑥}) = {𝑤} → ((𝑦 ∈ (𝐹 “ {𝑥}) ∧ 𝑧 ∈ (𝐹 “ {𝑥})) → 𝑦 = 𝑧))
2617, 25syl5bi 245 . . . . . . . 8 ((𝐹 “ {𝑥}) = {𝑤} → ((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧))
2726exlimiv 1931 . . . . . . 7 (∃𝑤(𝐹 “ {𝑥}) = {𝑤} → ((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧))
2827impl 459 . . . . . 6 (((∃𝑤(𝐹 “ {𝑥}) = {𝑤} ∧ 𝑥𝐹𝑦) ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧)
299, 28sylanb 584 . . . . 5 ((𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧)
304, 29sylan2 595 . . . 4 ((𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧) → 𝑦 = 𝑧)
3130gen2 1798 . . 3 𝑦𝑧((𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧) → 𝑦 = 𝑧)
3231ax-gen 1797 . 2 𝑥𝑦𝑧((𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧) → 𝑦 = 𝑧)
33 df-funpart 33448 . . . 4 Funpart𝐹 = (𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))
3433funeqi 6345 . . 3 (Fun Funpart𝐹 ↔ Fun (𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons ))))
35 dffun2 6334 . . 3 (Fun (𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons ))) ↔ (Rel (𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons ))) ∧ ∀𝑥𝑦𝑧((𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧) → 𝑦 = 𝑧)))
3634, 35bitri 278 . 2 (Fun Funpart𝐹 ↔ (Rel (𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons ))) ∧ ∀𝑥𝑦𝑧((𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧) → 𝑦 = 𝑧)))
371, 32, 36mpbir2an 710 1 Fun Funpart𝐹
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 399  wal 1536   = wceq 1538  wex 1781  wcel 2111  Vcvv 3441  cin 3880  {csn 4525  cop 4531   class class class wbr 5030   × cxp 5517  dom cdm 5519  cres 5521  cima 5522  ccom 5523  Rel wrel 5524  Fun wfun 6318  Singletoncsingle 33412   Singletons csingles 33413  Imagecimage 33414  Funpartcfunpart 33423
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1797  ax-4 1811  ax-5 1911  ax-6 1970  ax-7 2015  ax-8 2113  ax-9 2121  ax-10 2142  ax-11 2158  ax-12 2175  ax-ext 2770  ax-sep 5167  ax-nul 5174  ax-pow 5231  ax-pr 5295  ax-un 7441
This theorem depends on definitions:  df-bi 210  df-an 400  df-or 845  df-3an 1086  df-tru 1541  df-ex 1782  df-nf 1786  df-sb 2070  df-mo 2598  df-eu 2629  df-clab 2777  df-cleq 2791  df-clel 2870  df-nfc 2938  df-ne 2988  df-ral 3111  df-rex 3112  df-rab 3115  df-v 3443  df-sbc 3721  df-dif 3884  df-un 3886  df-in 3888  df-ss 3898  df-symdif 4169  df-nul 4244  df-if 4426  df-sn 4526  df-pr 4528  df-op 4532  df-uni 4801  df-br 5031  df-opab 5093  df-mpt 5111  df-id 5425  df-eprel 5430  df-xp 5525  df-rel 5526  df-cnv 5527  df-co 5528  df-dm 5529  df-rn 5530  df-res 5531  df-ima 5532  df-iota 6283  df-fun 6326  df-fn 6327  df-f 6328  df-fo 6330  df-fv 6332  df-1st 7671  df-2nd 7672  df-txp 33428  df-singleton 33436  df-singles 33437  df-image 33438  df-funpart 33448
This theorem is referenced by:  fullfunfnv  33520  fullfunfv  33521
  Copyright terms: Public domain W3C validator