MPE Home Metamath Proof Explorer < Previous   Next >
Nearby theorems
Mirrors  >  Home  >  MPE Home  >  Th. List  >  nn0ind-raph Structured version   Visualization version   GIF version

Theorem nn0ind-raph 12802
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 12611 . 2 (𝐴 ∈ ℕ0 ↔ (𝐴 ∈ ℕ ∨ 𝐴 = 0))
2 dfsbcq2 3741 . . . 4 (𝑧 = 1 → ([𝑧 / 𝑥]𝜑 ↔ [1 / 𝑥]𝜑))
3 nfv 1946 . . . . 5 Ⅎ𝑥𝜒
4 nn0ind-raph.2 . . . . 5 (𝑥 = 𝑦 → (𝜑 ↔ 𝜒))
53, 4sbhypf 3509 . . . 4 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ 𝜒))
6 nfv 1946 . . . . 5 Ⅎ𝑥𝜃
7 nn0ind-raph.3 . . . . 5 (𝑥 = (𝑦 + 1) → (𝜑 ↔ 𝜃))
86, 7sbhypf 3509 . . . 4 (𝑧 = (𝑦 + 1) → ([𝑧 / 𝑥]𝜑 ↔ 𝜃))
9 nfv 1946 . . . . 5 Ⅎ𝑥𝜏
10 nn0ind-raph.4 . . . . 5 (𝑥 = 𝐴 → (𝜑 ↔ 𝜏))
119, 10sbhypf 3509 . . . 4 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝜑 ↔ 𝜏))
12 nfsbc1v 3758 . . . . 5 Ⅎ𝑥[1 / 𝑥]𝜑
13 1ex 11306 . . . . 5 1 ∈ V
14 c0ex 11303 . . . . . . 7 0 ∈ V
15 0nn0 12624 . . . . . . . . . . . 12 0 ∈ ℕ0
16 eleq1a 2855 . . . . . . . . . . . 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 261 . . . . . . . . . . . . . 14 (𝑥 = 0 → 𝜑)
21 eqeq2 2772 . . . . . . . . . . . . . . . 16 (𝑦 = 0 → (𝑥 = 𝑦 ↔ 𝑥 = 0))
2221, 4biimtrrdi 257 . . . . . . . . . . . . . . 15 (𝑦 = 0 → (𝑥 = 0 → (𝜑 ↔ 𝜒)))
2322pm5.74d 276 . . . . . . . . . . . . . 14 (𝑦 = 0 → ((𝑥 = 0 → 𝜑) ↔ (𝑥 = 0 → 𝜒)))
2420, 23mpbii 236 . . . . . . . . . . . . 13 (𝑦 = 0 → (𝑥 = 0 → 𝜒))
2524com12 33 . . . . . . . . . . . 12 (𝑥 = 0 → (𝑦 = 0 → 𝜒))
2614, 25vtocle 3518 . . . . . . . . . . 11 (𝑦 = 0 → 𝜒)
27 nn0ind-raph.6 . . . . . . . . . . 11 (𝑦 ∈ ℕ0 → (𝜒 → 𝜃))
2817, 26, 27sylc 66 . . . . . . . . . 10 (𝑦 = 0 → 𝜃)
2928adantr 486 . . . . . . . . 9 ((𝑦 = 0 ∧ 𝑥 = 1) → 𝜃)
30 oveq1 7427 . . . . . . . . . . . . 13 (𝑦 = 0 → (𝑦 + 1) = (0 + 1))
31 0p1e1 12466 . . . . . . . . . . . . 13 (0 + 1) = 1
3230, 31eqtrdi 2811 . . . . . . . . . . . 12 (𝑦 = 0 → (𝑦 + 1) = 1)
3332eqeq2d 2771 . . . . . . . . . . 11 (𝑦 = 0 → (𝑥 = (𝑦 + 1) ↔ 𝑥 = 1))
3433, 7biimtrrdi 257 . . . . . . . . . 10 (𝑦 = 0 → (𝑥 = 1 → (𝜑 ↔ 𝜃)))
3534imp 412 . . . . . . . . 9 ((𝑦 = 0 ∧ 𝑥 = 1) → (𝜑 ↔ 𝜃))
3629, 35mpbird 260 . . . . . . . 8 ((𝑦 = 0 ∧ 𝑥 = 1) → 𝜑)
3736ex 418 . . . . . . 7 (𝑦 = 0 → (𝑥 = 1 → 𝜑))
3814, 37vtocle 3518 . . . . . 6 (𝑥 = 1 → 𝜑)
39 sbceq1a 3749 . . . . . 6 (𝑥 = 1 → (𝜑 ↔ [1 / 𝑥]𝜑))
4038, 39mpbid 235 . . . . 5 (𝑥 = 1 → [1 / 𝑥]𝜑)
4112, 13, 40vtoclef 3524 . . . 4 [1 / 𝑥]𝜑
42 nnnn0 12616 . . . . 5 (𝑦 ∈ ℕ → 𝑦 ∈ ℕ0)
4342, 27syl 18 . . . 4 (𝑦 ∈ ℕ → (𝜒 → 𝜃))
442, 5, 8, 11, 41, 43nnind 12356 . . 3 (𝐴 ∈ ℕ → 𝜏)
45 nfv 1946 . . . . 5 Ⅎ𝑥(0 = 𝐴 → 𝜏)
46 eqeq1 2764 . . . . . 6 (𝑥 = 0 → (𝑥 = 𝐴 ↔ 0 = 𝐴))
4719bicomd 226 . . . . . . . . 9 (𝑥 = 0 → (𝜓 ↔ 𝜑))
4847, 10sylan9bb 519 . . . . . . . 8 ((𝑥 = 0 ∧ 𝑥 = 𝐴) → (𝜓 ↔ 𝜏))
4918, 48mpbii 236 . . . . . . 7 ((𝑥 = 0 ∧ 𝑥 = 𝐴) → 𝜏)
5049ex 418 . . . . . 6 (𝑥 = 0 → (𝑥 = 𝐴 → 𝜏))
5146, 50sylbird 263 . . . . 5 (𝑥 = 0 → (0 = 𝐴 → 𝜏))
5245, 14, 51vtoclef 3524 . . . 4 (0 = 𝐴 → 𝜏)
5352eqcoms 2768 . . 3 (𝐴 = 0 → 𝜏)
5444, 53jaoi 871 . 2 ((𝐴 ∈ ℕ ∨ 𝐴 = 0) → 𝜏)
551, 54sylbi 220 1 (𝐴 ∈ ℕ0 → 𝜏)
Colors of variables:    wff setvar class
This proof depends on syntax axioms:   → wi 4   ↔ wb 209   ∧ wa 401   ∨ wo 861   = wceq 1569  [wsb 2098   ∈ wcel 2144  [wsbc 3738  (class class class)co 7420  0cc0 11203  1c1 11204   + caddc 11206  ℕcn 12338  ℕ0cn0 12609
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1827  ax-4 1841  ax-5 1942  ax-6 1999  ax-7 2040  ax-8 2146  ax-9 2154  ax-10 2177  ax-11 2193  ax-12 2212  ax-ext 2732  ax-sep 5248  ax-nul 5259  ax-pow 5326  ax-pr 5390  ax-un 7751  ax-resscn 11260  ax-1cn 11261  ax-icn 11262  ax-addcl 11263  ax-addrcl 11264  ax-mulcl 11265  ax-mulrcl 11266  ax-mulcom 11267  ax-addass 11268  ax-mulass 11269  ax-distr 11270  ax-i2m1 11271  ax-1ne0 11272  ax-1rid 11273  ax-rnegex 11274  ax-rrecex 11275  ax-cnre 11276  ax-pre-lttri 11277  ax-pre-lttrn 11278  ax-pre-ltadd 11279
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1572  df-fal 1582  df-ex 1812  df-nf 1816  df-sb 2099  df-mo 2564  df-eu 2594  df-clab 2739  df-cleq 2752  df-clel 2835  df-nfc 2909  df-ne 2956  df-nel 3062  df-ral 3077  df-rex 3087  df-reu 3366  df-rab 3413  df-v 3452  df-sbc 3739  df-csb 3847  df-ss 3896  df-pss 4014  df-dif 4047  df-in 4091  df-un 4151  df-nul 4279  df-if 4482  df-pw 4558  df-sn 4585  df-pr 4587  df-op 4835  df-uni 4867  df-iun 4952  df-br 5103  df-opab 5167  df-mpt 5186  df-tr 5212  df-id 5545  df-eprel 5550  df-po 5558  df-so 5559  df-fr 5603  df-we 5605  df-xp 5656  df-rel 5657  df-cnv 5658  df-co 5659  df-dm 5660  df-rn 5661  df-res 5662  df-ima 5663  df-pred 6304  df-ord 6365  df-on 6366  df-lim 6367  df-suc 6368  df-iota 6494  df-fun 6540  df-fn 6541  df-f 6542  df-f1 6543  df-fo 6544  df-f1o 6545  df-fv 6546  df-ov 7423  df-om 7878  df-2nd 8002  df-frecs 8302  df-wrecs 8333  df-recs 8382  df-rdg 8421  df-er 8720  df-en 8977  df-dom 8978  df-sdom 8979  df-pnf 11348  df-mnf 11349  df-ltxr 11351  df-nn 12339  df-n0 12610
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator