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

Theorem nn0ind-raph 9136
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 (𝑥 = 0 → (𝜑𝜓))
nn0ind-raph.2 (𝑥 = 𝑦 → (𝜑𝜒))
nn0ind-raph.3 (𝑥 = (𝑦 + 1) → (𝜑𝜃))
nn0ind-raph.4 (𝑥 = 𝐴 → (𝜑𝜏))
nn0ind-raph.5 𝜓
nn0ind-raph.6 (𝑦 ∈ ℕ0 → (𝜒𝜃))
Assertion
Ref Expression
nn0ind-raph (𝐴 ∈ ℕ0𝜏)
Distinct variable groups:   𝑥,𝑦   𝑥,𝐴   𝜓,𝑥   𝜒,𝑥   𝜃,𝑥   𝜏,𝑥   𝜑,𝑦
Allowed substitution hints:   𝜑(𝑥)   𝜓(𝑦)   𝜒(𝑦)   𝜃(𝑦)   𝜏(𝑦)   𝐴(𝑦)

Proof of Theorem nn0ind-raph
Dummy variable 𝑧 is distinct from all other variables.
StepHypRef Expression
1 elnn0 8947 . 2 (𝐴 ∈ ℕ0 ↔ (𝐴 ∈ ℕ ∨ 𝐴 = 0))
2 dfsbcq2 2885 . . . 4 (𝑧 = 1 → ([𝑧 / 𝑥]𝜑[1 / 𝑥]𝜑))
3 nfv 1493 . . . . 5 𝑥𝜒
4 nn0ind-raph.2 . . . . 5 (𝑥 = 𝑦 → (𝜑𝜒))
53, 4sbhypf 2709 . . . 4 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑𝜒))
6 nfv 1493 . . . . 5 𝑥𝜃
7 nn0ind-raph.3 . . . . 5 (𝑥 = (𝑦 + 1) → (𝜑𝜃))
86, 7sbhypf 2709 . . . 4 (𝑧 = (𝑦 + 1) → ([𝑧 / 𝑥]𝜑𝜃))
9 nfv 1493 . . . . 5 𝑥𝜏
10 nn0ind-raph.4 . . . . 5 (𝑥 = 𝐴 → (𝜑𝜏))
119, 10sbhypf 2709 . . . 4 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝜑𝜏))
12 nfsbc1v 2900 . . . . 5 𝑥[1 / 𝑥]𝜑
13 1ex 7729 . . . . 5 1 ∈ V
14 c0ex 7728 . . . . . . 7 0 ∈ V
15 0nn0 8960 . . . . . . . . . . . 12 0 ∈ ℕ0
16 eleq1a 2189 . . . . . . . . . . . 12 (0 ∈ ℕ0 → (𝑦 = 0 → 𝑦 ∈ ℕ0))
1715, 16ax-mp 5 . . . . . . . . . . 11 (𝑦 = 0 → 𝑦 ∈ ℕ0)
18 nn0ind-raph.5 . . . . . . . . . . . . . . 15 𝜓
19 nn0ind-raph.1 . . . . . . . . . . . . . . 15 (𝑥 = 0 → (𝜑𝜓))
2018, 19mpbiri 167 . . . . . . . . . . . . . 14 (𝑥 = 0 → 𝜑)
21 eqeq2 2127 . . . . . . . . . . . . . . . 16 (𝑦 = 0 → (𝑥 = 𝑦𝑥 = 0))
2221, 4syl6bir 163 . . . . . . . . . . . . . . 15 (𝑦 = 0 → (𝑥 = 0 → (𝜑𝜒)))
2322pm5.74d 181 . . . . . . . . . . . . . 14 (𝑦 = 0 → ((𝑥 = 0 → 𝜑) ↔ (𝑥 = 0 → 𝜒)))
2420, 23mpbii 147 . . . . . . . . . . . . 13 (𝑦 = 0 → (𝑥 = 0 → 𝜒))
2524com12 30 . . . . . . . . . . . 12 (𝑥 = 0 → (𝑦 = 0 → 𝜒))
2614, 25vtocle 2734 . . . . . . . . . . 11 (𝑦 = 0 → 𝜒)
27 nn0ind-raph.6 . . . . . . . . . . 11 (𝑦 ∈ ℕ0 → (𝜒𝜃))
2817, 26, 27sylc 62 . . . . . . . . . 10 (𝑦 = 0 → 𝜃)
2928adantr 274 . . . . . . . . 9 ((𝑦 = 0 ∧ 𝑥 = 1) → 𝜃)
30 oveq1 5749 . . . . . . . . . . . . 13 (𝑦 = 0 → (𝑦 + 1) = (0 + 1))
31 0p1e1 8802 . . . . . . . . . . . . 13 (0 + 1) = 1
3230, 31syl6eq 2166 . . . . . . . . . . . 12 (𝑦 = 0 → (𝑦 + 1) = 1)
3332eqeq2d 2129 . . . . . . . . . . 11 (𝑦 = 0 → (𝑥 = (𝑦 + 1) ↔ 𝑥 = 1))
3433, 7syl6bir 163 . . . . . . . . . 10 (𝑦 = 0 → (𝑥 = 1 → (𝜑𝜃)))
3534imp 123 . . . . . . . . 9 ((𝑦 = 0 ∧ 𝑥 = 1) → (𝜑𝜃))
3629, 35mpbird 166 . . . . . . . 8 ((𝑦 = 0 ∧ 𝑥 = 1) → 𝜑)
3736ex 114 . . . . . . 7 (𝑦 = 0 → (𝑥 = 1 → 𝜑))
3814, 37vtocle 2734 . . . . . 6 (𝑥 = 1 → 𝜑)
39 sbceq1a 2891 . . . . . 6 (𝑥 = 1 → (𝜑[1 / 𝑥]𝜑))
4038, 39mpbid 146 . . . . 5 (𝑥 = 1 → [1 / 𝑥]𝜑)
4112, 13, 40vtoclef 2733 . . . 4 [1 / 𝑥]𝜑
42 nnnn0 8952 . . . . 5 (𝑦 ∈ ℕ → 𝑦 ∈ ℕ0)
4342, 27syl 14 . . . 4 (𝑦 ∈ ℕ → (𝜒𝜃))
442, 5, 8, 11, 41, 43nnind 8704 . . 3 (𝐴 ∈ ℕ → 𝜏)
45 nfv 1493 . . . . 5 𝑥(0 = 𝐴𝜏)
46 eqeq1 2124 . . . . . 6 (𝑥 = 0 → (𝑥 = 𝐴 ↔ 0 = 𝐴))
4719bicomd 140 . . . . . . . . 9 (𝑥 = 0 → (𝜓𝜑))
4847, 10sylan9bb 457 . . . . . . . 8 ((𝑥 = 0 ∧ 𝑥 = 𝐴) → (𝜓𝜏))
4918, 48mpbii 147 . . . . . . 7 ((𝑥 = 0 ∧ 𝑥 = 𝐴) → 𝜏)
5049ex 114 . . . . . 6 (𝑥 = 0 → (𝑥 = 𝐴𝜏))
5146, 50sylbird 169 . . . . 5 (𝑥 = 0 → (0 = 𝐴𝜏))
5245, 14, 51vtoclef 2733 . . . 4 (0 = 𝐴𝜏)
5352eqcoms 2120 . . 3 (𝐴 = 0 → 𝜏)
5444, 53jaoi 690 . 2 ((𝐴 ∈ ℕ ∨ 𝐴 = 0) → 𝜏)
551, 54sylbi 120 1 (𝐴 ∈ ℕ0𝜏)
Colors of variables: wff set class
Syntax hints:  wi 4  wa 103  wb 104  wo 682   = wceq 1316  wcel 1465  [wsb 1720  [wsbc 2882  (class class class)co 5742  0cc0 7588  1c1 7589   + caddc 7591  cn 8688  0cn0 8945
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 683  ax-5 1408  ax-7 1409  ax-gen 1410  ax-ie1 1454  ax-ie2 1455  ax-8 1467  ax-10 1468  ax-11 1469  ax-i12 1470  ax-bndl 1471  ax-4 1472  ax-17 1491  ax-i9 1495  ax-ial 1499  ax-i5r 1500  ax-ext 2099  ax-sep 4016  ax-cnex 7679  ax-resscn 7680  ax-1cn 7681  ax-1re 7682  ax-icn 7683  ax-addcl 7684  ax-addrcl 7685  ax-mulcl 7686  ax-addcom 7688  ax-i2m1 7693  ax-0id 7696
This theorem depends on definitions:  df-bi 116  df-3an 949  df-tru 1319  df-nf 1422  df-sb 1721  df-clab 2104  df-cleq 2110  df-clel 2113  df-nfc 2247  df-ral 2398  df-rex 2399  df-rab 2402  df-v 2662  df-sbc 2883  df-un 3045  df-in 3047  df-ss 3054  df-sn 3503  df-pr 3504  df-op 3506  df-uni 3707  df-int 3742  df-br 3900  df-iota 5058  df-fv 5101  df-ov 5745  df-inn 8689  df-n0 8946
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator