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

Theorem nn0ind-raph 8355
Description: Principle of Mathematical Induction (inference schema) on nonnegative integers. The first four hypotheses give us the substitution instances we need; the last two are the basis and the induction step. Raph Levien remarks: "This seems a bit painful. I wonder if an explicit substitution version would be easier." (Contributed by Raph Levien, 10-Apr-2004.)
Hypotheses
Ref Expression
nn0ind-raph.1  |-  ( x  =  0  ->  ( ph 
<->  ps ) )
nn0ind-raph.2  |-  ( x  =  y  ->  ( ph 
<->  ch ) )
nn0ind-raph.3  |-  ( x  =  ( y  +  1 )  ->  ( ph 
<->  th ) )
nn0ind-raph.4  |-  ( x  =  A  ->  ( ph 
<->  ta ) )
nn0ind-raph.5  |-  ps
nn0ind-raph.6  |-  ( y  e.  NN0  ->  ( ch 
->  th ) )
Assertion
Ref Expression
nn0ind-raph  |-  ( A  e.  NN0  ->  ta )
Distinct variable groups:    x, y    x, A    ps, x    ch, x    th, x    ta, x    ph, y
Allowed substitution hints:    ph( x)    ps( y)    ch( y)    th( y)    ta( y)    A( y)

Proof of Theorem nn0ind-raph
Dummy variable  z is distinct from all other variables.
StepHypRef Expression
1 elnn0 8183 . 2  |-  ( A  e.  NN0  <->  ( A  e.  NN  \/  A  =  0 ) )
2 dfsbcq2 2767 . . . 4  |-  ( z  =  1  ->  ( [ z  /  x ] ph  <->  [. 1  /  x ]. ph ) )
3 nfv 1421 . . . . 5  |-  F/ x ch
4 nn0ind-raph.2 . . . . 5  |-  ( x  =  y  ->  ( ph 
<->  ch ) )
53, 4sbhypf 2603 . . . 4  |-  ( z  =  y  ->  ( [ z  /  x ] ph  <->  ch ) )
6 nfv 1421 . . . . 5  |-  F/ x th
7 nn0ind-raph.3 . . . . 5  |-  ( x  =  ( y  +  1 )  ->  ( ph 
<->  th ) )
86, 7sbhypf 2603 . . . 4  |-  ( z  =  ( y  +  1 )  ->  ( [ z  /  x ] ph  <->  th ) )
9 nfv 1421 . . . . 5  |-  F/ x ta
10 nn0ind-raph.4 . . . . 5  |-  ( x  =  A  ->  ( ph 
<->  ta ) )
119, 10sbhypf 2603 . . . 4  |-  ( z  =  A  ->  ( [ z  /  x ] ph  <->  ta ) )
12 nfsbc1v 2782 . . . . 5  |-  F/ x [. 1  /  x ]. ph
13 1ex 7022 . . . . 5  |-  1  e.  _V
14 c0ex 7021 . . . . . . 7  |-  0  e.  _V
15 0nn0 8196 . . . . . . . . . . . 12  |-  0  e.  NN0
16 eleq1a 2109 . . . . . . . . . . . 12  |-  ( 0  e.  NN0  ->  ( y  =  0  ->  y  e.  NN0 ) )
1715, 16ax-mp 7 . . . . . . . . . . 11  |-  ( y  =  0  ->  y  e.  NN0 )
18 nn0ind-raph.5 . . . . . . . . . . . . . . 15  |-  ps
19 nn0ind-raph.1 . . . . . . . . . . . . . . 15  |-  ( x  =  0  ->  ( ph 
<->  ps ) )
2018, 19mpbiri 157 . . . . . . . . . . . . . 14  |-  ( x  =  0  ->  ph )
21 eqeq2 2049 . . . . . . . . . . . . . . . 16  |-  ( y  =  0  ->  (
x  =  y  <->  x  = 
0 ) )
2221, 4syl6bir 153 . . . . . . . . . . . . . . 15  |-  ( y  =  0  ->  (
x  =  0  -> 
( ph  <->  ch ) ) )
2322pm5.74d 171 . . . . . . . . . . . . . 14  |-  ( y  =  0  ->  (
( x  =  0  ->  ph )  <->  ( x  =  0  ->  ch ) ) )
2420, 23mpbii 136 . . . . . . . . . . . . 13  |-  ( y  =  0  ->  (
x  =  0  ->  ch ) )
2524com12 27 . . . . . . . . . . . 12  |-  ( x  =  0  ->  (
y  =  0  ->  ch ) )
2614, 25vtocle 2627 . . . . . . . . . . 11  |-  ( y  =  0  ->  ch )
27 nn0ind-raph.6 . . . . . . . . . . 11  |-  ( y  e.  NN0  ->  ( ch 
->  th ) )
2817, 26, 27sylc 56 . . . . . . . . . 10  |-  ( y  =  0  ->  th )
2928adantr 261 . . . . . . . . 9  |-  ( ( y  =  0  /\  x  =  1 )  ->  th )
30 oveq1 5519 . . . . . . . . . . . . 13  |-  ( y  =  0  ->  (
y  +  1 )  =  ( 0  +  1 ) )
31 0p1e1 8031 . . . . . . . . . . . . 13  |-  ( 0  +  1 )  =  1
3230, 31syl6eq 2088 . . . . . . . . . . . 12  |-  ( y  =  0  ->  (
y  +  1 )  =  1 )
3332eqeq2d 2051 . . . . . . . . . . 11  |-  ( y  =  0  ->  (
x  =  ( y  +  1 )  <->  x  = 
1 ) )
3433, 7syl6bir 153 . . . . . . . . . 10  |-  ( y  =  0  ->  (
x  =  1  -> 
( ph  <->  th ) ) )
3534imp 115 . . . . . . . . 9  |-  ( ( y  =  0  /\  x  =  1 )  ->  ( ph  <->  th )
)
3629, 35mpbird 156 . . . . . . . 8  |-  ( ( y  =  0  /\  x  =  1 )  ->  ph )
3736ex 108 . . . . . . 7  |-  ( y  =  0  ->  (
x  =  1  ->  ph ) )
3814, 37vtocle 2627 . . . . . 6  |-  ( x  =  1  ->  ph )
39 sbceq1a 2773 . . . . . 6  |-  ( x  =  1  ->  ( ph 
<-> 
[. 1  /  x ]. ph ) )
4038, 39mpbid 135 . . . . 5  |-  ( x  =  1  ->  [. 1  /  x ]. ph )
4112, 13, 40vtoclef 2626 . . . 4  |-  [. 1  /  x ]. ph
42 nnnn0 8188 . . . . 5  |-  ( y  e.  NN  ->  y  e.  NN0 )
4342, 27syl 14 . . . 4  |-  ( y  e.  NN  ->  ( ch  ->  th ) )
442, 5, 8, 11, 41, 43nnind 7930 . . 3  |-  ( A  e.  NN  ->  ta )
45 nfv 1421 . . . . 5  |-  F/ x
( 0  =  A  ->  ta )
46 eqeq1 2046 . . . . . 6  |-  ( x  =  0  ->  (
x  =  A  <->  0  =  A ) )
4719bicomd 129 . . . . . . . . 9  |-  ( x  =  0  ->  ( ps 
<-> 
ph ) )
4847, 10sylan9bb 435 . . . . . . . 8  |-  ( ( x  =  0  /\  x  =  A )  ->  ( ps  <->  ta )
)
4918, 48mpbii 136 . . . . . . 7  |-  ( ( x  =  0  /\  x  =  A )  ->  ta )
5049ex 108 . . . . . 6  |-  ( x  =  0  ->  (
x  =  A  ->  ta ) )
5146, 50sylbird 159 . . . . 5  |-  ( x  =  0  ->  (
0  =  A  ->  ta ) )
5245, 14, 51vtoclef 2626 . . . 4  |-  ( 0  =  A  ->  ta )
5352eqcoms 2043 . . 3  |-  ( A  =  0  ->  ta )
5444, 53jaoi 636 . 2  |-  ( ( A  e.  NN  \/  A  =  0 )  ->  ta )
551, 54sylbi 114 1  |-  ( A  e.  NN0  ->  ta )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 97    <-> wb 98    \/ wo 629    = wceq 1243    e. wcel 1393   [wsb 1645   [.wsbc 2764  (class class class)co 5512   0cc0 6889   1c1 6890    + caddc 6892   NNcn 7914   NN0cn0 8181
This theorem was proved from axioms:  ax-1 5  ax-2 6  ax-mp 7  ax-ia1 99  ax-ia2 100  ax-ia3 101  ax-io 630  ax-5 1336  ax-7 1337  ax-gen 1338  ax-ie1 1382  ax-ie2 1383  ax-8 1395  ax-10 1396  ax-11 1397  ax-i12 1398  ax-bndl 1399  ax-4 1400  ax-17 1419  ax-i9 1423  ax-ial 1427  ax-i5r 1428  ax-ext 2022  ax-sep 3875  ax-cnex 6975  ax-resscn 6976  ax-1cn 6977  ax-1re 6978  ax-icn 6979  ax-addcl 6980  ax-addrcl 6981  ax-mulcl 6982  ax-addcom 6984  ax-i2m1 6989  ax-0id 6992
This theorem depends on definitions:  df-bi 110  df-3an 887  df-tru 1246  df-nf 1350  df-sb 1646  df-clab 2027  df-cleq 2033  df-clel 2036  df-nfc 2167  df-ral 2311  df-rex 2312  df-rab 2315  df-v 2559  df-sbc 2765  df-un 2922  df-in 2924  df-ss 2931  df-sn 3381  df-pr 3382  df-op 3384  df-uni 3581  df-int 3616  df-br 3765  df-iota 4867  df-fv 4910  df-ov 5515  df-inn 7915  df-n0 8182
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator