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 12849
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 12658 . 2 (𝐴 ∈ ℕ0 ↔ (𝐴 ∈ ℕ ∨ 𝐴 = 0))
2 dfsbcq2 3747 . . . 4 (𝑧 = 1 → ([𝑧 / 𝑥]𝜑 ↔ [1 / 𝑥]𝜑))
3 nfv 1951 . . . . 5 Ⅎ𝑥𝜒
4 nn0ind-raph.2 . . . . 5 (𝑥 = 𝑦 → (𝜑 ↔ 𝜒))
53, 4sbhypf 3515 . . . 4 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ 𝜒))
6 nfv 1951 . . . . 5 Ⅎ𝑥𝜃
7 nn0ind-raph.3 . . . . 5 (𝑥 = (𝑦 + 1) → (𝜑 ↔ 𝜃))
86, 7sbhypf 3515 . . . 4 (𝑧 = (𝑦 + 1) → ([𝑧 / 𝑥]𝜑 ↔ 𝜃))
9 nfv 1951 . . . . 5 Ⅎ𝑥𝜏
10 nn0ind-raph.4 . . . . 5 (𝑥 = 𝐴 → (𝜑 ↔ 𝜏))
119, 10sbhypf 3515 . . . 4 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝜑 ↔ 𝜏))
12 nfsbc1v 3764 . . . . 5 Ⅎ𝑥[1 / 𝑥]𝜑
13 1ex 11352 . . . . 5 1 ∈ V
14 c0ex 11349 . . . . . . 7 0 ∈ V
15 0nn0 12671 . . . . . . . . . . . 12 0 ∈ ℕ0
16 eleq1a 2865 . . . . . . . . . . . 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 2781 . . . . . . . . . . . . . . . 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 3524 . . . . . . . . . . 11 (𝑦 = 0 → 𝜒)
27 nn0ind-raph.6 . . . . . . . . . . 11 (𝑦 ∈ ℕ0 → (𝜒 → 𝜃))
2817, 26, 27sylc 66 . . . . . . . . . 10 (𝑦 = 0 → 𝜃)
2928adantr 486 . . . . . . . . 9 ((𝑦 = 0 ∧ 𝑥 = 1) → 𝜃)
30 oveq1 7468 . . . . . . . . . . . . 13 (𝑦 = 0 → (𝑦 + 1) = (0 + 1))
31 0p1e1 12513 . . . . . . . . . . . . 13 (0 + 1) = 1
3230, 31eqtrdi 2820 . . . . . . . . . . . 12 (𝑦 = 0 → (𝑦 + 1) = 1)
3332eqeq2d 2780 . . . . . . . . . . 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 3524 . . . . . 6 (𝑥 = 1 → 𝜑)
39 sbceq1a 3755 . . . . . 6 (𝑥 = 1 → (𝜑 ↔ [1 / 𝑥]𝜑))
4038, 39mpbid 235 . . . . 5 (𝑥 = 1 → [1 / 𝑥]𝜑)
4112, 13, 40vtoclef 3530 . . . 4 [1 / 𝑥]𝜑
42 nnnn0 12663 . . . . 5 (𝑦 ∈ ℕ → 𝑦 ∈ ℕ0)
4342, 27syl 18 . . . 4 (𝑦 ∈ ℕ → (𝜒 → 𝜃))
442, 5, 8, 11, 41, 43nnind 12403 . . 3 (𝐴 ∈ ℕ → 𝜏)
45 nfv 1951 . . . . 5 Ⅎ𝑥(0 = 𝐴 → 𝜏)
46 eqeq1 2773 . . . . . 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 3530 . . . 4 (0 = 𝐴 → 𝜏)
5352eqcoms 2777 . . 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 1572  [wsb 2104   ∈ wcel 2151  [wsbc 3744  (class class class)co 7461  0cc0 11249  1c1 11250   + caddc 11252  ℕcn 12385  ℕ0cn0 12656
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1830  ax-4 1844  ax-5 1947  ax-6 2004  ax-7 2045  ax-8 2153  ax-9 2161  ax-10 2184  ax-11 2201  ax-12 2220  ax-ext 2741  ax-sep 5258  ax-nul 5269  ax-pow 5337  ax-pr 5401  ax-un 7793  ax-resscn 11306  ax-1cn 11307  ax-icn 11308  ax-addcl 11309  ax-addrcl 11310  ax-mulcl 11311  ax-mulrcl 11312  ax-mulcom 11313  ax-addass 11314  ax-mulass 11315  ax-distr 11316  ax-i2m1 11317  ax-1ne0 11318  ax-1rid 11319  ax-rnegex 11320  ax-rrecex 11321  ax-cnre 11322  ax-pre-lttri 11323  ax-pre-lttrn 11324  ax-pre-ltadd 11325
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1105  df-3an 1106  df-tru 1575  df-fal 1585  df-ex 1815  df-nf 1819  df-sb 2105  df-mo 2571  df-eu 2601  df-clab 2748  df-cleq 2761  df-clel 2845  df-nfc 2919  df-ne 2966  df-nel 3072  df-ral 3087  df-rex 3097  df-reu 3372  df-rab 3419  df-v 3458  df-sbc 3745  df-csb 3854  df-ss 3903  df-pss 4019  df-dif 4052  df-in 4096  df-un 4156  df-nul 4284  df-if 4488  df-pw 4564  df-sn 4591  df-pr 4593  df-op 4844  df-uni 4876  df-iun 4961  df-br 5112  df-opab 5177  df-mpt 5196  df-tr 5222  df-id 5556  df-eprel 5561  df-po 5569  df-so 5570  df-fr 5614  df-we 5616  df-xp 5667  df-rel 5668  df-cnv 5669  df-co 5670  df-dm 5671  df-rn 5672  df-res 5673  df-ima 5674  df-pred 6337  df-ord 6398  df-on 6399  df-lim 6400  df-suc 6401  df-iota 6527  df-fun 6575  df-fn 6576  df-f 6577  df-f1 6578  df-fo 6579  df-f1o 6580  df-fv 6581  df-ov 7464  df-om 7922  df-2nd 8046  df-frecs 8347  df-wrecs 8378  df-recs 8427  df-rdg 8466  df-er 8765  df-en 9022  df-dom 9023  df-sdom 9024  df-pnf 11394  df-mnf 11395  df-ltxr 11397  df-nn 12386  df-n0 12657
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator