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

Theorem copsex4g 4255
Description: An implicit substitution inference for 2 ordered pairs. (Contributed by NM, 5-Aug-1995.)
Hypothesis
Ref Expression
copsex4g.1  |-  ( ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D ) )  -> 
( ph  <->  ps ) )
Assertion
Ref Expression
copsex4g  |-  ( ( ( A  e.  R  /\  B  e.  S
)  /\  ( C  e.  R  /\  D  e.  S ) )  -> 
( E. x E. y E. z E. w
( ( <. A ,  B >.  =  <. x ,  y >.  /\  <. C ,  D >.  =  <. z ,  w >. )  /\  ph )  <->  ps )
)
Distinct variable groups:    x, y,
z, w, A    x, B, y, z, w    x, C, y, z, w    x, D, y, z, w    ps, x, y, z, w    x, R, y, z, w    x, S, y, z, w
Allowed substitution hints:    ph( x, y, z, w)

Proof of Theorem copsex4g
StepHypRef Expression
1 eqcom 2285 . . . . . . 7  |-  ( <. A ,  B >.  = 
<. x ,  y >.  <->  <.
x ,  y >.  =  <. A ,  B >. )
2 vex 2791 . . . . . . . 8  |-  x  e. 
_V
3 vex 2791 . . . . . . . 8  |-  y  e. 
_V
42, 3opth 4245 . . . . . . 7  |-  ( <.
x ,  y >.  =  <. A ,  B >.  <-> 
( x  =  A  /\  y  =  B ) )
51, 4bitri 240 . . . . . 6  |-  ( <. A ,  B >.  = 
<. x ,  y >.  <->  ( x  =  A  /\  y  =  B )
)
6 eqcom 2285 . . . . . . 7  |-  ( <. C ,  D >.  = 
<. z ,  w >.  <->  <. z ,  w >.  =  <. C ,  D >. )
7 vex 2791 . . . . . . . 8  |-  z  e. 
_V
8 vex 2791 . . . . . . . 8  |-  w  e. 
_V
97, 8opth 4245 . . . . . . 7  |-  ( <.
z ,  w >.  = 
<. C ,  D >.  <->  (
z  =  C  /\  w  =  D )
)
106, 9bitri 240 . . . . . 6  |-  ( <. C ,  D >.  = 
<. z ,  w >.  <->  (
z  =  C  /\  w  =  D )
)
115, 10anbi12i 678 . . . . 5  |-  ( (
<. A ,  B >.  = 
<. x ,  y >.  /\  <. C ,  D >.  =  <. z ,  w >. )  <->  ( ( x  =  A  /\  y  =  B )  /\  (
z  =  C  /\  w  =  D )
) )
1211anbi1i 676 . . . 4  |-  ( ( ( <. A ,  B >.  =  <. x ,  y
>.  /\  <. C ,  D >.  =  <. z ,  w >. )  /\  ph )  <->  ( ( ( x  =  A  /\  y  =  B )  /\  (
z  =  C  /\  w  =  D )
)  /\  ph ) )
1312a1i 10 . . 3  |-  ( ( ( A  e.  R  /\  B  e.  S
)  /\  ( C  e.  R  /\  D  e.  S ) )  -> 
( ( ( <. A ,  B >.  = 
<. x ,  y >.  /\  <. C ,  D >.  =  <. z ,  w >. )  /\  ph )  <->  ( ( ( x  =  A  /\  y  =  B )  /\  (
z  =  C  /\  w  =  D )
)  /\  ph ) ) )
14134exbidv 1616 . 2  |-  ( ( ( A  e.  R  /\  B  e.  S
)  /\  ( C  e.  R  /\  D  e.  S ) )  -> 
( E. x E. y E. z E. w
( ( <. A ,  B >.  =  <. x ,  y >.  /\  <. C ,  D >.  =  <. z ,  w >. )  /\  ph )  <->  E. x E. y E. z E. w ( ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D ) )  /\  ph ) ) )
15 id 19 . . 3  |-  ( ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D ) )  -> 
( ( x  =  A  /\  y  =  B )  /\  (
z  =  C  /\  w  =  D )
) )
16 copsex4g.1 . . 3  |-  ( ( ( x  =  A  /\  y  =  B )  /\  ( z  =  C  /\  w  =  D ) )  -> 
( ph  <->  ps ) )
1715, 16cgsex4g 2821 . 2  |-  ( ( ( A  e.  R  /\  B  e.  S
)  /\  ( C  e.  R  /\  D  e.  S ) )  -> 
( E. x E. y E. z E. w
( ( ( x  =  A  /\  y  =  B )  /\  (
z  =  C  /\  w  =  D )
)  /\  ph )  <->  ps )
)
1814, 17bitrd 244 1  |-  ( ( ( A  e.  R  /\  B  e.  S
)  /\  ( C  e.  R  /\  D  e.  S ) )  -> 
( E. x E. y E. z E. w
( ( <. A ,  B >.  =  <. x ,  y >.  /\  <. C ,  D >.  =  <. z ,  w >. )  /\  ph )  <->  ps )
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358   E.wex 1528    = wceq 1623    e. wcel 1684   <.cop 3643
This theorem is referenced by:  opbrop  4767  ov3  5984
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-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pr 4214
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-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  df-rab 2552  df-v 2790  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
  Copyright terms: Public domain W3C validator