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

Theorem mpt2xopovel 6473
Description: Element of the 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 and Mario Carneiro, 10-Oct-2017.)
Hypothesis
Ref Expression
mpt2xopoveq.f  |-  F  =  ( x  e.  _V ,  y  e.  ( 1st `  x )  |->  { n  e.  ( 1st `  x )  |  ph } )
Assertion
Ref Expression
mpt2xopovel  |-  ( ( V  e.  X  /\  W  e.  Y )  ->  ( N  e.  (
<. V ,  W >. F K )  <->  ( K  e.  V  /\  N  e.  V  /\  [. <. V ,  W >.  /  x ]. [. K  /  y ]. [. N  /  n ]. ph ) ) )
Distinct variable groups:    n, K, x, y    n, V, x, y    n, W, x, y    n, X, x, y    n, Y, x, y    x, N, y
Allowed substitution hints:    ph( x, y, n)    F( x, y, n)    N( n)

Proof of Theorem mpt2xopovel
StepHypRef Expression
1 mpt2xopoveq.f . . . 4  |-  F  =  ( x  e.  _V ,  y  e.  ( 1st `  x )  |->  { n  e.  ( 1st `  x )  |  ph } )
21mpt2xopn0yelv 6466 . . 3  |-  ( ( V  e.  X  /\  W  e.  Y )  ->  ( N  e.  (
<. V ,  W >. F K )  ->  K  e.  V ) )
32pm4.71rd 618 . 2  |-  ( ( V  e.  X  /\  W  e.  Y )  ->  ( N  e.  (
<. V ,  W >. F K )  <->  ( K  e.  V  /\  N  e.  ( <. V ,  W >. F K ) ) ) )
41mpt2xopoveq 6472 . . . . . 6  |-  ( ( ( V  e.  X  /\  W  e.  Y
)  /\  K  e.  V )  ->  ( <. V ,  W >. F K )  =  {
n  e.  V  |  [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph }
)
54eleq2d 2505 . . . . 5  |-  ( ( ( V  e.  X  /\  W  e.  Y
)  /\  K  e.  V )  ->  ( N  e.  ( <. V ,  W >. F K )  <->  N  e.  { n  e.  V  |  [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph } ) )
6 nfcv 2574 . . . . . . 7  |-  F/_ n V
76elrabsf 3201 . . . . . 6  |-  ( N  e.  { n  e.  V  |  [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph }  <->  ( N  e.  V  /\  [. N  /  n ]. [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph ) )
8 sbccom 3234 . . . . . . . 8  |-  ( [. N  /  n ]. [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph  <->  [. <. V ,  W >.  /  x ]. [. N  /  n ]. [. K  /  y ]. ph )
9 sbccom 3234 . . . . . . . . 9  |-  ( [. N  /  n ]. [. K  /  y ]. ph  <->  [. K  / 
y ]. [. N  /  n ]. ph )
109sbcbii 3218 . . . . . . . 8  |-  ( [. <. V ,  W >.  /  x ]. [. N  /  n ]. [. K  /  y ]. ph  <->  [. <. V ,  W >.  /  x ]. [. K  /  y ]. [. N  /  n ]. ph )
118, 10bitri 242 . . . . . . 7  |-  ( [. N  /  n ]. [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph  <->  [. <. V ,  W >.  /  x ]. [. K  /  y ]. [. N  /  n ]. ph )
1211anbi2i 677 . . . . . 6  |-  ( ( N  e.  V  /\  [. N  /  n ]. [.
<. V ,  W >.  /  x ]. [. K  /  y ]. ph )  <->  ( N  e.  V  /\  [.
<. V ,  W >.  /  x ]. [. K  /  y ]. [. N  /  n ]. ph )
)
137, 12bitri 242 . . . . 5  |-  ( N  e.  { n  e.  V  |  [. <. V ,  W >.  /  x ]. [. K  /  y ]. ph }  <->  ( N  e.  V  /\  [. <. V ,  W >.  /  x ]. [. K  /  y ]. [. N  /  n ]. ph ) )
145, 13syl6bb 254 . . . 4  |-  ( ( ( V  e.  X  /\  W  e.  Y
)  /\  K  e.  V )  ->  ( N  e.  ( <. V ,  W >. F K )  <->  ( N  e.  V  /\  [. <. V ,  W >.  /  x ]. [. K  /  y ]. [. N  /  n ]. ph ) ) )
1514pm5.32da 624 . . 3  |-  ( ( V  e.  X  /\  W  e.  Y )  ->  ( ( K  e.  V  /\  N  e.  ( <. V ,  W >. F K ) )  <-> 
( K  e.  V  /\  ( N  e.  V  /\  [. <. V ,  W >.  /  x ]. [. K  /  y ]. [. N  /  n ]. ph )
) ) )
16 3anass 941 . . 3  |-  ( ( K  e.  V  /\  N  e.  V  /\  [.
<. V ,  W >.  /  x ]. [. K  /  y ]. [. N  /  n ]. ph )  <->  ( K  e.  V  /\  ( N  e.  V  /\  [. <. V ,  W >.  /  x ]. [. K  /  y ]. [. N  /  n ]. ph )
) )
1715, 16syl6bbr 256 . 2  |-  ( ( V  e.  X  /\  W  e.  Y )  ->  ( ( K  e.  V  /\  N  e.  ( <. V ,  W >. F K ) )  <-> 
( K  e.  V  /\  N  e.  V  /\  [. <. V ,  W >.  /  x ]. [. K  /  y ]. [. N  /  n ]. ph )
) )
183, 17bitrd 246 1  |-  ( ( V  e.  X  /\  W  e.  Y )  ->  ( N  e.  (
<. V ,  W >. F K )  <->  ( K  e.  V  /\  N  e.  V  /\  [. <. V ,  W >.  /  x ]. [. K  /  y ]. [. N  /  n ]. ph ) ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 178    /\ wa 360    /\ w3a 937    = wceq 1653    e. wcel 1726   {crab 2711   _Vcvv 2958   [.wsbc 3163   <.cop 3819   ` cfv 5456  (class class class)co 6083    e. cmpt2 6085   1stc1st 6349
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1556  ax-5 1567  ax-17 1627  ax-9 1667  ax-8 1688  ax-13 1728  ax-14 1730  ax-6 1745  ax-7 1750  ax-11 1762  ax-12 1951  ax-ext 2419  ax-sep 4332  ax-nul 4340  ax-pow 4379  ax-pr 4405  ax-un 4703
This theorem depends on definitions:  df-bi 179  df-or 361  df-an 362  df-3an 939  df-tru 1329  df-ex 1552  df-nf 1555  df-sb 1660  df-eu 2287  df-mo 2288  df-clab 2425  df-cleq 2431  df-clel 2434  df-nfc 2563  df-ne 2603  df-ral 2712  df-rex 2713  df-rab 2716  df-v 2960  df-sbc 3164  df-csb 3254  df-dif 3325  df-un 3327  df-in 3329  df-ss 3336  df-nul 3631  df-if 3742  df-sn 3822  df-pr 3823  df-op 3825  df-uni 4018  df-iun 4097  df-br 4215  df-opab 4269  df-mpt 4270  df-id 4500  df-xp 4886  df-rel 4887  df-cnv 4888  df-co 4889  df-dm 4890  df-rn 4891  df-res 4892  df-ima 4893  df-iota 5420  df-fun 5458  df-fv 5464  df-ov 6086  df-oprab 6087  df-mpt2 6088  df-1st 6351  df-2nd 6352
  Copyright terms: Public domain W3C validator