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

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

Proof of Theorem ofsubeq0
Dummy variable  x is distinct from all other variables.
StepHypRef Expression
1 simp2 992 . . . . . . 7  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  F : A --> CC )
2 ffn 5722 . . . . . . 7  |-  ( F : A --> CC  ->  F  Fn  A )
31, 2syl 16 . . . . . 6  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  F  Fn  A
)
4 simp3 993 . . . . . . 7  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  G : A --> CC )
5 ffn 5722 . . . . . . 7  |-  ( G : A --> CC  ->  G  Fn  A )
64, 5syl 16 . . . . . 6  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  G  Fn  A
)
7 simp1 991 . . . . . 6  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  A  e.  V
)
8 inidm 3700 . . . . . 6  |-  ( A  i^i  A )  =  A
9 eqidd 2461 . . . . . 6  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( F `  x )  =  ( F `  x ) )
10 eqidd 2461 . . . . . 6  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( G `  x )  =  ( G `  x ) )
113, 6, 7, 7, 8, 9, 10ofval 6524 . . . . 5  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( ( F  oF  -  G
) `  x )  =  ( ( F `
 x )  -  ( G `  x ) ) )
12 c0ex 9579 . . . . . . 7  |-  0  e.  _V
1312fvconst2 6107 . . . . . 6  |-  ( x  e.  A  ->  (
( A  X.  {
0 } ) `  x )  =  0 )
1413adantl 466 . . . . 5  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( ( A  X.  { 0 } ) `  x )  =  0 )
1511, 14eqeq12d 2482 . . . 4  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( (
( F  oF  -  G ) `  x )  =  ( ( A  X.  {
0 } ) `  x )  <->  ( ( F `  x )  -  ( G `  x ) )  =  0 ) )
161ffvelrnda 6012 . . . . 5  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( F `  x )  e.  CC )
174ffvelrnda 6012 . . . . 5  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( G `  x )  e.  CC )
1816, 17subeq0ad 9929 . . . 4  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( (
( F `  x
)  -  ( G `
 x ) )  =  0  <->  ( F `  x )  =  ( G `  x ) ) )
1915, 18bitrd 253 . . 3  |-  ( ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  /\  x  e.  A
)  ->  ( (
( F  oF  -  G ) `  x )  =  ( ( A  X.  {
0 } ) `  x )  <->  ( F `  x )  =  ( G `  x ) ) )
2019ralbidva 2893 . 2  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  ( A. x  e.  A  ( ( F  oF  -  G
) `  x )  =  ( ( A  X.  { 0 } ) `  x )  <->  A. x  e.  A  ( F `  x )  =  ( G `  x ) ) )
213, 6, 7, 7, 8offn 6526 . . 3  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  ( F  oF  -  G )  Fn  A )
2212fconst 5762 . . . 4  |-  ( A  X.  { 0 } ) : A --> { 0 }
23 ffn 5722 . . . 4  |-  ( ( A  X.  { 0 } ) : A --> { 0 }  ->  ( A  X.  { 0 } )  Fn  A
)
2422, 23ax-mp 5 . . 3  |-  ( A  X.  { 0 } )  Fn  A
25 eqfnfv 5966 . . 3  |-  ( ( ( F  oF  -  G )  Fn  A  /\  ( A  X.  { 0 } )  Fn  A )  ->  ( ( F  oF  -  G
)  =  ( A  X.  { 0 } )  <->  A. x  e.  A  ( ( F  oF  -  G ) `  x )  =  ( ( A  X.  {
0 } ) `  x ) ) )
2621, 24, 25sylancl 662 . 2  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  ( ( F  oF  -  G
)  =  ( A  X.  { 0 } )  <->  A. x  e.  A  ( ( F  oF  -  G ) `  x )  =  ( ( A  X.  {
0 } ) `  x ) ) )
27 eqfnfv 5966 . . 3  |-  ( ( F  Fn  A  /\  G  Fn  A )  ->  ( F  =  G  <->  A. x  e.  A  ( F `  x )  =  ( G `  x ) ) )
283, 6, 27syl2anc 661 . 2  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  ( F  =  G  <->  A. x  e.  A  ( F `  x )  =  ( G `  x ) ) )
2920, 26, 283bitr4d 285 1  |-  ( ( A  e.  V  /\  F : A --> CC  /\  G : A --> CC )  ->  ( ( F  oF  -  G
)  =  ( A  X.  { 0 } )  <->  F  =  G
) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    /\ w3a 968    = wceq 1374    e. wcel 1762   A.wral 2807   {csn 4020    X. cxp 4990    Fn wfn 5574   -->wf 5575   ` cfv 5579  (class class class)co 6275    oFcof 6513   CCcc 9479   0cc0 9481    - cmin 9794
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1596  ax-4 1607  ax-5 1675  ax-6 1714  ax-7 1734  ax-8 1764  ax-9 1766  ax-10 1781  ax-11 1786  ax-12 1798  ax-13 1961  ax-ext 2438  ax-rep 4551  ax-sep 4561  ax-nul 4569  ax-pow 4618  ax-pr 4679  ax-un 6567  ax-resscn 9538  ax-1cn 9539  ax-icn 9540  ax-addcl 9541  ax-addrcl 9542  ax-mulcl 9543  ax-mulrcl 9544  ax-mulcom 9545  ax-addass 9546  ax-mulass 9547  ax-distr 9548  ax-i2m1 9549  ax-1ne0 9550  ax-1rid 9551  ax-rnegex 9552  ax-rrecex 9553  ax-cnre 9554  ax-pre-lttri 9555  ax-pre-lttrn 9556  ax-pre-ltadd 9557
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3or 969  df-3an 970  df-tru 1377  df-ex 1592  df-nf 1595  df-sb 1707  df-eu 2272  df-mo 2273  df-clab 2446  df-cleq 2452  df-clel 2455  df-nfc 2610  df-ne 2657  df-nel 2658  df-ral 2812  df-rex 2813  df-reu 2814  df-rab 2816  df-v 3108  df-sbc 3325  df-csb 3429  df-dif 3472  df-un 3474  df-in 3476  df-ss 3483  df-nul 3779  df-if 3933  df-pw 4005  df-sn 4021  df-pr 4023  df-op 4027  df-uni 4239  df-iun 4320  df-br 4441  df-opab 4499  df-mpt 4500  df-id 4788  df-po 4793  df-so 4794  df-xp 4998  df-rel 4999  df-cnv 5000  df-co 5001  df-dm 5002  df-rn 5003  df-res 5004  df-ima 5005  df-iota 5542  df-fun 5581  df-fn 5582  df-f 5583  df-f1 5584  df-fo 5585  df-f1o 5586  df-fv 5587  df-riota 6236  df-ov 6278  df-oprab 6279  df-mpt2 6280  df-of 6515  df-er 7301  df-en 7507  df-dom 7508  df-sdom 7509  df-pnf 9619  df-mnf 9620  df-ltxr 9622  df-sub 9796
This theorem is referenced by:  psrridm  17822  psrridmOLD  17823  dv11cn  22130  coeeulem  22349  plydiveu  22421  facth  22429  quotcan  22432  plyexmo  22436  mpaaeu  30693
  Copyright terms: Public domain W3C validator