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

Theorem offval 6313
Description: Value of an operation applied to two functions. (Contributed by Mario Carneiro, 20-Jul-2014.)
Hypotheses
Ref Expression
offval.1  |-  ( ph  ->  F  Fn  A )
offval.2  |-  ( ph  ->  G  Fn  B )
offval.3  |-  ( ph  ->  A  e.  V )
offval.4  |-  ( ph  ->  B  e.  W )
offval.5  |-  ( A  i^i  B )  =  S
offval.6  |-  ( (
ph  /\  x  e.  A )  ->  ( F `  x )  =  C )
offval.7  |-  ( (
ph  /\  x  e.  B )  ->  ( G `  x )  =  D )
Assertion
Ref Expression
offval  |-  ( ph  ->  ( F  o F R G )  =  ( x  e.  S  |->  ( C R D ) ) )
Distinct variable groups:    x, A    x, F    x, G    ph, x    x, S    x, R
Allowed substitution hints:    B( x)    C( x)    D( x)    V( x)    W( x)

Proof of Theorem offval
Dummy variables  f 
g are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 offval.1 . . . 4  |-  ( ph  ->  F  Fn  A )
2 offval.3 . . . 4  |-  ( ph  ->  A  e.  V )
3 fnex 5962 . . . 4  |-  ( ( F  Fn  A  /\  A  e.  V )  ->  F  e.  _V )
41, 2, 3syl2anc 644 . . 3  |-  ( ph  ->  F  e.  _V )
5 offval.2 . . . 4  |-  ( ph  ->  G  Fn  B )
6 offval.4 . . . 4  |-  ( ph  ->  B  e.  W )
7 fnex 5962 . . . 4  |-  ( ( G  Fn  B  /\  B  e.  W )  ->  G  e.  _V )
85, 6, 7syl2anc 644 . . 3  |-  ( ph  ->  G  e.  _V )
9 fndm 5545 . . . . . . . 8  |-  ( F  Fn  A  ->  dom  F  =  A )
101, 9syl 16 . . . . . . 7  |-  ( ph  ->  dom  F  =  A )
11 fndm 5545 . . . . . . . 8  |-  ( G  Fn  B  ->  dom  G  =  B )
125, 11syl 16 . . . . . . 7  |-  ( ph  ->  dom  G  =  B )
1310, 12ineq12d 3544 . . . . . 6  |-  ( ph  ->  ( dom  F  i^i  dom 
G )  =  ( A  i^i  B ) )
14 offval.5 . . . . . 6  |-  ( A  i^i  B )  =  S
1513, 14syl6eq 2485 . . . . 5  |-  ( ph  ->  ( dom  F  i^i  dom 
G )  =  S )
1615mpteq1d 4291 . . . 4  |-  ( ph  ->  ( x  e.  ( dom  F  i^i  dom  G )  |->  ( ( F `
 x ) R ( G `  x
) ) )  =  ( x  e.  S  |->  ( ( F `  x ) R ( G `  x ) ) ) )
17 inex1g 4347 . . . . . 6  |-  ( A  e.  V  ->  ( A  i^i  B )  e. 
_V )
1814, 17syl5eqelr 2522 . . . . 5  |-  ( A  e.  V  ->  S  e.  _V )
19 mptexg 5966 . . . . 5  |-  ( S  e.  _V  ->  (
x  e.  S  |->  ( ( F `  x
) R ( G `
 x ) ) )  e.  _V )
202, 18, 193syl 19 . . . 4  |-  ( ph  ->  ( x  e.  S  |->  ( ( F `  x ) R ( G `  x ) ) )  e.  _V )
2116, 20eqeltrd 2511 . . 3  |-  ( ph  ->  ( x  e.  ( dom  F  i^i  dom  G )  |->  ( ( F `
 x ) R ( G `  x
) ) )  e. 
_V )
22 dmeq 5071 . . . . . 6  |-  ( f  =  F  ->  dom  f  =  dom  F )
23 dmeq 5071 . . . . . 6  |-  ( g  =  G  ->  dom  g  =  dom  G )
2422, 23ineqan12d 3545 . . . . 5  |-  ( ( f  =  F  /\  g  =  G )  ->  ( dom  f  i^i 
dom  g )  =  ( dom  F  i^i  dom 
G ) )
25 fveq1 5728 . . . . . 6  |-  ( f  =  F  ->  (
f `  x )  =  ( F `  x ) )
26 fveq1 5728 . . . . . 6  |-  ( g  =  G  ->  (
g `  x )  =  ( G `  x ) )
2725, 26oveqan12d 6101 . . . . 5  |-  ( ( f  =  F  /\  g  =  G )  ->  ( ( f `  x ) R ( g `  x ) )  =  ( ( F `  x ) R ( G `  x ) ) )
2824, 27mpteq12dv 4288 . . . 4  |-  ( ( f  =  F  /\  g  =  G )  ->  ( x  e.  ( dom  f  i^i  dom  g )  |->  ( ( f `  x ) R ( g `  x ) ) )  =  ( x  e.  ( dom  F  i^i  dom 
G )  |->  ( ( F `  x ) R ( G `  x ) ) ) )
29 df-of 6306 . . . 4  |-  o F R  =  ( f  e.  _V ,  g  e.  _V  |->  ( x  e.  ( dom  f  i^i  dom  g )  |->  ( ( f `  x
) R ( g `
 x ) ) ) )
