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

Theorem ovmpt2s 6189
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 2956 . . 3  |-  ( [_ A  /  x ]_ [_ B  /  y ]_ R  e.  V  ->  [_ A  /  x ]_ [_ B  /  y ]_ R  e.  _V )
2 nfcv 2571 . . . . 5  |-  F/_ x A
3 nfcv 2571 . . . . 5  |-  F/_ y A
4 nfcv 2571 . . . . 5  |-  F/_ y B
5 nfcsb1v 3275 . . . . . . 7  |-  F/_ x [_ A  /  x ]_ R
65nfel1 2581 . . . . . 6  |-  F/ x [_ A  /  x ]_ R  e.  _V
7 ovmpt2s.3 . . . . . . . . 9  |-  F  =  ( x  e.  C ,  y  e.  D  |->  R )
8 nfmpt21 6132 . . . . . . . . 9  |-  F/_ x
( x  e.  C ,  y  e.  D  |->  R )
97, 8nfcxfr 2568 . . . . . . . 8  |-  F/_ x F
10 nfcv 2571 . . . . . . . 8  |-  F/_ x
y
112, 9, 10nfov 6096 . . . . . . 7  |-  F/_ x
( A F y )
1211, 5nfeq 2578 . . . . . 6  |-  F/ x
( A F y )  =  [_ A  /  x ]_ R
136, 12nfim 1832 . . . . 5  |-  F/ x
( [_ A  /  x ]_ R  e.  _V  ->  ( A F y )  =  [_ A  /  x ]_ R )
14 nfcsb1v 3275 . . . . . . 7  |-  F/_ y [_ B  /  y ]_ [_ A  /  x ]_ R
1514nfel1 2581 . . . . . 6  |-  F/ y
[_ B  /  y ]_ [_ A  /  x ]_ R  e.  _V
16 nfmpt22 6133 . . . . . . . . 9  |-  F/_ y
( x  e.  C ,  y  e.  D  |->  R )
177, 16nfcxfr 2568 . . . . . . . 8  |-  F/_ y F
183, 17, 4nfov 6096 . . . . . . 7  |-  F/_ y
( A F B )
1918, 14nfeq 2578 . . . . . 6  |-  F/ y ( A F B )  =  [_ B  /  y ]_ [_ A  /  x ]_ R
2015, 19nfim 1832 . . . . 5  |-  F/ y ( [_ B  / 
y ]_ [_ A  /  x ]_ R  e.  _V  ->  ( A F B )  =  [_ B  /  y ]_ [_ A  /  x ]_ R )
21 csbeq1a 3251 . . . . . . 7  |-  ( x  =  A  ->  R  =  [_ A  /  x ]_ R )
2221eleq1d 2501 . . . . . 6  |-  ( x  =  A  ->  ( R  e.  _V  <->  [_ A  /  x ]_ R  e.  _V ) )
23 oveq1 6080 . . . . . . 7  |-  ( x  =  A  ->  (
x F y )  =  ( A F y ) )
2423, 21eqeq12d 2449 . . . . . 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 3251 . . . . . . 7  |-  ( y  =  B  ->  [_ A  /  x ]_ R  = 
[_ B  /  y ]_ [_ A  /  x ]_ R )
2726eleq1d 2501 . . . . . 6  |-  ( y  =  B  ->  ( [_ A  /  x ]_ R  e.  _V  <->  [_ B  /  y ]_ [_ A  /  x ]_ R  e.  _V )
)
28 oveq2 6081 . . . . . . 7  |-  ( y  =  B  ->  ( A F y )  =  ( A F B ) )
2928, 26eqeq12d 2449 . . . . . 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 6188 . . . . . 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 3010 . . . 4  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( [_ B  / 
y ]_ [_ A  /  x ]_ R  e.  _V  ->  ( A F B )  =  [_ B  /  y ]_ [_ A  /  x ]_ R ) )
34 csbcomg 3266 . . . . 5  |-  ( ( A  e.  C  /\  B  e.  D )  ->  [_ A  /  x ]_ [_ B  /  y ]_ R  =  [_ B  /  y ]_ [_ A  /  x ]_ R )
3534eleq1d 2501 . . . 4  |-  ( ( A  e.  C  /\  B  e.  D )  ->  ( [_ A  /  x ]_ [_ B  / 
y ]_ R  e.  _V  <->  [_ B  /  y ]_ [_ A  /  x ]_ R  e.  _V )
)
3634eqeq2d 2446 . . . 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 1652    e. wcel 1725   _Vcvv 2948   [_csb 3243  (class class class)co 6073    e. cmpt2 6075
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-14 1729  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2416  ax-sep 4322  ax-nul 4330  ax-pr 4395
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3an 938  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2284  df-mo 2285  df-clab 2422  df-cleq 2428  df-clel 2431  df-nfc 2560  df-ne 2600  df-ral 2702  df-rex 2703  df-rab 2706  df-v 2950  df-sbc 3154  df-csb 3244  df-dif 3315  df-un 3317  df-in 3319  df-ss 3326  df-nul 3621  df-if 3732  df-sn 3812  df-pr 3813  df-op 3815  df-uni 4008  df-br 4205  df-opab 4259  df-id 4490  df-xp 4876  df-rel 4877  df-cnv 4878  df-co 4879  df-dm 4880  df-iota 5410  df-fun 5448  df-fv 5454  df-ov 6076  df-oprab 6077  df-mpt2 6078
  Copyright terms: Public domain W3C validator