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

Theorem unxpdomlem2 7718
Description: Lemma for unxpdom 7720. (Contributed by Mario Carneiro, 13-Jan-2013.)
Hypotheses
Ref Expression
unxpdomlem1.1  |-  F  =  ( x  e.  ( a  u.  b ) 
|->  G )
unxpdomlem1.2  |-  G  =  if ( x  e.  a ,  <. x ,  if ( x  =  m ,  t ,  s ) >. ,  <. if ( x  =  t ,  n ,  m
) ,  x >. )
unxpdomlem2.1  |-  ( ph  ->  w  e.  ( a  u.  b ) )
unxpdomlem2.2  |-  ( ph  ->  -.  m  =  n )
unxpdomlem2.3  |-  ( ph  ->  -.  s  =  t )
Assertion
Ref Expression
unxpdomlem2  |-  ( (
ph  /\  ( z  e.  a  /\  -.  w  e.  a ) )  ->  -.  ( F `  z
)  =  ( F `
 w ) )
Distinct variable groups:    w, F, z    a, b, m, n, s, t, w, x, z
Allowed substitution hints:    ph( x, z, w, t, m, n, s, a, b)    F( x, t, m, n, s, a, b)    G( x, z, w, t, m, n, s, a, b)

Proof of Theorem unxpdomlem2
StepHypRef Expression
1 unxpdomlem2.3 . . 3  |-  ( ph  ->  -.  s  =  t )
21adantr 463 . 2  |-  ( (
ph  /\  ( z  e.  a  /\  -.  w  e.  a ) )  ->  -.  s  =  t
)
3 elun1 3657 . . . . . . . . . 10  |-  ( z  e.  a  ->  z  e.  ( a  u.  b
) )
43ad2antrl 725 . . . . . . . . 9  |-  ( (
ph  /\  ( z  e.  a  /\  -.  w  e.  a ) )  -> 
z  e.  ( a  u.  b ) )
5 unxpdomlem1.1 . . . . . . . . . 10  |-  F  =  ( x  e.  ( a  u.  b ) 
|->  G )
6 unxpdomlem1.2 . . . . . . . . . 10  |-  G  =  if ( x  e.  a ,  <. x ,  if ( x  =  m ,  t ,  s ) >. ,  <. if ( x  =  t ,  n ,  m
) ,  x >. )
75, 6unxpdomlem1 7717 . . . . . . . . 9  |-  ( z  e.  ( a  u.  b )  ->  ( F `  z )  =  if ( z  e.  a ,  <. z ,  if ( z  =  m ,  t ,  s ) >. ,  <. if ( z  =  t ,  n ,  m
) ,  z >.
) )
84, 7syl 16 . . . . . . . 8  |-  ( (
ph  /\  ( z  e.  a  /\  -.  w  e.  a ) )  -> 
( F `  z
)  =  if ( z  e.  a , 
<. z ,  if ( z  =  m ,  t ,  s )
>. ,  <. if ( z  =  t ,  n ,  m ) ,  z >. )
)
9 iftrue 3935 . . . . . . . . 9  |-  ( z  e.  a  ->  if ( z  e.  a ,  <. z ,  if ( z  =  m ,  t ,  s ) >. ,  <. if ( z  =  t ,  n ,  m ) ,  z >. )  =  <. z ,  if ( z  =  m ,  t ,  s ) >. )
109ad2antrl 725 . . . . . . . 8  |-  ( (
ph  /\  ( z  e.  a  /\  -.  w  e.  a ) )  ->  if ( z  e.  a ,  <. z ,  if ( z  =  m ,  t ,  s ) >. ,  <. if ( z  =  t ,  n ,  m ) ,  z >. )  =  <. z ,  if ( z  =  m ,  t ,  s ) >. )
118, 10eqtrd 2495 . . . . . . 7  |-  ( (
ph  /\  ( z  e.  a  /\  -.  w  e.  a ) )  -> 
( F `  z
)  =  <. z ,  if ( z  =  m ,  t ,  s ) >. )
12 unxpdomlem2.1 . . . . . . . . . 10  |-  ( ph  ->  w  e.  ( a  u.  b ) )
1312adantr 463 . . . . . . . . 9  |-  ( (
ph  /\  ( z  e.  a  /\  -.  w  e.  a ) )  ->  w  e.  ( a  u.  b ) )
145, 6unxpdomlem1 7717 . . . . . . . . 9  |-  ( w  e.  ( a  u.  b )  ->  ( F `  w )  =  if ( w  e.  a ,  <. w ,  if ( w  =  m ,  t ,  s ) >. ,  <. if ( w  =  t ,  n ,  m
) ,  w >. ) )
1513, 14syl 16 . . . . . . . 8  |-  ( (
ph  /\  ( z  e.  a  /\  -.  w  e.  a ) )  -> 
( F `  w
)  =  if ( w  e.  a , 
<. w ,  if ( w  =  m ,  t ,  s )
>. ,  <. if ( w  =  t ,  n ,  m ) ,  w >. )
)
16 iffalse 3938 . . . . . . . . 9  |-  ( -.  w  e.  a  ->  if ( w  e.  a ,  <. w ,  if ( w  =  m ,  t ,  s ) >. ,  <. if ( w  =  t ,  n ,  m ) ,  w >. )  =  <. if ( w  =  t ,  n ,  m ) ,  w >. )
1716ad2antll 726 . . . . . . . 8  |-  ( (
ph  /\  ( z  e.  a  /\  -.  w  e.  a ) )  ->  if ( w  e.  a ,  <. w ,  if ( w  =  m ,  t ,  s ) >. ,  <. if ( w  =  t ,  n ,  m ) ,  w >. )  =  <. if ( w  =  t ,  n ,  m ) ,  w >. )
1815, 17eqtrd 2495 . . . . . . 7  |-  ( (
ph  /\  ( z  e.  a  /\  -.  w  e.  a ) )  -> 
( F `  w
)  =  <. if ( w  =  t ,  n ,  m ) ,  w >. )
1911, 18eqeq12d 2476 . . . . . 6  |-  ( (
ph  /\  ( z  e.  a  /\  -.  w  e.  a ) )  -> 
( ( F `  z )  =  ( F `  w )  <->  <. z ,  if ( z  =  m ,  t ,  s )
>.  =  <. if ( w  =  t ,  n ,  m ) ,  w >. )
)
2019biimpa 482 . . . . 5  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  ->  <. z ,  if ( z  =  m ,  t ,  s )
>.  =  <. if ( w  =  t ,  n ,  m ) ,  w >. )
21 vex 3109 . . . . . 6  |-  z  e. 
_V
22 vex 3109 . . . . . . 7  |-  t  e. 
_V
23 vex 3109 . . . . . . 7  |-  s  e. 
_V
2422, 23ifex 3997 . . . . . 6  |-  if ( z  =  m ,  t ,  s )  e.  _V
2521, 24opth 4711 . . . . 5  |-  ( <.
z ,  if ( z  =  m ,  t ,  s )
>.  =  <. if ( w  =  t ,  n ,  m ) ,  w >.  <->  ( z  =  if ( w  =  t ,  n ,  m )  /\  if ( z  =  m ,  t ,  s )  =  w ) )
2620, 25sylib 196 . . . 4  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  -> 
( z  =  if ( w  =  t ,  n ,  m
)  /\  if (
z  =  m ,  t ,  s )  =  w ) )
2726simprd 461 . . 3  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  ->  if ( z  =  m ,  t ,  s )  =  w )
28 iftrue 3935 . . . . . . 7  |-  ( z  =  m  ->  if ( z  =  m ,  t ,  s )  =  t )
2927eqeq1d 2456 . . . . . . 7  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  -> 
( if ( z  =  m ,  t ,  s )  =  t  <->  w  =  t
) )
3028, 29syl5ib 219 . . . . . 6  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  -> 
( z  =  m  ->  w  =  t ) )
31 iftrue 3935 . . . . . . 7  |-  ( w  =  t  ->  if ( w  =  t ,  n ,  m )  =  n )
3226simpld 457 . . . . . . . 8  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  -> 
z  =  if ( w  =  t ,  n ,  m ) )
3332eqeq1d 2456 . . . . . . 7  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  -> 
( z  =  n  <-> 
if ( w  =  t ,  n ,  m )  =  n ) )
3431, 33syl5ibr 221 . . . . . 6  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  -> 
( w  =  t  ->  z  =  n ) )
3530, 34syld 44 . . . . 5  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  -> 
( z  =  m  ->  z  =  n ) )
36 unxpdomlem2.2 . . . . . . 7  |-  ( ph  ->  -.  m  =  n )
3736ad2antrr 723 . . . . . 6  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  ->  -.  m  =  n
)
38 equequ1 1803 . . . . . . 7  |-  ( z  =  m  ->  (
z  =  n  <->  m  =  n ) )
3938notbid 292 . . . . . 6  |-  ( z  =  m  ->  ( -.  z  =  n  <->  -.  m  =  n ) )
4037, 39syl5ibrcom 222 . . . . 5  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  -> 
( z  =  m  ->  -.  z  =  n ) )
4135, 40pm2.65d 175 . . . 4  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  ->  -.  z  =  m
)
4241iffalsed 3940 . . 3  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  ->  if ( z  =  m ,  t ,  s )  =  s )
43 iffalse 3938 . . . . 5  |-  ( -.  w  =  t  ->  if ( w  =  t ,  n ,  m
)  =  m )
4432eqeq1d 2456 . . . . 5  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  -> 
( z  =  m  <-> 
if ( w  =  t ,  n ,  m )  =  m ) )
4543, 44syl5ibr 221 . . . 4  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  -> 
( -.  w  =  t  ->  z  =  m ) )
4641, 45mt3d 125 . . 3  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  ->  w  =  t )
4727, 42, 463eqtr3d 2503 . 2  |-  ( ( ( ph  /\  (
z  e.  a  /\  -.  w  e.  a
) )  /\  ( F `  z )  =  ( F `  w ) )  -> 
s  =  t )
482, 47mtand 657 1  |-  ( (
ph  /\  ( z  e.  a  /\  -.  w  e.  a ) )  ->  -.  ( F `  z
)  =  ( F `
 w ) )
Colors of variables: wff setvar class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 367    = wceq 1398    e. wcel 1823    u. cun 3459   ifcif 3929   <.cop 4022    |-> cmpt 4497   ` cfv 5570
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-8 1825  ax-9 1827  ax-10 1842  ax-11 1847  ax-12 1859  ax-13 2004  ax-ext 2432  ax-sep 4560  ax-nul 4568  ax-pr 4676
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-3an 973  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-nfc 2604  df-ne 2651  df-ral 2809  df-rex 2810  df-rab 2813  df-v 3108  df-sbc 3325  df-dif 3464  df-un 3466  df-in 3468  df-ss 3475  df-nul 3784  df-if 3930  df-sn 4017  df-pr 4019  df-op 4023  df-uni 4236  df-br 4440  df-opab 4498  df-mpt 4499  df-id 4784  df-xp 4994  df-rel 4995  df-cnv 4996  df-co 4997  df-dm 4998  df-iota 5534  df-fun 5572  df-fv 5578
This theorem is referenced by:  unxpdomlem3  7719
  Copyright terms: Public domain W3C validator