3028, 29ovmpt2ga 6204 . . 3  |-  ( ( F  e.  _V  /\  G  e.  _V  /\  (
x  e.  ( dom 
F  i^i  dom  G ) 
|->  ( ( F `  x ) R ( G `  x ) ) )  e.  _V )  ->  ( F  o F R G )  =  ( x  e.  ( dom  F  i^i  dom  G )  |->  ( ( F `
 x ) R ( G `  x
) ) ) )
314, 8, 21, 30syl3anc 1185 . 2  |-  ( ph  ->  ( F  o F R G )  =  ( x  e.  ( dom  F  i^i  dom  G )  |->  ( ( F `
 x ) R ( G `  x
) ) ) )
3214eleq2i 2501 . . . . 5  |-  ( x  e.  ( A  i^i  B )  <->  x  e.  S
)
33 elin 3531 . . . . 5  |-  ( x  e.  ( A  i^i  B )  <->  ( x  e.  A  /\  x  e.  B ) )
3432, 33bitr3i 244 . . . 4  |-  ( x  e.  S  <->  ( x  e.  A  /\  x  e.  B ) )
35 offval.6 . . . . . 6  |-  ( (
ph  /\  x  e.  A )  ->  ( F `  x )  =  C )
3635adantrr 699 . . . . 5  |-  ( (
ph  /\  ( x  e.  A  /\  x  e.  B ) )  -> 
( F `  x
)  =  C )
37 offval.7 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  ( G `  x )  =  D )
3837adantrl 698 . . . . 5  |-  ( (
ph  /\  ( x  e.  A  /\  x  e.  B ) )  -> 
( G `  x
)  =  D )
3936, 38oveq12d 6100 . . . 4  |-  ( (
ph  /\  ( x  e.  A  /\  x  e.  B ) )  -> 
( ( F `  x ) R ( G `  x ) )  =  ( C R D ) )
4034, 39sylan2b 463 . . 3  |-  ( (
ph  /\  x  e.  S )  ->  (
( F `  x
) R ( G `
 x ) )  =  ( C R D ) )
4140mpteq2dva 4296 . 2  |-  ( ph  ->  ( x  e.  S  |->  ( ( F `  x ) R ( G `  x ) ) )  =  ( x  e.  S  |->  ( C R D ) ) )
4231, 16, 413eqtrd 2473 1  |-  ( ph  ->  ( F  o F R G )  =  ( x  e.  S  |->  ( C R D ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 360    = wceq 1653    e. wcel 1726   _Vcvv 2957    i^i cin 3320    e. cmpt 4267   dom cdm 4879    Fn wfn 5450   ` cfv 5455  (class class class)co 6082    o Fcof 6304
This theorem is referenced by:  ofval  6315  offn  6317  off  6321  ofres  6322  offval2  6323  ofco  6325  offveqb  6327  suppssof1  6347  o1rlimmul  12413  gsumbagdiaglem  16441  psrplusgpropd  16630  mbfadd  19554  mbfsub  19555  mbfmullem2  19617  mbfmul  19619  bddmulibl  19731  dvcmulf  19832  evlslem1  19937  ofrn2  24054  off2  24055  ofresid  24056  offval2f  24081  itg2addnc  26260  ftc1anclem8  26288
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-14 1730  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2418  ax-rep 4321  ax-sep 4331  ax-nul 4339  ax-pr 4404
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2286  df-mo 2287  df-clab 2424  df-cleq 2430  df-clel 2433  df-nfc 2562  df-ne 2602  df-ral 2711  df-rex 2712  df-reu 2713  df-rab 2715  df-v 2959  df-sbc 3163  df-csb 3253  df-dif 3324  df-un 3326  df-in 3328  df-ss 3335  df-nul 3630  df-if 3741  df-sn 3821  df-pr 3822  df-op 3824  df-uni 4017  df-iun 4096  df-br 4214  df-opab 4268  df-mpt 4269  df-id 4499  df-xp 4885  df-rel 4886  df-cnv 4887  df-co 4888  df-dm 4889  df-rn 4890  df-res 4891  df-ima 4892  df-iota 5419  df-fun 5457  df-fn 5458  df-f 5459  df-f1 5460  df-fo 5461  df-f1o 5462  df-fv 5463  df-ov 6085  df-oprab 6086  df-mpt2 6087  df-of 6306
  Copyright terms: Public domain W3C validator