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

Theorem euind 3246
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 1981 . . . . 5  |-  ( E. x ph  <->  E. y ps )
3 euind.1 . . . . . . . . 9  |-  B  e. 
_V
43isseti 3077 . . . . . . . 8  |-  E. z 
z  =  B
54biantrur 506 . . . . . . 7  |-  ( ps  <->  ( E. z  z  =  B  /\  ps )
)
65exbii 1635 . . . . . 6  |-  ( E. y ps  <->  E. y
( E. z  z  =  B  /\  ps ) )
7 19.41v 1929 . . . . . . 7  |-  ( E. z ( z  =  B  /\  ps )  <->  ( E. z  z  =  B  /\  ps )
)
87exbii 1635 . . . . . 6  |-  ( E. y E. z ( z  =  B  /\  ps )  <->  E. y ( E. z  z  =  B  /\  ps ) )
9 excom 1789 . . . . . 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 2466 . . . . . . . . 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 325 . . . . . . . . . 10  |-  ( ( ( ( ph  /\  ps )  /\  z  =  B )  ->  z  =  A )  <->  ( (
( z  =  B  /\  ps )  /\  ph )  ->  z  =  A ) )
18 impexp 446 . . . . . . . . . 10  |-  ( ( ( ( ph  /\  ps )  /\  z  =  B )  ->  z  =  A )  <->  ( ( ph  /\  ps )  -> 
( z  =  B  ->  z  =  A ) ) )
19 impexp 446 . . . . . . . . . 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 1606 . . . . . 6  |-  ( A. x A. y ( (
ph  /\  ps )  ->  A  =  B )  ->  A. x A. y
( ( z  =  B  /\  ps )  ->  ( ph  ->  z  =  A ) ) )
24 19.23v 1919 . . . . . . . 8  |-  ( A. y ( ( z  =  B  /\  ps )  ->  ( ph  ->  z  =  A ) )  <-> 
( E. y ( z  =  B  /\  ps )  ->  ( ph  ->  z  =  A ) ) )
2524albii 1611 . . . . . . 7  |-  ( A. x A. y ( ( z  =  B  /\  ps )  ->  ( ph  ->  z  =  A ) )  <->  A. x ( E. y ( z  =  B  /\  ps )  ->  ( ph  ->  z  =  A ) ) )
26 19.21v 1918 . . . . . . 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 1677 . . . 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 429 . 2  |-  ( ( A. x A. y
( ( ph  /\  ps )  ->  A  =  B )  /\  E. x ph )  ->  E. z A. x ( ph  ->  z  =  A ) )
32 pm4.24 643 . . . . . . . 8  |-  ( ph  <->  (
ph  /\  ph ) )
3332biimpi 194 . . . . . . 7  |-  ( ph  ->  ( ph  /\  ph ) )
34 prth 571 . . . . . . 7  |-  ( ( ( ph  ->  z  =  A )  /\  ( ph  ->  w  =  A ) )  ->  (
( ph  /\  ph )  ->  ( z  =  A  /\  w  =  A ) ) )
35 eqtr3 2479 . . . . . . 7  |-  ( ( z  =  A  /\  w  =  A )  ->  z  =  w )
3633, 34, 35syl56 34 . . . . . 6  |-  ( ( ( ph  ->  z  =  A )  /\  ( ph  ->  w  =  A ) )  ->  ( ph  ->  z  =  w ) )
3736alanimi 1608 . . . . 5  |-  ( ( A. x ( ph  ->  z  =  A )  /\  A. x (
ph  ->  w  =  A ) )  ->  A. x
( ph  ->  z  =  w ) )
38 19.23v 1919 . . . . . . 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 1687 . . 3  |-  ( E. x ph  ->  A. z A. w ( ( A. x ( ph  ->  z  =  A )  /\  A. x ( ph  ->  w  =  A ) )  ->  z  =  w ) )
4342adantl 466 . 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 2455 . . . . 5  |-  ( z  =  w  ->  (
z  =  A  <->  w  =  A ) )
4544imbi2d 316 . . . 4  |-  ( z  =  w  ->  (
( ph  ->  z  =  A )  <->  ( ph  ->  w  =  A ) ) )
4645albidv 1680 . . 3  |-  ( z  =  w  ->  ( A. x ( ph  ->  z  =  A )  <->  A. x
( ph  ->  w  =  A ) ) )
4746eu4 2325 . 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 664 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 369   A.wal 1368    = wceq 1370   E.wex 1587    e. wcel 1758   E!weu 2260   _Vcvv 3071
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1592  ax-4 1603  ax-5 1671  ax-6 1710  ax-7 1730  ax-10 1777  ax-11 1782  ax-12 1794  ax-13 1952  ax-ext 2430
This theorem depends on definitions:  df-bi 185  df-or 370  df-an 371  df-tru 1373  df-ex 1588  df-nf 1591  df-sb 1703  df-eu 2264  df-mo 2265  df-clab 2437  df-cleq 2443  df-clel 2446  df-v 3073
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator