ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  opbrop Unicode version

Theorem opbrop 4683
Description: Ordered pair membership in a relation. Special case. (Contributed by NM, 5-Aug-1995.)
Hypotheses
Ref Expression
opbrop.1  |-  ( ( ( z  =  A  /\  w  =  B )  /\  ( v  =  C  /\  u  =  D ) )  -> 
( ph  <->  ps ) )
opbrop.2  |-  R  =  { <. x ,  y
>.  |  ( (
x  e.  ( S  X.  S )  /\  y  e.  ( S  X.  S ) )  /\  E. z E. w E. v E. u ( ( x  =  <. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ph )
) }
Assertion
Ref Expression
opbrop  |-  ( ( ( A  e.  S  /\  B  e.  S
)  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( <. A ,  B >. R <. C ,  D >.  <->  ps ) )
Distinct variable groups:    x, y, z, w, v, u, A   
x, B, y, z, w, v, u    x, C, y, z, w, v, u    x, D, y, z, w, v, u   
x, S, y, z, w, v, u    ph, x, y    ps, z, w, v, u
Allowed substitution hints:    ph( z, w, v, u)    ps( x, y)    R( x, y, z, w, v, u)

Proof of Theorem opbrop
StepHypRef Expression
1 opbrop.1 . . . 4  |-  ( ( ( z  =  A  /\  w  =  B )  /\  ( v  =  C  /\  u  =  D ) )  -> 
( ph  <->  ps ) )
21copsex4g 4225 . . 3  |-  ( ( ( A  e.  S  /\  B  e.  S
)  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( E. z E. w E. v E. u ( ( <. A ,  B >.  = 
<. z ,  w >.  /\ 
<. C ,  D >.  = 
<. v ,  u >. )  /\  ph )  <->  ps )
)
32anbi2d 460 . 2  |-  ( ( ( A  e.  S  /\  B  e.  S
)  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( ( ( <. A ,  B >.  e.  ( S  X.  S
)  /\  <. C ,  D >.  e.  ( S  X.  S ) )  /\  E. z E. w E. v E. u ( ( <. A ,  B >.  = 
<. z ,  w >.  /\ 
<. C ,  D >.  = 
<. v ,  u >. )  /\  ph ) )  <-> 
( ( <. A ,  B >.  e.  ( S  X.  S )  /\  <. C ,  D >.  e.  ( S  X.  S
) )  /\  ps ) ) )
4 opexg 4206 . . 3  |-  ( ( A  e.  S  /\  B  e.  S )  -> 
<. A ,  B >.  e. 
_V )
5 opexg 4206 . . 3  |-  ( ( C  e.  S  /\  D  e.  S )  -> 
<. C ,  D >.  e. 
_V )
6 eleq1 2229 . . . . . 6  |-  ( x  =  <. A ,  B >.  ->  ( x  e.  ( S  X.  S
)  <->  <. A ,  B >.  e.  ( S  X.  S ) ) )
76anbi1d 461 . . . . 5  |-  ( x  =  <. A ,  B >.  ->  ( ( x  e.  ( S  X.  S )  /\  y  e.  ( S  X.  S
) )  <->  ( <. A ,  B >.  e.  ( S  X.  S )  /\  y  e.  ( S  X.  S ) ) ) )
8 eqeq1 2172 . . . . . . . 8  |-  ( x  =  <. A ,  B >.  ->  ( x  = 
<. z ,  w >.  <->  <. A ,  B >.  =  <. z ,  w >. )
)
98anbi1d 461 . . . . . . 7  |-  ( x  =  <. A ,  B >.  ->  ( ( x  =  <. z ,  w >.  /\  y  =  <. v ,  u >. )  <->  (
<. A ,  B >.  = 
<. z ,  w >.  /\  y  =  <. v ,  u >. ) ) )
109anbi1d 461 . . . . . 6  |-  ( x  =  <. A ,  B >.  ->  ( ( ( x  =  <. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ph )  <->  ( ( <. A ,  B >.  =  <. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ph ) ) )
11104exbidv 1858 . . . . 5  |-  ( x  =  <. A ,  B >.  ->  ( E. z E. w E. v E. u ( ( x  =  <. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ph )  <->  E. z E. w E. v E. u ( ( <. A ,  B >.  = 
<. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ph ) ) )
127, 11anbi12d 465 . . . 4  |-  ( x  =  <. A ,  B >.  ->  ( ( ( x  e.  ( S  X.  S )  /\  y  e.  ( S  X.  S ) )  /\  E. z E. w E. v E. u ( ( x  =  <. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ph )
)  <->  ( ( <. A ,  B >.  e.  ( S  X.  S
)  /\  y  e.  ( S  X.  S
) )  /\  E. z E. w E. v E. u ( ( <. A ,  B >.  = 
<. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ph ) ) ) )
13 eleq1 2229 . . . . . 6  |-  ( y  =  <. C ,  D >.  ->  ( y  e.  ( S  X.  S
)  <->  <. C ,  D >.  e.  ( S  X.  S ) ) )
1413anbi2d 460 . . . . 5  |-  ( y  =  <. C ,  D >.  ->  ( ( <. A ,  B >.  e.  ( S  X.  S
)  /\  y  e.  ( S  X.  S
) )  <->  ( <. A ,  B >.  e.  ( S  X.  S )  /\  <. C ,  D >.  e.  ( S  X.  S ) ) ) )
15 eqeq1 2172 . . . . . . . 8  |-  ( y  =  <. C ,  D >.  ->  ( y  = 
<. v ,  u >.  <->  <. C ,  D >.  =  <. v ,  u >. )
)
1615anbi2d 460 . . . . . . 7  |-  ( y  =  <. C ,  D >.  ->  ( ( <. A ,  B >.  = 
<. z ,  w >.  /\  y  =  <. v ,  u >. )  <->  ( <. A ,  B >.  =  <. z ,  w >.  /\  <. C ,  D >.  =  <. v ,  u >. )
) )
1716anbi1d 461 . . . . . 6  |-  ( y  =  <. C ,  D >.  ->  ( ( (
<. A ,  B >.  = 
<. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ph ) 
<->  ( ( <. A ,  B >.  =  <. z ,  w >.  /\  <. C ,  D >.  =  <. v ,  u >. )  /\  ph ) ) )
18174exbidv 1858 . . . . 5  |-  ( y  =  <. C ,  D >.  ->  ( E. z E. w E. v E. u ( ( <. A ,  B >.  = 
<. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ph ) 
<->  E. z E. w E. v E. u ( ( <. A ,  B >.  =  <. z ,  w >.  /\  <. C ,  D >.  =  <. v ,  u >. )  /\  ph )
) )
1914, 18anbi12d 465 . . . 4  |-  ( y  =  <. C ,  D >.  ->  ( ( (
<. A ,  B >.  e.  ( S  X.  S
)  /\  y  e.  ( S  X.  S
) )  /\  E. z E. w E. v E. u ( ( <. A ,  B >.  = 
<. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ph ) )  <->  ( ( <. A ,  B >.  e.  ( S  X.  S
)  /\  <. C ,  D >.  e.  ( S  X.  S ) )  /\  E. z E. w E. v E. u ( ( <. A ,  B >.  = 
<. z ,  w >.  /\ 
<. C ,  D >.  = 
<. v ,  u >. )  /\  ph ) ) ) )
20 opbrop.2 . . . 4  |-  R  =  { <. x ,  y
>.  |  ( (
x  e.  ( S  X.  S )  /\  y  e.  ( S  X.  S ) )  /\  E. z E. w E. v E. u ( ( x  =  <. z ,  w >.  /\  y  =  <. v ,  u >. )  /\  ph )
) }
2112, 19, 20brabg 4247 . . 3  |-  ( (
<. A ,  B >.  e. 
_V  /\  <. C ,  D >.  e.  _V )  ->  ( <. A ,  B >. R <. C ,  D >.  <-> 
( ( <. A ,  B >.  e.  ( S  X.  S )  /\  <. C ,  D >.  e.  ( S  X.  S
) )  /\  E. z E. w E. v E. u ( ( <. A ,  B >.  = 
<. z ,  w >.  /\ 
<. C ,  D >.  = 
<. v ,  u >. )  /\  ph ) ) ) )
224, 5, 21syl2an 287 . 2  |-  ( ( ( A  e.  S  /\  B  e.  S
)  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( <. A ,  B >. R <. C ,  D >.  <-> 
( ( <. A ,  B >.  e.  ( S  X.  S )  /\  <. C ,  D >.  e.  ( S  X.  S
) )  /\  E. z E. w E. v E. u ( ( <. A ,  B >.  = 
<. z ,  w >.  /\ 
<. C ,  D >.  = 
<. v ,  u >. )  /\  ph ) ) ) )
23 opelxpi 4636 . . . 4  |-  ( ( A  e.  S  /\  B  e.  S )  -> 
<. A ,  B >.  e.  ( S  X.  S
) )
24 opelxpi 4636 . . . 4  |-  ( ( C  e.  S  /\  D  e.  S )  -> 
<. C ,  D >.  e.  ( S  X.  S
) )
2523, 24anim12i 336 . . 3  |-  ( ( ( A  e.  S  /\  B  e.  S
)  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( <. A ,  B >.  e.  ( S  X.  S )  /\  <. C ,  D >.  e.  ( S  X.  S ) ) )
2625biantrurd 303 . 2  |-  ( ( ( A  e.  S  /\  B  e.  S
)  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( ps  <->  ( ( <. A ,  B >.  e.  ( S  X.  S
)  /\  <. C ,  D >.  e.  ( S  X.  S ) )  /\  ps ) ) )
273, 22, 263bitr4d 219 1  |-  ( ( ( A  e.  S  /\  B  e.  S
)  /\  ( C  e.  S  /\  D  e.  S ) )  -> 
( <. A ,  B >. R <. C ,  D >.  <->  ps ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    = wceq 1343   E.wex 1480    e. wcel 2136   _Vcvv 2726   <.cop 3579   class class class wbr 3982   {copab 4042    X. cxp 4602
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-14 2139  ax-ext 2147  ax-sep 4100  ax-pow 4153  ax-pr 4187
This theorem depends on definitions:  df-bi 116  df-3an 970  df-tru 1346  df-nf 1449  df-sb 1751  df-eu 2017  df-mo 2018  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-rex 2450  df-v 2728  df-un 3120  df-in 3122  df-ss 3129  df-pw 3561  df-sn 3582  df-pr 3583  df-op 3585  df-br 3983  df-opab 4044  df-xp 4610
This theorem is referenced by:  ecopoveq  6596  oviec  6607
  Copyright terms: Public domain W3C validator