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

Theorem ofsubeq0 9745
Description: Function analog of subeq0 9075. (Contributed by Mario Carneiro, 24-Jul-2014.)
Assertion
Ref Expression
ofsubeq0  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  ( ( F  o F  -  G
)  =  ( A  X.  { 0 } )  <->  F  =  G
) )

Proof of Theorem ofsubeq0
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 simp2 956 . . . . . . 7  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  F : A --> CC )
2 ffn 5391 . . . . . . 7  |-  ( F : A --> CC  ->  F  Fn  A )
31, 2syl 15 . . . . . 6  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  F  Fn  A
)
4 simp3 957 . . . . . . 7  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  G : A --> CC )
5 ffn 5391 . . . . . . 7  |-  ( G : A --> CC  ->  G  Fn  A )
64, 5syl 15 . . . . . 6  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  G  Fn  A
)
7 simp1 955 . . . . . 6  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  A  e.  V
)
8 inidm 3380 . . . . . 6  |-  ( A  i^i  A )  =  A
9 eqidd 2286 . . . . . 6  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( F `  x )  =  ( F `  x ) )
10 eqidd 2286 . . . . . 6  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( G `  x )  =  ( G `  x ) )
113, 6, 7, 7, 8, 9, 10ofval 6089 . . . . 5  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( ( F  o F  -  G
) `  x )  =  ( ( F `
 x )  -  ( G `  x ) ) )
12 c0ex 8834 . . . . . . 7  |-  0  e.  _V
1312fvconst2 5731 . . . . . 6  |-  ( x  e.  A  ->  (
( A  X.  {
0 } ) `  x )  =  0 )
1413adantl 452 . . . . 5  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( ( A  X.  { 0 } ) `  x )  =  0 )
1511, 14eqeq12d 2299 . . . 4  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( (
( F  o F  -  G ) `  x )  =  ( ( A  X.  {
0 } ) `  x )  <->  ( ( F `  x )  -  ( G `  x ) )  =  0 ) )
16 ffvelrn 5665 . . . . . 6  |-  ( ( F : A --> CC  /\  x  e.  A )  ->  ( F `  x
)  e.  CC )
171, 16sylan 457 . . . . 5  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( F `  x )  e.  CC )
18 ffvelrn 5665 . . . . . 6  |-  ( ( G : A --> CC  /\  x  e.  A )  ->  ( G `  x
)  e.  CC )
194, 18sylan 457 . . . . 5  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( G `  x )  e.  CC )
20 subeq0 9075 . . . . 5  |-  ( ( ( F `  x
)  e.  CC  /\  ( G `  x )  e.  CC )  -> 
( ( ( F `
 x )  -  ( G `  x ) )  =  0  <->  ( F `  x )  =  ( G `  x ) ) )
2117, 19, 20syl2anc 642 . . . 4  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( (
( F `  x
)  -  ( G `
 x ) )  =  0  <->  ( F `  x )  =  ( G `  x ) ) )
2215, 21bitrd 244 . . 3  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( (
( F  o F  -  G ) `  x )  =  ( ( A  X.  {
0 } ) `  x )  <->  ( F `  x )  =  ( G `  x ) ) )
2322ralbidva 2561 . 2  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  ( A. x  e.  A  ( ( F  o F  -  G
) `  x )  =  ( ( A  X.  { 0 } ) `  x )  <->  A. x  e.  A  ( F `  x )  =  ( G `  x ) ) )
243, 6, 7, 7, 8offn 6091 . . 3  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  ( F  o F  -  G )  Fn  A )
2512fconst 5429 . . . 4  |-  ( A  X.  { 0 } ) : A --> { 0 }
26 ffn 5391 . . . 4  |-  ( ( A  X.  { 0 } ) : A --> { 0 }  ->  ( A  X.  { 0 } )  Fn  A
)
2725, 26ax-mp 8 . . 3  |-  ( A  X.  { 0 } )  Fn  A
28 eqfnfv 5624 . . 3  |-  ( ( ( F  o F  -  G )  Fn  A  /\  ( A  X.  { 0 } )  Fn  A )  ->  ( ( F  o F  -  G
)  =  ( A  X.  { 0 } )  <->  A. x  e.  A  ( ( F  o F  -  G ) `  x )  =  ( ( A  X.  {
0 } ) `  x ) ) )
2924, 27, 28sylancl 643 . 2  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  ( ( F  o F  -  G
)  =  ( A  X.  { 0 } )  <->  A. x  e.  A  ( ( F  o F  -  G ) `  x )  =  ( ( A  X.  {
0 } ) `  x ) ) )
30 eqfnfv 5624 . . 3  |-  ( ( F  Fn  A  /\  G  Fn  A )  ->  ( F  =  G  <->  A. x  e.  A  ( F `  x )  =  ( G `  x ) ) )
313, 6, 30syl2anc 642 . 2  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  ( F  =  G  <->  A. x  e.  A  ( F `  x )  =  ( G `  x ) ) )
3223, 29, 313bitr4d 276 1  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  ( ( F  o F  -  G
)  =  ( A  X.  { 0 } )  <->  F  =  G
) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    /\ w3a 934    = wceq 1625    e. wcel 1686   A.wral 2545   {csn 3642    X. cxp 4689    Fn wfn 5252   -->wf 5253   ` cfv 5257  (class class class)co 5860    o Fcof 6078   CCcc 8737   0cc0 8739    - cmin 9039
This theorem is referenced by:  psrridm  16151  dv11cn  19350  coeeulem  19608  plydiveu  19680  facth  19688  quotcan  19691  plyexmo  19695  mpaaeu  27366
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1535  ax-5 1546  ax-17 1605  ax-9 1637  ax-8 1645  ax-13 1688  ax-14 1690  ax-6 1705  ax-7 1710  ax-11 1717  ax-12 1868  ax-ext 2266  ax-rep 4133  ax-sep 4143  ax-nul 4151  ax-pow 4190  ax-pr 4216  ax-un 4514  ax-resscn 8796  ax-1cn 8797  ax-icn 8798  ax-addcl 8799  ax-addrcl 8800  ax-mulcl 8801  ax-mulrcl 8802  ax-mulcom 8803  ax-addass 8804  ax-mulass 8805  ax-distr 8806  ax-i2m1 8807  ax-1ne0 8808  ax-1rid 8809  ax-rnegex 8810  ax-rrecex 8811  ax-cnre 8812  ax-pre-lttri 8813  ax-pre-lttrn 8814  ax-pre-ltadd 8815
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3or 935  df-3an 936  df-tru 1310  df-ex 1531  df-nf 1534  df-sb 1632  df-eu 2149  df-mo 2150  df-clab 2272  df-cleq 2278  df-clel 2281  df-nfc 2410  df-ne 2450  df-nel 2451  df-ral 2550  df-rex 2551  df-reu 2552  df-rab 2554  df-v 2792  df-sbc 2994  df-csb 3084  df-dif 3157  df-un 3159  df-in 3161  df-ss 3168  df-nul 3458  df-if 3568  df-pw 3629  df-sn 3648  df-pr 3649  df-op 3651  df-uni 3830  df-iun 3909  df-br 4026  df-opab 4080  df-mpt 4081  df-id 4311  df-po 4316  df-so 4317  df-xp 4697  df-rel 4698  df-cnv 4699  df-co 4700  df-dm 4701  df-rn 4702  df-res 4703  df-ima 4704  df-iota 5221  df-fun 5259  df-fn 5260  df-f 5261  df-f1 5262  df-fo 5263  df-f1o 5264  df-fv 5265  df-ov 5863  df-oprab 5864  df-mpt2 5865  df-of 6080  df-riota 6306  df-er 6662  df-en 6866  df-dom 6867  df-sdom 6868  df-pnf 8871  df-mnf 8872  df-ltxr 8874  df-sub 9041
  Copyright terms: Public domain W3C validator