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

Theorem ovmpt2dxf 6216
Description: Value of an operation given by a maps-to rule, deduction form. (Contributed by Mario Carneiro, 29-Dec-2014.)
Hypotheses
Ref Expression
ovmpt2dx.1  |-  ( ph  ->  F  =  ( x  e.  C ,  y  e.  D  |->  R ) )
ovmpt2dx.2  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  ->  R  =  S )
ovmpt2dx.3  |-  ( (
ph  /\  x  =  A )  ->  D  =  L )
ovmpt2dx.4  |-  ( ph  ->  A  e.  C )
ovmpt2dx.5  |-  ( ph  ->  B  e.  L )
ovmpt2dx.6  |-  ( ph  ->  S  e.  X )
ovmpt2dxf.px  |-  F/ x ph
ovmpt2dxf.py  |-  F/ y
ph
ovmpt2dxf.ay  |-  F/_ y A
ovmpt2dxf.bx  |-  F/_ x B
ovmpt2dxf.sx  |-  F/_ x S
ovmpt2dxf.sy  |-  F/_ y S
Assertion
Ref Expression
ovmpt2dxf  |-  ( ph  ->  ( A F B )  =  S )
Distinct variable groups:    x, y    x, A    y, B
Allowed substitution hints:    ph( x, y)    A( y)    B( x)    C( x, y)    D( x, y)    R( x, y)    S( x, y)    F( x, y)    L( x, y)    X( x, y)

