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

Theorem nn0ind-raph 9434
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 9242 . 2  |-  ( A  e.  NN0  <->  ( A  e.  NN  \/  A  =  0 ) )
2 dfsbcq2 2988 . . . 4  |-  ( z  =  1  ->  ( [ z  /  x ] ph  <->  [. 1  /  x ]. ph ) )
3 nfv 1539 . . . . 5  |-  F/ x ch
4 nn0ind-raph.2 . . . . 5  |-  ( x  =  y  ->  ( ph 
<->  ch ) )
53, 4sbhypf 2809 . . . 4  |-  ( z  =  y  ->  ( [ z  /  x ] ph  <->  ch ) )
6 nfv 1539 . . . . 5  |-  F/ x th
7 nn0ind-raph.3 . . . . 5  |-  ( x  =  ( y  +  1 )  ->  ( ph 
<->  th ) )
86, 7sbhypf 2809 . . . 4  |-  ( z  =  ( y  +  1 )  ->  ( [ z  /  x ] ph  <->  th ) )
9 nfv 1539 . . . . 5  |-  F/ x ta
10 nn0ind-raph.4 . . . . 5  |-  ( x  =  A  ->  ( ph 
<->  ta ) )
119, 10sbhypf 2809 . . . 4  |-  ( z  =  A  ->  ( [ z  /  x ] ph  <->  ta ) )
12 nfsbc1v 3004 . . . . 5  |-  F/ x [. 1  /  x ]. ph
13 1ex 8014 . . . . 5  |-  1  e.  _V
14 c0ex 8013 . . . . . . 7  |-  0  e.  _V
15 0nn0 9255 . . . . . . . . . . . 12  |-  0  e.  NN0
16 eleq1a 2265 . . . . . . . . . . . 12  |-  ( 0  e.  NN0  ->  ( y  =  0  ->  y  e.  NN0 ) )
1715, 16ax-mp 5 . . . . . . . . . . 11  |-  ( y  =  0  ->  y  e.  NN0 )
18 nn0ind-raph.5 . . . . . . . . . . . . . . 15  |-  ps
19 nn0ind-raph.1 . . . . . . . . . . . . . . 15  |-  ( x  =  0  ->  ( ph 
<->  ps ) )
2018, 19mpbiri 168 . . . . . . . . . . . . . 14  |-  ( x  =  0  ->  ph )
21 eqeq2 2203 . . . . . . . . . . . . . . . 16  |-  ( y  =  0  ->  (
x  =  y  <->  x  = 
0 ) )
2221, 4biimtrrdi 164 . . . . . . . . . . . . . . 15  |-  ( y  =  0  ->  (
x  =  0  -> 
( ph  <->  ch ) ) )
2322pm5.74d 182 . . . . . . . . . . . . . 14  |-  ( y  =  0  ->  (
( x  =  0  ->  ph )  <->  ( x  =  0  ->  ch ) ) )
2420, 23mpbii 148 . . . . . . . . . . . . 13  |-  ( y  =  0  ->  (
x  =  0  ->  ch ) )
2524com12 30 . . . . . . . . . . . 12  |-  ( x  =  0  ->  (
y  =  0  ->  ch ) )
2614, 25vtocle 2834 . . . . . . . . . . 11  |-  ( y  =  0  ->  ch )
27 nn0ind-raph.6 . . . . . . . . . . 11  |-  ( y  e.  NN0  ->  ( ch 
->  th ) )
2817, 26, 27sylc 62 . . . . . . . . . 10  |-  ( y  =  0  ->  th )
2928adantr 276 . . . . . . . . 9  |-  ( ( y  =  0  /\  x  =  1 )  ->  th )
30 oveq1 5925 . . . . . . . . . . . . 13  |-  ( y  =  0  ->  (
y  +  1 )  =  ( 0  +  1 ) )
31 0p1e1 9096 . . . . . . . . . . . . 13  |-  ( 0  +  1 )  =  1
3230, 31eqtrdi 2242 . . . . . . . . . . . 12  |-  ( y  =  0  ->  (
y  +  1 )  =  1 )
3332eqeq2d 2205 . . . . . . . . . . 11  |-  ( y  =  0  ->  (
x  =  ( y  +  1 )  <->  x  = 
1 ) )
3433, 7biimtrrdi 164 . . . . . . . . . 10  |-  ( y  =  0  ->  (
x  =  1  -> 
( ph  <->  th ) ) )
3534imp 124 . . . . . . . . 9  |-  ( ( y  =  0  /\  x  =  1 )  ->  ( ph  <->  th )
)
3629, 35mpbird 167 . . . . . . . 8  |-  ( ( y  =  0  /\  x  =  1 )  ->  ph )
3736ex 115 . . . . . . 7  |-  ( y  =  0  ->  (
x  =  1  ->  ph ) )
3814, 37vtocle 2834 . . . . . 6  |-  ( x  =  1  ->  ph )
39 sbceq1a 2995 . . . . . 6  |-  ( x  =  1  ->  ( ph 
<-> 
[. 1  /  x ]. ph ) )
4038, 39mpbid 147 . . . . 5  |-  ( x  =  1  ->  [. 1  /  x ]. ph )
4112, 13, 40vtoclef 2833 . . . 4  |-  [. 1  /  x ]. ph
42 nnnn0 9247 . . . . 5  |-  ( y  e.  NN  ->  y  e.  NN0 )
4342, 27syl 14 . . . 4  |-  ( y  e.  NN  ->  ( ch  ->  th ) )
442, 5, 8, 11, 41, 43nnind 8998 . . 3  |-  ( A  e.  NN  ->  ta )
45 nfv 1539 . . . . 5  |-  F/ x
( 0  =  A  ->  ta )
46 eqeq1 2200 . . . . . 6  |-  ( x  =  0  ->  (
x  =  A  <->  0  =  A ) )
4719bicomd 141 . . . . . . . . 9  |-  ( x  =  0  ->  ( ps 
<-> 
ph ) )
4847, 10sylan9bb 462 . . . . . . . 8  |-  ( ( x  =  0  /\  x  =  A )  ->  ( ps  <->  ta )
)
4918, 48mpbii 148 . . . . . . 7  |-  ( ( x  =  0  /\  x  =  A )  ->  ta )
5049ex 115 . . . . . 6  |-  ( x  =  0  ->  (
x  =  A  ->  ta ) )
5146, 50sylbird 170 . . . . 5  |-  ( x  =  0  ->  (
0  =  A  ->  ta ) )
5245, 14, 51vtoclef 2833 . . . 4  |-  ( 0  =  A  ->  ta )
5352eqcoms 2196 . . 3  |-  ( A  =  0  ->  ta )
5444, 53jaoi 717 . 2  |-  ( ( A  e.  NN  \/  A  =  0 )  ->  ta )
551, 54sylbi 121 1  |-  ( A  e.  NN0  ->  ta )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 104    <-> wb 105    \/ wo 709    = wceq 1364   [wsb 1773    e. wcel 2164   [.wsbc 2985  (class class class)co 5918   0cc0 7872   1c1 7873    + caddc 7875   NNcn 8982   NN0cn0 9240
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 710  ax-5 1458  ax-7 1459  ax-gen 1460  ax-ie1 1504  ax-ie2 1505  ax-8 1515  ax-10 1516  ax-11 1517  ax-i12 1518  ax-bndl 1520  ax-4 1521  ax-17 1537  ax-i9 1541  ax-ial 1545  ax-i5r 1546  ax-ext 2175  ax-sep 4147  ax-cnex 7963  ax-resscn 7964  ax-1cn 7965  ax-1re 7966  ax-icn 7967  ax-addcl 7968  ax-addrcl 7969  ax-mulcl 7970  ax-addcom 7972  ax-i2m1 7977  ax-0id 7980
This theorem depends on definitions:  df-bi 117  df-3an 982  df-tru 1367  df-nf 1472  df-sb 1774  df-clab 2180  df-cleq 2186  df-clel 2189  df-nfc 2325  df-ral 2477  df-rex 2478  df-rab 2481  df-v 2762  df-sbc 2986  df-un 3157  df-in 3159  df-ss 3166  df-sn 3624  df-pr 3625  df-op 3627  df-uni 3836  df-int 3871  df-br 4030  df-iota 5215  df-fv 5262  df-ov 5921  df-inn 8983  df-n0 9241
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator