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

Theorem opiota 6332
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 2937 . . . . . 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 4274 . . . . . . . 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 2322 . . . . . . . . . . 11  |-  ( z  =  <. C ,  D >.  ->  ( z  = 
<. x ,  y >.  <->  <. C ,  D >.  = 
<. x ,  y >.
) )
9 eqcom 2318 . . . . . . . . . . . 12  |-  ( <. C ,  D >.  = 
<. x ,  y >.  <->  <.
x ,  y >.  =  <. C ,  D >. )
10 vex 2825 . . . . . . . . . . . . 13  |-  x  e. 
_V
11 vex 2825 . . . . . . . . . . . . 13  |-  y  e. 
_V
1210, 11opth 4282 . . . . . . . . . . . 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 2620 . . . . . . . 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 2186 . . . . . . 7  |-  F/ z E! z E. x  e.  A  E. y  e.  B  ( z  =  <. x ,  y
>.  /\  ph )
19 nfvd 1611 . . . . . . 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 2453 . . . . . . 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 5280 . . . . . 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 2318 . . . . . . 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 2323 . . . . . . 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 4758 . . . . . . . . . 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 2382 . . . . . . . . . 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 2706 . . . . . . . 8  |-  ( E. x  e.  A  E. y  e.  B  (
z  =  <. x ,  y >.  /\  ph )  ->  z  e.  ( A  X.  B ) )
3433abssi 3282 . . . . . . 7  |-  { z  |  E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph ) }  C_  ( A  X.  B
)
35 iotacl 5279 . . . . . . 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 3212 . . . . . 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 2400 . . . . 5  |-  ( E! z E. x  e.  A  E. y  e.  B  ( z  = 
<. x ,  y >.  /\  ph )  ->  I  e.  ( A  X.  B
) )
38 opelxp 4756 . . . . . 6  |-  ( <. C ,  D >.  e.  ( A  X.  B
)  <->  ( C  e.  A  /\  D  e.  B ) )
39 eleq1 2376 . . . . . 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 6201 . . . . 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 2327 . . 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 2326 . . . 4  |-  ( C  =  X  <->  C  =  ( 1st `  I ) )
50 opiota.3 . . . . 5  |-  Y  =  ( 2nd `  I
)
5150eqeq2i 2326 . . . 4  |-  ( D  =  Y  <->  D  =  ( 2nd `  I ) )
5249, 51anbi12i 678 . . 3  |-  ( ( C  =  X  /\  D  =  Y )  <->  ( C  =  ( 1st `  I )  /\  D  =  ( 2nd `  I
) ) )
53 fvex 5577 . . . 4  |-  ( 1st `  I )  e.  _V
54 fvex 5577 . . . 4  |-  ( 2nd `  I )  e.  _V
5553, 54opth2 4285 . . 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 1633    e. wcel 1701   E!weu 2176   {cab 2302   E.wrex 2578   _Vcvv 2822   <.cop 3677    X. cxp 4724   iotacio 5254   ` cfv 5292   1stc1st 6162   2ndc2nd 6163
This theorem is referenced by:  oeeui  6642
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1537  ax-5 1548  ax-17 1607  ax-9 1645  ax-8 1666  ax-13 1703  ax-14 1705  ax-6 1720  ax-7 1725  ax-11 1732  ax-12 1897  ax-ext 2297  ax-sep 4178  ax-nul 4186  ax-pow 4225  ax-pr 4251  ax-un 4549
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1533  df-nf 1536  df-sb 1640  df-eu 2180  df-mo 2181  df-clab 2303  df-cleq 2309  df-clel 2312  df-nfc 2441  df-ne 2481  df-ral 2582  df-rex 2583  df-rab 2586  df-v 2824  df-sbc 3026  df-dif 3189  df-un 3191  df-in 3193  df-ss 3200  df-nul 3490  df-if 3600  df-sn 3680  df-pr 3681  df-op 3683  df-uni 3865  df-br 4061  df-opab 4115  df-mpt 4116  df-id 4346  df-xp 4732  df-rel 4733  df-cnv 4734  df-co 4735  df-dm 4736  df-rn 4737  df-iota 5256  df-fun 5294  df-fv 5300  df-1st 6164  df-2nd 6165
  Copyright terms: Public domain W3C validator