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

Theorem peano5nni 8860
Description: Peano's inductive postulate. Theorem I.36 (principle of mathematical induction) of [Apostol] p. 34. (Contributed by NM, 10-Jan-1997.) (Revised by Mario Carneiro, 17-Nov-2014.)
Assertion
Ref Expression
peano5nni  |-  ( ( 1  e.  A  /\  A. x  e.  A  ( x  +  1 )  e.  A )  ->  NN  C_  A )
Distinct variable group:    x, A

Proof of Theorem peano5nni
Dummy variable  y is distinct from all other variables.
StepHypRef Expression
1 1re 7898 . . . 4  |-  1  e.  RR
2 elin 3305 . . . . 5  |-  ( 1  e.  ( A  i^i  RR )  <->  ( 1  e.  A  /\  1  e.  RR ) )
32biimpri 132 . . . 4  |-  ( ( 1  e.  A  /\  1  e.  RR )  ->  1  e.  ( A  i^i  RR ) )
41, 3mpan2 422 . . 3  |-  ( 1  e.  A  ->  1  e.  ( A  i^i  RR ) )
5 inss1 3342 . . . . 5  |-  ( A  i^i  RR )  C_  A
6 ssralv 3206 . . . . 5  |-  ( ( A  i^i  RR ) 
C_  A  ->  ( A. x  e.  A  ( x  +  1
)  e.  A  ->  A. x  e.  ( A  i^i  RR ) ( x  +  1 )  e.  A ) )
75, 6ax-mp 5 . . . 4  |-  ( A. x  e.  A  (
x  +  1 )  e.  A  ->  A. x  e.  ( A  i^i  RR ) ( x  + 
1 )  e.  A
)
8 inss2 3343 . . . . . . . 8  |-  ( A  i^i  RR )  C_  RR
98sseli 3138 . . . . . . 7  |-  ( x  e.  ( A  i^i  RR )  ->  x  e.  RR )
10 1red 7914 . . . . . . 7  |-  ( x  e.  ( A  i^i  RR )  ->  1  e.  RR )
119, 10readdcld 7928 . . . . . 6  |-  ( x  e.  ( A  i^i  RR )  ->  ( x  +  1 )  e.  RR )
12 elin 3305 . . . . . . 7  |-  ( ( x  +  1 )  e.  ( A  i^i  RR )  <->  ( ( x  +  1 )  e.  A  /\  ( x  +  1 )  e.  RR ) )
1312simplbi2com 1432 . . . . . 6  |-  ( ( x  +  1 )  e.  RR  ->  (
( x  +  1 )  e.  A  -> 
( x  +  1 )  e.  ( A  i^i  RR ) ) )
1411, 13syl 14 . . . . 5  |-  ( x  e.  ( A  i^i  RR )  ->  ( (
x  +  1 )  e.  A  ->  (
x  +  1 )  e.  ( A  i^i  RR ) ) )
1514ralimia 2527 . . . 4  |-  ( A. x  e.  ( A  i^i  RR ) ( x  +  1 )  e.  A  ->  A. x  e.  ( A  i^i  RR ) ( x  + 
1 )  e.  ( A  i^i  RR ) )
167, 15syl 14 . . 3  |-  ( A. x  e.  A  (
x  +  1 )  e.  A  ->  A. x  e.  ( A  i^i  RR ) ( x  + 
1 )  e.  ( A  i^i  RR ) )
17 reex 7887 . . . . 5  |-  RR  e.  _V
1817inex2 4117 . . . 4  |-  ( A  i^i  RR )  e. 
_V
19 eleq2 2230 . . . . . . 7  |-  ( y  =  ( A  i^i  RR )  ->  ( 1  e.  y  <->  1  e.  ( A  i^i  RR ) ) )
20 eleq2 2230 . . . . . . . 8  |-  ( y  =  ( A  i^i  RR )  ->  ( (
x  +  1 )  e.  y  <->  ( x  +  1 )  e.  ( A  i^i  RR ) ) )
2120raleqbi1dv 2669 . . . . . . 7  |-  ( y  =  ( A  i^i  RR )  ->  ( A. x  e.  y  (
x  +  1 )  e.  y  <->  A. x  e.  ( A  i^i  RR ) ( x  + 
1 )  e.  ( A  i^i  RR ) ) )
2219, 21anbi12d 465 . . . . . 6  |-  ( y  =  ( A  i^i  RR )  ->  ( (
1  e.  y  /\  A. x  e.  y  ( x  +  1 )  e.  y )  <->  ( 1  e.  ( A  i^i  RR )  /\  A. x  e.  ( A  i^i  RR ) ( x  + 
1 )  e.  ( A  i^i  RR ) ) ) )
2322elabg 2872 . . . . 5  |-  ( ( A  i^i  RR )  e.  _V  ->  (
( A  i^i  RR )  e.  { y  |  ( 1  e.  y  /\  A. x  e.  y  ( x  +  1 )  e.  y ) }  <->  ( 1  e.  ( A  i^i  RR )  /\  A. x  e.  ( A  i^i  RR ) ( x  + 
1 )  e.  ( A  i^i  RR ) ) ) )
24 dfnn2 8859 . . . . . 6  |-  NN  =  |^| { y  |  ( 1  e.  y  /\  A. x  e.  y  ( x  +  1 )  e.  y ) }
25 intss1 3839 . . . . . 6  |-  ( ( A  i^i  RR )  e.  { y  |  ( 1  e.  y  /\  A. x  e.  y  ( x  + 
1 )  e.  y ) }  ->  |^| { y  |  ( 1  e.  y  /\  A. x  e.  y  ( x  +  1 )  e.  y ) }  C_  ( A  i^i  RR ) )
2624, 25eqsstrid 3188 . . . . 5  |-  ( ( A  i^i  RR )  e.  { y  |  ( 1  e.  y  /\  A. x  e.  y  ( x  + 
1 )  e.  y ) }  ->  NN  C_  ( A  i^i  RR ) )
2723, 26syl6bir 163 . . . 4  |-  ( ( A  i^i  RR )  e.  _V  ->  (
( 1  e.  ( A  i^i  RR )  /\  A. x  e.  ( A  i^i  RR ) ( x  + 
1 )  e.  ( A  i^i  RR ) )  ->  NN  C_  ( A  i^i  RR ) ) )
2818, 27ax-mp 5 . . 3  |-  ( ( 1  e.  ( A  i^i  RR )  /\  A. x  e.  ( A  i^i  RR ) ( x  +  1 )  e.  ( A  i^i  RR ) )  ->  NN  C_  ( A  i^i  RR ) )
294, 16, 28syl2an 287 . 2  |-  ( ( 1  e.  A  /\  A. x  e.  A  ( x  +  1 )  e.  A )  ->  NN  C_  ( A  i^i  RR ) )
3029, 5sstrdi 3154 1  |-  ( ( 1  e.  A  /\  A. x  e.  A  ( x  +  1 )  e.  A )  ->  NN  C_  A )
Colors of variables: wff set class
Syntax hints:    -> wi 4    /\ wa 103    = wceq 1343    e. wcel 2136   {cab 2151   A.wral 2444   _Vcvv 2726    i^i cin 3115    C_ wss 3116   |^|cint 3824  (class class class)co 5842   RRcr 7752   1c1 7754    + caddc 7756   NNcn 8857
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 699  ax-5 1435  ax-7 1436  ax-gen 1437  ax-ie1 1481  ax-ie2 1482  ax-8 1492  ax-10 1493  ax-11 1494  ax-i12 1495  ax-bndl 1497  ax-4 1498  ax-17 1514  ax-i9 1518  ax-ial 1522  ax-i5r 1523  ax-ext 2147  ax-sep 4100  ax-cnex 7844  ax-resscn 7845  ax-1re 7847  ax-addrcl 7850
This theorem depends on definitions:  df-bi 116  df-tru 1346  df-nf 1449  df-sb 1751  df-clab 2152  df-cleq 2158  df-clel 2161  df-nfc 2297  df-ral 2449  df-v 2728  df-in 3122  df-ss 3129  df-int 3825  df-inn 8858
This theorem is referenced by:  nnssre  8861  nnind  8873
  Copyright terms: Public domain W3C validator