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

Theorem ovmpt2s 5987
Description: Value of a function given by the "maps to" notation, expressed using explicit substitution. (Contributed by Mario Carneiro, 30-Apr-2015.)
Hypothesis
Ref Expression
ovmpt2s.3  |-  F  =  ( x  e.  C ,  y  e.  D  |->  R )
Assertion
Ref Expression
ovmpt2s  |-  ( ( A  e.  C  /\  B  e.  D  /\  [_ A  /  x ]_ [_ B  /  y ]_ R  e.  V )  ->  ( A F B )  =  [_ A  /  x ]_ [_ B  /  y ]_ R
)
Distinct variable groups:    x, y, A    x, B, y    x, C, y    x, D, y
Allowed substitution hints:    R( x, y)    F( x, y)    V( x, y)

Proof of Theorem ovmpt2s
StepHypRef Expression
1 elex 2809 . . 3  |-  ( [_ A  /  x ]_ [_ B  /  y ]_ R  e.  V  ->  [_ A  /  x ]_ [_ B  /  y ]_ R  e.  _V )
2 nfcv 2432 . . . . 5  |-  F/_ x A
3 nfcv 2432 . . . . 5  |-  F/_ y A
4 nfcv 2432 . . . . 5  |-  F/_ y B
5 nfcsb1v 3126 . . . . . . 7  |-  F/_ x [_ A  /  x ]_ R
65nfel1 2442 . . . . . 6  |-  F/ x [_ A  /  x ]_ R  e.  _V
7 ovmpt2s.3 . . . . . . . . 9  |-  F  =  ( x  e.  C ,  y  e.  D  |->  R )
8 nfmpt21 5930 . . . . . . . . 9  |-  F/_ x
( x  e.  C ,  y  e.  D  |->  R )
97, 8nfcxfr 2429 . . . . . . . 8  |-  F/_ x F
10 nfcv 2432 . . . . . . . 8  |-  F/_ x
y
112, 9, 10nfov 5897 . . . . . . 7  |-  F/_ x
( A F y )
1211, 5nfeq 2439 . . . . . 6  |-  F/ x
( A F y )  =  [_ A  /  x ]_ R
136, 12nfim 1781 . . . . 5  |-  F/ x
( [_ A  /  x ]_ R  e.  _V  ->  ( A F y )  =  [_ A  /  x ]_ R )
14 nfcsb1v 3126 . . . . . . 7  |-  F/_ y [_ B  /  y ]_ [_ A  /  x ]_ R
1514nfel1 2442 . . . . . 6  |-  F/ y
[_ B  /  y ]_ [_ A  /  x ]_ R  e.  _V
16 nfmpt22 5931 . . . . . . . . 9  |-  F/_ y
( x  e.  C ,  y  e.  D  |->  R )
177, 16nfcxfr 2429 . . . . . . . 8  |-  F/_ y F
183, 17, 4nfov 5897 . . . . . . 7  |-  F/_ y
( A F B )
1918, 14nfeq 2439 . . . . . 6  |-  F/ y ( A F B )  =  [_ B  /  y ]_ [_ A  /  x ]_ R
2015, 19nfim 1781 . . . . 5  |-  F/ y ( [_ B  / 
y ]_ [_ A  /  x ]_ R  e.  _V  ->  ( A F B )  =  [_ B  /  y ]_ [_ A  /  x ]_ R )
21 csbeq1a 3102 . . . . . . 7  |-  ( x  =  A  ->  R  =  [_ A  /  x ]_ R )
2221eleq1d 2362 . . . . . 6  |-  ( x  =  A  ->  ( R  e.  _V  <->  [_ A  /  x ]_ R  e.  _V ) )
23 oveq1 5881 . . . . . . 7  |-  ( x  =  A  ->  (
x F y )  =  ( A F y ) )
2423, 21eqeq12d 2310 . . . . . 6  |-  ( x  =  A  ->  (
( x F y )  =  R  <->  ( A F y )  = 
[_ A  /  x ]_ R ) )
2522, 24imbi12d 311 . . . . 5  |-  ( x  =  A  ->  (
( R  e.  _V  ->  ( x F y )  =  R )  <-> 
( [_ A  /  x ]_ R  e.  _V  ->  ( A F y )  =  [_ A  /  x ]_ R ) ) )
26 csbeq1a 3102 . . . . . . 7  |-  ( y  =  B  ->  [_ A  /  x ]_ R  = 
[_ B  /  y ]_ [_ A  /  x ]_ R )
2726eleq1d 2362 . . . . . 6  |-  ( y  =  B  ->  ( [_ A  /  x ]_ R  e.  _V  <->  [_ B  /  y ]_ [_ A  /  x ]_ R  e.  _V )
)
28 oveq2 5882 . . . . . . 7  |-  ( y  =  B  ->  ( A F y )  =  ( A F B ) )
2928, 26eqeq12d 2310 . . . . . 6  |-  ( y  =  B  ->  (
( A F y )  =  [_ A  /  x ]_ R  <->  ( A F B )  =  [_ B  /  y ]_ [_ A  /  x ]_ R ) )
3027, 29imbi12d 311 . . . . 5  |-  ( y  =  B  ->  (
( [_ A  /  x ]_ R  e.  _V  ->  ( A F y )  =  [_ A  /  x ]_ R )  <-> 
( [_ B  /  y ]_ [_ A  /  x ]_ R  e.  _V  ->  ( A F B )  =  [_ B  /  y ]_ [_ A  /  x ]_ R ) ) )
317ovmpt4g 5986 . . . . . 6  |-  ( ( x  e.  C  /\  y  e.  D  /\  R  e.  _V )  ->  ( x F y )  =  R )
32313expia 1153 . . . . 5  |-  ( ( x  e.  C  /\  y  e.  D )  ->  ( R  e.  _V  ->  ( x F y )  =  R ) )
332, 3, 4, 13, 20, 25, 30, 32vtocl2gaf 2863 . . . 4  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( [_ B  / 
y ]_ [_ A  /  x ]_ R  e.  _V  ->  ( A F B )  =  [_ B  /  y ]_ [_ A  /  x ]_ R ) )
34 csbcomg 3117 . . . . 5  |-  ( ( A  e.  C  /\  B  e.  D )  ->  [_ A  /  x ]_ [_ B  /  y ]_ R  =  [_ B  /  y ]_ [_ A  /  x ]_ R )
3534eleq1d 2362 . . . 4  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( [_ A  /  x ]_ [_ B  / 
y ]_ R  e.  _V  <->  [_ B  /  y ]_ [_ A  /  x ]_ R  e.  _V )
)
3634eqeq2d 2307 . . . 4  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( ( A F B )  =  [_ A  /  x ]_ [_ B  /  y ]_ R  <->  ( A F B )  =  [_ B  / 
y ]_ [_ A  /  x ]_ R ) )
3733, 35, 363imtr4d 259 . . 3  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( [_ A  /  x ]_ [_ B  / 
y ]_ R  e.  _V  ->  ( A F B )  =  [_ A  /  x ]_ [_ B  /  y ]_ R
) )
381, 37syl5 28 . 2  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( [_ A  /  x ]_ [_ B  / 
y ]_ R  e.  V  ->  ( A F B )  =  [_ A  /  x ]_ [_ B  /  y ]_ R
) )
39383impia 1148 1  |-  ( ( A  e.  C  /\  B  e.  D  /\  [_ A  /  x ]_ [_ B  /  y ]_ R  e.  V )  ->  ( A F B )  =  [_ A  /  x ]_ [_ B  /  y ]_ R
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 358    /\ w3a 934    = wceq 1632    e. wcel 1696   _Vcvv 2801   [_csb 3094  (class class class)co 5874    e. cmpt2 5876
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1536  ax-5 1547  ax-17 1606  ax-9 1644  ax-8 1661  ax-14 1700  ax-6 1715  ax-7 1720  ax-11 1727  ax-12 1878  ax-ext 2277  ax-sep 4157  ax-nul 4165  ax-pr 4230
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1532  df-nf 1535  df-sb 1639  df-eu 2160  df-mo 2161  df-clab 2283  df-cleq 2289  df-clel 2292  df-nfc 2421  df-ne 2461  df-ral 2561  df-rex 2562  df-rab 2565  df-v 2803  df-sbc 3005  df-csb 3095  df-dif 3168  df-un 3170  df-in 3172  df-ss 3179  df-nul 3469  df-if 3579  df-sn 3659  df-pr 3660  df-op 3662  df-uni 3844  df-br 4040  df-opab 4094  df-id 4325  df-xp 4711  df-rel 4712  df-cnv 4713  df-co 4714  df-dm 4715  df-iota 5235  df-fun 5273  df-fv 5279  df-ov 5877  df-oprab 5878  df-mpt2 5879
  Copyright terms: Public domain W3C validator