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

Theorem foeqcnvco 6019
Description: Condition for function equality in terms of vanishing of the composition with the converse. EDITORIAL: Is there a relation-algebraic proof of this? (Contributed by Stefan O'Rear, 12-Feb-2015.)
Assertion
Ref Expression
foeqcnvco  |-  ( ( F : A -onto-> B  /\  G : A -onto-> B
)  ->  ( F  =  G  <->  ( F  o.  `' G )  =  (  _I  |`  B )
) )

Proof of Theorem foeqcnvco
Dummy variables  x  y are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 fococnv2 5693 . . . 4  |-  ( F : A -onto-> B  -> 
( F  o.  `' F )  =  (  _I  |`  B )
)
2 cnveq 5038 . . . . . 6  |-  ( F  =  G  ->  `' F  =  `' G
)
32coeq2d 5027 . . . . 5  |-  ( F  =  G  ->  ( F  o.  `' F
)  =  ( F  o.  `' G ) )
43eqeq1d 2443 . . . 4  |-  ( F  =  G  ->  (
( F  o.  `' F )  =  (  _I  |`  B )  <->  ( F  o.  `' G
)  =  (  _I  |`  B ) ) )
51, 4syl5ibcom 212 . . 3  |-  ( F : A -onto-> B  -> 
( F  =  G  ->  ( F  o.  `' G )  =  (  _I  |`  B )
) )
65adantr 452 . 2  |-  ( ( F : A -onto-> B  /\  G : A -onto-> B
)  ->  ( F  =  G  ->  ( F  o.  `' G )  =  (  _I  |`  B ) ) )
7 fofn 5647 . . . . 5  |-  ( F : A -onto-> B  ->  F  Fn  A )
87ad2antrr 707 . . . 4  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  ( F  o.  `' G
)  =  (  _I  |`  B ) )  ->  F  Fn  A )
9 fofn 5647 . . . . 5  |-  ( G : A -onto-> B  ->  G  Fn  A )
109ad2antlr 708 . . . 4  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  ( F  o.  `' G
)  =  (  _I  |`  B ) )  ->  G  Fn  A )
119adantl 453 . . . . . . . . . . . 12  |-  ( ( F : A -onto-> B  /\  G : A -onto-> B
)  ->  G  Fn  A )
12 fnopfv 5857 . . . . . . . . . . . 12  |-  ( ( G  Fn  A  /\  x  e.  A )  -> 
<. x ,  ( G `
 x ) >.  e.  G )
1311, 12sylan 458 . . . . . . . . . . 11  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  <. x ,  ( G `  x ) >.  e.  G
)
14 fvex 5734 . . . . . . . . . . . . 13  |-  ( G `
 x )  e. 
_V
15 vex 2951 . . . . . . . . . . . . 13  |-  x  e. 
_V
1614, 15brcnv 5047 . . . . . . . . . . . 12  |-  ( ( G `  x ) `' G x  <->  x G
( G `  x
) )
17 df-br 4205 . . . . . . . . . . . 12  |-  ( x G ( G `  x )  <->  <. x ,  ( G `  x
) >.  e.  G )
1816, 17bitri 241 . . . . . . . . . . 11  |-  ( ( G `  x ) `' G x  <->  <. x ,  ( G `  x
) >.  e.  G )
1913, 18sylibr 204 . . . . . . . . . 10  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  ( G `  x ) `' G x )
207adantr 452 . . . . . . . . . . . 12  |-  ( ( F : A -onto-> B  /\  G : A -onto-> B
)  ->  F  Fn  A )
21 fnopfv 5857 . . . . . . . . . . . 12  |-  ( ( F  Fn  A  /\  x  e.  A )  -> 
<. x ,  ( F `
 x ) >.  e.  F )
2220, 21sylan 458 . . . . . . . . . . 11  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  <. x ,  ( F `  x ) >.  e.  F
)
23 df-br 4205 . . . . . . . . . . 11  |-  ( x F ( F `  x )  <->  <. x ,  ( F `  x
) >.  e.  F )
2422, 23sylibr 204 . . . . . . . . . 10  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  x F ( F `  x ) )
25 breq2 4208 . . . . . . . . . . . 12  |-  ( y  =  x  ->  (
( G `  x
) `' G y  <-> 
( G `  x
) `' G x ) )
26 breq1 4207 . . . . . . . . . . . 12  |-  ( y  =  x  ->  (
y F ( F `
 x )  <->  x F
