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

Theorem riota5f 5747
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 2503 . 2  |-  ( ph  ->  A. x  e.  A  ( ps  <->  x  =  B
) )
3 riota5f.2 . . . 4  |-  ( ph  ->  B  e.  A )
4 a1tru 1347 . . . . . . 7  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  -> T.  )
5 reu6i 2870 . . . . . . . . 9  |-  ( ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) )  ->  E! x  e.  A  ps )
65adantl 275 . . . . . . . 8  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  E! x  e.  A  ps )
7 nfv 1508 . . . . . . . . . 10  |-  F/ x ph
8 nfv 1508 . . . . . . . . . . 11  |-  F/ x  y  e.  A
9 nfra1 2464 . . . . . . . . . . 11  |-  F/ x A. x  e.  A  ( ps  <->  x  =  y
)
108, 9nfan 1544 . . . . . . . . . 10  |-  F/ x
( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) )
117, 10nfan 1544 . . . . . . . . 9  |-  F/ x
( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )
12 nfcvd 2280 . . . . . . . . 9  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  F/_ x y )
13 nfvd 1509 . . . . . . . . 9  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  F/ x T.  )
14 simprl 520 . . . . . . . . 9  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  y  e.  A )
15 simpr 109 . . . . . . . . . . 11  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  x  =  y )
16 simplrr 525 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  A. x  e.  A  ( ps  <->  x  =  y
) )
17 simplrl 524 . . . . . . . . . . . . 13  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  y  e.  A )
1815, 17eqeltrd 2214 . . . . . . . . . . . 12  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  x  e.  A )
19 rsp 2478 . . . . . . . . . . . 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 166 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  ps )
22 a1tru 1347 . . . . . . . . . 10  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  -> T.  )
2321, 222thd 174 . . . . . . . . 9  |-  ( ( ( ph  /\  (
y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y
) ) )  /\  x  =  y )  ->  ( ps  <-> T.  )
)
2411, 12, 13, 14, 23riota2df 5743 . . . . . . . 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 417 . . . . . . 7  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  ( T.  <->  (
iota_ x  e.  A  ps )  =  y
) )
264, 25mpbid 146 . . . . . 6  |-  ( (
ph  /\  ( y  e.  A  /\  A. x  e.  A  ( ps  <->  x  =  y ) ) )  ->  ( iota_ x  e.  A  ps )  =  y )
2726expr 372 . . . . 5  |-  ( (
ph  /\  y  e.  A )  ->  ( A. x  e.  A  ( ps  <->  x  =  y
)  ->  ( iota_ x  e.  A  ps )  =  y ) )
2827ralrimiva 2503 . . . 4  |-  ( ph  ->  A. y  e.  A  ( A. x  e.  A  ( ps  <->  x  =  y
)  ->  ( iota_ x  e.  A  ps )  =  y ) )
29 rspsbc 2986 . . . 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 2280 . . . . . . . 8  |-  ( ph  -> 
F/_ x y )
32 riota5f.1 . . . . . . . 8  |-  ( ph  -> 
F/_ x B )
3331, 32nfeqd 2294 . . . . . . 7  |-  ( ph  ->  F/ x  y  =  B )
347, 33nfan1 1543 . . . . . 6  |-  F/ x
( ph  /\  y  =  B )
35 simpr 109 . . . . . . . 8  |-  ( (
ph  /\  y  =  B )  ->  y  =  B )
3635eqeq2d 2149 . . . . . . 7  |-  ( (
ph  /\  y  =  B )  ->  (
x  =  y  <->  x  =  B ) )
3736bibi2d 231 . . . . . 6  |-  ( (
ph  /\  y  =  B )  ->  (
( ps  <->  x  =  y )  <->  ( ps  <->  x  =  B ) ) )
3834, 37ralbid 2433 . . . . 5  |-  ( (
ph  /\  y  =  B )  ->  ( A. x  e.  A  ( ps  <->  x  =  y
)  <->  A. x  e.  A  ( ps  <->  x  =  B
) ) )
3935eqeq2d 2149 . . . . 5  |-  ( (
ph  /\  y  =  B )  ->  (
( iota_ x  e.  A  ps )  =  y  <->  (
iota_ x  e.  A  ps )  =  B
) )
4038, 39imbi12d 233 . . . 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 2940 . . 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 146 . 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 103    <-> wb 104    = wceq 1331   T. wtru 1332    e. wcel 1480   F/_wnfc 2266   A.wral 2414   E!wreu 2416   [.wsbc 2904   iota_crio 5722
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-ia1 105  ax-ia2 106  ax-ia3 107  ax-io 698  ax-5 1423  ax-7 1424  ax-gen 1425  ax-ie1 1469  ax-ie2 1470  ax-8 1482  ax-10 1483  ax-11 1484  ax-i12 1485  ax-bndl 1486  ax-4 1487  ax-17 1506  ax-i9 1510  ax-ial 1514  ax-i5r 1515  ax-ext 2119
This theorem depends on definitions:  df-bi 116  df-3an 964  df-tru 1334  df-nf 1437  df-sb 1736  df-eu 2000  df-clab 2124  df-cleq 2130  df-clel 2133  df-nfc 2268  df-ral 2419  df-rex 2420  df-reu 2421  df-v 2683  df-sbc 2905  df-un 3070  df-sn 3528  df-pr 3529  df-uni 3732  df-iota 5083  df-riota 5723
This theorem is referenced by:  riota5  5748
  Copyright terms: Public domain W3C validator