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

Theorem ovmpt2dxf 6403
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 6292 . 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 2460 . . . . . . . . 9  |-  ( x  e.  C ,  y  e.  D  |->  R )  =  ( x  e.  C ,  y  e.  D  |->  R )
87ovmpt4g 6400 . . . . . . . 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 1820 . . . . . 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 3338 . . . . 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 1820 . . . 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 3338 . . 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 2548 . . . . . . 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 2563 . . . . . . 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 3115 . . . . . . . . . 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 2548 . . . . . . 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 1223 . . . . . 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 6293 . . . . . . 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 2482 . . . . . 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 2639 . . . . . 6  |-  F/ y  x  =  A
376, 36nfan 1870 . . . . 5  |-  F/ y ( ph  /\  x  =  A )
38 nfmpt22 6340 . . . . . . . 8  |-  F/_ y
( x  e.  C ,  y  e.  D  |->  R )
39 nfcv 2622 . . . . . . . 8  |-  F/_ y B
4035, 38, 39nfov 6298 . . . . . . 7  |-  F/_ y
( A ( x  e.  C ,  y  e.  D  |->  R ) B )
41 ovmpt2dxf.sy . . . . . . 7  |-  F/_ y S
4240, 41nfeq 2633 . . . . . 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 3360 . . . 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 2622 . . . . . . 7  |-  F/_ x A
46 nfmpt21 6339 . . . . . . 7  |-  F/_ x
( x  e.  C ,  y  e.  D  |->  R )
47 ovmpt2dxf.bx . . . . . . 7  |-  F/_ x B
4845, 46, 47nfov 6298 . . . . . 6  |-  F/_ x
( A ( x  e.  C ,  y  e.  D  |->  R ) B )
49 ovmpt2dxf.sx . . . . . 6  |-  F/_ x S
5048, 49nfeq 2633 . . . . 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 3360 . . 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 2501 1  |-  ( ph  ->  ( A F B )  =  S )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    /\ w3a 968    = wceq 1374   F/wnf 1594    e. wcel 1762   F/_wnfc 2608   _Vcvv 3106   [.wsbc 3324  (class class class)co 6275    |-> cmpt2 6277
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1596  ax-4 1607  ax-5 1675  ax-6 1714  ax-7 1734  ax-9 1766  ax-10 1781  ax-11 1786  ax-12 1798  ax-13 1961  ax-ext 2438  ax-sep 4561  ax-nul 4569  ax-pr 4679
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 970  df-tru 1377  df-ex 1592  df-nf 1595  df-sb 1707  df-eu 2272  df-mo 2273  df-clab 2446  df-cleq 2452  df-clel 2455  df-nfc 2610  df-ne 2657  df-ral 2812  df-rex 2813  df-rab 2816  df-v 3108  df-sbc 3325  df-dif 3472  df-un 3474  df-in 3476  df-ss 3483  df-nul 3779  df-if 3933  df-sn 4021  df-pr 4023  df-op 4027  df-uni 4239  df-br 4441  df-opab 4499  df-id 4788  df-xp 4998  df-rel 4999  df-cnv 5000  df-co 5001  df-dm 5002  df-iota 5542  df-fun 5581  df-fv 5587  df-ov 6278  df-oprab 6279  df-mpt2 6280
This theorem is referenced by:  ovmpt2dx  6404  elovmpt2rab  6496  elovmpt2rab1  6497  ovmpt3rab1  6509  mpt2xopoveq  6937  fvmpt2curryd  6990  mdetralt2  18871  mdetunilem2  18875  gsummatr01lem4  18920
  Copyright terms: Public domain W3C validator