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

Theorem reuxfr2d 4585
Description: Transfer existential uniqueness from a variable  x to another variable  y contained in expression  A. (Contributed by NM, 16-Jan-2012.) (Revised by NM, 16-Jun-2017.)
Hypotheses
Ref Expression
reuxfr2d.1  |-  ( (
ph  /\  y  e.  B )  ->  A  e.  B )
reuxfr2d.2  |-  ( (
ph  /\  x  e.  B )  ->  E* y  e.  B  x  =  A )
Assertion
Ref Expression
reuxfr2d  |-  ( ph  ->  ( E! x  e.  B  E. y  e.  B  ( x  =  A  /\  ps )  <->  E! y  e.  B  ps ) )
Distinct variable groups:    x, y, ph    ps, x    x, A    x, B, y
Allowed substitution hints:    ps( y)    A( y)

Proof of Theorem reuxfr2d
StepHypRef Expression
1 reuxfr2d.2 . . . . . . 7  |-  ( (
ph  /\  x  e.  B )  ->  E* y  e.  B  x  =  A )
2 rmoan 3223 . . . . . . 7  |-  ( E* y  e.  B  x  =  A  ->  E* y  e.  B  ( ps  /\  x  =  A ) )
31, 2syl 16 . . . . . 6  |-  ( (
ph  /\  x  e.  B )  ->  E* y  e.  B  ( ps  /\  x  =  A ) )
4 ancom 448 . . . . . . 7  |-  ( ( ps  /\  x  =  A )  <->  ( x  =  A  /\  ps )
)
54rmobii 2974 . . . . . 6  |-  ( E* y  e.  B  ( ps  /\  x  =  A )  <->  E* y  e.  B  ( x  =  A  /\  ps )
)
63, 5sylib 196 . . . . 5  |-  ( (
ph  /\  x  e.  B )  ->  E* y  e.  B  (
x  =  A  /\  ps ) )
76ralrimiva 2796 . . . 4  |-  ( ph  ->  A. x  e.  B  E* y  e.  B  ( x  =  A  /\  ps ) )
8 2reuswap 3227 . . . 4  |-  ( A. x  e.  B  E* y  e.  B  (
x  =  A  /\  ps )  ->  ( E! x  e.  B  E. y  e.  B  (
x  =  A  /\  ps )  ->  E! y  e.  B  E. x  e.  B  ( x  =  A  /\  ps )
) )
97, 8syl 16 . . 3  |-  ( ph  ->  ( E! x  e.  B  E. y  e.  B  ( x  =  A  /\  ps )  ->  E! y  e.  B  E. x  e.  B  ( x  =  A  /\  ps ) ) )
10 df-rmo 2740 . . . . . 6  |-  ( E* x  e.  B  ( x  =  A  /\  ps )  <->  E* x ( x  e.  B  /\  (
x  =  A  /\  ps ) ) )
1110ralbii 2813 . . . . 5  |-  ( A. y  e.  B  E* x  e.  B  (
x  =  A  /\  ps )  <->  A. y  e.  B  E* x ( x  e.  B  /\  ( x  =  A  /\  ps ) ) )
12 2reuswap 3227 . . . . 5  |-  ( A. y  e.  B  E* x  e.  B  (
x  =  A  /\  ps )  ->  ( E! y  e.  B  E. x  e.  B  (
x  =  A  /\  ps )  ->  E! x  e.  B  E. y  e.  B  ( x  =  A  /\  ps )
) )
1311, 12sylbir 213 . . . 4  |-  ( A. y  e.  B  E* x ( x  e.  B  /\  ( x  =  A  /\  ps ) )  ->  ( E! y  e.  B  E. x  e.  B  ( x  =  A  /\  ps )  ->  E! x  e.  B  E. y  e.  B  (
x  =  A  /\  ps ) ) )
14 moeq 3200 . . . . . . 7  |-  E* x  x  =  A
1514moani 2277 . . . . . 6  |-  E* x
( ( x  e.  B  /\  ps )  /\  x  =  A
)
16 ancom 448 . . . . . . . 8  |-  ( ( ( x  e.  B  /\  ps )  /\  x  =  A )  <->  ( x  =  A  /\  (
x  e.  B  /\  ps ) ) )
17 an12 795 . . . . . . . 8  |-  ( ( x  =  A  /\  ( x  e.  B  /\  ps ) )  <->  ( x  e.  B  /\  (
x  =  A  /\  ps ) ) )
1816, 17bitri 249 . . . . . . 7  |-  ( ( ( x  e.  B  /\  ps )  /\  x  =  A )  <->  ( x  e.  B  /\  (
x  =  A  /\  ps ) ) )
1918mobii 2243 . . . . . 6  |-  ( E* x ( ( x  e.  B  /\  ps )  /\  x  =  A )  <->  E* x ( x  e.  B  /\  (
x  =  A  /\  ps ) ) )
2015, 19mpbi 208 . . . . 5  |-  E* x
( x  e.  B  /\  ( x  =  A  /\  ps ) )
2120a1i 11 . . . 4  |-  ( y  e.  B  ->  E* x ( x  e.  B  /\  ( x  =  A  /\  ps ) ) )
2213, 21mprg 2745 . . 3  |-  ( E! y  e.  B  E. x  e.  B  (
x  =  A  /\  ps )  ->  E! x  e.  B  E. y  e.  B  ( x  =  A  /\  ps )
)
239, 22impbid1 203 . 2  |-  ( ph  ->  ( E! x  e.  B  E. y  e.  B  ( x  =  A  /\  ps )  <->  E! y  e.  B  E. x  e.  B  (
x  =  A  /\  ps ) ) )
24 reuxfr2d.1 . . . 4  |-  ( (
ph  /\  y  e.  B )  ->  A  e.  B )
25 biidd 237 . . . . 5  |-  ( x  =  A  ->  ( ps 
<->  ps ) )
2625ceqsrexv 3158 . . . 4  |-  ( A  e.  B  ->  ( E. x  e.  B  ( x  =  A  /\  ps )  <->  ps )
)
2724, 26syl 16 . . 3  |-  ( (
ph  /\  y  e.  B )  ->  ( E. x  e.  B  ( x  =  A  /\  ps )  <->  ps )
)
2827reubidva 2966 . 2  |-  ( ph  ->  ( E! y  e.  B  E. x  e.  B  ( x  =  A  /\  ps )  <->  E! y  e.  B  ps ) )
2923, 28bitrd 253 1  |-  ( ph  ->  ( E! x  e.  B  E. y  e.  B  ( x  =  A  /\  ps )  <->  E! y  e.  B  ps ) )
Colors of variables: wff setvar class
Syntax hints:    -> wi 4    <-> wb 184    /\ wa 367    = wceq 1399    e. wcel 1826   E*wmo 2219   A.wral 2732   E.wrex 2733   E!wreu 2734   E*wrmo 2735
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1626  ax-4 1639  ax-5 1712  ax-6 1755  ax-7 1798  ax-10 1845  ax-11 1850  ax-12 1862  ax-13 2006  ax-ext 2360
This theorem depends on definitions:  df-bi 185  df-or 368  df-an 369  df-tru 1402  df-ex 1621  df-nf 1625  df-sb 1748  df-eu 2222  df-mo 2223  df-clab 2368  df-cleq 2374  df-clel 2377  df-ral 2737  df-rex 2738  df-reu 2739  df-rmo 2740  df-v 3036
This theorem is referenced by:  reuxfr2  4586  reuxfrd  4587
  Copyright terms: Public domain W3C validator