ILE Home Intuitionistic Logic Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  ILE Home  >  Th. List  >  riota5f Unicode version

Theorem riota5f 6055
Description: A method for computing restricted iota. (Contributed by NM, 16-Apr-2013.) (Revised by Mario Carneiro, 15-Oct-2016.)
Hypotheses
Ref Expression
riota5f.1  |-  ( ph  -> 
F/_ x B )
riota5f.2  |-  ( ph  ->  B  e.  A )
riota5f.3  |-  ( (
ph  /\  x  e.  A )  ->  ( ps 
<->  x  =  B ) )
Assertion
Ref Expression
riota5f  |-  ( ph  ->  ( iota_ x  e.  A  ps )  =  B
)
Distinct variable groups:    x, A    ph, x
Allowed substitution hints:    ps( x)    B( x)

Proof of Theorem riota5f
Dummy variable  y is distinct from all other variables.
StepHypRef Expression
1 riota5f.3 . . 3  |-  ( (
ph  /\  x  e.  A )  ->  ( ps 
<->  x  =  B ) )
21ralrimiva 2623 . 2  |-  ( ph  ->  A. x  e.  A  ( ps  <->  x  =  B
) )
3 riota5f.2 . . . 4  |-  ( ph  ->  B  e.  A )
4 trud 1418 . . . . . . 7  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  -> T.  )
5 reu6i 3017 . . . . . . . . 9  |-  ( ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) )  ->  E! x  e.  A  ps )
65adantl 277 . . . . . . . 8  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  E! x  e.  A  ps )
7 nfv 1581 . . . . . . . . . 10  |-  F/ x ph
8 nfv 1581 . . . . . . . . . . 11  |-  F/ x  y  e.  A
9 nfra1 2581 . . . . . . . . . . 11  |-  F/ x A. x  e.  A  ( ps  <->  x  =  y
)
108, 9nfan 1618 . . . . . . . . . 10  |-  F/ x
( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) )
117, 10nfan 1618 . . . . . . . . 9  |-  F/ x
( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )
12 nfcvd 2393 . . . . . . . . 9  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  F/_ x y )
13 nfvd 1582 . . . . . . . . 9  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  F/ x T.  )
14 simprl 535 . . . . . . . . 9  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  y  e.  A )
15 simpr 110 . . . . . . . . . . 11  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  x  =  y )
16 simplrr 542 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  A. x  e.  A  ( ps  <->  x  =  y
) )
17 simplrl 541 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  y  e.  A )
1815, 17eqeltrd 2315 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  x  e.  A )
19 rsp 2597 . . . . . . . . . . . 12  |-  ( A. x  e.  A  ( ps 
<->  x  =  y )  ->  ( x  e.  A  ->  ( ps  <->  x  =  y ) ) )
2016, 18, 19sylc 62 . . . . . . . . . . 11  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  ( ps  <->  x  =  y ) )
2115, 20mpbird 167 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  ps )
22 trud 1418 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  -> T.  )
2321, 222thd 175 . . . . . . . . 9  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  ( ps  <-> T.  )
)
2411, 12, 13, 14, 23riota2df 6050 . . . . . . . 8  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  E! x  e.  A  ps )  ->  ( T.  <-> 
( iota_ x  e.  A  ps )  =  y
) )
256, 24mpdan 425 . . . . . . 7  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  ( T.  <->  (
iota_ x  e.  A  ps )  =  y
) )
264, 25mpbid 147 . . . . . 6  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  ( iota_ x  e.  A  ps )  =  y )
2726expr 375 . . . . 5  |-  ( (
ph  /\  y  e.  A )  ->  ( A. x  e.  A  ( ps  <->  x  =  y
)  ->  ( iota_ x  e.  A  ps )  =  y ) )
2827ralrimiva 2623 . . . 4  |-  ( ph  ->  A. y  e.  A  ( A. x  e.  A  ( ps  <->  x  =  y
)  ->  ( iota_ x  e.  A  ps )  =  y ) )
29 rspsbc 3135 . . . 4  |-  ( B  e.  A  ->  ( A. y  e.  A  ( A. x  e.  A  ( ps  <->  x  =  y
)  ->  ( iota_ x  e.  A  ps )  =  y )  ->  [. B  /  y ]. ( A. x  e.  A  ( ps  <->  x  =  y )  ->  ( iota_ x  e.  A  ps )  =  y )
) )
303, 28, 29sylc 62 . . 3  |-  ( ph  ->  [. B  /  y ]. ( A. x  e.  A  ( ps  <->  x  =  y )  ->  ( iota_ x  e.  A  ps )  =  y )
)
31 nfcvd 2393 . . . . . . . 8  |-  ( ph  -> 
F/_ x y )
32 riota5f.1 . . . . . . . 8  |-  ( ph  -> 
F/_ x B )
3331, 32nfeqd 2407 . . . . . . 7  |-  ( ph  ->  F/ x  y  =  B )
347, 33nfan1 1617 . . . . . 6  |-  F/ x
( ph  /\  y  =  B )
35 simpr 110 . . . . . . . 8  |-  ( (
ph  /\  y  =  B )  ->  y  =  B )
3635eqeq2d 2250 . . . . . . 7  |-  ( (
ph  /\  y  =  B )  ->  (
x  =  y  <->  x  =  B ) )
3736bibi2d 232 . . . . . 6  |-  ( (
ph  /\  y  =  B )  ->  (
( ps  <->  x  =  y )  <->  ( ps  <->  x  =  B ) ) )
3834, 37ralbid 2548 . . . . 5  |-  ( (
ph  /\  y  =  B )  ->  ( A. x  e.  A  ( ps  <->  x  =  y
)  <->  A. x  e.  A  ( ps  <->  x  =  B
) ) )
3935eqeq2d 2250 . . . . 5  |-  ( (
ph  /\  y  =  B )  ->  (
( iota_ x  e.  A  ps )  =  y  <->  (
iota_ x  e.  A  ps )  =  B
) )
4038, 39imbi12d 234 . . . 4  |-  ( (
ph  /\  y  =  B )  ->  (
( A. x  e.  A  ( ps  <->  x  =  y )  ->  ( iota_ x  e.  A  ps )  =  y )  <->  ( A. x  e.  A  ( ps  <->  x  =  B
)  ->  ( iota_ x  e.  A  ps )  =  B ) ) )
413, 40sbcied 3088 . . 3  |-  ( ph  ->  ( [. B  / 
y ]. ( A. x  e.  A  ( ps  <->  x  =  y )  -> 
( iota_ x  e.  A  ps )  =  y
)  <->  ( A. x  e.  A  ( ps  <->  x  =  B )  -> 
( iota_ x  e.  A  ps )  =  B
) ) )
4230, 41mpbid 147 . 2  |-  ( ph  ->  ( A. x  e.  A  ( ps  <->  x  =  B )  ->  ( iota_ x  e.  A  ps )  =  B )
)
432, 42mpd 13 1  |-  ( ph  ->  ( iota_ x  e.  A  ps )  =  B
)
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    <-> wb 105    = wceq 1402   T. wtru 1403    e. wcel 2209   F/_wnfc 2379   A.wral 2528   E!wreu 2530   [.wsbc 3051   iota_crio 6027
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 106  ax-ia2 107  ax-ia3 108  ax-io 721  ax-5 1500  ax-7 1501  ax-gen 1502  ax-ie1 1546  ax-ie2 1547  ax-8 1557  ax-10 1558  ax-11 1559  ax-i12 1560  ax-bndl 1562  ax-4 1563  ax-17 1579  ax-i9 1583  ax-ial 1587  ax-i5r 1588  ax-ext 2220
This theorem depends on definitions:  df-bi 117  df-3an 1011  df-tru 1405  df-nf 1514  df-sb 1816  df-eu 2089  df-clab 2225  df-cleq 2231  df-clel 2234  df-nfc 2381  df-ral 2533  df-rex 2534  df-reu 2535  df-v 2823  df-sbc 3052  df-un 3224  df-sn 3711  df-pr 3712  df-uni 3931  df-iota 5332  df-riota 6028
This theorem is referenced by:  riota5  6056
  Copyright terms: Public domain W3C validator