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

Theorem offval 6068
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 5718 . . . 4  |-  ( ( F  Fn  A  /\  A  e.  V )  ->  F  e.  _V )
41, 2, 3syl2anc 409 . . 3  |-  ( ph  ->  F  e.  _V )
5 offval.2 . . . 4  |-  ( ph  ->  G  Fn  B )
6 offval.4 . . . 4  |-  ( ph  ->  B  e.  W )
7 fnex 5718 . . . 4  |-  ( ( G  Fn  B  /\  B  e.  W )  ->  G  e.  _V )
85, 6, 7syl2anc 409 . . 3  |-  ( ph  ->  G  e.  _V )
9 fndm 5297 . . . . . . . 8  |-  ( F  Fn  A  ->  dom  F  =  A )
101, 9syl 14 . . . . . . 7  |-  ( ph  ->  dom  F  =  A )
11 fndm 5297 . . . . . . . 8  |-  ( G  Fn  B  ->  dom  G  =  B )
125, 11syl 14 . . . . . . 7  |-  ( ph  ->  dom  G  =  B )
1310, 12ineq12d 3329 . . . . . 6  |-  ( ph  ->  ( dom  F  i^i  dom 
G )  =  ( A  i^i  B ) )
14 offval.5 . . . . . 6  |-  ( A  i^i  B )  =  S
1513, 14eqtrdi 2219 . . . . 5  |-  ( ph  ->  ( dom  F  i^i  dom 
G )  =  S )
1615mpteq1d 4074 . . . 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 4125 . . . . . 6  |-  ( A  e.  V  ->  ( A  i^i  B )  e. 
_V )
1814, 17eqeltrrid 2258 . . . . 5  |-  ( A  e.  V  ->  S  e.  _V )
19 mptexg 5721 . . . . 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 2247 . . 3  |-  ( ph  ->  ( x  e.  ( dom  F  i^i  dom  G )  |->  ( ( F `
 x ) R ( G `  x
) ) )  e. 
_V )
22 dmeq 4811 . . . . . 6  |-  ( f  =  F  ->  dom  f  =  dom  F )
23 dmeq 4811 . . . . . 6  |-  ( g  =  G  ->  dom  g  =  dom  G )
2422, 23ineqan12d 3330 . . . . 5  |-  ( ( f  =  F  /\  g  =  G )  ->  ( dom  f  i^i 
dom  g )  =  ( dom  F  i^i  dom 
G ) )
25 fveq1 5495 . . . . . 6  |-  ( f  =  F  ->  (
f `  x )  =  ( F `  x ) )
26 fveq1 5495 . . . . . 6  |-  ( g  =  G  ->  (
g `  x )  =  ( G `  x ) )
2725, 26oveqan12d 5872 . . . . 5  |-  ( ( f  =  F  /\  g  =  G )  ->  ( ( f `  x ) R ( g `  x ) )  =  ( ( F `  x ) R ( G `  x ) ) )
2824, 27mpteq12dv 4071 . . . 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 6061 . . . 4  |-  oF R  =  ( f  e.  _V ,  g  e.  _V  |->  ( x  e.  ( dom  f  i^i  dom  g )  |->  ( ( f `  x
) R ( g `
 x ) ) ) )
3028, 29ovmpoga 5982 . . 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 1233 . 2  |-  ( ph  ->  ( F  oF R G )  =  ( x  e.  ( dom  F  i^i  dom  G )  |->  ( ( F `
 x ) R ( G `  x
) ) ) )
3214eleq2i 2237 . . . . 5  |-  ( x  e.  ( A  i^i  B )  <->  x  e.  S
)
33 elin 3310 . . . . 5  |-  ( x  e.  ( A  i^i  B )  <->  ( x  e.  A  /\  x  e.  B ) )
3432, 33bitr3i 185 . . . 4  |-  ( x  e.  S  <->  ( x  e.  A  /\  x  e.  B ) )
35 offval.6 . . . . . 6  |-  ( (
ph  /\  x  e.  A )  ->  ( F `  x )  =  C )
3635adantrr 476 . . . . 5  |-  ( (
ph  /\  ( x  e.  A  /\  x  e.  B ) )  -> 
( F `  x
)  =  C )
37 offval.7 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  ( G `  x )  =  D )
3837adantrl 475 . . . . 5  |-  ( (
ph  /\  ( x  e.  A  /\  x  e.  B ) )  -> 
( G `  x
)  =  D )
3936, 38oveq12d 5871 . . . 4  |-  ( (
ph  /\  ( x  e.  A  /\  x  e.  B ) )  -> 
( ( F `  x ) R ( G `  x ) )  =  ( C R D ) )
4034, 39sylan2b 285 . . 3  |-  ( (
ph  /\  x  e.  S )  ->  (
( F `  x
) R ( G `
 x ) )  =  ( C R D ) )
4140mpteq2dva 4079 . 2  |-  ( ph  ->  ( x  e.  S  |->  ( ( F `  x ) R ( G `  x ) ) )  =  ( x  e.  S  |->  ( C R D ) ) )
4231, 16, 413eqtrd 2207 1  |-  ( ph  ->  ( F  oF R G )  =  ( x  e.  S  |->  ( C R D ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    = wceq 1348    e. wcel 2141   _Vcvv 2730    i^i cin 3120    |-> cmpt 4050   dom cdm 4611    Fn wfn 5193   ` cfv 5198  (class class class)co 5853    oFcof 6059
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-in1 609  ax-in2 610  ax-io 704  ax-5 1440  ax-7 1441  ax-gen 1442  ax-ie1 1486  ax-ie2 1487  ax-8 1497  ax-10 1498  ax-11 1499  ax-i12 1500  ax-bndl 1502  ax-4 1503  ax-17 1519  ax-i9 1523  ax-ial 1527  ax-i5r 1528  ax-14 2144  ax-ext 2152  ax-coll 4104  ax-sep 4107  ax-pow 4160  ax-pr 4194  ax-setind 4521
This theorem depends on definitions:  df-bi 116  df-3an 975  df-tru 1351  df-fal 1354  df-nf 1454  df-sb 1756  df-eu 2022  df-mo 2023  df-clab 2157  df-cleq 2163  df-clel 2166  df-nfc 2301  df-ne 2341  df-ral 2453  df-rex 2454  df-reu 2455  df-rab 2457  df-v 2732  df-sbc 2956  df-csb 3050  df-dif 3123  df-un 3125  df-in 3127  df-ss 3134  df-pw 3568  df-sn 3589  df-pr 3590  df-op 3592  df-uni 3797  df-iun 3875  df-br 3990  df-opab 4051  df-mpt 4052  df-id 4278  df-xp 4617  df-rel 4618  df-cnv 4619  df-co 4620  df-dm 4621  df-rn 4622  df-res 4623  df-ima 4624  df-iota 5160  df-fun 5200  df-fn 5201  df-f 5202  df-f1 5203  df-fo 5204  df-f1o 5205  df-fv 5206  df-ov 5856  df-oprab 5857  df-mpo 5858  df-of 6061
This theorem is referenced by:  ofvalg  6070  off  6073  ofres  6075  offval2  6076  suppssof1  6078  ofco  6079  offveqb  6080
  Copyright terms: Public domain W3C validator