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

Theorem riota5f 5512
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 2434 . 2  |-  ( ph  ->  A. x  e.  A  ( ps  <->  x  =  B
) )
3 riota5f.2 . . . 4  |-  ( ph  ->  B  e.  A )
4 a1tru 1300 . . . . . . 7  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  -> T.  )
5 reu6i 2783 . . . . . . . . 9  |-  ( ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) )  ->  E! x  e.  A  ps )
65adantl 271 . . . . . . . 8  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  E! x  e.  A  ps )
7 nfv 1461 . . . . . . . . . 10  |-  F/ x ph
8 nfv 1461 . . . . . . . . . . 11  |-  F/ x  y  e.  A
9 nfra1 2397 . . . . . . . . . . 11  |-  F/ x A. x  e.  A  ( ps  <->  x  =  y
)
108, 9nfan 1497 . . . . . . . . . 10  |-  F/ x
( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) )
117, 10nfan 1497 . . . . . . . . 9  |-  F/ x
( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )
12 nfcvd 2220 . . . . . . . . 9  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  F/_ x y )
13 nfvd 1462 . . . . . . . . 9  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  F/ x T.  )
14 simprl 497 . . . . . . . . 9  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  y  e.  A )
15 simpr 108 . . . . . . . . . . 11  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  x  =  y )
16 simplrr 502 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  A. x  e.  A  ( ps  <->  x  =  y
) )
17 simplrl 501 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  y  e.  A )
1815, 17eqeltrd 2155 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  x  e.  A )
19 rsp 2411 . . . . . . . . . . . 12  |-  ( A. x  e.  A  ( ps 
<->  x  =  y )  ->  ( x  e.  A  ->  ( ps  <->  x  =  y ) ) )
2016, 18, 19sylc 61 . . . . . . . . . . 11  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  ( ps  <->  x  =  y ) )
2115, 20mpbird 165 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  ps )
22 a1tru 1300 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  -> T.  )
2321, 222thd 173 . . . . . . . . 9  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  ( ps  <-> T.  )
)
2411, 12, 13, 14, 23riota2df 5508 . . . . . . . 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 412 . . . . . . 7  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  ( T.  <->  (
iota_ x  e.  A  ps )  =  y
) )
264, 25mpbid 145 . . . . . 6  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  ( iota_ x  e.  A  ps )  =  y )
2726expr 367 . . . . 5  |-  ( (
ph  /\  y  e.  A )  ->  ( A. x  e.  A  ( ps  <->  x  =  y
)  ->  ( iota_ x  e.  A  ps )  =  y ) )
2827ralrimiva 2434 . . . 4  |-  ( ph  ->  A. y  e.  A  ( A. x  e.  A  ( ps  <->  x  =  y
)  ->  ( iota_ x  e.  A  ps )  =  y ) )
29 rspsbc 2896 . . . 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 61 . . 3  |-  ( ph  ->  [. B  /  y ]. ( A. x  e.  A  ( ps  <->  x  =  y )  ->  ( iota_ x  e.  A  ps )  =  y )
)
31 nfcvd 2220 . . . . . . . 8  |-  ( ph  -> 
F/_ x y )
32 riota5f.1 . . . . . . . 8  |-  ( ph  -> 
F/_ x B )
3331, 32nfeqd 2233 . . . . . . 7  |-  ( ph  ->  F/ x  y  =  B )
347, 33nfan1 1496 . . . . . 6  |-  F/ x
( ph  /\  y  =  B )
35 simpr 108 . . . . . . . 8  |-  ( (
ph  /\  y  =  B )  ->  y  =  B )
3635eqeq2d 2092 . . . . . . 7  |-  ( (
ph  /\  y  =  B )  ->  (
x  =  y  <->  x  =  B ) )
3736bibi2d 230 . . . . . 6  |-  ( (
ph  /\  y  =  B )  ->  (
( ps  <->  x  =  y )  <->  ( ps  <->  x  =  B ) ) )
3834, 37ralbid 2366 . . . . 5  |-  ( (
ph  /\  y  =  B )  ->  ( A. x  e.  A  ( ps  <->  x  =  y
)  <->  A. x  e.  A  ( ps  <->  x  =  B
) ) )
3935eqeq2d 2092 . . . . 5  |-  ( (
ph  /\  y  =  B )  ->  (
( iota_ x  e.  A  ps )  =  y  <->  (
iota_ x  e.  A  ps )  =  B
) )
4038, 39imbi12d 232 . . . 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 2850 . . 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 145 . 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 102    <-> wb 103    = wceq 1284   T. wtru 1285    e. wcel 1433   F/_wnfc 2206   A.wral 2348   E!wreu 2350   [.wsbc 2815   iota_crio 5487
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 104  ax-ia2 105  ax-ia3 106  ax-io 662  ax-5 1376  ax-7 1377  ax-gen 1378  ax-ie1 1422  ax-ie2 1423  ax-8 1435  ax-10 1436  ax-11 1437  ax-i12 1438  ax-bndl 1439  ax-4 1440  ax-17 1459  ax-i9 1463  ax-ial 1467  ax-i5r 1468  ax-ext 2063
This theorem depends on definitions:  df-bi 115  df-3an 921  df-tru 1287  df-nf 1390  df-sb 1686  df-eu 1944  df-clab 2068  df-cleq 2074  df-clel 2077  df-nfc 2208  df-ral 2353  df-rex 2354  df-reu 2355  df-v 2603  df-sbc 2816  df-un 2977  df-sn 3404  df-pr 3405  df-uni 3602  df-iota 4887  df-riota 5488
This theorem is referenced by:  riota5  5513
  Copyright terms: Public domain W3C validator