( F `  x
) ) )
2725, 26anbi12d 692 . . . . . . . . . . 11  |-  ( y  =  x  ->  (
( ( G `  x ) `' G
y  /\  y F
( F `  x
) )  <->  ( ( G `  x ) `' G x  /\  x F ( F `  x ) ) ) )
2815, 27spcev 3035 . . . . . . . . . 10  |-  ( ( ( G `  x
) `' G x  /\  x F ( F `  x ) )  ->  E. y
( ( G `  x ) `' G
y  /\  y F
( F `  x
) ) )
2919, 24, 28syl2anc 643 . . . . . . . . 9  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  E. y
( ( G `  x ) `' G
y  /\  y F
( F `  x
) ) )
30 fvex 5734 . . . . . . . . . 10  |-  ( F `
 x )  e. 
_V
3114, 30brco 5035 . . . . . . . . 9  |-  ( ( G `  x ) ( F  o.  `' G ) ( F `
 x )  <->  E. y
( ( G `  x ) `' G
y  /\  y F
( F `  x
) ) )
3229, 31sylibr 204 . . . . . . . 8  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  ( G `  x )
( F  o.  `' G ) ( F `
 x ) )
3332adantlr 696 . . . . . . 7  |-  ( ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  ( F  o.  `' G
)  =  (  _I  |`  B ) )  /\  x  e.  A )  ->  ( G `  x
) ( F  o.  `' G ) ( F `
 x ) )
34 breq 4206 . . . . . . . 8  |-  ( ( F  o.  `' G
)  =  (  _I  |`  B )  ->  (
( G `  x
) ( F  o.  `' G ) ( F `
 x )  <->  ( G `  x ) (  _I  |`  B ) ( F `
 x ) ) )
3534ad2antlr 708 . . . . . . 7  |-  ( ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  ( F  o.  `' G
)  =  (  _I  |`  B ) )  /\  x  e.  A )  ->  ( ( G `  x ) ( F  o.  `' G ) ( F `  x
)  <->  ( G `  x ) (  _I  |`  B ) ( F `
 x ) ) )
3633, 35mpbid 202 . . . . . 6  |-  ( ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  ( F  o.  `' G
)  =  (  _I  |`  B ) )  /\  x  e.  A )  ->  ( G `  x
) (  _I  |`  B ) ( F `  x
) )
37 fof 5645 . . . . . . . . . 10  |-  ( G : A -onto-> B  ->  G : A --> B )
3837adantl 453 . . . . . . . . 9  |-  ( ( F : A -onto-> B  /\  G : A -onto-> B
)  ->  G : A
--> B )
3938ffvelrnda 5862 . . . . . . . 8  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  ( G `  x )  e.  B )
40 fof 5645 . . . . . . . . . 10  |-  ( F : A -onto-> B  ->  F : A --> B )
4140adantr 452 . . . . . . . . 9  |-  ( ( F : A -onto-> B  /\  G : A -onto-> B
)  ->  F : A
--> B )
4241ffvelrnda 5862 . . . . . . . 8  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  ( F `  x )  e.  B )
43 resieq 5148 . . . . . . . 8  |-  ( ( ( G `  x
)  e.  B  /\  ( F `  x )  e.  B )  -> 
( ( G `  x ) (  _I  |`  B ) ( F `
 x )  <->  ( G `  x )  =  ( F `  x ) ) )
4439, 42, 43syl2anc 643 . . . . . . 7  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  (
( G `  x
) (  _I  |`  B ) ( F `  x
)  <->  ( G `  x )  =  ( F `  x ) ) )
4544adantlr 696 . . . . . 6  |-  ( ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  ( F  o.  `' G
)  =  (  _I  |`  B ) )  /\  x  e.  A )  ->  ( ( G `  x ) (  _I  |`  B ) ( F `
 x )  <->  ( G `  x )  =  ( F `  x ) ) )
4636, 45mpbid 202 . . . . 5  |-  ( ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  ( F  o.  `' G
)  =  (  _I  |`  B ) )  /\  x  e.  A )  ->  ( G `  x
)  =  ( F `
 x ) )
4746eqcomd 2440 . . . 4  |-  ( ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  ( F  o.  `' G
)  =  (  _I  |`  B ) )  /\  x  e.  A )  ->  ( F `  x
)  =  ( G `
 x ) )
488, 10, 47eqfnfvd 5822 . . 3  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  ( F  o.  `' G
)  =  (  _I  |`  B ) )  ->  F  =  G )
4948ex 424 . 2  |-  ( ( F : A -onto-> B  /\  G : A -onto-> B
)  ->  ( ( F  o.  `' G
)  =  (  _I  |`  B )  ->  F  =  G ) )
506, 49impbid 184 1  |-  ( ( F : A -onto-> B  /\  G : A -onto-> B
)  ->  ( F  =  G  <->  ( F  o.  `' G )  =  (  _I  |`  B )
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 177    /\ wa 359   E.wex 1550    = wceq 1652    e. wcel 1725   <.cop 3809   class class class wbr 4204    _I cid 4485   `'ccnv 4869    |` cres 4872    o. ccom 4874    Fn wfn 5441   -->wf 5442   -onto->wfo 5444   ` cfv 5446
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-csb 3244  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-fo 5452  df-fv 5454
  Copyright terms: Public domain W3C validator