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 34172
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 5909 . 2 Rel (𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))
2 vex 3426 . . . . . . 7 𝑧 ∈ V
32brresi 5889 . . . . . 6 (𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧 ↔ (𝑥 ∈ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )) ∧ 𝑥𝐹𝑧))
43simprbi 496 . . . . 5 (𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧𝑥𝐹𝑧)
5 vex 3426 . . . . . . . 8 𝑦 ∈ V
65brresi 5889 . . . . . . 7 (𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦 ↔ (𝑥 ∈ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )) ∧ 𝑥𝐹𝑦))
7 funpartlem 34171 . . . . . . . 8 (𝑥 ∈ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )) ↔ ∃𝑤(𝐹 “ {𝑥}) = {𝑤})
87anbi1i 623 . . . . . . 7 ((𝑥 ∈ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )) ∧ 𝑥𝐹𝑦) ↔ (∃𝑤(𝐹 “ {𝑥}) = {𝑤} ∧ 𝑥𝐹𝑦))
96, 8bitri 274 . . . . . 6 (𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦 ↔ (∃𝑤(𝐹 “ {𝑥}) = {𝑤} ∧ 𝑥𝐹𝑦))
10 df-br 5071 . . . . . . . . . . 11 (𝑥𝐹𝑦 ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹)
11 df-br 5071 . . . . . . . . . . 11 (𝑥𝐹𝑧 ↔ ⟨𝑥, 𝑧⟩ ∈ 𝐹)
1210, 11anbi12i 626 . . . . . . . . . 10 ((𝑥𝐹𝑦𝑥𝐹𝑧) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹))
13 vex 3426 . . . . . . . . . . . 12 𝑥 ∈ V
1413, 5elimasn 5986 . . . . . . . . . . 11 (𝑦 ∈ (𝐹 “ {𝑥}) ↔ ⟨𝑥, 𝑦⟩ ∈ 𝐹)
1513, 2elimasn 5986 . . . . . . . . . . 11 (𝑧 ∈ (𝐹 “ {𝑥}) ↔ ⟨𝑥, 𝑧⟩ ∈ 𝐹)
1614, 15anbi12i 626 . . . . . . . . . 10 ((𝑦 ∈ (𝐹 “ {𝑥}) ∧ 𝑧 ∈ (𝐹 “ {𝑥})) ↔ (⟨𝑥, 𝑦⟩ ∈ 𝐹 ∧ ⟨𝑥, 𝑧⟩ ∈ 𝐹))
1712, 16bitr4i 277 . . . . . . . . 9 ((𝑥𝐹𝑦𝑥𝐹𝑧) ↔ (𝑦 ∈ (𝐹 “ {𝑥}) ∧ 𝑧 ∈ (𝐹 “ {𝑥})))
18 eleq2 2827 . . . . . . . . . . 11 ((𝐹 “ {𝑥}) = {𝑤} → (𝑦 ∈ (𝐹 “ {𝑥}) ↔ 𝑦 ∈ {𝑤}))
19 eleq2 2827 . . . . . . . . . . 11 ((𝐹 “ {𝑥}) = {𝑤} → (𝑧 ∈ (𝐹 “ {𝑥}) ↔ 𝑧 ∈ {𝑤}))
2018, 19anbi12d 630 . . . . . . . . . 10 ((𝐹 “ {𝑥}) = {𝑤} → ((𝑦 ∈ (𝐹 “ {𝑥}) ∧ 𝑧 ∈ (𝐹 “ {𝑥})) ↔ (𝑦 ∈ {𝑤} ∧ 𝑧 ∈ {𝑤})))
21 velsn 4574 . . . . . . . . . . 11 (𝑦 ∈ {𝑤} ↔ 𝑦 = 𝑤)
22 velsn 4574 . . . . . . . . . . 11 (𝑧 ∈ {𝑤} ↔ 𝑧 = 𝑤)
23 equtr2 2031 . . . . . . . . . . 11 ((𝑦 = 𝑤𝑧 = 𝑤) → 𝑦 = 𝑧)
2421, 22, 23syl2anb 597 . . . . . . . . . 10 ((𝑦 ∈ {𝑤} ∧ 𝑧 ∈ {𝑤}) → 𝑦 = 𝑧)
2520, 24syl6bi 252 . . . . . . . . 9 ((𝐹 “ {𝑥}) = {𝑤} → ((𝑦 ∈ (𝐹 “ {𝑥}) ∧ 𝑧 ∈ (𝐹 “ {𝑥})) → 𝑦 = 𝑧))
2617, 25syl5bi 241 . . . . . . . 8 ((𝐹 “ {𝑥}) = {𝑤} → ((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧))
2726exlimiv 1934 . . . . . . 7 (∃𝑤(𝐹 “ {𝑥}) = {𝑤} → ((𝑥𝐹𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧))
2827impl 455 . . . . . 6 (((∃𝑤(𝐹 “ {𝑥}) = {𝑤} ∧ 𝑥𝐹𝑦) ∧ 𝑥𝐹𝑧) → 𝑦 = 𝑧)
299, 28sylanb 580 . . . . 5 ((𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦𝑥𝐹𝑧) → 𝑦 = 𝑧)
304, 29sylan2 592 . . . 4 ((𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧) → 𝑦 = 𝑧)
3130gen2 1800 . . 3 𝑦𝑧((𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧) → 𝑦 = 𝑧)
3231ax-gen 1799 . 2 𝑥𝑦𝑧((𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑦𝑥(𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))𝑧) → 𝑦 = 𝑧)
33 df-funpart 34103 . . . 4 Funpart𝐹 = (𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons )))
3433funeqi 6439 . . 3 (Fun Funpart𝐹 ↔ Fun (𝐹 ↾ dom ((Image𝐹 ∘ Singleton) ∩ (V × Singletons ))))
35 dffun2 6428 . . 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 707 1 Fun Funpart𝐹
Colors of variables: wff setvar class
Syntax hints:  wi 4  wa 395  wal 1537   = wceq 1539  wex 1783  wcel 2108  Vcvv 3422  cin 3882  {csn 4558  cop 4564   class class class wbr 5070   × cxp 5578  dom cdm 5580  cres 5582  cima 5583  ccom 5584  Rel wrel 5585  Fun wfun 6412  Singletoncsingle 34067   Singletons csingles 34068  Imagecimage 34069  Funpartcfunpart 34078
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1799  ax-4 1813  ax-5 1914  ax-6 1972  ax-7 2012  ax-8 2110  ax-9 2118  ax-10 2139  ax-11 2156  ax-12 2173  ax-ext 2709  ax-sep 5218  ax-nul 5225  ax-pr 5347  ax-un 7566
This theorem depends on definitions:  df-bi 206  df-an 396  df-or 844  df-3an 1087  df-tru 1542  df-fal 1552  df-ex 1784  df-nf 1788  df-sb 2069  df-mo 2540  df-eu 2569  df-clab 2716  df-cleq 2730  df-clel 2817  df-nfc 2888  df-ne 2943  df-ral 3068  df-rex 3069  df-rab 3072  df-v 3424  df-dif 3886  df-un 3888  df-in 3890  df-ss 3900  df-symdif 4173  df-nul 4254  df-if 4457  df-sn 4559  df-pr 4561  df-op 4565  df-uni 4837  df-br 5071  df-opab 5133  df-mpt 5154  df-id 5480  df-eprel 5486  df-xp 5586  df-rel 5587  df-cnv 5588  df-co 5589  df-dm 5590  df-rn 5591  df-res 5592  df-ima 5593  df-iota 6376  df-fun 6420  df-fn 6421  df-f 6422  df-fo 6424  df-fv 6426  df-1st 7804  df-2nd 7805  df-txp 34083  df-singleton 34091  df-singles 34092  df-image 34093  df-funpart 34103
This theorem is referenced by:  fullfunfnv  34175  fullfunfv  34176
  Copyright terms: Public domain W3C validator