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

Theorem foeqcnvco 5996
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 5664 . . . 4  |-  ( F : A -onto-> B  -> 
( F  o.  `' F )  =  (  _I  |`  B )
)
2 cnveq 5011 . . . . . 6  |-  ( F  =  G  ->  `' F  =  `' G
)
32coeq2d 5000 . . . . 5  |-  ( F  =  G  ->  ( F  o.  `' F
)  =  ( F  o.  `' G ) )
43eqeq1d 2449 . . . 4  |-  ( F  =  G  ->  (
( F  o.  `' F )  =  (  _I  |`  B )  <->  ( F  o.  `' G
)  =  (  _I  |`  B ) ) )
51, 4syl5ibcom 220 . . 3  |-  ( F : A -onto-> B  -> 
( F  =  G  ->  ( F  o.  `' G )  =  (  _I  |`  B )
) )
65adantr 465 . 2  |-  ( ( F : A -onto-> B  /\  G : A -onto-> B
)  ->  ( F  =  G  ->  ( F  o.  `' G )  =  (  _I  |`  B ) ) )
7 fofn 5620 . . . . 5  |-  ( F : A -onto-> B  ->  F  Fn  A )
87ad2antrr 725 . . . 4  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  ( F  o.  `' G
)  =  (  _I  |`  B ) )  ->  F  Fn  A )
9 fofn 5620 . . . . 5  |-  ( G : A -onto-> B  ->  G  Fn  A )
109ad2antlr 726 . . . 4  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  ( F  o.  `' G
)  =  (  _I  |`  B ) )  ->  G  Fn  A )
119adantl 466 . . . . . . . . . . . 12  |-  ( ( F : A -onto-> B  /\  G : A -onto-> B
)  ->  G  Fn  A )
12 fnopfv 5836 . . . . . . . . . . . 12  |-  ( ( G  Fn  A  /\  x  e.  A )  -> 
<. x ,  ( G `
 x ) >.  e.  G )
1311, 12sylan 471 . . . . . . . . . . 11  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  <. x ,  ( G `  x ) >.  e.  G
)
14 fvex 5699 . . . . . . . . . . . . 13  |-  ( G `
 x )  e. 
_V
15 vex 2973 . . . . . . . . . . . . 13  |-  x  e. 
_V
1614, 15brcnv 5020 . . . . . . . . . . . 12  |-  ( ( G `  x ) `' G x  <->  x G
( G `  x
) )
17 df-br 4291 . . . . . . . . . . . 12  |-  ( x G ( G `  x )  <->  <. x ,  ( G `  x
) >.  e.  G )
1816, 17bitri 249 . . . . . . . . . . 11  |-  ( ( G `  x ) `' G x  <->  <. x ,  ( G `  x
) >.  e.  G )
1913, 18sylibr 212 . . . . . . . . . 10  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  ( G `  x ) `' G x )
207adantr 465 . . . . . . . . . . . 12  |-  ( ( F : A -onto-> B  /\  G : A -onto-> B
)  ->  F  Fn  A )
21 fnopfv 5836 . . . . . . . . . . . 12  |-  ( ( F  Fn  A  /\  x  e.  A )  -> 
<. x ,  ( F `
 x ) >.  e.  F )
2220, 21sylan 471 . . . . . . . . . . 11  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  <. x ,  ( F `  x ) >.  e.  F
)
23 df-br 4291 . . . . . . . . . . 11  |-  ( x F ( F `  x )  <->  <. x ,  ( F `  x
) >.  e.  F )
2422, 23sylibr 212 . . . . . . . . . 10  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  x F ( F `  x ) )
25 breq2 4294 . . . . . . . . . . . 12  |-  ( y  =  x  ->  (
( G `  x
) `' G y  <-> 
( G `  x
) `' G x ) )
26 breq1 4293 . . . . . . . . . . . 12  |-  ( y  =  x  ->  (
y F ( F `
 x )  <->  x F
