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

Theorem ovmpt2s 6129
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 2900 . . 3  |-  ( [_ A  /  x ]_ [_ B  /  y ]_ R  e.  V  ->  [_ A  /  x ]_ [_ B  /  y ]_ R  e.  _V )
2 nfcv 2516 . . . . 5  |-  F/_ x A
3 nfcv 2516 . . . . 5  |-  F/_ y A
4 nfcv 2516 . . . . 5  |-  F/_ y B
5 nfcsb1v 3219 . . . . . . 7  |-  F/_ x [_ A  /  x ]_ R
65nfel1 2526 . . . . . 6  |-  F/ x [_ A  /  x ]_ R  e.  _V
7 ovmpt2s.3 . . . . . . . . 9  |-  F  =  ( x  e.  C ,  y  e.  D  |->  R )
8 nfmpt21 6072 . . . . . . . . 9  |-  F/_ x
( x  e.  C ,  y  e.  D  |->  R )
97, 8nfcxfr 2513 . . . . . . . 8  |-  F/_ x F
10 nfcv 2516 . . . . . . . 8  |-  F/_ x
y
112, 9, 10nfov 6036 . . . . . . 7  |-  F/_ x
( A F y )
1211, 5nfeq 2523 . . . . . 6  |-  F/ x
( A F y )  =  [_ A  /  x ]_ R
136, 12nfim 1822 . . . . 5  |-  F/ x
( [_ A  /  x ]_ R  e.  _V  ->  ( A F y )  =  [_ A  /  x ]_ R )
14 nfcsb1v 3219 . . . . . . 7  |-  F/_ y [_ B  /  y ]_ [_ A  /  x ]_ R
1514nfel1 2526 . . . . . 6  |-  F/ y
[_ B  /  y ]_ [_ A  /  x ]_ R  e.  _V
16 nfmpt22 6073 . . . . . . . . 9  |-  F/_ y
( x  e.  C ,  y  e.  D  |->  R )
177, 16nfcxfr 2513 . . . . . . . 8  |-  F/_ y F
183, 17, 4nfov 6036 . . . . . . 7  |-  F/_ y
( A F B )
1918, 14nfeq 2523 . . . . . 6  |-  F/ y ( A F B )  =  [_ B  /  y ]_ [_ A  /  x ]_ R
2015, 19nfim 1822 . . . . 5  |-  F/ y ( [_ B  / 
y ]_ [_ A  /  x ]_ R  e.  _V  ->  ( A F B )  =  [_ B  /  y ]_ [_ A  /  x ]_ R )
21 csbeq1a 3195 . . . . . . 7  |-  ( x  =  A  ->  R  =  [_ A  /  x ]_ R )
2221eleq1d 2446 . . . . . 6  |-  ( x  =  A  ->  ( R  e.  _V  <->  [_ A  /  x ]_ R  e.  _V ) )
23 oveq1 6020 . . . . . . 7  |-  ( x  =  A  ->  (
x F y )  =  ( A F y ) )
2423, 21eqeq12d 2394 . . . . . 6  |-  ( x  =  A  ->  (
( x F y )  =  R  <->  ( A F y )  = 
[_ A  /  x ]_ R ) )
2522, 24imbi12d 312 . . . . 5  |-  ( x  =  A  ->  (
( R  e.  _V  ->  ( x F y )  =  R )  <-> 
( [_ A  /  x ]_ R  e.  _V  ->  ( A F y )  =  [_ A  /  x ]_ R ) ) )
26 csbeq1a 3195 . . . . . . 7  |-  ( y  =  B  ->  [_ A  /  x ]_ R  = 
[_ B  /  y ]_ [_ A  /  x ]_ R )
2726eleq1d 2446 . . . . . 6  |-  ( y  =  B  ->  ( [_ A  /  x ]_ R  e.  _V  <->  [_ B  /  y ]_ [_ A  /  x ]_ R  e.  _V )
)
28 oveq2 6021 . . . . . . 7  |-  ( y  =  B  ->  ( A F y )  =  ( A F B ) )
2928, 26eqeq12d 2394 . . . . . 6  |-  ( y  =  B  ->  (
( A F y )  =  [_ A  /  x ]_ R  <->  ( A F B )  =  [_ B  /  y ]_ [_ A  /  x ]_ R ) )
3027, 29imbi12d 312 . . . . 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 6128 . . . . . 6  |-  ( ( x  e.  C  /\  y  e.  D  /\  R  e.  _V )  ->  ( x F y )  =  R )
32313expia 1155 . . . . 5  |-  ( ( x  e.  C  /\  y  e.  D )  ->  ( R  e.  _V  ->  ( x F y )  =  R ) )
332, 3, 4, 13, 20, 25, 30, 32vtocl2gaf 2954 . . . 4  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( [_ B  / 
y ]_ [_ A  /  x ]_ R  e.  _V  ->  ( A F B )  =  [_ B  /  y ]_ [_ A  /  x ]_ R ) )
34 csbcomg 3210 . . . . 5  |-  ( ( A  e.  C  /\  B  e.  D )  ->  [_ A  /  x ]_ [_ B  /  y ]_ R  =  [_ B  /  y ]_ [_ A  /  x ]_ R )
3534eleq1d 2446 . . . 4  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( [_ A  /  x ]_ [_ B  / 
y ]_ R  e.  _V  <->  [_ B  /  y ]_ [_ A  /  x ]_ R  e.  _V )
)
3634eqeq2d 2391 . . . 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 260 . . 3  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( [_ A  /  x ]_ [_ B  / 
y ]_ R  e.  _V  ->  ( A F B )  =  [_ A  /  x ]_ [_ B  /  y ]_ R
) )
381, 37syl5 30 . 2  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( [_ A  /  x ]_ [_ B  / 
y ]_ R  e.  V  ->  ( A F B )  =  [_ A  /  x ]_ [_ B  /  y ]_ R
) )
39383impia 1150 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 359    /\ w3a 936    = wceq 1649    e. wcel 1717   _Vcvv 2892   [_csb 3187  (class class class)co 6013    e. cmpt2 6015
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1552  ax-5 1563  ax-17 1623  ax-9 1661  ax-8 1682  ax-14 1721  ax-6 1736  ax-7 1741  ax-11 1753  ax-12 1939  ax-ext 2361  ax-sep 4264  ax-nul 4272  ax-pr 4337
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1325  df-ex 1548  df-nf 1551  df-sb 1656  df-eu 2235  df-mo 2236  df-clab 2367  df-cleq 2373  df-clel 2376  df-nfc 2505  df-ne 2545  df-ral 2647  df-rex 2648  df-rab 2651  df-v 2894  df-sbc 3098  df-csb 3188  df-dif 3259  df-un 3261  df-in 3263  df-ss 3270  df-nul 3565  df-if 3676  df-sn 3756  df-pr 3757  df-op 3759  df-uni 3951  df-br 4147  df-opab 4201  df-id 4432  df-xp 4817  df-rel 4818  df-cnv 4819  df-co 4820  df-dm 4821  df-iota 5351  df-fun 5389  df-fv 5395  df-ov 6016  df-oprab 6017  df-mpt2 6018
  Copyright terms: Public domain W3C validator