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

Theorem fcof1o 5958
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 5952 . . . 4  |-  ( ( F : A --> B  /\  ( G  o.  F
)  =  (  _I  |`  A ) )  ->  F : A -1-1-> B )
21ad2ant2rl 730 . . 3  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  F : A -1-1-> B )
3 fcofo 5953 . . . . 5  |-  ( ( F : A --> B  /\  G : B --> A  /\  ( F  o.  G
)  =  (  _I  |`  B ) )  ->  F : A -onto-> B )
433expa 1153 . . . 4  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  ( F  o.  G )  =  (  _I  |`  B ) )  ->  F : A -onto-> B )
54adantrr 698 . . 3  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  F : A -onto-> B )
6 df-f1o 5394 . . 3  |-  ( F : A -1-1-onto-> B  <->  ( F : A -1-1-> B  /\  F : A -onto-> B ) )
72, 5, 6sylanbrc 646 . 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 733 . . . 4  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  ( F  o.  G )  =  (  _I  |`  B ) )
98coeq2d 4968 . . 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 5321 . . . 4  |-  ( ( `' F  o.  F
)  o.  G )  =  ( `' F  o.  ( F  o.  G
) )
11 f1ococnv1 5637 . . . . . . 7  |-  ( F : A -1-1-onto-> B  ->  ( `' F  o.  F )  =  (  _I  |`  A ) )
127, 11syl 16 . . . . . 6  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  ( `' F  o.  F
)  =  (  _I  |`  A ) )
1312coeq1d 4967 . . . . 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 5551 . . . . . 6  |-  ( G : B --> A  -> 
( (  _I  |`  A )  o.  G )  =  G )
1514ad2antlr 708 . . . . 5  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  (
(  _I  |`  A )  o.  G )  =  G )
1613, 15eqtrd 2412 . . . 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 2426 . . 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 5620 . . . . 5  |-  ( F : A -1-1-onto-> B  ->  `' F : B -1-1-onto-> A )
19 f1of 5607 . . . . 5  |-  ( `' F : B -1-1-onto-> A  ->  `' F : B --> A )
207, 18, 193syl 19 . . . 4  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  `' F : B --> A )
21 fcoi1 5550 . . . 4  |-  ( `' F : B --> A  -> 
( `' F  o.  (  _I  |`  B ) )  =  `' F
)
2220, 21syl 16 . . 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 2421 . 2  |-  ( ( ( F : A --> B  /\  G : B --> A )  /\  (
( F  o.  G
)  =  (  _I  |`  B )  /\  ( G  o.  F )  =  (  _I  |`  A ) ) )  ->  `' F  =  G )
247, 23jca 519 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 359    = wceq 1649    _I cid 4427   `'ccnv 4810    |` cres 4813    o. ccom 4815   -->wf 5383   -1-1->wf1 5384   -onto->wfo 5385   -1-1-onto->wf1o 5386
This theorem is referenced by:  setcinv  14165  catciso  14182  yonedainv  14298  txswaphmeo  17751  qtophmeo  17763  pmtrff1o  27066  pmtrfcnv  27067
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-13 1719  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2361  ax-sep 4264  ax-nul 4272  ax-pow 4311  ax-pr 4337
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2235  df-mo 2236  df-clab 2367  df-cleq 2373  df-clel 2376  df-nfc 2505  df-ne 2545  df-ral 2647  df-rex 2648  df-rab 2651  df-v 2894  df-sbc 3098  df-dif 3259  df-un 3261  df-in 3263  df-ss 3270  df-nul 3565  df-if 3676  df-sn 3756  df-pr 3757  df-op 3759  df-uni 3951  df-br 4147  df-opab 4201  df-mpt 4202  df-id 4432  df-xp 4817  df-rel 4818  df-cnv 4819  df-co 4820  df-dm 4821  df-rn 4822  df-res 4823  df-ima 4824  df-iota 5351  df-fun 5389  df-fn 5390  df-f 5391  df-f1 5392  df-fo 5393  df-f1o 5394  df-fv 5395
  Copyright terms: Public domain W3C validator