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

Theorem opabid2 5251
Description: A relation expressed as an ordered pair abstraction. (Contributed by NM, 11-Dec-2006.)
Assertion
Ref Expression
opabid2  |-  ( Rel 
A  ->  { <. x ,  y >.  |  <. x ,  y >.  e.  A }  =  A )
Distinct variable group:    x, y, A

Proof of Theorem opabid2
Dummy variables  w  z are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 vex 3203 . . . 4  |-  z  e. 
_V
2 vex 3203 . . . 4  |-  w  e. 
_V
3 opeq1 4402 . . . . 5  |-  ( x  =  z  ->  <. x ,  y >.  =  <. z ,  y >. )
43eleq1d 2686 . . . 4  |-  ( x  =  z  ->  ( <. x ,  y >.  e.  A  <->  <. z ,  y
>.  e.  A ) )
5 opeq2 4403 . . . . 5  |-  ( y  =  w  ->  <. z ,  y >.  =  <. z ,  w >. )
65eleq1d 2686 . . . 4  |-  ( y  =  w  ->  ( <. z ,  y >.  e.  A  <->  <. z ,  w >.  e.  A ) )
71, 2, 4, 6opelopab 4997 . . 3  |-  ( <.
z ,  w >.  e. 
{ <. x ,  y
>.  |  <. x ,  y >.  e.  A } 
<-> 
<. z ,  w >.  e.  A )
87gen2 1723 . 2  |-  A. z A. w ( <. z ,  w >.  e.  { <. x ,  y >.  |  <. x ,  y >.  e.  A } 
<-> 
<. z ,  w >.  e.  A )
9 relopab 5247 . . 3  |-  Rel  { <. x ,  y >.  |  <. x ,  y
>.  e.  A }
10 eqrel 5209 . . 3  |-  ( ( Rel  { <. x ,  y >.  |  <. x ,  y >.  e.  A }  /\  Rel  A )  ->  ( { <. x ,  y >.  |  <. x ,  y >.  e.  A }  =  A  <->  A. z A. w ( <. z ,  w >.  e.  { <. x ,  y >.  |  <. x ,  y >.  e.  A } 
<-> 
<. z ,  w >.  e.  A ) ) )
119, 10mpan 706 . 2  |-  ( Rel 
A  ->  ( { <. x ,  y >.  |  <. x ,  y
>.  e.  A }  =  A 
<-> 
A. z A. w
( <. z ,  w >.  e.  { <. x ,  y >.  |  <. x ,  y >.  e.  A } 
<-> 
<. z ,  w >.  e.  A ) ) )
128, 11mpbiri 248 1  |-  ( Rel 
A  ->  { <. x ,  y >.  |  <. x ,  y >.  e.  A }  =  A )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 196   A.wal 1481    = wceq 1483    e. wcel 1990   <.cop 4183   {copab 4712   Rel wrel 5119
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-9 1999  ax-10 2019  ax-11 2034  ax-12 2047  ax-13 2246  ax-ext 2602  ax-sep 4781  ax-nul 4789  ax-pr 4906
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-rab 2921  df-v 3202  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-opab 4713  df-xp 5120  df-rel 5121
This theorem is referenced by:  opabbi2dv  5271  opabssi  34130
  Copyright terms: Public domain W3C validator