( F `  x
) ) )
2725, 26anbi12d 710 . . . . . . . . . . 11  |-  ( y  =  x  ->  (
( ( G `  x ) `' G
y  /\  y F
( F `  x
) )  <->  ( ( G `  x ) `' G x  /\  x F ( F `  x ) ) ) )
2815, 27spcev 3062 . . . . . . . . . 10  |-  ( ( ( G `  x
) `' G x  /\  x F ( F `  x ) )  ->  E. y
( ( G `  x ) `' G
y  /\  y F
( F `  x
) ) )
2919, 24, 28syl2anc 661 . . . . . . . . 9  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  E. y
( ( G `  x ) `' G
y  /\  y F
( F `  x
) ) )
30 fvex 5699 . . . . . . . . . 10  |-  ( F `
 x )  e. 
_V
3114, 30brco 5008 . . . . . . . . 9  |-  ( ( G `  x ) ( F  o.  `' G ) ( F `
 x )  <->  E. y
( ( G `  x ) `' G
y  /\  y F
( F `  x
) ) )
3229, 31sylibr 212 . . . . . . . 8  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  ( G `  x )
( F  o.  `' G ) ( F `
 x ) )
3332adantlr 714 . . . . . . 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 4292 . . . . . . . 8  |-  ( ( F  o.  `' G
)  =  (  _I  |`  B )  ->  (
( G `  x
) ( F  o.  `' G ) ( F `
 x )  <->  ( G `  x ) (  _I  |`  B ) ( F `
 x ) ) )
3534ad2antlr 726 . . . . . . 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 210 . . . . . 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 5618 . . . . . . . . . 10  |-  ( G : A -onto-> B  ->  G : A --> B )
3837adantl 466 . . . . . . . . 9  |-  ( ( F : A -onto-> B  /\  G : A -onto-> B
)  ->  G : A
--> B )
3938ffvelrnda 5841 . . . . . . . 8  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  ( G `  x )  e.  B )
40 fof 5618 . . . . . . . . . 10  |-  ( F : A -onto-> B  ->  F : A --> B )
4140adantr 465 . . . . . . . . 9  |-  ( ( F : A -onto-> B  /\  G : A -onto-> B
)  ->  F : A
--> B )
4241ffvelrnda 5841 . . . . . . . 8  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  ( F `  x )  e.  B )
43 resieq 5119 . . . . . . . 8  |-  ( ( ( G `  x
)  e.  B  /\  ( F `  x )  e.  B )  -> 
( ( G `  x ) (  _I  |`  B ) ( F `
 x )  <->  ( G `  x )  =  ( F `  x ) ) )
4439, 42, 43syl2anc 661 . . . . . . 7  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  x  e.  A )  ->  (
( G `  x
) (  _I  |`  B ) ( F `  x
)  <->  ( G `  x )  =  ( F `  x ) ) )
4544adantlr 714 . . . . . 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 210 . . . . 5  |-  ( ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  ( F  o.  `' G
)  =  (  _I  |`  B ) )  /\  x  e.  A )  ->  ( G `  x
)  =  ( F `
 x ) )
4746eqcomd 2446 . . . 4  |-  ( ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  ( F  o.  `' G
)  =  (  _I  |`  B ) )  /\  x  e.  A )  ->  ( F `  x
)  =  ( G `
 x ) )
488, 10, 47eqfnfvd 5798 . . 3  |-  ( ( ( F : A -onto-> B  /\  G : A -onto-> B )  /\  ( F  o.  `' G
)  =  (  _I  |`  B ) )  ->  F  =  G )
4948ex 434 . 2  |-  ( ( F : A -onto-> B  /\  G : A -onto-> B
)  ->  ( ( F  o.  `' G
)  =  (  _I  |`  B )  ->  F  =  G ) )
506, 49impbid 191 1  |-  ( ( F : A -onto-> B  /\  G : A -onto-> B
)  ->  ( F  =  G  <->  ( F  o.  `' G )  =  (  _I  |`  B )
) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    = wceq 1369   E.wex 1586    e. wcel 1756   <.cop 3881   class class class wbr 4290    _I cid 4629   `'ccnv 4837    |` cres 4840    o. ccom 4842    Fn wfn 5411   -->wf 5412   -onto->wfo 5414   ` cfv 5416
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-8 1758  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2422  ax-sep 4411  ax-nul 4419  ax-pow 4468  ax-pr 4529
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2428  df-cleq 2434  df-clel 2437  df-nfc 2566  df-ne 2606  df-ral 2718  df-rex 2719  df-rab 2722  df-v 2972  df-sbc 3185  df-csb 3287  df-dif 3329  df-un 3331  df-in 3333  df-ss 3340  df-nul 3636  df-if 3790  df-sn 3876  df-pr 3878  df-op 3882  df-uni 4090  df-br 4291  df-opab 4349  df-mpt 4350  df-id 4634  df-xp 4844  df-rel 4845  df-cnv 4846  df-co 4847  df-dm 4848  df-rn 4849  df-res 4850  df-ima 4851  df-iota 5379  df-fun 5418  df-fn 5419  df-f 5420  df-fo 5422  df-fv 5424
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator