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

Theorem fcof1o 5819
Description: Show that two functions are inverse to each other by computing their compositions. (Contributed by Mario Carneiro, 21-Mar-2015.)
Assertion
Ref Expression
fcof1o  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  ( F : A -1-1-onto-> B  /\  `' F  =  G ) )

Proof of Theorem fcof1o
StepHypRef Expression
1 fcof1 5813 . . . 4  |-  ( ( F : A --> B  /\  ( G  o.  F
)  =  (  _I  |`  A ) )  ->  F : A -1-1-> B )
21ad2ant2rl 729 . . 3  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  F : A -1-1-> B )
3 fcofo 5814 . . . . 5  |-  ( ( F : A --> B  /\  G : B --> A  /\  ( F  o.  G
)  =  (  _I  |`  B ) )  ->  F : A -onto-> B )
433expa 1151 . . . 4  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  ( F  o.  G )  =  (  _I  |`  B ) )  ->  F : A -onto-> B )
54adantrr 697 . . 3  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  F : A -onto-> B )
6 df-f1o 5278 . . 3  |-  ( F : A -1-1-onto-> B  <->  ( F : A -1-1-> B  /\  F : A -onto-> B ) )
72, 5, 6sylanbrc 645 . 2  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  F : A -1-1-onto-> B )
8 simprl 732 . . . 4  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  ( F  o.  G )  =  (  _I  |`  B ) )
98coeq2d 4862 . . 3  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  ( `' F  o.  ( F  o.  G )
)  =  ( `' F  o.  (  _I  |`  B ) ) )
10 coass 5207 . . . 4  |-  ( ( `' F  o.  F
)  o.  G )  =  ( `' F  o.  ( F  o.  G
) )
11 f1ococnv1 5518 . . . . . . 7  |-  ( F : A -1-1-onto-> B  ->  ( `' F  o.  F )  =  (  _I  |`  A ) )
127, 11syl 15 . . . . . 6  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  ( `' F  o.  F
)  =  (  _I  |`  A ) )
1312coeq1d 4861 . . . . 5  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  (
( `' F  o.  F )  o.  G
)  =  ( (  _I  |`  A )  o.  G ) )
14 fcoi2 5432 . . . . . 6  |-  ( G : B --> A  -> 
( (  _I  |`  A )  o.  G )  =  G )
1514ad2antlr 707 . . . . 5  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  (
(  _I  |`  A )  o.  G )  =  G )
1613, 15eqtrd 2328 . . . 4  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  (
( `' F  o.  F )  o.  G
)  =  G )
1710, 16syl5eqr 2342 . . 3  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  ( `' F  o.  ( F  o.  G )
)  =  G )
18 f1ocnv 5501 . . . . 5  |-  ( F : A -1-1-onto-> B  ->  `' F : B -1-1-onto-> A )
19 f1of 5488 . . . . 5  |-  ( `' F : B -1-1-onto-> A  ->  `' F : B --> A )
207, 18, 193syl 18 . . . 4  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  `' F : B --> A )
21 fcoi1 5431 . . . 4  |-  ( `' F : B --> A  -> 
( `' F  o.  (  _I  |`  B ) )  =  `' F
)
2220, 21syl 15 . . 3  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  ( `' F  o.  (  _I  |`  B ) )  =  `' F )
239, 17, 223eqtr3rd 2337 . 2  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  `' F  =  G )
247, 23jca 518 1  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  ( F : A -1-1-onto-> B  /\  `' F  =  G ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    = wceq 1632    _I cid 4320   `'ccnv 4704    |` cres 4707    o. ccom 4709   -->wf 5267   -1-1->wf1 5268   -onto->wfo 5269   -1-1-onto->wf1o 5270
This theorem is referenced by:  setcinv  13938  catciso  13955  yonedainv  14071  txswaphmeo  17512  qtophmeo  17524  pmtrff1o  27507  pmtrfcnv  27508
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-13 1698  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pow 4204  ax-pr 4230
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-rab 2565  df-v 2803  df-sbc 3005  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-nul 3469  df-if 3579  df-sn 3659  df-pr 3660  df-op 3662  df-uni 3844  df-br 4040  df-opab 4094  df-mpt 4095  df-id 4325  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-rn 4716  df-res 4717  df-ima 4718  df-iota 5235  df-fun 5273  df-fn 5274  df-f 5275  df-f1 5276  df-fo 5277  df-f1o 5278  df-fv 5279
  Copyright terms: Public domain W3C validator