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

Theorem mpt2xopoveq 7345
Description: Value of an operation given by a maps-to rule, where the first argument is a pair and the base set of the second argument is the first component of the first argument. (Contributed by Alexander van der Vekens, 11-Oct-2017.)
Hypothesis
Ref Expression
mpt2xopoveq.f  |-  F  =  ( x  e.  _V ,  y  e.  ( 1st `  x )  |->  { n  e.  ( 1st `  x )  |  ph } )
Assertion
Ref Expression
mpt2xopoveq  |-  ( ( ( V  e.  X  /\  W  e.  Y
)  /\  K  e.  V )  ->  ( <. V ,  W >. F K )  =  {
n  e.  V  |  [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph }
)
Distinct variable groups:    n, K, x, y    n, V, x, y    n, W, x, y    n, X, x, y    n, Y, x, y
Allowed substitution hints:    ph( x, y, n)    F( x, y, n)

Proof of Theorem mpt2xopoveq
StepHypRef Expression
1 mpt2xopoveq.f . . 3  |-  F  =  ( x  e.  _V ,  y  e.  ( 1st `  x )  |->  { n  e.  ( 1st `  x )  |  ph } )
21a1i 11 . 2  |-  ( ( ( V  e.  X  /\  W  e.  Y
)  /\  K  e.  V )  ->  F  =  ( x  e. 
_V ,  y  e.  ( 1st `  x
)  |->  { n  e.  ( 1st `  x
)  |  ph }
) )
3 fveq2 6191 . . . . 5  |-  ( x  =  <. V ,  W >.  ->  ( 1st `  x
)  =  ( 1st `  <. V ,  W >. ) )
4 op1stg 7180 . . . . . 6  |-  ( ( V  e.  X  /\  W  e.  Y )  ->  ( 1st `  <. V ,  W >. )  =  V )
54adantr 481 . . . . 5  |-  ( ( ( V  e.  X  /\  W  e.  Y
)  /\  K  e.  V )  ->  ( 1st `  <. V ,  W >. )  =  V )
63, 5sylan9eqr 2678 . . . 4  |-  ( ( ( ( V  e.  X  /\  W  e.  Y )  /\  K  e.  V )  /\  x  =  <. V ,  W >. )  ->  ( 1st `  x )  =  V )
76adantrr 753 . . 3  |-  ( ( ( ( V  e.  X  /\  W  e.  Y )  /\  K  e.  V )  /\  (
x  =  <. V ,  W >.  /\  y  =  K ) )  -> 
( 1st `  x
)  =  V )
8 sbceq1a 3446 . . . . . 6  |-  ( y  =  K  ->  ( ph 
<-> 
[. K  /  y ]. ph ) )
98adantl 482 . . . . 5  |-  ( ( x  =  <. V ,  W >.  /\  y  =  K )  ->  ( ph 
<-> 
[. K  /  y ]. ph ) )
109adantl 482 . . . 4  |-  ( ( ( ( V  e.  X  /\  W  e.  Y )  /\  K  e.  V )  /\  (
x  =  <. V ,  W >.  /\  y  =  K ) )  -> 
( ph  <->  [. K  /  y ]. ph ) )
11 sbceq1a 3446 . . . . . 6  |-  ( x  =  <. V ,  W >.  ->  ( [. K  /  y ]. ph  <->  [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph ) )
1211adantr 481 . . . . 5  |-  ( ( x  =  <. V ,  W >.  /\  y  =  K )  ->  ( [. K  /  y ]. ph  <->  [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph )
)
1312adantl 482 . . . 4  |-  ( ( ( ( V  e.  X  /\  W  e.  Y )  /\  K  e.  V )  /\  (
x  =  <. V ,  W >.  /\  y  =  K ) )  -> 
( [. K  /  y ]. ph  <->  [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph )
)
1410, 13bitrd 268 . . 3  |-  ( ( ( ( V  e.  X  /\  W  e.  Y )  /\  K  e.  V )  /\  (
x  =  <. V ,  W >.  /\  y  =  K ) )  -> 
( ph  <->  [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph )
)
157, 14rabeqbidv 3195 . 2  |-  ( ( ( ( V  e.  X  /\  W  e.  Y )  /\  K  e.  V )  /\  (
x  =  <. V ,  W >.  /\  y  =  K ) )  ->  { n  e.  ( 1st `  x )  | 
ph }  =  {
n  e.  V  |  [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph }
)
16 opex 4932 . . 3  |-  <. V ,  W >.  e.  _V
1716a1i 11 . 2  |-  ( ( ( V  e.  X  /\  W  e.  Y
)  /\  K  e.  V )  ->  <. V ,  W >.  e.  _V )
18 simpr 477 . 2  |-  ( ( ( V  e.  X  /\  W  e.  Y
)  /\  K  e.  V )  ->  K  e.  V )
19 rabexg 4812 . . 3  |-  ( V  e.  X  ->  { n  e.  V  |  [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph }  e.  _V )
2019ad2antrr 762 . 2  |-  ( ( ( V  e.  X  /\  W  e.  Y
)  /\  K  e.  V )  ->  { n  e.  V  |  [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph }  e.  _V )
21 equid 1939 . . 3  |-  z  =  z
22 nfvd 1844 . . 3  |-  ( z  =  z  ->  F/ x ( ( V  e.  X  /\  W  e.  Y )  /\  K  e.  V ) )
2321, 22ax-mp 5 . 2  |-  F/ x
( ( V  e.  X  /\  W  e.  Y )  /\  K  e.  V )
24 nfvd 1844 . . 3  |-  ( z  =  z  ->  F/ y ( ( V  e.  X  /\  W  e.  Y )  /\  K  e.  V ) )
2521, 24ax-mp 5 . 2  |-  F/ y ( ( V  e.  X  /\  W  e.  Y )  /\  K  e.  V )
26 nfcv 2764 . 2  |-  F/_ y <. V ,  W >.
27 nfcv 2764 . 2  |-  F/_ x K
28 nfsbc1v 3455 . . 3  |-  F/ x [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph
29 nfcv 2764 . . 3  |-  F/_ x V
3028, 29nfrab 3123 . 2  |-  F/_ x { n  e.  V  |  [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph }
31 nfsbc1v 3455 . . . 4  |-  F/ y
[. K  /  y ]. ph
3226, 31nfsbc 3457 . . 3  |-  F/ y
[. <. V ,  W >.  /  x ]. [. K  /  y ]. ph
33 nfcv 2764 . . 3  |-  F/_ y V
3432, 33nfrab 3123 . 2  |-  F/_ y { n  e.  V  |  [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph }
352, 15, 6, 17, 18, 20, 23, 25, 26, 27, 30, 34ovmpt2dxf 6786 1  |-  ( ( ( V  e.  X  /\  W  e.  Y
)  /\  K  e.  V )  ->  ( <. V ,  W >. F K )  =  {
n  e.  V  |  [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph }
)
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 196    /\ wa 384    = wceq 1483   F/wnf 1708    e. wcel 1990   {crab 2916   _Vcvv 3200   [.wsbc 3435   <.cop 4183   ` cfv 5888  (class class class)co 6650    |-> cmpt2 6652   1stc1st 7166
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1722  ax-4 1737  ax-5 1839  ax-6 1888  ax-7 1935  ax-8 1992  ax-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pow 4843  ax-pr 4906  ax-un 6949
This theorem depends on definitions:  df-bi 197  df-or 385  df-an 386  df-3an 1039  df-tru 1486  df-ex 1705  df-nf 1710  df-sb 1881  df-eu 2474  df-mo 2475  df-clab 2609  df-cleq 2615  df-clel 2618  df-nfc 2753  df-ral 2917  df-rex 2918  df-rab 2921  df-v 3202  df-sbc 3436  df-dif 3577  df-un 3579  df-in 3581  df-ss 3588  df-nul 3916  df-if 4087  df-sn 4178  df-pr 4180  df-op 4184  df-uni 4437  df-br 4654  df-opab 4713  df-mpt 4730  df-id 5024  df-xp 5120  df-rel 5121  df-cnv 5122  df-co 5123  df-dm 5124  df-rn 5125  df-iota 5851  df-fun 5890  df-fv 5896  df-ov 6653  df-oprab 6654  df-mpt2 6655  df-1st 7168
This theorem is referenced by:  mpt2xopovel  7346  mpt2xopoveqd  7347
  Copyright terms: Public domain W3C validator