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

Theorem indpi 7657
Description: Principle of Finite Induction on positive integers. (Contributed by NM, 23-Mar-1996.)
Hypotheses
Ref Expression
indpi.1  |-  ( x  =  1o  ->  ( ph 
<->  ps ) )
indpi.2  |-  ( x  =  y  ->  ( ph 
<->  ch ) )
indpi.3  |-  ( x  =  ( y  +N  1o )  ->  ( ph 
<->  th ) )
indpi.4  |-  ( x  =  A  ->  ( ph 
<->  ta ) )
indpi.5  |-  ps
indpi.6  |-  ( y  e.  N.  ->  ( ch  ->  th ) )
Assertion
Ref Expression
indpi  |-  ( A  e.  N.  ->  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 indpi
StepHypRef Expression
1 indpi.4 . 2  |-  ( x  =  A  ->  ( ph 
<->  ta ) )
2 elni 7623 . . 3  |-  ( x  e.  N.  <->  ( x  e.  om  /\  x  =/=  (/) ) )
3 eqid 2232 . . . . . . . . . 10  |-  (/)  =  (/)
43orci 739 . . . . . . . . 9  |-  ( (/)  =  (/)  \/  [. (/)  /  x ]. ph )
5 nfv 1577 . . . . . . . . . . 11  |-  F/ x (/)  =  (/)
6 nfsbc1v 3061 . . . . . . . . . . 11  |-  F/ x [. (/)  /  x ]. ph
75, 6nfor 1623 . . . . . . . . . 10  |-  F/ x
( (/)  =  (/)  \/  [. (/)  /  x ]. ph )
8 0ex 4237 . . . . . . . . . 10  |-  (/)  e.  _V
9 eqeq1 2239 . . . . . . . . . . 11  |-  ( x  =  (/)  ->  ( x  =  (/)  <->  (/)  =  (/) ) )
10 sbceq1a 3052 . . . . . . . . . . 11  |-  ( x  =  (/)  ->  ( ph  <->  [. (/)  /  x ]. ph )
)
119, 10orbi12d 801 . . . . . . . . . 10  |-  ( x  =  (/)  ->  ( ( x  =  (/)  \/  ph ) 
<->  ( (/)  =  (/)  \/  [. (/)  /  x ]. ph )
) )
127, 8, 11elabf 2960 . . . . . . . . 9  |-  ( (/)  e.  { x  |  ( x  =  (/)  \/  ph ) }  <->  ( (/)  =  (/)  \/ 
[. (/)  /  x ]. ph ) )
134, 12mpbir 146 . . . . . . . 8  |-  (/)  e.  {
x  |  ( x  =  (/)  \/  ph ) }
14 suceq 4523 . . . . . . . . . . . . . 14  |-  ( y  =  (/)  ->  suc  y  =  suc  (/) )
15 df-1o 6647 . . . . . . . . . . . . . 14  |-  1o  =  suc  (/)
1614, 15eqtr4di 2283 . . . . . . . . . . . . 13  |-  ( y  =  (/)  ->  suc  y  =  1o )
17 indpi.5 . . . . . . . . . . . . . . 15  |-  ps
1817olci 740 . . . . . . . . . . . . . 14  |-  ( 1o  =  (/)  \/  ps )
19 1oex 6655 . . . . . . . . . . . . . . 15  |-  1o  e.  _V
20 eqeq1 2239 . . . . . . . . . . . . . . . 16  |-  ( x  =  1o  ->  (
x  =  (/)  <->  1o  =  (/) ) )
21 indpi.1 . . . . . . . . . . . . . . . 16  |-  ( x  =  1o  ->  ( ph 
<->  ps ) )
2220, 21orbi12d 801 . . . . . . . . . . . . . . 15  |-  ( x  =  1o  ->  (
( x  =  (/)  \/ 
ph )  <->  ( 1o  =  (/)  \/  ps )
) )
2319, 22elab 2961 . . . . . . . . . . . . . 14  |-  ( 1o  e.  { x  |  ( x  =  (/)  \/ 
ph ) }  <->  ( 1o  =  (/)  \/  ps )
)
2418, 23mpbir 146 . . . . . . . . . . . . 13  |-  1o  e.  { x  |  ( x  =  (/)  \/  ph ) }
2516, 24eqeltrdi 2323 . . . . . . . . . . . 12  |-  ( y  =  (/)  ->  suc  y  e.  { x  |  ( x  =  (/)  \/  ph ) } )
2625a1d 22 . . . . . . . . . . 11  |-  ( y  =  (/)  ->  ( y  e.  { x  |  ( x  =  (/)  \/ 
ph ) }  ->  suc  y  e.  { x  |  ( x  =  (/)  \/  ph ) } ) )
2726a1i 9 . . . . . . . . . 10  |-  ( y  e.  om  ->  (
y  =  (/)  ->  (
y  e.  { x  |  ( x  =  (/)  \/  ph ) }  ->  suc  y  e.  { x  |  ( x  =  (/)  \/  ph ) } ) ) )
28 indpi.6 . . . . . . . . . . . 12  |-  ( y  e.  N.  ->  ( ch  ->  th ) )
29 elni 7623 . . . . . . . . . . . . . . . 16  |-  ( y  e.  N.  <->  ( y  e.  om  /\  y  =/=  (/) ) )
3029simprbi 275 . . . . . . . . . . . . . . 15  |-  ( y  e.  N.  ->  y  =/=  (/) )
3130neneqd 2433 . . . . . . . . . . . . . 14  |-  ( y  e.  N.  ->  -.  y  =  (/) )
32 biorf 752 . . . . . . . . . . . . . 14  |-  ( -.  y  =  (/)  ->  ( ch 
<->  ( y  =  (/)  \/ 
ch ) ) )
3331, 32syl 14 . . . . . . . . . . . . 13  |-  ( y  e.  N.  ->  ( ch 
<->  ( y  =  (/)  \/ 
ch ) ) )
34 vex 2816 . . . . . . . . . . . . . 14  |-  y  e. 
_V
35 eqeq1 2239 . . . . . . . . . . . . . . 15  |-  ( x  =  y  ->  (
x  =  (/)  <->  y  =  (/) ) )
36 indpi.2 . . . . . . . . . . . . . . 15  |-  ( x  =  y  ->  ( ph 
<->  ch ) )
3735, 36orbi12d 801 . . . . . . . . . . . . . 14  |-  ( x  =  y  ->  (
( x  =  (/)  \/ 
ph )  <->  ( y  =  (/)  \/  ch )
) )
3834, 37elab 2961 . . . . . . . . . . . . 13  |-  ( y  e.  { x  |  ( x  =  (/)  \/ 
ph ) }  <->  ( y  =  (/)  \/  ch )
)
3933, 38bitr4di 198 . . . . . . . . . . . 12  |-  ( y  e.  N.  ->  ( ch 
<->  y  e.  { x  |  ( x  =  (/)  \/  ph ) } ) )
40 1pi 7630 . . . . . . . . . . . . . . . . . 18  |-  1o  e.  N.
41 addclpi 7642 . . . . . . . . . . . . . . . . . 18  |-  ( ( y  e.  N.  /\  1o  e.  N. )  -> 
( y  +N  1o )  e.  N. )
4240, 41mpan2 425 . . . . . . . . . . . . . . . . 17  |-  ( y  e.  N.  ->  (
y  +N  1o )  e.  N. )
43 elni 7623 . . . . . . . . . . . . . . . . 17  |-  ( ( y  +N  1o )  e.  N.  <->  ( (
y  +N  1o )  e.  om  /\  (
y  +N  1o )  =/=  (/) ) )
4442, 43sylib 122 . . . . . . . . . . . . . . . 16  |-  ( y  e.  N.  ->  (
( y  +N  1o )  e.  om  /\  (
y  +N  1o )  =/=  (/) ) )
4544simprd 114 . . . . . . . . . . . . . . 15  |-  ( y  e.  N.  ->  (
y  +N  1o )  =/=  (/) )
4645neneqd 2433 . . . . . . . . . . . . . 14  |-  ( y  e.  N.  ->  -.  ( y  +N  1o )  =  (/) )
47 biorf 752 . . . . . . . . . . . . . 14  |-  ( -.  ( y  +N  1o )  =  (/)  ->  ( th 
<->  ( ( y  +N  1o )  =  (/)  \/ 
th ) ) )
4846, 47syl 14 . . . . . . . . . . . . 13  |-  ( y  e.  N.  ->  ( th 
<->  ( ( y  +N  1o )  =  (/)  \/ 
th ) ) )
49 eqeq1 2239 . . . . . . . . . . . . . . . 16  |-  ( x  =  ( y  +N  1o )  ->  (
x  =  (/)  <->  ( y  +N  1o )  =  (/) ) )
50 indpi.3 . . . . . . . . . . . . . . . 16  |-  ( x  =  ( y  +N  1o )  ->  ( ph 
<->  th ) )
5149, 50orbi12d 801 . . . . . . . . . . . . . . 15  |-  ( x  =  ( y  +N  1o )  ->  (
( x  =  (/)  \/ 
ph )  <->  ( (
y  +N  1o )  =  (/)  \/  th )
) )
5251elabg 2963 . . . . . . . . . . . . . 14  |-  ( ( y  +N  1o )  e.  N.  ->  (
( y  +N  1o )  e.  { x  |  ( x  =  (/)  \/  ph ) }  <-> 
( ( y  +N  1o )  =  (/)  \/ 
th ) ) )
5342, 52syl 14 . . . . . . . . . . . . 13  |-  ( y  e.  N.  ->  (
( y  +N  1o )  e.  { x  |  ( x  =  (/)  \/  ph ) }  <-> 
( ( y  +N  1o )  =  (/)  \/ 
th ) ) )
54 addpiord 7631 . . . . . . . . . . . . . . . 16  |-  ( ( y  e.  N.  /\  1o  e.  N. )  -> 
( y  +N  1o )  =  ( y  +o  1o ) )
5540, 54mpan2 425 . . . . . . . . . . . . . . 15  |-  ( y  e.  N.  ->  (
y  +N  1o )  =  ( y  +o  1o ) )
56 pion 7625 . . . . . . . . . . . . . . . 16  |-  ( y  e.  N.  ->  y  e.  On )
57 oa1suc 6700 . . . . . . . . . . . . . . . 16  |-  ( y  e.  On  ->  (
y  +o  1o )  =  suc  y )
5856, 57syl 14 . . . . . . . . . . . . . . 15  |-  ( y  e.  N.  ->  (
y  +o  1o )  =  suc  y )
5955, 58eqtrd 2265 . . . . . . . . . . . . . 14  |-  ( y  e.  N.  ->  (
y  +N  1o )  =  suc  y )
6059eleq1d 2301 . . . . . . . . . . . . 13  |-  ( y  e.  N.  ->  (
( y  +N  1o )  e.  { x  |  ( x  =  (/)  \/  ph ) }  <->  suc  y  e.  { x  |  ( x  =  (/)  \/  ph ) } ) )
6148, 53, 603bitr2d 216 . . . . . . . . . . . 12  |-  ( y  e.  N.  ->  ( th 
<->  suc  y  e.  {
x  |  ( x  =  (/)  \/  ph ) } ) )
6228, 39, 613imtr3d 202 . . . . . . . . . . 11  |-  ( y  e.  N.  ->  (
y  e.  { x  |  ( x  =  (/)  \/  ph ) }  ->  suc  y  e.  { x  |  ( x  =  (/)  \/  ph ) } ) )
6362a1i 9 . . . . . . . . . 10  |-  ( y  e.  om  ->  (
y  e.  N.  ->  ( y  e.  { x  |  ( x  =  (/)  \/  ph ) }  ->  suc  y  e.  { x  |  ( x  =  (/)  \/  ph ) } ) ) )
64 nndceq0 4740 . . . . . . . . . . . 12  |-  ( y  e.  om  -> DECID  y  =  (/) )
65 df-dc 843 . . . . . . . . . . . 12  |-  (DECID  y  =  (/) 
<->  ( y  =  (/)  \/ 
-.  y  =  (/) ) )
6664, 65sylib 122 . . . . . . . . . . 11  |-  ( y  e.  om  ->  (
y  =  (/)  \/  -.  y  =  (/) ) )
67 idd 21 . . . . . . . . . . . . . . 15  |-  ( y  e.  om  ->  (
y  =  (/)  ->  y  =  (/) ) )
6867necon3bd 2455 . . . . . . . . . . . . . 14  |-  ( y  e.  om  ->  ( -.  y  =  (/)  ->  y  =/=  (/) ) )
6968anc2li 329 . . . . . . . . . . . . 13  |-  ( y  e.  om  ->  ( -.  y  =  (/)  ->  (
y  e.  om  /\  y  =/=  (/) ) ) )
7069, 29imbitrrdi 162 . . . . . . . . . . . 12  |-  ( y  e.  om  ->  ( -.  y  =  (/)  ->  y  e.  N. ) )
7170orim2d 796 . . . . . . . . . . 11  |-  ( y  e.  om  ->  (
( y  =  (/)  \/ 
-.  y  =  (/) )  ->  ( y  =  (/)  \/  y  e.  N. ) ) )
7266, 71mpd 13 . . . . . . . . . 10  |-  ( y  e.  om  ->  (
y  =  (/)  \/  y  e.  N. ) )
7327, 63, 72mpjaod 726 . . . . . . . . 9  |-  ( y  e.  om  ->  (
y  e.  { x  |  ( x  =  (/)  \/  ph ) }  ->  suc  y  e.  { x  |  ( x  =  (/)  \/  ph ) } ) )
7473rgen 2595 . . . . . . . 8  |-  A. y  e.  om  ( y  e. 
{ x  |  ( x  =  (/)  \/  ph ) }  ->  suc  y  e.  { x  |  ( x  =  (/)  \/  ph ) } )
75 peano5 4720 . . . . . . . 8  |-  ( (
(/)  e.  { x  |  ( x  =  (/)  \/  ph ) }  /\  A. y  e. 
om  ( y  e. 
{ x  |  ( x  =  (/)  \/  ph ) }  ->  suc  y  e.  { x  |  ( x  =  (/)  \/  ph ) } ) )  ->  om  C_  { x  |  ( x  =  (/)  \/ 
ph ) } )
7613, 74, 75mp2an 426 . . . . . . 7  |-  om  C_  { x  |  ( x  =  (/)  \/  ph ) }
7776sseli 3234 . . . . . 6  |-  ( x  e.  om  ->  x  e.  { x  |  ( x  =  (/)  \/  ph ) } )
78 abid 2220 . . . . . 6  |-  ( x  e.  { x  |  ( x  =  (/)  \/ 
ph ) }  <->  ( x  =  (/)  \/  ph )
)
7977, 78sylib 122 . . . . 5  |-  ( x  e.  om  ->  (
x  =  (/)  \/  ph ) )
8079adantr 276 . . . 4  |-  ( ( x  e.  om  /\  x  =/=  (/) )  ->  (
x  =  (/)  \/  ph ) )
81 df-ne 2413 . . . . . 6  |-  ( x  =/=  (/)  <->  -.  x  =  (/) )
82 biorf 752 . . . . . 6  |-  ( -.  x  =  (/)  ->  ( ph 
<->  ( x  =  (/)  \/ 
ph ) ) )
8381, 82sylbi 121 . . . . 5  |-  ( x  =/=  (/)  ->  ( ph  <->  ( x  =  (/)  \/  ph ) ) )
8483adantl 277 . . . 4  |-  ( ( x  e.  om  /\  x  =/=  (/) )  ->  ( ph 
<->  ( x  =  (/)  \/ 
ph ) ) )
8580, 84mpbird 167 . . 3  |-  ( ( x  e.  om  /\  x  =/=  (/) )  ->  ph )
862, 85sylbi 121 . 2  |-  ( x  e.  N.  ->  ph )
871, 86vtoclga 2881 1  |-  ( A  e.  N.  ->  ta )
Colors of variables: wff set class
Syntax hints:   -. wn 3    -> wi 4    /\ wa 104    <-> wb 105    \/ wo 716  DECID wdc 842    = wceq 1398    e. wcel 2203   {cab 2218    =/= wne 2412   A.wral 2520   [.wsbc 3042    C_ wss 3211   (/)c0 3508   Oncon0 4484   suc csuc 4486   omcom 4712  (class class class)co 6050   1oc1o 6640    +o coa 6644   N.cnpi 7587    +N cpli 7588
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-in1 619  ax-in2 620  ax-io 717  ax-5 1496  ax-7 1497  ax-gen 1498  ax-ie1 1542  ax-ie2 1543  ax-8 1553  ax-10 1554  ax-11 1555  ax-i12 1556  ax-bndl 1558  ax-4 1559  ax-17 1575  ax-i9 1579  ax-ial 1583  ax-i5r 1584  ax-13 2205  ax-14 2206  ax-ext 2214  ax-coll 4225  ax-sep 4228  ax-nul 4236  ax-pow 4287  ax-pr 4322  ax-un 4554  ax-setind 4659  ax-iinf 4710
This theorem depends on definitions:  df-bi 117  df-dc 843  df-3an 1007  df-tru 1401  df-fal 1404  df-nf 1510  df-sb 1812  df-eu 2083  df-mo 2084  df-clab 2219  df-cleq 2225  df-clel 2228  df-nfc 2373  df-ne 2413  df-ral 2525  df-rex 2526  df-reu 2527  df-rab 2529  df-v 2815  df-sbc 3043  df-csb 3139  df-dif 3213  df-un 3215  df-in 3217  df-ss 3224  df-nul 3509  df-pw 3671  df-sn 3695  df-pr 3696  df-op 3698  df-uni 3915  df-int 3950  df-iun 3993  df-br 4110  df-opab 4172  df-mpt 4173  df-tr 4209  df-id 4414  df-iord 4487  df-on 4489  df-suc 4492  df-iom 4713  df-xp 4755  df-rel 4756  df-cnv 4757  df-co 4758  df-dm 4759  df-rn 4760  df-res 4761  df-ima 4762  df-iota 5312  df-fun 5354  df-fn 5355  df-f 5356  df-f1 5357  df-fo 5358  df-f1o 5359  df-fv 5360  df-ov 6053  df-oprab 6054  df-mpo 6055  df-1st 6334  df-2nd 6335  df-recs 6536  df-irdg 6601  df-1o 6647  df-oadd 6651  df-ni 7619  df-pli 7620
This theorem is referenced by:  pitonn  8163
  Copyright terms: Public domain W3C validator