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

Theorem foco2 5889
Description: If a composition of two functions is surjective, then the function on the left is surjective. (Contributed by Jeff Madsen, 16-Jun-2011.)
Assertion
Ref Expression
foco2  |-  ( ( F : B --> C  /\  G : A --> B  /\  ( F  o.  G
) : A -onto-> C
)  ->  F : B -onto-> C )

Proof of Theorem foco2
Dummy variables  x  y  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 simp1 957 . 2  |-  ( ( F : B --> C  /\  G : A --> B  /\  ( F  o.  G
) : A -onto-> C
)  ->  F : B
--> C )
2 foelrn 5888 . . . . . 6  |-  ( ( ( F  o.  G
) : A -onto-> C  /\  y  e.  C
)  ->  E. z  e.  A  y  =  ( ( F  o.  G ) `  z
) )
3 ffvelrn 5868 . . . . . . . . . 10  |-  ( ( G : A --> B  /\  z  e.  A )  ->  ( G `  z
)  e.  B )
43adantll 695 . . . . . . . . 9  |-  ( ( ( F : B --> C  /\  G : A --> B )  /\  z  e.  A )  ->  ( G `  z )  e.  B )
5 fvco3 5800 . . . . . . . . . 10  |-  ( ( G : A --> B  /\  z  e.  A )  ->  ( ( F  o.  G ) `  z
)  =  ( F `
 ( G `  z ) ) )
65adantll 695 . . . . . . . . 9  |-  ( ( ( F : B --> C  /\  G : A --> B )  /\  z  e.  A )  ->  (
( F  o.  G
) `  z )  =  ( F `  ( G `  z ) ) )
7 fveq2 5728 . . . . . . . . . . 11  |-  ( x  =  ( G `  z )  ->  ( F `  x )  =  ( F `  ( G `  z ) ) )
87eqeq2d 2447 . . . . . . . . . 10  |-  ( x  =  ( G `  z )  ->  (
( ( F  o.  G ) `  z
)  =  ( F `
 x )  <->  ( ( F  o.  G ) `  z )  =  ( F `  ( G `
 z ) ) ) )
98rspcev 3052 . . . . . . . . 9  |-  ( ( ( G `  z
)  e.  B  /\  ( ( F  o.  G ) `  z
)  =  ( F `
 ( G `  z ) ) )  ->  E. x  e.  B  ( ( F  o.  G ) `  z
)  =  ( F `
 x ) )
104, 6, 9syl2anc 643 . . . . . . . 8  |-  ( ( ( F : B --> C  /\  G : A --> B )  /\  z  e.  A )  ->  E. x  e.  B  ( ( F  o.  G ) `  z )  =  ( F `  x ) )
11 eqeq1 2442 . . . . . . . . 9  |-  ( y  =  ( ( F  o.  G ) `  z )  ->  (
y  =  ( F `
 x )  <->  ( ( F  o.  G ) `  z )  =  ( F `  x ) ) )
1211rexbidv 2726 . . . . . . . 8  |-  ( y  =  ( ( F  o.  G ) `  z )  ->  ( E. x  e.  B  y  =  ( F `  x )  <->  E. x  e.  B  ( ( F  o.  G ) `  z )  =  ( F `  x ) ) )
1310, 12syl5ibrcom 214 . . . . . . 7  |-  ( ( ( F : B --> C  /\  G : A --> B )  /\  z  e.  A )  ->  (
y  =  ( ( F  o.  G ) `
 z )  ->  E. x  e.  B  y  =  ( F `  x ) ) )
1413rexlimdva 2830 . . . . . 6  |-  ( ( F : B --> C  /\  G : A --> B )  ->  ( E. z  e.  A  y  =  ( ( F  o.  G ) `  z
)  ->  E. x  e.  B  y  =  ( F `  x ) ) )
152, 14syl5 30 . . . . 5  |-  ( ( F : B --> C  /\  G : A --> B )  ->  ( ( ( F  o.  G ) : A -onto-> C  /\  y  e.  C )  ->  E. x  e.  B  y  =  ( F `  x ) ) )
1615impl 604 . . . 4  |-  ( ( ( ( F : B
--> C  /\  G : A
--> B )  /\  ( F  o.  G ) : A -onto-> C )  /\  y  e.  C )  ->  E. x  e.  B  y  =  ( F `  x ) )
1716ralrimiva 2789 . . 3  |-  ( ( ( F : B --> C  /\  G : A --> B )  /\  ( F  o.  G ) : A -onto-> C )  ->  A. y  e.  C  E. x  e.  B  y  =  ( F `  x ) )
18173impa 1148 . 2  |-  ( ( F : B --> C  /\  G : A --> B  /\  ( F  o.  G
) : A -onto-> C
)  ->  A. y  e.  C  E. x  e.  B  y  =  ( F `  x ) )
19 dffo3 5884 . 2  |-  ( F : B -onto-> C  <->  ( F : B --> C  /\  A. y  e.  C  E. x  e.  B  y  =  ( F `  x ) ) )
201, 18, 19sylanbrc 646 1  |-  ( ( F : B --> C  /\  G : A --> B  /\  ( F  o.  G
) : A -onto-> C
)  ->  F : B -onto-> C )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 359    /\ w3a 936    = wceq 1652    e. wcel 1725   A.wral 2705   E.wrex 2706    o. ccom 4882   -->wf 5450   -onto->wfo 5452   ` cfv 5454
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-13 1727  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2417  ax-sep 4330  ax-nul 4338  ax-pow 4377  ax-pr 4403
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2285  df-mo 2286  df-clab 2423  df-cleq 2429  df-clel 2432  df-nfc 2561  df-ne 2601  df-ral 2710  df-rex 2711  df-rab 2714  df-v 2958  df-sbc 3162  df-dif 3323  df-un 3325  df-in 3327  df-ss 3334  df-nul 3629  df-if 3740  df-sn 3820  df-pr 3821  df-op 3823  df-uni 4016  df-br 4213  df-opab 4267  df-mpt 4268  df-id 4498  df-xp 4884  df-rel 4885  df-cnv 4886  df-co 4887  df-dm 4888  df-rn 4889  df-res 4890  df-ima 4891  df-iota 5418  df-fun 5456  df-fn 5457  df-f 5458  df-fo 5460  df-fv 5462
  Copyright terms: Public domain W3C validator