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

Theorem opiota 6290
Description: The property of a uniquely specified ordered pair. (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 2903 . . . . . 6  |-  ( ( C  e.  A  /\  D  e.  B )  ->  ( E. x  e.  A  E. y  e.  B  ( ( x  =  C  /\  y  =  D )  /\  ph ) 
<->  ch ) )
43bicomd 192 . . . . 5  |-  ( ( C  e.  A  /\  D  e.  B )  ->  ( ch  <->  E. x  e.  A  E. y  e.  B  ( (
x  =  C  /\  y  =  D )  /\  ph ) ) )
5 opex 4237 . . . . . . . 8  |-  <. C ,  D >.  e.  _V
65a1i 10 . . . . . . 7  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  <. C ,  D >.  e.  _V )
7 id 19 . . . . . . 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 2289 . . . . . . . . . . 11  |-  ( z  =  <. C ,  D >.  ->  ( z  = 
<. x ,  y >.  <->  <. C ,  D >.  = 
<. x ,  y >.
) )
9 eqcom 2285 . . . . . . . . . . . 12  |-  ( <. C ,  D >.  = 
<. x ,  y >.  <->  <.
x ,  y >.  =  <. C ,  D >. )
10 vex 2791 . . . . . . . . . . . . 13  |-  x  e. 
_V
11 vex 2791 . . . . . . . . . . . . 13  |-  y  e. 
_V
1210, 11opth 4245 . . . . . . . . . . . 12  |-  ( <.
x ,  y >.  =  <. C ,  D >.  <-> 
( x  =  C  /\  y  =  D ) )
139, 12bitri 240 . . . . . . . . . . 11  |-  ( <. C ,  D >.  = 
<. x ,  y >.  <->  ( x  =  C  /\  y  =  D )
)
148, 13syl6bb 252 . . . . . . . . . 10  |-  ( z  =  <. C ,  D >.  ->  ( z  = 
<. x ,  y >.  <->  ( x  =  C  /\  y  =  D )
) )
1514anbi1d 685 . . . . . . . . 9  |-  ( z  =  <. C ,  D >.  ->  ( ( z  =  <. x ,  y
>.  /\  ph )  <->  ( (
x  =  C  /\  y  =  D )  /\  ph ) ) )
16152rexbidv 2586 . . . . . . . 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 452 . . . . . . 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 2153 . . . . . . 7  |-  F/ z E! z E. x  e.  A  E. y  e.  B  ( z  =  <. x ,  y
>.  /\  ph )
19 nfvd 1606 . . . . . . 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 2420 . . . . . . 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 5243 . . . . . 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 2285 . . . . . . 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 2290 . . . . . . 7  |-  ( I  =  <. C ,  D >.  <-> 
( iota z E. x  e.  A  E. y  e.  B  ( z  =  <. x ,  y
>.  /\  ph ) )  =  <. C ,  D >. )
2522, 24bitri 240 . . . . . 6  |-  ( <. C ,  D >.  =  I  <->  ( iota z E. x  e.  A  E. y  e.  B  ( z  =  <. x ,  y >.  /\  ph ) )  =  <. C ,  D >. )
2621, 25syl6bbr 254 . . . . 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 681 . . . 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 622 . . 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 4721 . . . . . . . . . 10  |-  ( ( x  e.  A  /\  y  e.  B )  -> 
<. x ,  y >.  e.  ( A  X.  B
) )
30 simpl 443 . . . . . . . . . . 11  |-  ( ( z  =  <. x ,  y >.  /\  ph )  ->  z  =  <. x ,  y >. )
3130eleq1d 2349 . . . . . . . . . 10  |-  ( ( z  =  <. x ,  y >.  /\  ph )  ->  ( z  e.  ( A  X.  B
)  <->  <. x ,  y
>.  e.  ( A  X.  B ) ) )
3229, 31syl5ibrcom 213 . . . . . . . . 9  |-  ( ( x  e.  A  /\  y  e.  B )  ->  ( ( z  = 
<. x ,  y >.  /\  ph )  ->  z  e.  ( A  X.  B
) ) )
3332rexlimivv 2672 . . . . . . . 8  |-  ( E. x  e.  A  E. y  e.  B  (
z  =  <. x ,  y >.  /\  ph )  ->  z  e.  ( A  X.  B ) )
3433abssi 3248 . . . . . . 7  |-  { z  |  E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph ) }  C_  ( A  X.  B
)
35 iotacl 5242 . . . . . . 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 3178 . . . . . 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 2367 . . . . 5  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  I  e.  ( A  X.  B
) )
38 opelxp 4719 . . . . . 6  |-  ( <. C ,  D >.  e.  ( A  X.  B
)  <->  ( C  e.  A  /\  D  e.  B ) )
39 eleq1 2343 . . . . . 6  |-  ( <. C ,  D >.  =  I  ->  ( <. C ,  D >.  e.  ( A  X.  B )  <-> 
I  e.  ( A  X.  B ) ) )
4038, 39syl5bbr 250 . . . . 5  |-  ( <. C ,  D >.  =  I  ->  ( ( C  e.  A  /\  D  e.  B )  <->  I  e.  ( A  X.  B ) ) )
4137, 40syl5ibrcom 213 . . . 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 616 . . 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 6159 . . . . 5  |-  ( I  e.  ( A  X.  B )  ->  I  =  <. ( 1st `  I
) ,  ( 2nd `  I ) >. )
4437, 43syl 15 . . . 4  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  I  =  <. ( 1st `  I
) ,  ( 2nd `  I ) >. )
4544eqeq2d 2294 . . 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 272 . 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 936 . 2  |-  ( ( C  e.  A  /\  D  e.  B  /\  ch )  <->  ( ( C  e.  A  /\  D  e.  B )  /\  ch ) )
48 opiota.2 . . . . 5  |-  X  =  ( 1st `  I
)
4948eqeq2i 2293 . . . 4  |-  ( C  =  X  <->  C  =  ( 1st `  I ) )
50 opiota.3 . . . . 5  |-  Y  =  ( 2nd `  I
)
5150eqeq2i 2293 . . . 4  |-  ( D  =  Y  <->  D  =  ( 2nd `  I ) )
5249, 51anbi12i 678 . . 3  |-  ( ( C  =  X  /\  D  =  Y )  <->  ( C  =  ( 1st `  I )  /\  D  =  ( 2nd `  I
) ) )
53 fvex 5539 . . . 4  |-  ( 1st `  I )  e.  _V
54 fvex 5539 . . . 4  |-  ( 2nd `  I )  e.  _V
5553, 54opth2 4248 . . 3  |-  ( <. C ,  D >.  = 
<. ( 1st `  I
) ,  ( 2nd `  I ) >.  <->  ( C  =  ( 1st `  I
)  /\  D  =  ( 2nd `  I ) ) )
5652, 55bitr4i 243 . 2  |-  ( ( C  =  X  /\  D  =  Y )  <->  <. C ,  D >.  = 
<. ( 1st `  I
) ,  ( 2nd `  I ) >. )
5746, 47, 563bitr4g 279 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 set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    /\ w3a 934    = wceq 1623    e. wcel 1684   E!weu 2143   {cab 2269   E.wrex 2544   _Vcvv 2788   <.cop 3643    X. cxp 4687   iotacio 5217   ` cfv 5255   1stc1st 6120   2ndc2nd 6121
This theorem is referenced by:  oeeui  6600
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-1st 6122  df-2nd 6123
  Copyright terms: Public domain W3C validator