Proof of Theorem ovmpt2dxf
StepHypRef Expression
1 ovmpt2dx.1 . . 3  |-  ( ph  ->  F  =  ( x  e.  C ,  y  e.  D  |->  R ) )
21oveqd 6108 . 2  |-  ( ph  ->  ( A F B )  =  ( A ( x  e.  C ,  y  e.  D  |->  R ) B ) )
3 ovmpt2dx.4 . . . 4  |-  ( ph  ->  A  e.  C )
4 ovmpt2dxf.px . . . . 5  |-  F/ x ph
5 ovmpt2dx.5 . . . . . 6  |-  ( ph  ->  B  e.  L )
6 ovmpt2dxf.py . . . . . . 7  |-  F/ y
ph
7 eqid 2443 . . . . . . . . 9  |-  ( x  e.  C ,  y  e.  D  |->  R )  =  ( x  e.  C ,  y  e.  D  |->  R )
87ovmpt4g 6213 . . . . . . . 8  |-  ( ( x  e.  C  /\  y  e.  D  /\  R  e.  _V )  ->  ( x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  R )
98a1i 11 . . . . . . 7  |-  ( ph  ->  ( ( x  e.  C  /\  y  e.  D  /\  R  e. 
_V )  ->  (
x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  R ) )
106, 9alrimi 1811 . . . . . 6  |-  ( ph  ->  A. y ( ( x  e.  C  /\  y  e.  D  /\  R  e.  _V )  ->  ( x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  R ) )
115, 10spsbcd 3200 . . . . 5  |-  ( ph  ->  [. B  /  y ]. ( ( x  e.  C  /\  y  e.  D  /\  R  e. 
_V )  ->  (
x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  R ) )
124, 11alrimi 1811 . . . 4  |-  ( ph  ->  A. x [. B  /  y ]. (
( x  e.  C  /\  y  e.  D  /\  R  e.  _V )  ->  ( x ( x  e.  C , 
y  e.  D  |->  R ) y )  =  R ) )
133, 12spsbcd 3200 . . 3  |-  ( ph  ->  [. A  /  x ]. [. B  /  y ]. ( ( x  e.  C  /\  y  e.  D  /\  R  e. 
_V )  ->  (
x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  R ) )
145adantr 465 . . . . 5  |-  ( (
ph  /\  x  =  A )  ->  B  e.  L )
15 simplr 754 . . . . . . . 8  |-  ( ( ( ph  /\  x  =  A )  /\  y  =  B )  ->  x  =  A )
163ad2antrr 725 . . . . . . . 8  |-  ( ( ( ph  /\  x  =  A )  /\  y  =  B )  ->  A  e.  C )
1715, 16eqeltrd 2517 . . . . . . 7  |-  ( ( ( ph  /\  x  =  A )  /\  y  =  B )  ->  x  e.  C )
185ad2antrr 725 . . . . . . . 8  |-  ( ( ( ph  /\  x  =  A )  /\  y  =  B )  ->  B  e.  L )
19 simpr 461 . . . . . . . 8  |-  ( ( ( ph  /\  x  =  A )  /\  y  =  B )  ->  y  =  B )
20 ovmpt2dx.3 . . . . . . . . 9  |-  ( (
ph  /\  x  =  A )  ->  D  =  L )
2120adantr 465 . . . . . . . 8  |-  ( ( ( ph  /\  x  =  A )  /\  y  =  B )  ->  D  =  L )
2218, 19, 213eltr4d 2524 . . . . . . 7  |-  ( ( ( ph  /\  x  =  A )  /\  y  =  B )  ->  y  e.  D )
23 ovmpt2dx.2 . . . . . . . . 9  |-  ( (
ph  /\  ( x  =  A  /\  y  =  B ) )  ->  R  =  S )
2423anassrs 648 . . . . . . . 8  |-  ( ( ( ph  /\  x  =  A )  /\  y  =  B )  ->  R  =  S )
25 ovmpt2dx.6 . . . . . . . . . 10  |-  ( ph  ->  S  e.  X )
26 elex 2981 . . . . . . . . . 10  |-  ( S  e.  X  ->  S  e.  _V )
2725, 26syl 16 . . . . . . . . 9  |-  ( ph  ->  S  e.  _V )
2827ad2antrr 725 . . . . . . . 8  |-  ( ( ( ph  /\  x  =  A )  /\  y  =  B )  ->  S  e.  _V )
2924, 28eqeltrd 2517 . . . . . . 7  |-  ( ( ( ph  /\  x  =  A )  /\  y  =  B )  ->  R  e.  _V )
30 biimt 335 . . . . . . 7  |-  ( ( x  e.  C  /\  y  e.  D  /\  R  e.  _V )  ->  ( ( x ( x  e.  C , 
y  e.  D  |->  R ) y )  =  R  <->  ( ( x  e.  C  /\  y  e.  D  /\  R  e. 
_V )  ->  (
x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  R ) ) )
3117, 22, 29, 30syl3anc 1218 . . . . . 6  |-  ( ( ( ph  /\  x  =  A )  /\  y  =  B )  ->  (
( x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  R  <-> 
( ( x  e.  C  /\  y  e.  D  /\  R  e. 
_V )  ->  (
x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  R ) ) )
3215, 19oveq12d 6109 . . . . . . 7  |-  ( ( ( ph  /\  x  =  A )  /\  y  =  B )  ->  (
x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  ( A ( x  e.  C ,  y  e.  D  |->  R ) B ) )
3332, 24eqeq12d 2457 . . . . . 6  |-  ( ( ( ph  /\  x  =  A )  /\  y  =  B )  ->  (
( x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  R  <-> 
( A ( x  e.  C ,  y  e.  D  |->  R ) B )  =  S ) )
3431, 33bitr3d 255 . . . . 5  |-  ( ( ( ph  /\  x  =  A )  /\  y  =  B )  ->  (
( ( x  e.  C  /\  y  e.  D  /\  R  e. 
_V )  ->  (
x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  R )  <-> 
( A ( x  e.  C ,  y  e.  D  |->  R ) B )  =  S ) )
35 ovmpt2dxf.ay . . . . . . 7  |-  F/_ y A
3635nfeq2 2590 . . . . . 6  |-  F/ y  x  =  A
376, 36nfan 1861 . . . . 5  |-  F/ y ( ph  /\  x  =  A )
38 nfmpt22 6154 . . . . . . . 8  |-  F/_ y
( x  e.  C ,  y  e.  D  |->  R )
39 nfcv 2579 . . . . . . . 8  |-  F/_ y B
4035, 38, 39nfov 6114 . . . . . . 7  |-  F/_ y
( A ( x  e.  C ,  y  e.  D  |->  R ) B )
41 ovmpt2dxf.sy . . . . . . 7  |-  F/_ y S
4240, 41nfeq 2586 . . . . . 6  |-  F/ y ( A ( x  e.  C ,  y  e.  D  |->  R ) B )  =  S
4342a1i 11 . . . . 5  |-  ( (
ph  /\  x  =  A )  ->  F/ y ( A ( x  e.  C , 
y  e.  D  |->  R ) B )  =  S )
4414, 34, 37, 43sbciedf 3222 . . . 4  |-  ( (
ph  /\  x  =  A )  ->  ( [. B  /  y ]. ( ( x  e.  C  /\  y  e.  D  /\  R  e. 
_V )  ->  (
x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  R )  <-> 
( A ( x  e.  C ,  y  e.  D  |->  R ) B )  =  S ) )
45 nfcv 2579 . . . . . . 7  |-  F/_ x A
46 nfmpt21 6153 . . . . . . 7  |-  F/_ x
( x  e.  C ,  y  e.  D  |->  R )
47 ovmpt2dxf.bx . . . . . . 7  |-  F/_ x B
4845, 46, 47nfov 6114 . . . . . 6  |-  F/_ x
( A ( x  e.  C ,  y  e.  D  |->  R ) B )
49 ovmpt2dxf.sx . . . . . 6  |-  F/_ x S
5048, 49nfeq 2586 . . . . 5  |-  F/ x
( A ( x  e.  C ,  y  e.  D  |->  R ) B )  =  S
5150a1i 11 . . . 4  |-  ( ph  ->  F/ x ( A ( x  e.  C ,  y  e.  D  |->  R ) B )  =  S )
523, 44, 4, 51sbciedf 3222 . . 3  |-  ( ph  ->  ( [. A  /  x ]. [. B  / 
y ]. ( ( x  e.  C  /\  y  e.  D  /\  R  e. 
_V )  ->  (
x ( x  e.  C ,  y  e.  D  |->  R ) y )  =  R )  <-> 
( A ( x  e.  C ,  y  e.  D  |->  R ) B )  =  S ) )
5313, 52mpbid 210 . 2  |-  ( ph  ->  ( A ( x  e.  C ,  y  e.  D  |->  R ) B )  =  S )
542, 53eqtrd 2475 1  |-  ( ph  ->  ( A F B )  =  S )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    /\ w3a 965    = wceq 1369   F/wnf 1589    e. wcel 1756   F/_wnfc 2566   _Vcvv 2972   [.wsbc 3186  (class class class)co 6091    e. cmpt2 6093
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1591  ax-4 1602  ax-5 1670  ax-6 1708  ax-7 1728  ax-9 1760  ax-10 1775  ax-11 1780  ax-12 1792  ax-13 1943  ax-ext 2423  ax-sep 4413  ax-nul 4421  ax-pr 4531
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 967  df-tru 1372  df-ex 1587  df-nf 1590  df-sb 1701  df-eu 2257  df-mo 2258  df-clab 2430  df-cleq 2436  df-clel 2439  df-nfc 2568  df-ne 2608  df-ral 2720  df-rex 2721  df-rab 2724  df-v 2974  df-sbc 3187  df-dif 3331  df-un 3333  df-in 3335  df-ss 3342  df-nul 3638  df-if 3792  df-sn 3878  df-pr 3880  df-op 3884  df-uni 4092  df-br 4293  df-opab 4351  df-id 4636  df-xp 4846  df-rel 4847  df-cnv 4848  df-co 4849  df-dm 4850  df-iota 5381  df-fun 5420  df-fv 5426  df-ov 6094  df-oprab 6095  df-mpt2 6096
This theorem is referenced by:  ovmpt2dx  6217  mpt2xopoveq  6736  fvmpt2curryd  6790  mdetralt2  18415  mdetunilem2  18419  gsummatr01lem4  18464  elovmpt2rab  30158  elovmpt2rab1  30159  ovmpt3rab1  30161
  Copyright terms: Public domain W3C validator