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

Theorem euind 3283
Description: Existential uniqueness via an indirect equality. (Contributed by NM, 11-Oct-2010.)
Hypotheses
Ref Expression
euind.1  |-  B  e. 
_V
euind.2  |-  ( x  =  y  ->  ( ph 
<->  ps ) )
euind.3  |-  ( x  =  y  ->  A  =  B )
Assertion
Ref Expression
euind  |-  ( ( A. x A. y
( ( ph  /\  ps )  ->  A  =  B )  /\  E. x ph )  ->  E! z A. x ( ph  ->  z  =  A ) )
Distinct variable groups:    y, z, ph    x, z, ps    y, A, z    x, B, z   
x, y
Allowed substitution hints:    ph( x)    ps( y)    A( x)    B( y)

Proof of Theorem euind
Dummy variable  w is distinct from all other variables.
StepHypRef Expression
1 euind.2 . . . . . 6  |-  ( x  =  y  ->  ( ph 
<->  ps ) )
21cbvexv 2029 . . . . 5  |-  ( E. x ph  <->  E. y ps )
3 euind.1 . . . . . . . . 9  |-  B  e. 
_V
43isseti 3112 . . . . . . . 8  |-  E. z 
z  =  B
54biantrur 504 . . . . . . 7  |-  ( ps  <->  ( E. z  z  =  B  /\  ps )
)
65exbii 1672 . . . . . 6  |-  ( E. y ps  <->  E. y
( E. z  z  =  B  /\  ps ) )
7 19.41v 1776 . . . . . . 7  |-  ( E. z ( z  =  B  /\  ps )  <->  ( E. z  z  =  B  /\  ps )
)
87exbii 1672 . . . . . 6  |-  ( E. y E. z ( z  =  B  /\  ps )  <->  E. y ( E. z  z  =  B  /\  ps ) )
9 excom 1854 . . . . . 6  |-  ( E. y E. z ( z  =  B  /\  ps )  <->  E. z E. y
( z  =  B  /\  ps ) )
106, 8, 93bitr2i 273 . . . . 5  |-  ( E. y ps  <->  E. z E. y ( z  =  B  /\  ps )
)
112, 10bitri 249 . . . 4  |-  ( E. x ph  <->  E. z E. y ( z  =  B  /\  ps )
)
12 eqeq2 2469 . . . . . . . . 9  |-  ( A  =  B  ->  (
z  =  A  <->  z  =  B ) )
1312imim2i 14 . . . . . . . 8  |-  ( ( ( ph  /\  ps )  ->  A  =  B )  ->  ( ( ph  /\  ps )  -> 
( z  =  A  <-> 
z  =  B ) ) )
14 bi2 198 . . . . . . . . . 10  |-  ( ( z  =  A  <->  z  =  B )  ->  (
z  =  B  -> 
z  =  A ) )
1514imim2i 14 . . . . . . . . 9  |-  ( ( ( ph  /\  ps )  ->  ( z  =  A  <->  z  =  B ) )  ->  (
( ph  /\  ps )  ->  ( z  =  B  ->  z  =  A ) ) )
16 an31 798 . . . . . . . . . . 11  |-  ( ( ( ph  /\  ps )  /\  z  =  B )  <->  ( ( z  =  B  /\  ps )  /\  ph ) )
1716imbi1i 323 . . . . . . . . . 10  |-  ( ( ( ( ph  /\  ps )  /\  z  =  B )  ->  z  =  A )  <->  ( (
( z  =  B  /\  ps )  /\  ph )  ->  z  =  A ) )
18 impexp 444 . . . . . . . . . 10  |-  ( ( ( ( ph  /\  ps )  /\  z  =  B )  ->  z  =  A )  <->  ( ( ph  /\  ps )  -> 
( z  =  B  ->  z  =  A ) ) )
19 impexp 444 . . . . . . . . . 10  |-  ( ( ( ( z  =  B  /\  ps )  /\  ph )  ->  z  =  A )  <->  ( (
z  =  B  /\  ps )  ->  ( ph  ->  z  =  A ) ) )
2017, 18, 193bitr3i 275 . . . . . . . . 9  |-  ( ( ( ph  /\  ps )  ->  ( z  =  B  ->  z  =  A ) )  <->  ( (
z  =  B  /\  ps )  ->  ( ph  ->  z  =  A ) ) )
2115, 20sylib 196 . . . . . . . 8  |-  ( ( ( ph  /\  ps )  ->  ( z  =  A  <->  z  =  B ) )  ->  (
( z  =  B  /\  ps )  -> 
( ph  ->  z  =  A ) ) )
2213, 21syl 16 . . . . . . 7  |-  ( ( ( ph  /\  ps )  ->  A  =  B )  ->  ( (
z  =  B  /\  ps )  ->  ( ph  ->  z  =  A ) ) )
23222alimi 1639 . . . . . 6  |-  ( A. x A. y ( (
ph  /\  ps )  ->  A  =  B )  ->  A. x A. y
( ( z  =  B  /\  ps )  ->  ( ph  ->  z  =  A ) ) )
24 19.23v 1765 . . . . . . . 8  |-  ( A. y ( ( z  =  B  /\  ps )  ->  ( ph  ->  z  =  A ) )  <-> 
( E. y ( z  =  B  /\  ps )  ->  ( ph  ->  z  =  A ) ) )
2524albii 1645 . . . . . . 7  |-  ( A. x A. y ( ( z  =  B  /\  ps )  ->  ( ph  ->  z  =  A ) )  <->  A. x ( E. y ( z  =  B  /\  ps )  ->  ( ph  ->  z  =  A ) ) )
26 19.21v 1734 . . . . . . 7  |-  ( A. x ( E. y
( z  =  B  /\  ps )  -> 
( ph  ->  z  =  A ) )  <->  ( E. y ( z  =  B  /\  ps )  ->  A. x ( ph  ->  z  =  A ) ) )
2725, 26bitri 249 . . . . . 6  |-  ( A. x A. y ( ( z  =  B  /\  ps )  ->  ( ph  ->  z  =  A ) )  <->  ( E. y
( z  =  B  /\  ps )  ->  A. x ( ph  ->  z  =  A ) ) )
2823, 27sylib 196 . . . . 5  |-  ( A. x A. y ( (
ph  /\  ps )  ->  A  =  B )  ->  ( E. y
( z  =  B  /\  ps )  ->  A. x ( ph  ->  z  =  A ) ) )
2928eximdv 1715 . . . 4  |-  ( A. x A. y ( (
ph  /\  ps )  ->  A  =  B )  ->  ( E. z E. y ( z  =  B  /\  ps )  ->  E. z A. x
( ph  ->  z  =  A ) ) )
3011, 29syl5bi 217 . . 3  |-  ( A. x A. y ( (
ph  /\  ps )  ->  A  =  B )  ->  ( E. x ph  ->  E. z A. x
( ph  ->  z  =  A ) ) )
3130imp 427 . 2  |-  ( ( A. x A. y
( ( ph  /\  ps )  ->  A  =  B )  /\  E. x ph )  ->  E. z A. x ( ph  ->  z  =  A ) )
32 pm4.24 641 . . . . . . . 8  |-  ( ph  <->  (
ph  /\  ph ) )
3332biimpi 194 . . . . . . 7  |-  ( ph  ->  ( ph  /\  ph ) )
34 prth 569 . . . . . . 7  |-  ( ( ( ph  ->  z  =  A )  /\  ( ph  ->  w  =  A ) )  ->  (
( ph  /\  ph )  ->  ( z  =  A  /\  w  =  A ) ) )
35 eqtr3 2482 . . . . . . 7  |-  ( ( z  =  A  /\  w  =  A )  ->  z  =  w )
3633, 34, 35syl56 34 . . . . . 6  |-  ( ( ( ph  ->  z  =  A )  /\  ( ph  ->  w  =  A ) )  ->  ( ph  ->  z  =  w ) )
3736alanimi 1642 . . . . 5  |-  ( ( A. x ( ph  ->  z  =  A )  /\  A. x (
ph  ->  w  =  A ) )  ->  A. x
( ph  ->  z  =  w ) )
38 19.23v 1765 . . . . . . 7  |-  ( A. x ( ph  ->  z  =  w )  <->  ( E. x ph  ->  z  =  w ) )
3938biimpi 194 . . . . . 6  |-  ( A. x ( ph  ->  z  =  w )  -> 
( E. x ph  ->  z  =  w ) )
4039com12 31 . . . . 5  |-  ( E. x ph  ->  ( A. x ( ph  ->  z  =  w )  -> 
z  =  w ) )
4137, 40syl5 32 . . . 4  |-  ( E. x ph  ->  (
( A. x (
ph  ->  z  =  A )  /\  A. x
( ph  ->  w  =  A ) )  -> 
z  =  w ) )
4241alrimivv 1725 . . 3  |-  ( E. x ph  ->  A. z A. w ( ( A. x ( ph  ->  z  =  A )  /\  A. x ( ph  ->  w  =  A ) )  ->  z  =  w ) )
4342adantl 464 . 2  |-  ( ( A. x A. y
( ( ph  /\  ps )  ->  A  =  B )  /\  E. x ph )  ->  A. z A. w ( ( A. x ( ph  ->  z  =  A )  /\  A. x ( ph  ->  w  =  A ) )  ->  z  =  w ) )
44 eqeq1 2458 . . . . 5  |-  ( z  =  w  ->  (
z  =  A  <->  w  =  A ) )
4544imbi2d 314 . . . 4  |-  ( z  =  w  ->  (
( ph  ->  z  =  A )  <->  ( ph  ->  w  =  A ) ) )
4645albidv 1718 . . 3  |-  ( z  =  w  ->  ( A. x ( ph  ->  z  =  A )  <->  A. x
( ph  ->  w  =  A ) ) )
4746eu4 2336 . 2  |-  ( E! z A. x (
ph  ->  z  =  A )  <->  ( E. z A. x ( ph  ->  z  =  A )  /\  A. z A. w ( ( A. x (
ph  ->  z  =  A )  /\  A. x
( ph  ->  w  =  A ) )  -> 
z  =  w ) ) )
4831, 43, 47sylanbrc 662 1  |-  ( ( A. x A. y
( ( ph  /\  ps )  ->  A  =  B )  /\  E. x ph )  ->  E! z A. x ( ph  ->  z  =  A ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 367   A.wal 1396    = wceq 1398   E.wex 1617    e. wcel 1823   E!weu 2284   _Vcvv 3106
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1623  ax-4 1636  ax-5 1709  ax-6 1752  ax-7 1795  ax-10 1842  ax-11 1847  ax-12 1859  ax-13 2004  ax-ext 2432
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-tru 1401  df-ex 1618  df-nf 1622  df-sb 1745  df-eu 2288  df-mo 2289  df-clab 2440  df-cleq 2446  df-clel 2449  df-v 3108
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator