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

Theorem riotaxfrd 6336
Description: Change the variable  x in the expression for "the unique  x such that  ps " to another variable  y contained in expression  B. Use reuhypd 4561 to eliminate the last hypothesis. (Contributed by NM, 16-Jan-2012.) (Revised by Mario Carneiro, 15-Oct-2016.)
Hypotheses
Ref Expression
riotaxfrd.1  |-  F/_ y C
riotaxfrd.2  |-  ( (
ph  /\  y  e.  A )  ->  B  e.  A )
riotaxfrd.3  |-  ( (
ph  /\  ( iota_ y  e.  A ch )  e.  A )  ->  C  e.  A )
riotaxfrd.4  |-  ( x  =  B  ->  ( ps 
<->  ch ) )
riotaxfrd.5  |-  ( y  =  ( iota_ y  e.  A ch )  ->  B  =  C )
riotaxfrd.6  |-  ( (
ph  /\  x  e.  A )  ->  E! y  e.  A  x  =  B )
Assertion
Ref Expression
riotaxfrd  |-  ( (
ph  /\  E! x  e.  A  ps )  ->  ( iota_ x  e.  A ps )  =  C
)
Distinct variable groups:    x, B    x, C    x, y, A    ph, x, y    ps, y    ch, x
Allowed substitution hints:    ps( x)    ch( y)    B( y)    C( y)

