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

Theorem euotd 4267
Description: Prove existential uniqueness for an ordered triple. (Contributed by Mario Carneiro, 20-May-2015.)
Hypotheses
Ref Expression
euotd.1  |-  ( ph  ->  A  e.  _V )
euotd.2  |-  ( ph  ->  B  e.  _V )
euotd.3  |-  ( ph  ->  C  e.  _V )
euotd.4  |-  ( ph  ->  ( ps  <->  ( a  =  A  /\  b  =  B  /\  c  =  C ) ) )
Assertion
Ref Expression
euotd  |-  ( ph  ->  E! x E. a E. b E. c ( x  =  <. a ,  b ,  c
>.  /\  ps ) )
Distinct variable groups:    a, b,
c, x, A    B, a, b, c, x    C, a, b, c, x    ph, a,
b, c, x
Allowed substitution hints:    ps( x, a, b, c)

Proof of Theorem euotd
Dummy variable  y is distinct from all other variables.
StepHypRef Expression
1 euotd.4 . . . . . . . . . . . . 13  |-  ( ph  ->  ( ps  <->  ( a  =  A  /\  b  =  B  /\  c  =  C ) ) )
21biimpa 470 . . . . . . . . . . . 12  |-  ( (
ph  /\  ps )  ->  ( a  =  A  /\  b  =  B  /\  c  =  C ) )
3 vex 2791 . . . . . . . . . . . . 13  |-  a  e. 
_V
4 vex 2791 . . . . . . . . . . . . 13  |-  b  e. 
_V
5 vex 2791 . . . . . . . . . . . . 13  |-  c  e. 
_V
63, 4, 5otth 4250 . . . . . . . . . . . 12  |-  ( <.
a ,  b ,  c >.  =  <. A ,  B ,  C >.  <-> 
( a  =  A  /\  b  =  B  /\  c  =  C ) )
72, 6sylibr 203 . . . . . . . . . . 11  |-  ( (
ph  /\  ps )  -> 
<. a ,  b ,  c >.  =  <. A ,  B ,  C >. )
87eqeq2d 2294 . . . . . . . . . 10  |-  ( (
ph  /\  ps )  ->  ( x  =  <. a ,  b ,  c
>. 
<->  x  =  <. A ,  B ,  C >. ) )
98biimpd 198 . . . . . . . . 9  |-  ( (
ph  /\  ps )  ->  ( x  =  <. a ,  b ,  c
>.  ->  x  =  <. A ,  B ,  C >. ) )
109impancom 427 . . . . . . . 8  |-  ( (
ph  /\  x  =  <. a ,  b ,  c >. )  ->  ( ps  ->  x  =  <. A ,  B ,  C >. ) )
1110expimpd 586 . . . . . . 7  |-  ( ph  ->  ( ( x  = 
<. a ,  b ,  c >.  /\  ps )  ->  x  =  <. A ,  B ,  C >. ) )
1211exlimdv 1664 . . . . . 6  |-  ( ph  ->  ( E. c ( x  =  <. a ,  b ,  c
>.  /\  ps )  ->  x  =  <. A ,  B ,  C >. ) )
1312exlimdvv 1668 . . . . 5  |-  ( ph  ->  ( E. a E. b E. c ( x  =  <. a ,  b ,  c
>.  /\  ps )  ->  x  =  <. A ,  B ,  C >. ) )
14 euotd.3 . . . . . . . 8  |-  ( ph  ->  C  e.  _V )
15 euotd.2 . . . . . . . . 9  |-  ( ph  ->  B  e.  _V )
16 euotd.1 . . . . . . . . . 10  |-  ( ph  ->  A  e.  _V )
17 tru 1312 . . . . . . . . . . 11  |-  T.
1815adantr 451 . . . . . . . . . . . . 13  |-  ( (
ph  /\  a  =  A )  ->  B  e.  _V )
1914ad2antrr 706 . . . . . . . . . . . . . 14  |-  ( ( ( ph  /\  a  =  A )  /\  b  =  B )  ->  C  e.  _V )
20 simpr 447 . . . . . . . . . . . . . . . . . . . 20  |-  ( (
ph  /\  ( a  =  A  /\  b  =  B  /\  c  =  C ) )  -> 
( a  =  A  /\  b  =  B  /\  c  =  C ) )
2120, 6sylibr 203 . . . . . . . . . . . . . . . . . . 19  |-  ( (
ph  /\  ( a  =  A  /\  b  =  B  /\  c  =  C ) )  ->  <. a ,  b ,  c >.  =  <. A ,  B ,  C >. )
2221eqcomd 2288 . . . . . . . . . . . . . . . . . 18  |-  ( (
ph  /\  ( a  =  A  /\  b  =  B  /\  c  =  C ) )  ->  <. A ,  B ,  C >.  =  <. a ,  b ,  c
>. )
231biimpar 471 . . . . . . . . . . . . . . . . . 18  |-  ( (
ph  /\  ( a  =  A  /\  b  =  B  /\  c  =  C ) )  ->  ps )
2422, 23jca 518 . . . . . . . . . . . . . . . . 17  |-  ( (
ph  /\  ( a  =  A  /\  b  =  B  /\  c  =  C ) )  -> 
( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps ) )
25 a1tru 1321 . . . . . . . . . . . . . . . . 17  |-  ( (
ph  /\  ( a  =  A  /\  b  =  B  /\  c  =  C ) )  ->  T.  )
2624, 252thd 231 . . . . . . . . . . . . . . . 16  |-  ( (
ph  /\  ( a  =  A  /\  b  =  B  /\  c  =  C ) )  -> 
( ( <. A ,  B ,  C >.  = 
<. a ,  b ,  c >.  /\  ps )  <->  T.  ) )
27263exp2 1169 . . . . . . . . . . . . . . 15  |-  ( ph  ->  ( a  =  A  ->  ( b  =  B  ->  ( c  =  C  ->  ( (
<. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps )  <->  T.  )
) ) ) )
2827imp41 576 . . . . . . . . . . . . . 14  |-  ( ( ( ( ph  /\  a  =  A )  /\  b  =  B
)  /\  c  =  C )  ->  (
( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps )  <->  T.  )
)
2919, 28sbcied 3027 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  a  =  A )  /\  b  =  B )  ->  ( [. C  /  c ]. ( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps )  <->  T.  )
)
3018, 29sbcied 3027 . . . . . . . . . . . 12  |-  ( (
ph  /\  a  =  A )  ->  ( [. B  /  b ]. [. C  /  c ]. ( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps )  <->  T.  )
)
3116, 30sbcied 3027 . . . . . . . . . . 11  |-  ( ph  ->  ( [. A  / 
a ]. [. B  / 
b ]. [. C  / 
c ]. ( <. A ,  B ,  C >.  = 
<. a ,  b ,  c >.  /\  ps )  <->  T.  ) )
3217, 31mpbiri 224 . . . . . . . . . 10  |-  ( ph  ->  [. A  /  a ]. [. B  /  b ]. [. C  /  c ]. ( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps ) )
33 nfcv 2419 . . . . . . . . . . 11  |-  F/_ a A
34 nfsbc1v 3010 . . . . . . . . . . 11  |-  F/ a
[. A  /  a ]. [. B  /  b ]. [. C  /  c ]. ( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps )
35 sbceq1a 3001 . . . . . . . . . . 11  |-  ( a  =  A  ->  ( [. B  /  b ]. [. C  /  c ]. ( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps )  <->  [. A  / 
a ]. [. B  / 
b ]. [. C  / 
c ]. ( <. A ,  B ,  C >.  = 
<. a ,  b ,  c >.  /\  ps )
) )
3633, 34, 35spcegf 2864 . . . . . . . . . 10  |-  ( A  e.  _V  ->  ( [. A  /  a ]. [. B  /  b ]. [. C  /  c ]. ( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps )  ->  E. a [. B  / 
b ]. [. C  / 
c ]. ( <. A ,  B ,  C >.  = 
<. a ,  b ,  c >.  /\  ps )
) )
3716, 32, 36sylc 56 . . . . . . . . 9  |-  ( ph  ->  E. a [. B  /  b ]. [. C  /  c ]. ( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps ) )
38 nfcv 2419 . . . . . . . . . 10  |-  F/_ b B
39 nfsbc1v 3010 . . . . . . . . . . 11  |-  F/ b
[. B  /  b ]. [. C  /  c ]. ( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps )
4039nfex 1767 . . . . . . . . . 10  |-  F/ b E. a [. B  /  b ]. [. C  /  c ]. ( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps )
41 sbceq1a 3001 . . . . . . . . . . 11  |-  ( b  =  B  ->  ( [. C  /  c ]. ( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps )  <->  [. B  / 
b ]. [. C  / 
c ]. ( <. A ,  B ,  C >.  = 
<. a ,  b ,  c >.  /\  ps )
) )
4241exbidv 1612 . . . . . . . . . 10  |-  ( b  =  B  ->  ( E. a [. C  / 
c ]. ( <. A ,  B ,  C >.  = 
<. a ,  b ,  c >.  /\  ps )  <->  E. a [. B  / 
b ]. [. C  / 
c ]. ( <. A ,  B ,  C >.  = 
<. a ,  b ,  c >.  /\  ps )
) )
4338, 40, 42spcegf 2864 . . . . . . . . 9  |-  ( B  e.  _V  ->  ( E. a [. B  / 
b ]. [. C  / 
c ]. ( <. A ,  B ,  C >.  = 
<. a ,  b ,  c >.  /\  ps )  ->  E. b E. a [. C  /  c ]. ( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps ) ) )
4415, 37, 43sylc 56 . . . . . . . 8  |-  ( ph  ->  E. b E. a [. C  /  c ]. ( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps ) )
45 nfcv 2419 . . . . . . . . 9  |-  F/_ c C
46 nfsbc1v 3010 . . . . . . . . . . 11  |-  F/ c
[. C  /  c ]. ( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps )
4746nfex 1767 . . . . . . . . . 10  |-  F/ c E. a [. C  /  c ]. ( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps )
4847nfex 1767 . . . . . . . . 9  |-  F/ c E. b E. a [. C  /  c ]. ( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps )
49 sbceq1a 3001 . . . . . . . . . 10  |-  ( c  =  C  ->  (
( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps )  <->  [. C  / 
c ]. ( <. A ,  B ,  C >.  = 
<. a ,  b ,  c >.  /\  ps )
) )
50492exbidv 1614 . . . . . . . . 9  |-  ( c  =  C  ->  ( E. b E. a (
<. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps )  <->  E. b E. a [. C  / 
c ]. ( <. A ,  B ,  C >.  = 
<. a ,  b ,  c >.  /\  ps )
) )
5145, 48, 50spcegf 2864 . . . . . . . 8  |-  ( C  e.  _V  ->  ( E. b E. a [. C  /  c ]. ( <. A ,  B ,  C >.  =  <. a ,  b ,  c
>.  /\  ps )  ->  E. c E. b E. a ( <. A ,  B ,  C >.  = 
<. a ,  b ,  c >.  /\  ps )
) )
5214, 44, 51sylc 56 . . . . . . 7  |-  ( ph  ->  E. c E. b E. a ( <. A ,  B ,  C >.  = 
<. a ,  b ,  c >.  /\  ps )
)
53 excom13 1817 . . . . . . 7  |-  ( E. c E. b E. a ( <. A ,  B ,  C >.  = 
<. a ,  b ,  c >.  /\  ps )  <->  E. a E. b E. c ( <. A ,  B ,  C >.  = 
<. a ,  b ,  c >.  /\  ps )
)
5452, 53sylib 188 . . . . . 6  |-  ( ph  ->  E. a E. b E. c ( <. A ,  B ,  C >.  = 
<. a ,  b ,  c >.  /\  ps )
)
55 eqeq1 2289 . . . . . . . 8  |-  ( x  =  <. A ,  B ,  C >.  ->  ( x  =  <. a ,  b ,  c >.  <->  <. A ,  B ,  C >.  = 
<. a ,  b ,  c >. ) )
5655anbi1d 685 . . . . . . 7  |-  ( x  =  <. A ,  B ,  C >.  ->  ( ( x  =  <. a ,  b ,  c
>.  /\  ps )  <->  ( <. A ,  B ,  C >.  =  <. a ,  b ,  c >.  /\  ps ) ) )
57563exbidv 1615 . . . . . 6  |-  ( x  =  <. A ,  B ,  C >.  ->  ( E. a E. b E. c ( x  = 
<. a ,  b ,  c >.  /\  ps )  <->  E. a E. b E. c ( <. A ,  B ,  C >.  = 
<. a ,  b ,  c >.  /\  ps )
) )
5854, 57syl5ibrcom 213 . . . . 5  |-  ( ph  ->  ( x  =  <. A ,  B ,  C >.  ->  E. a E. b E. c ( x  = 
<. a ,  b ,  c >.  /\  ps )
) )
5913, 58impbid 183 . . . 4  |-  ( ph  ->  ( E. a E. b E. c ( x  =  <. a ,  b ,  c
>.  /\  ps )  <->  x  =  <. A ,  B ,  C >. ) )
6059alrimiv 1617 . . 3  |-  ( ph  ->  A. x ( E. a E. b E. c ( x  = 
<. a ,  b ,  c >.  /\  ps )  <->  x  =  <. A ,  B ,  C >. ) )
61 otex 4238 . . . 4  |-  <. A ,  B ,  C >.  e. 
_V
62 eqeq2 2292 . . . . . 6  |-  ( y  =  <. A ,  B ,  C >.  ->  ( x  =  y  <->  x  =  <. A ,  B ,  C >. ) )
6362bibi2d 309 . . . . 5  |-  ( y  =  <. A ,  B ,  C >.  ->  ( ( E. a E. b E. c ( x  = 
<. a ,  b ,  c >.  /\  ps )  <->  x  =  y )  <->  ( E. a E. b E. c
( x  =  <. a ,  b ,  c
>.  /\  ps )  <->  x  =  <. A ,  B ,  C >. ) ) )
6463albidv 1611 . . . 4  |-  ( y  =  <. A ,  B ,  C >.  ->  ( A. x ( E. a E. b E. c ( x  =  <. a ,  b ,  c
>.  /\  ps )  <->  x  =  y )  <->  A. x
( E. a E. b E. c ( x  =  <. a ,  b ,  c
>.  /\  ps )  <->  x  =  <. A ,  B ,  C >. ) ) )
6561, 64spcev 2875 . . 3  |-  ( A. x ( E. a E. b E. c ( x  =  <. a ,  b ,  c
>.  /\  ps )  <->  x  =  <. A ,  B ,  C >. )  ->  E. y A. x ( E. a E. b E. c ( x  =  <. a ,  b ,  c
>.  /\  ps )  <->  x  =  y ) )
6660, 65syl 15 . 2  |-  ( ph  ->  E. y A. x
( E. a E. b E. c ( x  =  <. a ,  b ,  c
>.  /\  ps )  <->  x  =  y ) )
67 df-eu 2147 . 2  |-  ( E! x E. a E. b E. c ( x  =  <. a ,  b ,  c
>.  /\  ps )  <->  E. y A. x ( E. a E. b E. c ( x  =  <. a ,  b ,  c
>.  /\  ps )  <->  x  =  y ) )
6866, 67sylibr 203 1  |-  ( ph  ->  E! x E. a E. b E. c ( x  =  <. a ,  b ,  c
>.  /\  ps ) )
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    /\ w3a 934    T. wtru 1307   A.wal 1527   E.wex 1528    = wceq 1623    e. wcel 1684   E!weu 2143   _Vcvv 2788   [.wsbc 2991   <.cotp 3644
This theorem is referenced by:  oeeu  6601
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-14 1688  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264  ax-sep 4141  ax-nul 4149  ax-pr 4214
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-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ne 2448  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-ot 3650
  Copyright terms: Public domain W3C validator