MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  funco Unicode version

Theorem funco 5195
Description: The composition of two functions is a function. Exercise 29 of [TakeutiZaring] p. 25. (Contributed by NM, 26-Jan-1997.) (Proof shortened by Andrew Salmon, 17-Sep-2011.)
Assertion
Ref Expression
funco  |-  ( ( Fun  F  /\  Fun  G )  ->  Fun  ( F  o.  G ) )

Proof of Theorem funco
StepHypRef Expression
1 funmo 5175 . . . . 5  |-  ( Fun 
G  ->  E* z  x G z )
2 funmo 5175 . . . . . 6  |-  ( Fun 
F  ->  E* y 
z F y )
32alrimiv 2013 . . . . 5  |-  ( Fun 
F  ->  A. z E* y  z F
y )
4 moexexv 2186 . . . . 5  |-  ( ( E* z  x G z  /\  A. z E* y  z F
y )  ->  E* y E. z ( x G z  /\  z F y ) )
51, 3, 4syl2anr 466 . . . 4  |-  ( ( Fun  F  /\  Fun  G )  ->  E* y E. z ( x G z  /\  z F y ) )
65alrimiv 2013 . . 3  |-  ( ( Fun  F  /\  Fun  G )  ->  A. x E* y E. z ( x G z  /\  z F y ) )
7 funopab 5191 . . 3  |-  ( Fun 
{ <. x ,  y
>.  |  E. z
( x G z  /\  z F y ) }  <->  A. x E* y E. z ( x G z  /\  z F y ) )
86, 7sylibr 205 . 2  |-  ( ( Fun  F  /\  Fun  G )  ->  Fun  { <. x ,  y >.  |  E. z ( x G z  /\  z F y ) } )
9 df-co 4643 . . 3  |-  ( F  o.  G )  =  { <. x ,  y
>.  |  E. z
( x G z  /\  z F y ) }
109funeqi 5179 . 2  |-  ( Fun  ( F  o.  G
)  <->  Fun  { <. x ,  y >.  |  E. z ( x G z  /\  z F y ) } )
118, 10sylibr 205 1  |-  ( ( Fun  F  /\  Fun  G )  ->  Fun  ( F  o.  G ) )
Colors of variables: wff set class
Syntax hints:    -> wi 6    /\ wa 360   A.wal 1532   E.wex 1537   E*wmo 2118   class class class wbr 3963   {copab 4016    o. ccom 4630   Fun wfun 4632
This theorem is referenced by:  fnco  5255  f1co  5349  curry1  6109  curry2  6112  tposfun  6149  fin23lem30  7901  smobeth  8141  hashkf  11270  domrancur1b  24532  domrancur1c  24534
This theorem was proved from axioms:  ax-1 7  ax-2 8  ax-3 9  ax-mp 10  ax-5 1533  ax-6 1534  ax-7 1535  ax-gen 1536  ax-8 1623  ax-11 1624  ax-14 1626  ax-17 1628  ax-12o 1664  ax-10 1678  ax-9 1684  ax-4 1692  ax-16 1927  ax-ext 2237  ax-sep 4081  ax-nul 4089  ax-pr 4152
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3an 941  df-tru 1315  df-ex 1538  df-nf 1540  df-sb 1884  df-eu 2121  df-mo 2122  df-clab 2243  df-cleq 2249  df-clel 2252  df-nfc 2381  df-ne 2421  df-ral 2520  df-rex 2521  df-rab 2523  df-v 2742  df-dif 3097  df-un 3099  df-in 3101  df-ss 3108  df-nul 3398  df-if 3507  df-sn 3587  df-pr 3588  df-op 3590  df-br 3964  df-opab 4018  df-id 4246  df-xp 4640  df-rel 4641  df-cnv 4642  df-co 4643  df-fun 4648
  Copyright terms: Public domain W3C validator