Proof of Theorem riotaxfrd
StepHypRef Expression
1 rabid 2716 . . . 4  |-  ( x  e.  { x  e.  A  |  ps }  <->  ( x  e.  A  /\  ps ) )
21baib 871 . . 3  |-  ( x  e.  A  ->  (
x  e.  { x  e.  A  |  ps } 
<->  ps ) )
32riotabiia 6322 . 2  |-  ( iota_ x  e.  A x  e. 
{ x  e.  A  |  ps } )  =  ( iota_ x  e.  A ps )
4 riotaxfrd.2 . . . . . 6  |-  ( (
ph  /\  y  e.  A )  ->  B  e.  A )
5 riotaxfrd.6 . . . . . 6  |-  ( (
ph  /\  x  e.  A )  ->  E! y  e.  A  x  =  B )
6 riotaxfrd.4 . . . . . 6  |-  ( x  =  B  ->  ( ps 
<->  ch ) )
74, 5, 6reuxfrd 4559 . . . . 5  |-  ( ph  ->  ( E! x  e.  A  ps  <->  E! y  e.  A  ch )
)
8 riotacl2 6318 . . . . . . . 8  |-  ( E! y  e.  A  ch  ->  ( iota_ y  e.  A ch )  e.  { y  e.  A  |  ch } )
98adantl 452 . . . . . . 7  |-  ( (
ph  /\  E! y  e.  A  ch )  ->  ( iota_ y  e.  A ch )  e.  { y  e.  A  |  ch } )
10 riotacl 6319 . . . . . . . 8  |-  ( E! y  e.  A  ch  ->  ( iota_ y  e.  A ch )  e.  A
)
11 nfriota1 6312 . . . . . . . . 9  |-  F/_ y
( iota_ y  e.  A ch )
12 riotaxfrd.1 . . . . . . . . 9  |-  F/_ y C
13 riotaxfrd.5 . . . . . . . . 9  |-  ( y  =  ( iota_ y  e.  A ch )  ->  B  =  C )
1411, 12, 4, 6, 13rabxfrd 4555 . . . . . . . 8  |-  ( (
ph  /\  ( iota_ y  e.  A ch )  e.  A )  ->  ( C  e.  { x  e.  A  |  ps } 
<->  ( iota_ y  e.  A ch )  e.  { y  e.  A  |  ch } ) )
1510, 14sylan2 460 . . . . . . 7  |-  ( (
ph  /\  E! y  e.  A  ch )  ->  ( C  e.  {
x  e.  A  |  ps }  <->  ( iota_ y  e.  A ch )  e. 
{ y  e.  A  |  ch } ) )
169, 15mpbird 223 . . . . . 6  |-  ( (
ph  /\  E! y  e.  A  ch )  ->  C  e.  { x  e.  A  |  ps } )
1716ex 423 . . . . 5  |-  ( ph  ->  ( E! y  e.  A  ch  ->  C  e.  { x  e.  A  |  ps } ) )
187, 17sylbid 206 . . . 4  |-  ( ph  ->  ( E! x  e.  A  ps  ->  C  e.  { x  e.  A  |  ps } ) )
1918imp 418 . . 3  |-  ( (
ph  /\  E! x  e.  A  ps )  ->  C  e.  { x  e.  A  |  ps } )
20 riotaxfrd.3 . . . . . . . 8  |-  ( (
ph  /\  ( iota_ y  e.  A ch )  e.  A )  ->  C  e.  A )
2120ex 423 . . . . . . 7  |-  ( ph  ->  ( ( iota_ y  e.  A ch )  e.  A  ->  C  e.  A ) )
2210, 21syl5 28 . . . . . 6  |-  ( ph  ->  ( E! y  e.  A  ch  ->  C  e.  A ) )
237, 22sylbid 206 . . . . 5  |-  ( ph  ->  ( E! x  e.  A  ps  ->  C  e.  A ) )
2423imp 418 . . . 4  |-  ( (
ph  /\  E! x  e.  A  ps )  ->  C  e.  A )
251baibr 872 . . . . . . 7  |-  ( x  e.  A  ->  ( ps 
<->  x  e.  { x  e.  A  |  ps } ) )
2625reubiia 2725 . . . . . 6  |-  ( E! x  e.  A  ps  <->  E! x  e.  A  x  e.  { x  e.  A  |  ps }
)
2726biimpi 186 . . . . 5  |-  ( E! x  e.  A  ps  ->  E! x  e.  A  x  e.  { x  e.  A  |  ps } )
2827adantl 452 . . . 4  |-  ( (
ph  /\  E! x  e.  A  ps )  ->  E! x  e.  A  x  e.  { x  e.  A  |  ps } )
29 nfcv 2419 . . . . 5  |-  F/_ x C
30 nfrab1 2720 . . . . . 6  |-  F/_ x { x  e.  A  |  ps }
3130nfel2 2431 . . . . 5  |-  F/ x  C  e.  { x  e.  A  |  ps }
32 eleq1 2343 . . . . 5  |-  ( x  =  C  ->  (
x  e.  { x  e.  A  |  ps } 
<->  C  e.  { x  e.  A  |  ps } ) )
3329, 31, 32riota2f 6326 . . . 4  |-  ( ( C  e.  A  /\  E! x  e.  A  x  e.  { x  e.  A  |  ps } )  ->  ( C  e.  { x  e.  A  |  ps } 
<->  ( iota_ x  e.  A x  e.  { x  e.  A  |  ps } )  =  C ) )
3424, 28, 33syl2anc 642 . . 3  |-  ( (
ph  /\  E! x  e.  A  ps )  ->  ( C  e.  {
x  e.  A  |  ps }  <->  ( iota_ x  e.  A x  e.  {
x  e.  A  |  ps } )  =  C ) )
3519, 34mpbid 201 . 2  |-  ( (
ph  /\  E! x  e.  A  ps )  ->  ( iota_ x  e.  A x  e.  { x  e.  A  |  ps } )  =  C )
363, 35syl5eqr 2329 1  |-  ( (
ph  /\  E! x  e.  A  ps )  ->  ( iota_ x  e.  A ps )  =  C
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    <-> wb 176    /\ wa 358    = wceq 1623    e. wcel 1684   F/_wnfc 2406   E!wreu 2545   {crab 2547   iota_crio 6297
This theorem is referenced by:  riotaneg  9729  riotaocN  29399
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-3 7  ax-mp 8  ax-gen 1533  ax-5 1544  ax-17 1603  ax-9 1635  ax-8 1643  ax-6 1703  ax-7 1708  ax-11 1715  ax-12 1866  ax-ext 2264
This theorem depends on definitions:  df-bi 177  df-or 359  df-an 360  df-3an 936  df-tru 1310  df-ex 1529  df-nf 1532  df-sb 1630  df-eu 2147  df-mo 2148  df-clab 2270  df-cleq 2276  df-clel 2279  df-nfc 2408  df-ral 2548  df-rex 2549  df-reu 2550  df-rmo 2551  df-rab 2552  df-v 2790  df-sbc 2992  df-dif 3155  df-un 3157  df-in 3159  df-ss 3166  df-nul 3456  df-if 3566  df-sn 3646  df-pr 3647  df-op 3649  df-uni 3828  df-br 4024  df-iota 5219  df-fv 5263  df-riota 6304
  Copyright terms: Public domain W3C validator