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 34245
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 5920 . 2 Rel (𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))
2 vex 3436 . . . . . . 7 𝑧 ∈ V
32brresi 5900 . . . . . 6 (𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧 ↔ (𝑥 ∈ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )) ∧ 𝑥𝐹𝑧))
43simprbi 497 . . . . 5 (𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧𝑥𝐹𝑧)
5 vex 3436 . . . . . . . 8 𝑦 ∈ V
65brresi 5900 . . . . . . 7 (𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦 ↔ (𝑥 ∈ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )) ∧ 𝑥𝐹𝑦))
7 funpartlem 34244 . . . . . . . 8 (𝑥 ∈ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )) ↔ ∃𝑤(𝐹 “ {𝑥}) = {𝑤})
87anbi1i 624 . . . . . . 7 ((𝑥 ∈ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )) ∧ 𝑥𝐹𝑦) ↔ (∃𝑤(𝐹 “ {𝑥}) = {𝑤} ∧ 𝑥𝐹𝑦))
96, 8bitri 274 . . . . . 6 (𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦 ↔ (∃𝑤(𝐹 “ {𝑥}) = {𝑤} ∧ 𝑥𝐹𝑦))
10 df-br 5075 . . . . . . . . . . 11 (𝑥𝐹𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹)
11 df-br 5075 . . . . . . . . . . 11 (𝑥𝐹𝑧 ↔ ⟨𝑥, 𝑧⟩ ∈ 𝐹)
1210, 11anbi12i 627 . . . . . . . . . 10 ((𝑥𝐹𝑦𝑥𝐹𝑧) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹))
13 vex 3436 . . . . . . . . . . . 12 𝑥 ∈ V
1413, 5elimasn 5997 . . . . . . . . . . 11 (𝑦 ∈ (𝐹 “ {𝑥}) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹)
1513, 2elimasn 5997 . . . . . . . . . . 11 (𝑧 ∈ (𝐹 “ {𝑥}) ↔ ⟨𝑥, 𝑧⟩ ∈ 𝐹)
1614, 15anbi12i 627 . . . . . . . . . 10 ((𝑦 ∈ (𝐹 “ {𝑥}) ∧ 𝑧 ∈ (𝐹 “ {𝑥})) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹))
1712, 16bitr4i 277 . . . . . . . . 9 ((𝑥𝐹𝑦𝑥𝐹𝑧) ↔ (𝑦 ∈ (𝐹 “ {𝑥}) ∧ 𝑧 ∈ (𝐹 “ {𝑥})))
18 eleq2 2827 . . . . . . . . . . 11 ((𝐹 “ {𝑥}) = {𝑤} → (𝑦 ∈ (𝐹 “ {𝑥}) ↔ 𝑦 ∈ {𝑤}))
19 eleq2 2827 . . . . . . . . . . 11 ((𝐹 “ {𝑥}) = {𝑤} → (𝑧 ∈ (𝐹 “ {𝑥}) ↔ 𝑧 ∈ {𝑤}))
2018, 19anbi12d 631 . . . . . . . . . 10 ((𝐹 “ {𝑥}) = {𝑤} → ((𝑦 ∈ (𝐹 “ {𝑥}) ∧ 𝑧 ∈ (𝐹 “ {𝑥})) ↔ (𝑦 ∈ {𝑤} ∧ 𝑧 ∈ {𝑤})))
21 velsn 4577 . . . . . . . . . . 11 (𝑦 ∈ {𝑤} ↔ 𝑦 = 𝑤)
22 velsn 4577 . . . . . . . . . . 11 (𝑧 ∈ {𝑤} ↔ 𝑧 = 𝑤)
23 equtr2 2030 . . . . . . . . . . 11 ((𝑦 = 𝑤𝑧 = 𝑤) → 𝑦 = 𝑧)
2421, 22, 23syl2anb 598 . . . . . . . . . 10 ((𝑦 ∈ {𝑤} ∧ 𝑧 ∈ {𝑤}) → 𝑦 = 𝑧)
2520, 24syl6bi 252 . . . . . . . . 9 ((𝐹 “ {𝑥}) = {𝑤} → ((𝑦 ∈ (𝐹 “ {𝑥}) ∧ 𝑧 ∈ (𝐹 “ {𝑥})) → 𝑦 = 𝑧))
2617, 25syl5bi 241 . . . . . . . 8 ((𝐹 “ {𝑥}) = {𝑤} → ((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧))
2726exlimiv 1933 . . . . . . 7 (∃𝑤(𝐹 “ {𝑥}) = {𝑤} → ((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧))
2827impl 456 . . . . . 6 (((∃𝑤(𝐹 “ {𝑥}) = {𝑤} ∧ 𝑥𝐹𝑦) ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧)
299, 28sylanb 581 . . . . 5 ((𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧)
304, 29sylan2 593 . . . 4 ((𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧) → 𝑦 = 𝑧)
3130gen2 1799 . . 3 𝑦𝑧((𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧) → 𝑦 = 𝑧)
3231ax-gen 1798 . 2 𝑥𝑦𝑧((𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧) → 𝑦 = 𝑧)
33 df-funpart 34176 . . . 4 Funpart𝐹 = (𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))
3433funeqi 6455 . . 3 (Fun Funpart𝐹 ↔ Fun (𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons ))))
35 dffun2 6443 . . 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 274 . 2 (Fun Funpart𝐹 ↔ (Rel (𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons ))) ∧ ∀𝑥𝑦𝑧((𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧) → 𝑦 = 𝑧)))
371, 32, 36mpbir2an 708 1 Fun Funpart𝐹
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 396  wal 1537   = wceq 1539  wex 1782  wcel 2106  Vcvv 3432  cin 3886  {csn 4561  cop 4567   class class class wbr 5074   × cxp 5587  dom cdm 5589  cres 5591  cima 5592  ccom 5593  Rel wrel 5594  Fun wfun 6427  Singletoncsingle 34140   Singletons csingles 34141  Imagecimage 34142  Funpartcfunpart 34151
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-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-ne 2944  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-symdif 4176  df-nul 4257  df-if 4460  df-sn 4562  df-pr 4564  df-op 4568  df-uni 4840  df-br 5075  df-opab 5137  df-mpt 5158  df-id 5489  df-eprel 5495  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-iota 6391  df-fun 6435  df-fn 6436  df-f 6437  df-fo 6439  df-fv 6441  df-1st 7831  df-2nd 7832  df-txp 34156  df-singleton 34164  df-singles 34165  df-image 34166  df-funpart 34176
This theorem is referenced by:  fullfunfnv  34248  fullfunfv  34249
  Copyright terms: Public domain W3C validator