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

Theorem eueq3 3109
Description: Equality has existential uniqueness (split into 3 cases). (Contributed by NM, 5-Apr-1995.) (Proof shortened by Mario Carneiro, 28-Sep-2015.)
Hypotheses
Ref Expression
eueq3.1  |-  A  e. 
_V
eueq3.2  |-  B  e. 
_V
eueq3.3  |-  C  e. 
_V
eueq3.4  |-  -.  ( ph  /\  ps )
Assertion
Ref Expression
eueq3  |-  E! x
( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps  /\  x  =  C ) )
Distinct variable groups:    ph, x    ps, x    x, A    x, B    x, C

Proof of Theorem eueq3
StepHypRef Expression
1 eueq3.1 . . . 4  |-  A  e. 
_V
21eueq1 3107 . . 3  |-  E! x  x  =  A
3 ibar 491 . . . . . 6  |-  ( ph  ->  ( x  =  A  <-> 
( ph  /\  x  =  A ) ) )
4 pm2.45 387 . . . . . . . . . 10  |-  ( -.  ( ph  \/  ps )  ->  -.  ph )
5 eueq3.4 . . . . . . . . . . . 12  |-  -.  ( ph  /\  ps )
65imnani 413 . . . . . . . . . . 11  |-  ( ph  ->  -.  ps )
76con2i 114 . . . . . . . . . 10  |-  ( ps 
->  -.  ph )
84, 7jaoi 369 . . . . . . . . 9  |-  ( ( -.  ( ph  \/  ps )  \/  ps )  ->  -.  ph )
98con2i 114 . . . . . . . 8  |-  ( ph  ->  -.  ( -.  ( ph  \/  ps )  \/ 
ps ) )
104con2i 114 . . . . . . . . . 10  |-  ( ph  ->  -.  -.  ( ph  \/  ps ) )
1110bianfd 893 . . . . . . . . 9  |-  ( ph  ->  ( -.  ( ph  \/  ps )  <->  ( -.  ( ph  \/  ps )  /\  x  =  B
) ) )
126bianfd 893 . . . . . . . . 9  |-  ( ph  ->  ( ps  <->  ( ps  /\  x  =  C ) ) )
1311, 12orbi12d 691 . . . . . . . 8  |-  ( ph  ->  ( ( -.  ( ph  \/  ps )  \/ 
ps )  <->  ( ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps 
/\  x  =  C ) ) ) )
149, 13mtbid 292 . . . . . . 7  |-  ( ph  ->  -.  ( ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps 
/\  x  =  C ) ) )
15 biorf 395 . . . . . . 7  |-  ( -.  ( ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps  /\  x  =  C ) )  -> 
( ( ph  /\  x  =  A )  <->  ( ( ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps  /\  x  =  C ) )  \/  ( ph  /\  x  =  A ) ) ) )
1614, 15syl 16 . . . . . 6  |-  ( ph  ->  ( ( ph  /\  x  =  A )  <->  ( ( ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps  /\  x  =  C ) )  \/  ( ph  /\  x  =  A ) ) ) )
173, 16bitrd 245 . . . . 5  |-  ( ph  ->  ( x  =  A  <-> 
( ( ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps 
/\  x  =  C ) )  \/  ( ph  /\  x  =  A ) ) ) )
18 3orrot 942 . . . . . 6  |-  ( ( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps 
/\  x  =  C ) )  <->  ( ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps 
/\  x  =  C )  \/  ( ph  /\  x  =  A ) ) )
19 df-3or 937 . . . . . 6  |-  ( ( ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps  /\  x  =  C )  \/  ( ph  /\  x  =  A ) )  <->  ( ( ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps  /\  x  =  C ) )  \/  ( ph  /\  x  =  A ) ) )
2018, 19bitri 241 . . . . 5  |-  ( ( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps 
/\  x  =  C ) )  <->  ( (
( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps  /\  x  =  C ) )  \/  ( ph  /\  x  =  A ) ) )
2117, 20syl6bbr 255 . . . 4  |-  ( ph  ->  ( x  =  A  <-> 
( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps  /\  x  =  C ) ) ) )
2221eubidv 2289 . . 3  |-  ( ph  ->  ( E! x  x  =  A  <->  E! x
( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps  /\  x  =  C ) ) ) )
232, 22mpbii 203 . 2  |-  ( ph  ->  E! x ( (
ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps 
/\  x  =  C ) ) )
24 eueq3.3 . . . 4  |-  C  e. 
_V
2524eueq1 3107 . . 3  |-  E! x  x  =  C
26 ibar 491 . . . . . 6  |-  ( ps 
->  ( x  =  C  <-> 
( ps  /\  x  =  C ) ) )
276adantr 452 . . . . . . . . 9  |-  ( (
ph  /\  x  =  A )  ->  -.  ps )
28 pm2.46 388 . . . . . . . . . 10  |-  ( -.  ( ph  \/  ps )  ->  -.  ps )
2928adantr 452 . . . . . . . . 9  |-  ( ( -.  ( ph  \/  ps )  /\  x  =  B )  ->  -.  ps )
3027, 29jaoi 369 . . . . . . . 8  |-  ( ( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B ) )  ->  -.  ps )
3130con2i 114 . . . . . . 7  |-  ( ps 
->  -.  ( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )
) )
32 biorf 395 . . . . . . 7  |-  ( -.  ( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B ) )  -> 
( ( ps  /\  x  =  C )  <->  ( ( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B ) )  \/  ( ps  /\  x  =  C ) ) ) )
3331, 32syl 16 . . . . . 6  |-  ( ps 
->  ( ( ps  /\  x  =  C )  <->  ( ( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B ) )  \/  ( ps  /\  x  =  C ) ) ) )
3426, 33bitrd 245 . . . . 5  |-  ( ps 
->  ( x  =  C  <-> 
( ( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )
)  \/  ( ps 
/\  x  =  C ) ) ) )
35 df-3or 937 . . . . 5  |-  ( ( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps 
/\  x  =  C ) )  <->  ( (
( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B ) )  \/  ( ps  /\  x  =  C ) ) )
3634, 35syl6bbr 255 . . . 4  |-  ( ps 
->  ( x  =  C  <-> 
( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps  /\  x  =  C ) ) ) )
3736eubidv 2289 . . 3  |-  ( ps 
->  ( E! x  x  =  C  <->  E! x
( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps  /\  x  =  C ) ) ) )
3825, 37mpbii 203 . 2  |-  ( ps 
->  E! x ( (
ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps 
/\  x  =  C ) ) )
39 eueq3.2 . . . 4  |-  B  e. 
_V
4039eueq1 3107 . . 3  |-  E! x  x  =  B
41 ibar 491 . . . . . 6  |-  ( -.  ( ph  \/  ps )  ->  ( x  =  B  <->  ( -.  ( ph  \/  ps )  /\  x  =  B )
) )
42 simpl 444 . . . . . . . . 9  |-  ( (
ph  /\  x  =  A )  ->  ph )
43 simpl 444 . . . . . . . . 9  |-  ( ( ps  /\  x  =  C )  ->  ps )
4442, 43orim12i 503 . . . . . . . 8  |-  ( ( ( ph  /\  x  =  A )  \/  ( ps  /\  x  =  C ) )  ->  ( ph  \/  ps ) )
4544con3i 129 . . . . . . 7  |-  ( -.  ( ph  \/  ps )  ->  -.  ( ( ph  /\  x  =  A )  \/  ( ps 
/\  x  =  C ) ) )
46 biorf 395 . . . . . . 7  |-  ( -.  ( ( ph  /\  x  =  A )  \/  ( ps  /\  x  =  C ) )  -> 
( ( -.  ( ph  \/  ps )  /\  x  =  B )  <->  ( ( ( ph  /\  x  =  A )  \/  ( ps  /\  x  =  C ) )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B ) ) ) )
4745, 46syl 16 . . . . . 6  |-  ( -.  ( ph  \/  ps )  ->  ( ( -.  ( ph  \/  ps )  /\  x  =  B )  <->  ( ( (
ph  /\  x  =  A )  \/  ( ps  /\  x  =  C ) )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B ) ) ) )
4841, 47bitrd 245 . . . . 5  |-  ( -.  ( ph  \/  ps )  ->  ( x  =  B  <->  ( ( (
ph  /\  x  =  A )  \/  ( ps  /\  x  =  C ) )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B ) ) ) )
49 3orcomb 946 . . . . . 6  |-  ( ( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps 
/\  x  =  C ) )  <->  ( ( ph  /\  x  =  A )  \/  ( ps 
/\  x  =  C )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B ) ) )
50 df-3or 937 . . . . . 6  |-  ( ( ( ph  /\  x  =  A )  \/  ( ps  /\  x  =  C )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B ) )  <->  ( (
( ph  /\  x  =  A )  \/  ( ps  /\  x  =  C ) )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B ) ) )
5149, 50bitri 241 . . . . 5  |-  ( ( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps 
/\  x  =  C ) )  <->  ( (
( ph  /\  x  =  A )  \/  ( ps  /\  x  =  C ) )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B ) ) )
5248, 51syl6bbr 255 . . . 4  |-  ( -.  ( ph  \/  ps )  ->  ( x  =  B  <->  ( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps  /\  x  =  C ) ) ) )
5352eubidv 2289 . . 3  |-  ( -.  ( ph  \/  ps )  ->  ( E! x  x  =  B  <->  E! x
( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps  /\  x  =  C ) ) ) )
5440, 53mpbii 203 . 2  |-  ( -.  ( ph  \/  ps )  ->  E! x ( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps 
/\  x  =  C ) ) )
5523, 38, 54ecase3 908 1  |-  E! x
( ( ph  /\  x  =  A )  \/  ( -.  ( ph  \/  ps )  /\  x  =  B )  \/  ( ps  /\  x  =  C ) )
Colors of variables: wff set class
Syntax hints:   -. wn 3    <-> wb 177    \/ wo 358    /\ wa 359    \/ w3o 935    = wceq 1652    e. wcel 1725   E!weu 2281   _Vcvv 2956
This theorem is referenced by:  moeq3  3111
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1555  ax-5 1566  ax-17 1626  ax-9 1666  ax-8 1687  ax-6 1744  ax-7 1749  ax-11 1761  ax-12 1950  ax-ext 2417
This theorem depends on definitions:  df-bi 178  df-or 360  df-an 361  df-3or 937  df-tru 1328  df-ex 1551  df-nf 1554  df-sb 1659  df-eu 2285  df-mo 2286  df-clab 2423  df-cleq 2429  df-clel 2432  df-v 2958
  Copyright terms: Public domain W3C validator