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

Theorem eloprabi 6186
Description: A consequence of membership in an operation class abstraction, using ordered pair extractors. (Contributed by NM, 6-Nov-2006.) (Revised by David Abernethy, 19-Jun-2012.)
Hypotheses
Ref Expression
eloprabi.1  |-  ( x  =  ( 1st `  ( 1st `  A ) )  ->  ( ph  <->  ps )
)
eloprabi.2  |-  ( y  =  ( 2nd `  ( 1st `  A ) )  ->  ( ps  <->  ch )
)
eloprabi.3  |-  ( z  =  ( 2nd `  A
)  ->  ( ch  <->  th ) )
Assertion
Ref Expression
eloprabi  |-  ( A  e.  { <. <. x ,  y >. ,  z
>.  |  ph }  ->  th )
Distinct variable groups:    x, y,
z, A    th, x, y, z
Allowed substitution hints:    ph( x, y, z)    ps( x, y, z)    ch( x, y, z)

Proof of Theorem eloprabi
Dummy variable  w is distinct from all other variables.
StepHypRef Expression
1 eqeq1 2289 . . . . . 6  |-  ( w  =  A  ->  (
w  =  <. <. x ,  y >. ,  z
>. 
<->  A  =  <. <. x ,  y >. ,  z
>. ) )
21anbi1d 685 . . . . 5  |-  ( w  =  A  ->  (
( w  =  <. <.
x ,  y >. ,  z >.  /\  ph ) 
<->  ( A  =  <. <.
x ,  y >. ,  z >.  /\  ph ) ) )
323exbidv 1615 . . . 4  |-  ( w  =  A  ->  ( E. x E. y E. z ( w  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph )  <->  E. x E. y E. z ( A  =  <. <. x ,  y >. ,  z
>.  /\  ph ) ) )
4 df-oprab 5862 . . . 4  |-  { <. <.
x ,  y >. ,  z >.  |  ph }  =  { w  |  E. x E. y E. z ( w  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph ) }
53, 4elab2g 2916 . . 3  |-  ( A  e.  { <. <. x ,  y >. ,  z
>.  |  ph }  ->  ( A  e.  { <. <.
x ,  y >. ,  z >.  |  ph } 
<->  E. x E. y E. z ( A  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph ) ) )
65ibi 232 . 2  |-  ( A  e.  { <. <. x ,  y >. ,  z
>.  |  ph }  ->  E. x E. y E. z ( A  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph ) )
7 opex 4237 . . . . . . . . . . 11  |-  <. x ,  y >.  e.  _V
8 vex 2791 . . . . . . . . . . 11  |-  z  e. 
_V
97, 8op1std 6130 . . . . . . . . . 10  |-  ( A  =  <. <. x ,  y
>. ,  z >.  -> 
( 1st `  A
)  =  <. x ,  y >. )
109fveq2d 5529 . . . . . . . . 9  |-  ( A  =  <. <. x ,  y
>. ,  z >.  -> 
( 1st `  ( 1st `  A ) )  =  ( 1st `  <. x ,  y >. )
)
11 vex 2791 . . . . . . . . . 10  |-  x  e. 
_V
12 vex 2791 . . . . . . . . . 10  |-  y  e. 
_V
1311, 12op1st 6128 . . . . . . . . 9  |-  ( 1st `  <. x ,  y
>. )  =  x
1410, 13syl6req 2332 . . . . . . . 8  |-  ( A  =  <. <. x ,  y
>. ,  z >.  ->  x  =  ( 1st `  ( 1st `  A
) ) )
15 eloprabi.1 . . . . . . . 8  |-  ( x  =  ( 1st `  ( 1st `  A ) )  ->  ( ph  <->  ps )
)
1614, 15syl 15 . . . . . . 7  |-  ( A  =  <. <. x ,  y
>. ,  z >.  -> 
( ph  <->  ps ) )
179fveq2d 5529 . . . . . . . . 9  |-  ( A  =  <. <. x ,  y
>. ,  z >.  -> 
( 2nd `  ( 1st `  A ) )  =  ( 2nd `  <. x ,  y >. )
)
1811, 12op2nd 6129 . . . . . . . . 9  |-  ( 2nd `  <. x ,  y
>. )  =  y
1917, 18syl6req 2332 . . . . . . . 8  |-  ( A  =  <. <. x ,  y
>. ,  z >.  -> 
y  =  ( 2nd `  ( 1st `  A
) ) )
20 eloprabi.2 . . . . . . . 8  |-  ( y  =  ( 2nd `  ( 1st `  A ) )  ->  ( ps  <->  ch )
)
2119, 20syl 15 . . . . . . 7  |-  ( A  =  <. <. x ,  y
>. ,  z >.  -> 
( ps  <->  ch )
)
227, 8op2ndd 6131 . . . . . . . . 9  |-  ( A  =  <. <. x ,  y
>. ,  z >.  -> 
( 2nd `  A
)  =  z )
2322eqcomd 2288 . . . . . . . 8  |-  ( A  =  <. <. x ,  y
>. ,  z >.  -> 
z  =  ( 2nd `  A ) )
24 eloprabi.3 . . . . . . . 8  |-  ( z  =  ( 2nd `  A
)  ->  ( ch  <->  th ) )
2523, 24syl 15 . . . . . . 7  |-  ( A  =  <. <. x ,  y
>. ,  z >.  -> 
( ch  <->  th )
)
2616, 21, 253bitrd 270 . . . . . 6  |-  ( A  =  <. <. x ,  y
>. ,  z >.  -> 
( ph  <->  th ) )
2726biimpa 470 . . . . 5  |-  ( ( A  =  <. <. x ,  y >. ,  z
>.  /\  ph )  ->  th )
2827exlimiv 1666 . . . 4  |-  ( E. z ( A  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph )  ->  th )
2928exlimiv 1666 . . 3  |-  ( E. y E. z ( A  =  <. <. x ,  y >. ,  z
>.  /\  ph )  ->  th )
3029exlimiv 1666 . 2  |-  ( E. x E. y E. z ( A  = 
<. <. x ,  y
>. ,  z >.  /\ 
ph )  ->  th )
316, 30syl 15 1  |-  ( A  e.  { <. <. x ,  y >. ,  z
>.  |  ph }  ->  th )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358   E.wex 1528    = wceq 1623    e. wcel 1684   <.cop 3643   ` cfv 5255   {coprab 5859   1stc1st 6120   2ndc2nd 6121
This theorem is referenced by:  prismorcset2  25918  domcatfun  25925  codcatfun  25934
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-13 1686  ax-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pow 4188  ax-pr 4214  ax-un 4512
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-ral 2548  df-rex 2549  df-rab 2552  df-v 2790  df-sbc 2992  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-br 4024  df-opab 4078  df-mpt 4079  df-id 4309  df-xp 4695  df-rel 4696  df-cnv 4697  df-co 4698  df-dm 4699  df-rn 4700  df-iota 5219  df-fun 5257  df-fv 5263  df-oprab 5862  df-1st 6122  df-2nd 6123
  Copyright terms: Public domain W3C validator