ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  offval Unicode version

Theorem offval 5739
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  oF 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 5404 . . . 4  |-  ( ( F  Fn  A  /\  A  e.  V )  ->  F  e.  _V )
41, 2, 3syl2anc 403 . . 3  |-  ( ph  ->  F  e.  _V )
5 offval.2 . . . 4  |-  ( ph  ->  G  Fn  B )
6 offval.4 . . . 4  |-  ( ph  ->  B  e.  W )
7 fnex 5404 . . . 4  |-  ( ( G  Fn  B  /\  B  e.  W )  ->  G  e.  _V )
85, 6, 7syl2anc 403 . . 3  |-  ( ph  ->  G  e.  _V )
9 fndm 5018 . . . . . . . 8  |-  ( F  Fn  A  ->  dom  F  =  A )
101, 9syl 14 . . . . . . 7  |-  ( ph  ->  dom  F  =  A )
11 fndm 5018 . . . . . . . 8  |-  ( G  Fn  B  ->  dom  G  =  B )
125, 11syl 14 . . . . . . 7  |-  ( ph  ->  dom  G  =  B )
1310, 12ineq12d 3168 . . . . . 6  |-  ( ph  ->  ( dom  F  i^i  dom 
G )  =  ( A  i^i  B ) )
14 offval.5 . . . . . 6  |-  ( A  i^i  B )  =  S
1513, 14syl6eq 2129 . . . . 5  |-  ( ph  ->  ( dom  F  i^i  dom 
G )  =  S )
1615mpteq1d 3863 . . . 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 3914 . . . . . 6  |-  ( A  e.  V  ->  ( A  i^i  B )  e. 
_V )
1814, 17syl5eqelr 2166 . . . . 5  |-  ( A  e.  V  ->  S  e.  _V )
19 mptexg 5407 . . . . 5  |-  ( S  e.  _V  ->  (
x  e.  S  |->  ( ( F `  x
) R ( G `
 x ) ) )  e.  _V )
202, 18, 193syl 17 . . . 4  |-  ( ph  ->  ( x  e.  S  |->  ( ( F `  x ) R ( G `  x ) ) )  e.  _V )
2116, 20eqeltrd 2155 . . 3  |-  ( ph  ->  ( x  e.  ( dom  F  i^i  dom  G )  |->  ( ( F `
 x ) R ( G `  x
) ) )  e. 
_V )
22 dmeq 4553 . . . . . 6  |-  ( f  =  F  ->  dom  f  =  dom  F )
23 dmeq 4553 . . . . . 6  |-  ( g  =  G  ->  dom  g  =  dom  G )
2422, 23ineqan12d 3169 . . . . 5  |-  ( ( f  =  F  /\  g  =  G )  ->  ( dom  f  i^i 
dom  g )  =  ( dom  F  i^i  dom 
G ) )
25 fveq1 5197 . . . . . 6  |-  ( f  =  F  ->  (
f `  x )  =  ( F `  x ) )
26 fveq1 5197 . . . . . 6  |-  ( g  =  G  ->  (
g `  x )  =  ( G `  x ) )
2725, 26oveqan12d 5551 . . . . 5  |-  ( ( f  =  F  /\  g  =  G )  ->  ( ( f `  x ) R ( g `  x ) )  =  ( ( F `  x ) R ( G `  x ) ) )
2824, 27mpteq12dv 3860 . . . 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 5732 . . . 4  |-  oF R  =  ( f  e.  _V ,  g  e.  _V  |->  ( x  e.  ( dom  f  i^i  dom  g )  |->  ( ( f `  x
) R ( g `
 x ) ) ) )
3028, 29ovmpt2ga 5650 . . 3  |-  ( ( F  e.  _V  /\  G  e.  _V  /\  (
x  e.  ( dom 
F  i^i  dom  G ) 
|->  ( ( F `  x ) R ( G `  x ) ) )  e.  _V )  ->  ( F  oF R G )  =  ( x  e.  ( dom  F  i^i  dom 
G )  |->  ( ( F `  x ) R ( G `  x ) ) ) )
314, 8, 21, 30syl3anc 1169 . 2  |-  ( ph  ->  ( F  oF R G )  =  ( x  e.  ( dom  F  i^i  dom  G )  |->  ( ( F `
 x ) R ( G `  x
) ) ) )
3214eleq2i 2145 . . . . 5  |-  ( x  e.  ( A  i^i  B )  <->  x  e.  S
)
33 elin 3155 . . . . 5  |-  ( x  e.  ( A  i^i  B )  <->  ( x  e.  A  /\  x  e.  B ) )
3432, 33bitr3i 184 . . . 4  |-  ( x  e.  S  <->  ( x  e.  A  /\  x  e.  B ) )
35 offval.6 . . . . . 6  |-  ( (
ph  /\  x  e.  A )  ->  ( F `  x )  =  C )
3635adantrr 462 . . . . 5  |-  ( (
ph  /\  ( x  e.  A  /\  x  e.  B ) )  -> 
( F `  x
)  =  C )
37 offval.7 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  ( G `  x )  =  D )
3837adantrl 461 . . . . 5  |-  ( (
ph  /\  ( x  e.  A  /\  x  e.  B ) )  -> 
( G `  x
)  =  D )
3936, 38oveq12d 5550 . . . 4  |-  ( (
ph  /\  ( x  e.  A  /\  x  e.  B ) )  -> 
( ( F `  x ) R ( G `  x ) )  =  ( C R D ) )
4034, 39sylan2b 281 . . 3  |-  ( (
ph  /\  x  e.  S )  ->  (
( F `  x
) R ( G `
 x ) )  =  ( C R D ) )
4140mpteq2dva 3868 . 2  |-  ( ph  ->  ( x  e.  S  |->  ( ( F `  x ) R ( G `  x ) ) )  =  ( x  e.  S  |->  ( C R D ) ) )
4231, 16, 413eqtrd 2117 1  |-  ( ph  ->  ( F  oF R G )  =  ( x  e.  S  |->  ( C R D ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 102    = wceq 1284    e. wcel 1433   _Vcvv 2601    i^i cin 2972    |-> cmpt 3839   dom cdm 4363    Fn wfn 4917   ` cfv 4922  (class class class)co 5532    oFcof 5730
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-in1 576  ax-in2 577  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-14 1445  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063  ax-coll 3893  ax-sep 3896  ax-pow 3948  ax-pr 3964  ax-setind 4280
This theorem depends on definitions:  df-bi 115  df-3an 921  df-tru 1287  df-fal 1290  df-nf 1390  df-sb 1686  df-eu 1944  df-mo 1945  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ne 2246  df-ral 2353  df-rex 2354  df-reu 2355  df-rab 2357  df-v 2603  df-sbc 2816  df-csb 2909  df-dif 2975  df-un 2977  df-in 2979  df-ss 2986  df-pw 3384  df-sn 3404  df-pr 3405  df-op 3407  df-uni 3602  df-iun 3680  df-br 3786  df-opab 3840  df-mpt 3841  df-id 4048  df-xp 4369  df-rel 4370  df-cnv 4371  df-co 4372  df-dm 4373  df-rn 4374  df-res 4375  df-ima 4376  df-iota 4887  df-fun 4924  df-fn 4925  df-f 4926  df-f1 4927  df-fo 4928  df-f1o 4929  df-fv 4930  df-ov 5535  df-oprab 5536  df-mpt2 5537  df-of 5732
This theorem is referenced by:  fnofval  5741  off  5744  ofres  5745  offval2  5746  suppssof1  5748  ofco  5749  offveqb  5750
  Copyright terms: Public domain W3C validator