HomeHome Metamath Proof Explorer < Previous   Next >
Related theorems
Unicode version

Theorem nn0ind-raph 7426
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 hypothesis. (Contributed by Raph Levien, 10-Apr-2004. Raph says: "This seems a bit painful. I wonder if an explicit substitution version would be easier.")
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

Proof of Theorem nn0ind-raph
StepHypRef Expression
1 elnn0 7310 . 2 |- (A e. NN0 <-> (A e. NN \/ A = 0))
2 dfsbcq 2455 . . . 4 |- (z = 1 -> ([z / x]ph <-> [1 / x]ph))
3 ax-17 1317 . . . . 5 |- (ch -> A.xch)
4 nn0ind-raph.2 . . . . 5 |- (x = y -> (ph <-> ch))
53, 4sbhypf 2452 . . . 4 |- (z = y -> ([z / x]ph <-> ch))
6 ax-17 1317 . . . . 5 |- (th -> A.xth)
7 nn0ind-raph.3 . . . . 5 |- (x = (y + 1) -> (ph <-> th))
86, 7sbhypf 2452 . . . 4 |- (z = (y + 1) -> ([z / x]ph <-> th))
9 ax-17 1317 . . . . 5 |- (ta -> A.xta)
10 nn0ind-raph.4 . . . . 5 |- (x = A -> (ph <-> ta))
119, 10sbhypf 2452 . . . 4 |- (z = A -> ([z / x]ph <-> ta))
12 1re 6598 . . . . . . 7 |- 1 e. RR
1312elisseti 2301 . . . . . 6 |- 1 e. _V
1413hbsbc1v 2464 . . . . 5 |- ([1 / x]ph -> A.x[1 / x]ph)
15 0nn0 7322 . . . . . . . 8 |- 0 e. NN0
1615elisseti 2301 . . . . . . 7 |- 0 e. _V
17 eleq1a 1966 . . . . . . . . . . . 12 |- (0 e. NN0 -> (y = 0 -> y e. NN0))
1815, 17ax-mp 7 . . . . . . . . . . 11 |- (y = 0 -> y e. NN0)
19 nn0ind-raph.5 . . . . . . . . . . . . . . 15 |- ps
20 nn0ind-raph.1 . . . . . . . . . . . . . . 15 |- (x = 0 -> (ph <-> ps))
2119, 20mpbiri 211 . . . . . . . . . . . . . 14 |- (x = 0 -> ph)
22 eqeq2 1893 . . . . . . . . . . . . . . . 16 |- (y = 0 -> (x = y <-> x = 0))
2322, 4syl6bir 232 . . . . . . . . . . . . . . 15 |- (y = 0 -> (x = 0 -> (ph <-> ch)))
2423pm5.74d 645 . . . . . . . . . . . . . 14 |- (y = 0 -> ((x = 0 -> ph) <-> (x = 0 -> ch)))
2521, 24mpbii 210 . . . . . . . . . . . . 13 |- (y = 0 -> (x = 0 -> ch))
2625com12 14 . . . . . . . . . . . 12 |- (x = 0 -> (y = 0 -> ch))
2716, 26vtocle 2359 . . . . . . . . . . 11 |- (y = 0 -> ch)
28 nn0ind-raph.6 . . . . . . . . . . 11 |- (y e. NN0 -> (ch -> th))
2918, 27, 28sylc 83 . . . . . . . . . 10 |- (y = 0 -> th)
3029adantr 425 . . . . . . . . 9 |- ((y = 0 /\ x = 1) -> th)
31 opreq1 4889 . . . . . . . . . . . . 13 |- (y = 0 -> (y + 1) = (0 + 1))
32 ax1cn 6422 . . . . . . . . . . . . . 14 |- 1 e. CC
3332addid2i 6484 . . . . . . . . . . . . 13 |- (0 + 1) = 1
3431, 33syl6eq 1944 . . . . . . . . . . . 12 |- (y = 0 -> (y + 1) = 1)
3534eqeq2d 1895 . . . . . . . . . . 11 |- (y = 0 -> (x = (y + 1) <-> x = 1))
3635, 7syl6bir 232 . . . . . . . . . 10 |- (y = 0 -> (x = 1 -> (ph <-> th)))
3736imp 377 . . . . . . . . 9 |- ((y = 0 /\ x = 1) -> (ph <-> th))
3830, 37mpbird 213 . . . . . . . 8 |- ((y = 0 /\ x = 1) -> ph)
3938ex 402 . . . . . . 7 |- (y = 0 -> (x = 1 -> ph))
4016, 39vtocle 2359 . . . . . 6 |- (x = 1 -> ph)
41 sbceq1a 2456 . . . . . 6 |- (x = 1 -> (ph <-> [1 / x]ph))
4240, 41mpbid 212 . . . . 5 |- (x = 1 -> [1 / x]ph)
4314, 13, 42vtoclef 2358 . . . 4 |- [1 / x]ph
44 nnnn0 7315 . . . . 5 |- (y e. NN -> y e. NN0)
4544, 28syl 12 . . . 4 |- (y e. NN -> (ch -> th))
462, 5, 8, 11, 43, 45nnind 7120 . . 3 |- (A e. NN -> ta)
47 ax-17 1317 . . . . . 6 |- (0 = A -> A.x0 = A)
4847, 9hbim 1354 . . . . 5 |- ((0 = A -> ta) -> A.x(0 = A -> ta))
49 eqeq1 1890 . . . . . 6 |- (x = 0 -> (x = A <-> 0 = A))
5020bicomd 580 . . . . . . . . 9 |- (x = 0 -> (ps <-> ph))
5150, 10sylan9bb 599 . . . . . . . 8 |- ((x = 0 /\ x = A) -> (ps <-> ta))
5219, 51mpbii 210 . . . . . . 7 |- ((x = 0 /\ x = A) -> ta)
5352ex 402 . . . . . 6 |- (x = 0 -> (x = A -> ta))
5449, 53sylbird 222 . . . . 5 |- (x = 0 -> (0 = A -> ta))
5548, 16, 54vtoclef 2358 . . . 4 |- (0 = A -> ta)
5655eqcoms 1887 . . 3 |- (A = 0 -> ta)
5746, 56jaoi 368 . 2 |- ((A e. NN \/ A = 0) -> ta)
581, 57sylbi 216 1 |- (A e. NN0 -> ta)
Colors of variables: wff set class
Syntax hints:   -> wi 3   <-> wb 163   \/ wo 239   /\ wa 240   = wceq 1298   e. wcel 1300  [wsbc 1534  (class class class)co 4884  RRcr 6385  0cc0 6386  1c1 6387   + caddc 6389  NNcn 6449  NN0cn0 6450
This theorem was proved from axioms:  ax-1 4  ax-2 5  ax-3 6  ax-mp 7  ax-7 1304  ax-gen 1305  ax-8 1306  ax-9 1307  ax-10 1308  ax-11 1309  ax-12 1310  ax-13 1311  ax-14 1312  ax-17 1317  ax-4 1319  ax-5o 1321  ax-6o 1324  ax-9o 1481  ax-10o 1500  ax-16 1580  ax-11o 1588  ax-ext 1865  ax-rep 3428  ax-sep 3438  ax-nul 3445  ax-pow 3481  ax-pr 3524  ax-un 3790  ax-inf2 5731
This theorem depends on definitions:  df-bi 164  df-or 241  df-an 242  df-3or 859  df-3an 860  df-ex 1327  df-sb 1536  df-eu 1775  df-mo 1776  df-clab 1872  df-cleq 1877  df-clel 1880  df-ne 2019  df-ral 2109  df-rex 2110  df-reu 2111  df-rab 2112  df-v 2294  df-sbc 2454  df-csb 2541  df-dif 2597  df-un 2600  df-in 2603  df-ss 2605  df-pss 2607  df-nul 2876  df-if 2983  df-pw 3035  df-sn 3049  df-pr 3050  df-tp 3052  df-op 3053  df-uni 3178  df-int 3215  df-iun 3257  df-br 3339  df-opab 3396  df-tr 3412  df-eprel 3583  df-id 3586  df-po 3591  df-so 3604  df-fr 3625  df-we 3644  df-ord 3660  df-on 3661  df-lim 3662  df-suc 3663  df-om 3950  df-xp 4000  df-rel 4001  df-cnv 4002  df-co 4003  df-dm 4004  df-rn 4005  df-res 4006  df-ima 4007  df-fun 4008  df-fn 4009  df-f 4010  df-f1 4011  df-fo 4012  df-f1o 4013  df-fv 4014  df-opr 4886  df-oprab 4887  df-mpt 5006  df-1st 5020  df-2nd 5021  df-iota 5089  df-rdg 5140  df-1o 5177  df-oadd 5179  df-omul 5180  df-er 5318  df-ec 5320  df-qs 5323  df-en 5427  df-dom 5428  df-sdom 5429  df-undef 5556  df-riota 5560  df-ni 6152  df-pli 6153  df-mi 6154  df-lti 6155  df-plpq 6187  df-mpq 6188  df-enq 6189  df-nq 6190  df-plq 6191  df-mq 6192  df-rq 6193  df-ltq 6194  df-1q 6195  df-np 6238  df-1p 6239  df-plp 6240  df-mp 6241  df-ltp 6242  df-plpr 6316  df-mpr 6317  df-enr 6318  df-nr 6319  df-plr 6320  df-mr 6321  df-ltr 6322  df-0r 6323  df-1r 6324  df-m1r 6325  df-c 6392  df-0 6393  df-1 6394  df-i 6395  df-r 6396  df-plus 6397  df-mul 6398  df-sub 6511  df-neg 6513  df-n 7108  df-n0 7309
Copyright terms: Public domain