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

Theorem fcof1o 6018
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 6012 . . . 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 6013 . . . . 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 5453 . . 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 5027 . . 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 5380 . . . 4  |-  ( ( `' F  o.  F
)  o.  G )  =  ( `' F  o.  ( F  o.  G
) )
11 f1ococnv1 5696 . . . . . . 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 5026 . . . . 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 5610 . . . . . 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 2467 . . . 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 2481 . . 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 5679 . . . . 5  |-  ( F : A -1-1-onto-> B  ->  `' F : B -1-1-onto-> A )
19 f1of 5666 . . . . 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 5609 . . . 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 2476 . 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 1652    _I cid 4485   `'ccnv 4869    |` cres 4872    o. ccom 4874   -->wf 5442   -1-1->wf1 5443   -onto->wfo 5444   -1-1-onto->wf1o 5445
This theorem is referenced by:  setcinv  14237  catciso  14254  yonedainv  14370  txswaphmeo  17829  qtophmeo  17841  pmtrff1o  27372  pmtrfcnv  27373
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 2416  ax-sep 4322  ax-nul 4330  ax-pow 4369  ax-pr 4395
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 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-ral 2702  df-rex 2703  df-rab 2706  df-v 2950  df-sbc 3154  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-nul 3621  df-if 3732  df-sn 3812  df-pr 3813  df-op 3815  df-uni 4008  df-br 4205  df-opab 4259  df-mpt 4260  df-id 4490  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-rn 4881  df-res 4882  df-ima 4883  df-iota 5410  df-fun 5448  df-fn 5449  df-f 5450  df-f1 5451  df-fo 5452  df-f1o 5453  df-fv 5454
  Copyright terms: Public domain W3C validator