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

Theorem indstr 9522
Description: Strong Mathematical Induction for positive integers (inference schema). (Contributed by NM, 17-Aug-2001.)
Hypotheses
Ref Expression
indstr.1  |-  ( x  =  y  ->  ( ph 
<->  ps ) )
indstr.2  |-  ( x  e.  NN  ->  ( A. y  e.  NN  ( y  <  x  ->  ps )  ->  ph )
)
Assertion
Ref Expression
indstr  |-  ( x  e.  NN  ->  ph )
Distinct variable groups:    x, y    ph, y    ps, x
Allowed substitution hints:    ph( x)    ps( y)

Proof of Theorem indstr
Dummy variables  z  w are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 breq2 3980 . . . . 5  |-  ( z  =  1  ->  (
y  <  z  <->  y  <  1 ) )
21imbi1d 230 . . . 4  |-  ( z  =  1  ->  (
( y  <  z  ->  ps )  <->  ( y  <  1  ->  ps )
) )
32ralbidv 2464 . . 3  |-  ( z  =  1  ->  ( A. y  e.  NN  ( y  <  z  ->  ps )  <->  A. y  e.  NN  ( y  <  1  ->  ps )
) )
4 breq2 3980 . . . . 5  |-  ( z  =  w  ->  (
y  <  z  <->  y  <  w ) )
54imbi1d 230 . . . 4  |-  ( z  =  w  ->  (
( y  <  z  ->  ps )  <->  ( y  <  w  ->  ps )
) )
65ralbidv 2464 . . 3  |-  ( z  =  w  ->  ( A. y  e.  NN  ( y  <  z  ->  ps )  <->  A. y  e.  NN  ( y  < 
w  ->  ps )
) )
7 breq2 3980 . . . . 5  |-  ( z  =  ( w  + 
1 )  ->  (
y  <  z  <->  y  <  ( w  +  1 ) ) )
87imbi1d 230 . . . 4  |-  ( z  =  ( w  + 
1 )  ->  (
( y  <  z  ->  ps )  <->  ( y  <  ( w  +  1 )  ->  ps )
) )
98ralbidv 2464 . . 3  |-  ( z  =  ( w  + 
1 )  ->  ( A. y  e.  NN  ( y  <  z  ->  ps )  <->  A. y  e.  NN  ( y  < 
( w  +  1 )  ->  ps )
) )
10 breq2 3980 . . . . 5  |-  ( z  =  x  ->  (
y  <  z  <->  y  <  x ) )
1110imbi1d 230 . . . 4  |-  ( z  =  x  ->  (
( y  <  z  ->  ps )  <->  ( y  <  x  ->  ps )
) )
1211ralbidv 2464 . . 3  |-  ( z  =  x  ->  ( A. y  e.  NN  ( y  <  z  ->  ps )  <->  A. y  e.  NN  ( y  < 
x  ->  ps )
) )
13 nnnlt1 8874 . . . . 5  |-  ( y  e.  NN  ->  -.  y  <  1 )
1413pm2.21d 609 . . . 4  |-  ( y  e.  NN  ->  (
y  <  1  ->  ps ) )
1514rgen 2517 . . 3  |-  A. y  e.  NN  ( y  <  1  ->  ps )
16 1nn 8859 . . . . 5  |-  1  e.  NN
17 elex2 2737 . . . . 5  |-  ( 1  e.  NN  ->  E. u  u  e.  NN )
18 nfra1 2495 . . . . . 6  |-  F/ y A. y  e.  NN  ( y  <  w  ->  ps )
1918r19.3rm 3492 . . . . 5  |-  ( E. u  u  e.  NN  ->  ( A. y  e.  NN  ( y  < 
w  ->  ps )  <->  A. y  e.  NN  A. y  e.  NN  (
y  <  w  ->  ps ) ) )
2016, 17, 19mp2b 8 . . . 4  |-  ( A. y  e.  NN  (
y  <  w  ->  ps )  <->  A. y  e.  NN  A. y  e.  NN  (
y  <  w  ->  ps ) )
21 rsp 2511 . . . . . . . . . 10  |-  ( A. y  e.  NN  (
y  <  w  ->  ps )  ->  ( y  e.  NN  ->  ( y  <  w  ->  ps )
) )
2221com12 30 . . . . . . . . 9  |-  ( y  e.  NN  ->  ( A. y  e.  NN  ( y  <  w  ->  ps )  ->  (
y  <  w  ->  ps ) ) )
2322adantl 275 . . . . . . . 8  |-  ( ( w  e.  NN  /\  y  e.  NN )  ->  ( A. y  e.  NN  ( y  < 
w  ->  ps )  ->  ( y  <  w  ->  ps ) ) )
24 indstr.2 . . . . . . . . . . . . 13  |-  ( x  e.  NN  ->  ( A. y  e.  NN  ( y  <  x  ->  ps )  ->  ph )
)
2524rgen 2517 . . . . . . . . . . . 12  |-  A. x  e.  NN  ( A. y  e.  NN  ( y  < 
x  ->  ps )  ->  ph )
26 nfv 1515 . . . . . . . . . . . . 13  |-  F/ w
( A. y  e.  NN  ( y  < 
x  ->  ps )  ->  ph )
27 nfv 1515 . . . . . . . . . . . . . 14  |-  F/ x A. y  e.  NN  ( y  <  w  ->  ps )
28 nfsbc1v 2964 . . . . . . . . . . . . . 14  |-  F/ x [. w  /  x ]. ph
2927, 28nfim 1559 . . . . . . . . . . . . 13  |-  F/ x
( A. y  e.  NN  ( y  < 
w  ->  ps )  ->  [. w  /  x ]. ph )
30 breq2 3980 . . . . . . . . . . . . . . . 16  |-  ( x  =  w  ->  (
y  <  x  <->  y  <  w ) )
3130imbi1d 230 . . . . . . . . . . . . . . 15  |-  ( x  =  w  ->  (
( y  <  x  ->  ps )  <->  ( y  <  w  ->  ps )
) )
3231ralbidv 2464 . . . . . . . . . . . . . 14  |-  ( x  =  w  ->  ( A. y  e.  NN  ( y  <  x  ->  ps )  <->  A. y  e.  NN  ( y  < 
w  ->  ps )
) )
33 sbceq1a 2955 . . . . . . . . . . . . . 14  |-  ( x  =  w  ->  ( ph 
<-> 
[. w  /  x ]. ph ) )
3432, 33imbi12d 233 . . . . . . . . . . . . 13  |-  ( x  =  w  ->  (
( A. y  e.  NN  ( y  < 
x  ->  ps )  ->  ph )  <->  ( A. y  e.  NN  (
y  <  w  ->  ps )  ->  [. w  /  x ]. ph ) ) )
3526, 29, 34cbvral 2685 . . . . . . . . . . . 12  |-  ( A. x  e.  NN  ( A. y  e.  NN  ( y  <  x  ->  ps )  ->  ph )  <->  A. w  e.  NN  ( A. y  e.  NN  ( y  <  w  ->  ps )  ->  [. w  /  x ]. ph )
)
3625, 35mpbi 144 . . . . . . . . . . 11  |-  A. w  e.  NN  ( A. y  e.  NN  ( y  < 
w  ->  ps )  ->  [. w  /  x ]. ph )
3736rspec 2516 . . . . . . . . . 10  |-  ( w  e.  NN  ->  ( A. y  e.  NN  ( y  <  w  ->  ps )  ->  [. w  /  x ]. ph )
)
38 vex 2724 . . . . . . . . . . . . 13  |-  y  e. 
_V
39 indstr.1 . . . . . . . . . . . . 13  |-  ( x  =  y  ->  ( ph 
<->  ps ) )
4038, 39sbcie 2980 . . . . . . . . . . . 12  |-  ( [. y  /  x ]. ph  <->  ps )
41 dfsbcq 2948 . . . . . . . . . . . 12  |-  ( y  =  w  ->  ( [. y  /  x ]. ph  <->  [. w  /  x ]. ph ) )
4240, 41bitr3id 193 . . . . . . . . . . 11  |-  ( y  =  w  ->  ( ps 
<-> 
[. w  /  x ]. ph ) )
4342biimprcd 159 . . . . . . . . . 10  |-  ( [. w  /  x ]. ph  ->  ( y  =  w  ->  ps ) )
4437, 43syl6 33 . . . . . . . . 9  |-  ( w  e.  NN  ->  ( A. y  e.  NN  ( y  <  w  ->  ps )  ->  (
y  =  w  ->  ps ) ) )
4544adantr 274 . . . . . . . 8  |-  ( ( w  e.  NN  /\  y  e.  NN )  ->  ( A. y  e.  NN  ( y  < 
w  ->  ps )  ->  ( y  =  w  ->  ps ) ) )
4623, 45jcad 305 . . . . . . 7  |-  ( ( w  e.  NN  /\  y  e.  NN )  ->  ( A. y  e.  NN  ( y  < 
w  ->  ps )  ->  ( ( y  < 
w  ->  ps )  /\  ( y  =  w  ->  ps ) ) ) )
47 jaob 700 . . . . . . 7  |-  ( ( ( y  <  w  \/  y  =  w
)  ->  ps )  <->  ( ( y  <  w  ->  ps )  /\  (
y  =  w  ->  ps ) ) )
4846, 47syl6ibr 161 . . . . . 6  |-  ( ( w  e.  NN  /\  y  e.  NN )  ->  ( A. y  e.  NN  ( y  < 
w  ->  ps )  ->  ( ( y  < 
w  \/  y  =  w )  ->  ps ) ) )
49 nnleltp1 9241 . . . . . . . . 9  |-  ( ( y  e.  NN  /\  w  e.  NN )  ->  ( y  <_  w  <->  y  <  ( w  + 
1 ) ) )
50 nnz 9201 . . . . . . . . . 10  |-  ( y  e.  NN  ->  y  e.  ZZ )
51 nnz 9201 . . . . . . . . . 10  |-  ( w  e.  NN  ->  w  e.  ZZ )
52 zleloe 9229 . . . . . . . . . 10  |-  ( ( y  e.  ZZ  /\  w  e.  ZZ )  ->  ( y  <_  w  <->  ( y  <  w  \/  y  =  w ) ) )
5350, 51, 52syl2an 287 . . . . . . . . 9  |-  ( ( y  e.  NN  /\  w  e.  NN )  ->  ( y  <_  w  <->  ( y  <  w  \/  y  =  w ) ) )
5449, 53bitr3d 189 . . . . . . . 8  |-  ( ( y  e.  NN  /\  w  e.  NN )  ->  ( y  <  (
w  +  1 )  <-> 
( y  <  w  \/  y  =  w
) ) )
5554ancoms 266 . . . . . . 7  |-  ( ( w  e.  NN  /\  y  e.  NN )  ->  ( y  <  (
w  +  1 )  <-> 
( y  <  w  \/  y  =  w
) ) )
5655imbi1d 230 . . . . . 6  |-  ( ( w  e.  NN  /\  y  e.  NN )  ->  ( ( y  < 
( w  +  1 )  ->  ps )  <->  ( ( y  <  w  \/  y  =  w
)  ->  ps )
) )
5748, 56sylibrd 168 . . . . 5  |-  ( ( w  e.  NN  /\  y  e.  NN )  ->  ( A. y  e.  NN  ( y  < 
w  ->  ps )  ->  ( y  <  (
w  +  1 )  ->  ps ) ) )
5857ralimdva 2531 . . . 4  |-  ( w  e.  NN  ->  ( A. y  e.  NN  A. y  e.  NN  (
y  <  w  ->  ps )  ->  A. y  e.  NN  ( y  < 
( w  +  1 )  ->  ps )
) )
5920, 58syl5bi 151 . . 3  |-  ( w  e.  NN  ->  ( A. y  e.  NN  ( y  <  w  ->  ps )  ->  A. y  e.  NN  ( y  < 
( w  +  1 )  ->  ps )
) )
603, 6, 9, 12, 15, 59nnind 8864 . 2  |-  ( x  e.  NN  ->  A. y  e.  NN  ( y  < 
x  ->  ps )
)
6160, 24mpd 13 1  |-  ( x  e.  NN  ->  ph )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    <-> wb 104    \/ wo 698    = wceq 1342   E.wex 1479    e. wcel 2135   A.wral 2442   [.wsbc 2946   class class class wbr 3976  (class class class)co 5836   1c1 7745    + caddc 7747    < clt 7924    <_ cle 7925   NNcn 8848   ZZcz 9182
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-in1 604  ax-in2 605  ax-io 699  ax-5 1434  ax-7 1435  ax-gen 1436  ax-ie1 1480  ax-ie2 1481  ax-8 1491  ax-10 1492  ax-11 1493  ax-i12 1494  ax-bndl 1496  ax-4 1497  ax-17 1513  ax-i9 1517  ax-ial 1521  ax-i5r 1522  ax-13 2137  ax-14 2138  ax-ext 2146  ax-sep 4094  ax-pow 4147  ax-pr 4181  ax-un 4405  ax-setind 4508  ax-cnex 7835  ax-resscn 7836  ax-1cn 7837  ax-1re 7838  ax-icn 7839  ax-addcl 7840  ax-addrcl 7841  ax-mulcl 7842  ax-addcom 7844  ax-addass 7846  ax-distr 7848  ax-i2m1 7849  ax-0lt1 7850  ax-0id 7852  ax-rnegex 7853  ax-cnre 7855  ax-pre-ltirr 7856  ax-pre-ltwlin 7857  ax-pre-lttrn 7858  ax-pre-ltadd 7860
This theorem depends on definitions:  df-bi 116  df-3or 968  df-3an 969  df-tru 1345  df-fal 1348  df-nf 1448  df-sb 1750  df-eu 2016  df-mo 2017  df-clab 2151  df-cleq 2157  df-clel 2160  df-nfc 2295  df-ne 2335  df-nel 2430  df-ral 2447  df-rex 2448  df-reu 2449  df-rab 2451  df-v 2723  df-sbc 2947  df-dif 3113  df-un 3115  df-in 3117  df-ss 3124  df-pw 3555  df-sn 3576  df-pr 3577  df-op 3579  df-uni 3784  df-int 3819  df-br 3977  df-opab 4038  df-id 4265  df-xp 4604  df-rel 4605  df-cnv 4606  df-co 4607  df-dm 4608  df-iota 5147  df-fun 5184  df-fv 5190  df-riota 5792  df-ov 5839  df-oprab 5840  df-mpo 5841  df-pnf 7926  df-mnf 7927  df-xr 7928  df-ltxr 7929  df-le 7930  df-sub 8062  df-neg 8063  df-inn 8849  df-n0 9106  df-z 9183
This theorem is referenced by:  indstr2  9538
  Copyright terms: Public domain W3C validator