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

Theorem opiota 6843
Description: The property of a uniquely specified ordered pair. The proof uses properties of the  iota description binder. (Contributed by Mario Carneiro, 21-May-2015.)
Hypotheses
Ref Expression
opiota.1  |-  I  =  ( iota z E. x  e.  A  E. y  e.  B  (
z  =  <. x ,  y >.  /\  ph ) )
opiota.2  |-  X  =  ( 1st `  I
)
opiota.3  |-  Y  =  ( 2nd `  I
)
opiota.4  |-  ( x  =  C  ->  ( ph 
<->  ps ) )
opiota.5  |-  ( y  =  D  ->  ( ps 
<->  ch ) )
Assertion
Ref Expression
opiota  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  (
( C  e.  A  /\  D  e.  B  /\  ch )  <->  ( C  =  X  /\  D  =  Y ) ) )
Distinct variable groups:    x, y,
z, A    x, B, y, z    x, C, y, z    ch, y    ph, z    x, D, y, z    ps, x
Allowed substitution hints:    ph( x, y)    ps( y, z)    ch( x, z)    I( x, y, z)    X( x, y, z)    Y( x, y, z)

Proof of Theorem opiota
StepHypRef Expression
1 opiota.4 . . . . . . 7  |-  ( x  =  C  ->  ( ph 
<->  ps ) )
2 opiota.5 . . . . . . 7  |-  ( y  =  D  ->  ( ps 
<->  ch ) )
31, 2ceqsrex2v 3239 . . . . . 6  |-  ( ( C  e.  A  /\  D  e.  B )  ->  ( E. x  e.  A  E. y  e.  B  ( ( x  =  C  /\  y  =  D )  /\  ph ) 
<->  ch ) )
43bicomd 201 . . . . 5  |-  ( ( C  e.  A  /\  D  e.  B )  ->  ( ch  <->  E. x  e.  A  E. y  e.  B  ( (
x  =  C  /\  y  =  D )  /\  ph ) ) )
5 opex 4711 . . . . . . . 8  |-  <. C ,  D >.  e.  _V
65a1i 11 . . . . . . 7  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  <. C ,  D >.  e.  _V )
7 id 22 . . . . . . 7  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  E! z E. x  e.  A  E. y  e.  B  ( z  =  <. x ,  y >.  /\  ph ) )
8 eqeq1 2471 . . . . . . . . . . 11  |-  ( z  =  <. C ,  D >.  ->  ( z  = 
<. x ,  y >.  <->  <. C ,  D >.  = 
<. x ,  y >.
) )
9 eqcom 2476 . . . . . . . . . . . 12  |-  ( <. C ,  D >.  = 
<. x ,  y >.  <->  <.
x ,  y >.  =  <. C ,  D >. )
10 vex 3116 . . . . . . . . . . . . 13  |-  x  e. 
_V
11 vex 3116 . . . . . . . . . . . . 13  |-  y  e. 
_V
1210, 11opth 4721 . . . . . . . . . . . 12  |-  ( <.
x ,  y >.  =  <. C ,  D >.  <-> 
( x  =  C  /\  y  =  D ) )
139, 12bitri 249 . . . . . . . . . . 11  |-  ( <. C ,  D >.  = 
<. x ,  y >.  <->  ( x  =  C  /\  y  =  D )
)
148, 13syl6bb 261 . . . . . . . . . 10  |-  ( z  =  <. C ,  D >.  ->  ( z  = 
<. x ,  y >.  <->  ( x  =  C  /\  y  =  D )
) )
1514anbi1d 704 . . . . . . . . 9  |-  ( z  =  <. C ,  D >.  ->  ( ( z  =  <. x ,  y
>.  /\  ph )  <->  ( (
x  =  C  /\  y  =  D )  /\  ph ) ) )
16152rexbidv 2980 . . . . . . . 8  |-  ( z  =  <. C ,  D >.  ->  ( E. x  e.  A  E. y  e.  B  ( z  =  <. x ,  y
>.  /\  ph )  <->  E. x  e.  A  E. y  e.  B  ( (
x  =  C  /\  y  =  D )  /\  ph ) ) )
1716adantl 466 . . . . . . 7  |-  ( ( E! z E. x  e.  A  E. y  e.  B  ( z  =  <. x ,  y
>.  /\  ph )  /\  z  =  <. C ,  D >. )  ->  ( E. x  e.  A  E. y  e.  B  ( z  =  <. x ,  y >.  /\  ph ) 
<->  E. x  e.  A  E. y  e.  B  ( ( x  =  C  /\  y  =  D )  /\  ph ) ) )
18 nfeu1 2288 . . . . . . 7  |-  F/ z E! z E. x  e.  A  E. y  e.  B  ( z  =  <. x ,  y
>.  /\  ph )
19 nfvd 1684 . . . . . . 7  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  F/ z E. x  e.  A  E. y  e.  B  ( ( x  =  C  /\  y  =  D )  /\  ph ) )
20 nfcvd 2630 . . . . . . 7  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  F/_ z <. C ,  D >. )
216, 7, 17, 18, 19, 20iota2df 5575 . . . . . 6  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  ( E. x  e.  A  E. y  e.  B  ( ( x  =  C  /\  y  =  D )  /\  ph ) 
<->  ( iota z E. x  e.  A  E. y  e.  B  (
z  =  <. x ,  y >.  /\  ph ) )  =  <. C ,  D >. )
)
22 eqcom 2476 . . . . . . 7  |-  ( <. C ,  D >.  =  I  <->  I  =  <. C ,  D >. )
23 opiota.1 . . . . . . . 8  |-  I  =  ( iota z E. x  e.  A  E. y  e.  B  (
z  =  <. x ,  y >.  /\  ph ) )
2423eqeq1i 2474 . . . . . . 7  |-  ( I  =  <. C ,  D >.  <-> 
( iota z E. x  e.  A  E. y  e.  B  ( z  =  <. x ,  y
>.  /\  ph ) )  =  <. C ,  D >. )
2522, 24bitri 249 . . . . . 6  |-  ( <. C ,  D >.  =  I  <->  ( iota z E. x  e.  A  E. y  e.  B  ( z  =  <. x ,  y >.  /\  ph ) )  =  <. C ,  D >. )
2621, 25syl6bbr 263 . . . . 5  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  ( E. x  e.  A  E. y  e.  B  ( ( x  =  C  /\  y  =  D )  /\  ph ) 
<-> 
<. C ,  D >.  =  I ) )
274, 26sylan9bbr 700 . . . 4  |-  ( ( E! z E. x  e.  A  E. y  e.  B  ( z  =  <. x ,  y
>.  /\  ph )  /\  ( C  e.  A  /\  D  e.  B
) )  ->  ( ch 
<-> 
<. C ,  D >.  =  I ) )
2827pm5.32da 641 . . 3  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  (
( ( C  e.  A  /\  D  e.  B )  /\  ch ) 
<->  ( ( C  e.  A  /\  D  e.  B )  /\  <. C ,  D >.  =  I ) ) )
29 opelxpi 5031 . . . . . . . . . 10  |-  ( ( x  e.  A  /\  y  e.  B )  -> 
<. x ,  y >.  e.  ( A  X.  B
) )
30 simpl 457 . . . . . . . . . . 11  |-  ( ( z  =  <. x ,  y >.  /\  ph )  ->  z  =  <. x ,  y >. )
3130eleq1d 2536 . . . . . . . . . 10  |-  ( ( z  =  <. x ,  y >.  /\  ph )  ->  ( z  e.  ( A  X.  B
)  <->  <. x ,  y
>.  e.  ( A  X.  B ) ) )
3229, 31syl5ibrcom 222 . . . . . . . . 9  |-  ( ( x  e.  A  /\  y  e.  B )  ->  ( ( z  = 
<. x ,  y >.  /\  ph )  ->  z  e.  ( A  X.  B
) ) )
3332rexlimivv 2960 . . . . . . . 8  |-  ( E. x  e.  A  E. y  e.  B  (
z  =  <. x ,  y >.  /\  ph )  ->  z  e.  ( A  X.  B ) )
3433abssi 3575 . . . . . . 7  |-  { z  |  E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph ) }  C_  ( A  X.  B
)
35 iotacl 5574 . . . . . . 7  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  ( iota z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph ) )  e. 
{ z  |  E. x  e.  A  E. y  e.  B  (
z  =  <. x ,  y >.  /\  ph ) } )
3634, 35sseldi 3502 . . . . . 6  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  ( iota z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph ) )  e.  ( A  X.  B
) )
3723, 36syl5eqel 2559 . . . . 5  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  I  e.  ( A  X.  B
) )
38 opelxp 5029 . . . . . 6  |-  ( <. C ,  D >.  e.  ( A  X.  B
)  <->  ( C  e.  A  /\  D  e.  B ) )
39 eleq1 2539 . . . . . 6  |-  ( <. C ,  D >.  =  I  ->  ( <. C ,  D >.  e.  ( A  X.  B )  <-> 
I  e.  ( A  X.  B ) ) )
4038, 39syl5bbr 259 . . . . 5  |-  ( <. C ,  D >.  =  I  ->  ( ( C  e.  A  /\  D  e.  B )  <->  I  e.  ( A  X.  B ) ) )
4137, 40syl5ibrcom 222 . . . 4  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  ( <. C ,  D >.  =  I  ->  ( C  e.  A  /\  D  e.  B ) ) )
4241pm4.71rd 635 . . 3  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  ( <. C ,  D >.  =  I  <->  ( ( C  e.  A  /\  D  e.  B )  /\  <. C ,  D >.  =  I ) ) )
43 1st2nd2 6821 . . . . 5  |-  ( I  e.  ( A  X.  B )  ->  I  =  <. ( 1st `  I
) ,  ( 2nd `  I ) >. )
4437, 43syl 16 . . . 4  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  I  =  <. ( 1st `  I
) ,  ( 2nd `  I ) >. )
4544eqeq2d 2481 . . 3  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  ( <. C ,  D >.  =  I  <->  <. C ,  D >.  =  <. ( 1st `  I
) ,  ( 2nd `  I ) >. )
)
4628, 42, 453bitr2d 281 . 2  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  (
( ( C  e.  A  /\  D  e.  B )  /\  ch ) 
<-> 
<. C ,  D >.  = 
<. ( 1st `  I
) ,  ( 2nd `  I ) >. )
)
47 df-3an 975 . 2  |-  ( ( C  e.  A  /\  D  e.  B  /\  ch )  <->  ( ( C  e.  A  /\  D  e.  B )  /\  ch ) )
48 opiota.2 . . . . 5  |-  X  =  ( 1st `  I
)
4948eqeq2i 2485 . . . 4  |-  ( C  =  X  <->  C  =  ( 1st `  I ) )
50 opiota.3 . . . . 5  |-  Y  =  ( 2nd `  I
)
5150eqeq2i 2485 . . . 4  |-  ( D  =  Y  <->  D  =  ( 2nd `  I ) )
5249, 51anbi12i 697 . . 3  |-  ( ( C  =  X  /\  D  =  Y )  <->  ( C  =  ( 1st `  I )  /\  D  =  ( 2nd `  I
) ) )
53 fvex 5876 . . . 4  |-  ( 1st `  I )  e.  _V
54 fvex 5876 . . . 4  |-  ( 2nd `  I )  e.  _V
5553, 54opth2 4725 . . 3  |-  ( <. C ,  D >.  = 
<. ( 1st `  I
) ,  ( 2nd `  I ) >.  <->  ( C  =  ( 1st `  I
)  /\  D  =  ( 2nd `  I ) ) )
5652, 55bitr4i 252 . 2  |-  ( ( C  =  X  /\  D  =  Y )  <->  <. C ,  D >.  = 
<. ( 1st `  I
) ,  ( 2nd `  I ) >. )
5746, 47, 563bitr4g 288 1  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  (
( C  e.  A  /\  D  e.  B  /\  ch )  <->  ( C  =  X  /\  D  =  Y ) ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 369    /\ w3a 973    = wceq 1379    e. wcel 1767   E!weu 2275   {cab 2452   E.wrex 2815   _Vcvv 3113   <.cop 4033    X. cxp 4997   iotacio 5549   ` cfv 5588   1stc1st 6782   2ndc2nd 6783
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1601  ax-4 1612  ax-5 1680  ax-6 1719  ax-7 1739  ax-8 1769  ax-9 1771  ax-10 1786  ax-11 1791  ax-12 1803  ax-13 1968  ax-ext 2445  ax-sep 4568  ax-nul 4576  ax-pow 4625  ax-pr 4686  ax-un 6576
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-3an 975  df-tru 1382  df-ex 1597  df-nf 1600  df-sb 1712  df-eu 2279  df-mo 2280  df-clab 2453  df-cleq 2459  df-clel 2462  df-nfc 2617  df-ne 2664  df-ral 2819  df-rex 2820  df-rab 2823  df-v 3115  df-sbc 3332  df-dif 3479  df-un 3481  df-in 3483  df-ss 3490  df-nul 3786  df-if 3940  df-sn 4028  df-pr 4030  df-op 4034  df-uni 4246  df-br 4448  df-opab 4506  df-mpt 4507  df-id 4795  df-xp 5005  df-rel 5006  df-cnv 5007  df-co 5008  df-dm 5009  df-rn 5010  df-iota 5551  df-fun 5590  df-fv 5596  df-1st 6784  df-2nd 6785
This theorem is referenced by:  oeeui  7251
  Copyright terms: Public domain W3C validator