HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
GIF version

Theorem funco 2696
Description: The composition of two functions is a function. Exercise 29 of [TakeutiZaring] p. 25.
Assertion
Ref Expression
funco ((Fun F ∧ Fun G) → Fun (FG))

Proof of Theorem funco
StepHypRef Expression
1 moexexv 1059 . . . . . . 7 ((∃*z xGz ∧ ∀z∃*y zFy) → ∃*yz(xGzzFy))
2 funmo 2680 . . . . . . 7 (Fun G → ∃*z xGz)
3 dffunmo 2679 . . . . . . . 8 (Fun F ↔ (Rel F ∧ ∀z∃*y zFy))
43pm3.27bd 263 . . . . . . 7 (Fun F → ∀z∃*y zFy)
51, 2, 4syl2an 349 . . . . . 6 ((Fun G ∧ Fun F) → ∃*yz(xGzzFy))
65ancoms 334 . . . . 5 ((Fun F ∧ Fun G) → ∃*yz(xGzzFy))
7 visset 1350 . . . . . . 7 xV
8 visset 1350 . . . . . . 7 yV
97, 8brco 2510 . . . . . 6 (x(FG)y ↔ ∃z(xGzzFy))
109bimo 1031 . . . . 5 (∃*y x(FG)y ↔ ∃*yz(xGzzFy))
116, 10sylibr 175 . . . 4 ((Fun F ∧ Fun G) → ∃*y x(FG)y)
121119.21aiv 943 . . 3 ((Fun F ∧ Fun G) → ∀x∃*y x(FG)y)
13 relco 2658 . . 3 Rel (FG)
1412, 13jctil 240 . 2 ((Fun F ∧ Fun G) → (Rel (FG) ∧ ∀x∃*y x(FG)y))
15 dffunmo 2679 . 2 (Fun (FG) ↔ (Rel (FG) ∧ ∀x∃*y x(FG)y))
1614, 15sylibr 175 1 ((Fun F ∧ Fun G) → Fun (FG))
Colors of variables: wff set class
Syntax hints:   → wi 2   ∧ wa 196  ∀wal 672  ∃wex 678  ∃*wmo 1008   class class class wbr 2054   ∘ ccom 2414  Rel wrel 2415  Fun wfun 2416
This theorem is referenced by:  fco 2760  f1co 2783  f1oco 2816  fvco 2865  mapenlem1 3384
This theorem was proved from axioms:  ax-1 3  ax-2 4  ax-3 5  ax-mp 6  ax-4 673  ax-5 674  ax-6 675  ax-7 676  ax-gen 677  ax-8 798  ax-9 799  ax-10 800  ax-11 801  ax-12 802  ax-13 804  ax-14 805  ax-16 922  ax-17 925  ax-ext 1074  ax-rep 1075  ax-pow 1077
This theorem depends on definitions:  df-bi 128  df-or 197  df-an 198  df-ex 679  df-sb 853  df-eu 1009  df-mo 1010  df-clab 1093  df-cleq 1097  df-clel 1099  df-v 1349  df-dif 1489  df-un 1490  df-in 1491  df-ss 1492  df-nul 1708  df-pw 1799  df-sn 1811  df-pr 1812  df-op 1815  df-br 2063  df-opab 2098  df-id 2125  df-xp 2424  df-rel 2425  df-cnv 2426  df-co 2427  df-fun 2432
metamath.org