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 12780
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 12589 . 2 (𝐴 ∈ ℕ0 ↔ (𝐴 ∈ ℕ ∨ 𝐴 = 0))
2 dfsbcq2 3742 . . . 4 (𝑧 = 1 → ([𝑧 / 𝑥]𝜑 ↔ [1 / 𝑥]𝜑))
3 nfv 1947 . . . . 5 Ⅎ𝑥𝜒
4 nn0ind-raph.2 . . . . 5 (𝑥 = 𝑦 → (𝜑 ↔ 𝜒))
53, 4sbhypf 3510 . . . 4 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑 ↔ 𝜒))
6 nfv 1947 . . . . 5 Ⅎ𝑥𝜃
7 nn0ind-raph.3 . . . . 5 (𝑥 = (𝑦 + 1) → (𝜑 ↔ 𝜃))
86, 7sbhypf 3510 . . . 4 (𝑧 = (𝑦 + 1) → ([𝑧 / 𝑥]𝜑 ↔ 𝜃))
9 nfv 1947 . . . . 5 Ⅎ𝑥𝜏
10 nn0ind-raph.4 . . . . 5 (𝑥 = 𝐴 → (𝜑 ↔ 𝜏))
119, 10sbhypf 3510 . . . 4 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝜑 ↔ 𝜏))
12 nfsbc1v 3759 . . . . 5 Ⅎ𝑥[1 / 𝑥]𝜑
13 1ex 11284 . . . . 5 1 ∈ V
14 c0ex 11281 . . . . . . 7 0 ∈ V
15 0nn0 12602 . . . . . . . . . . . 12 0 ∈ ℕ0
16 eleq1a 2856 . . . . . . . . . . . 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 2773 . . . . . . . . . . . . . . . 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 3519 . . . . . . . . . . 11 (𝑦 = 0 → 𝜒)
27 nn0ind-raph.6 . . . . . . . . . . 11 (𝑦 ∈ ℕ0 → (𝜒 → 𝜃))
2817, 26, 27sylc 66 . . . . . . . . . 10 (𝑦 = 0 → 𝜃)
2928adantr 486 . . . . . . . . 9 ((𝑦 = 0 ∧ 𝑥 = 1) → 𝜃)
30 oveq1 7419 . . . . . . . . . . . . 13 (𝑦 = 0 → (𝑦 + 1) = (0 + 1))
31 0p1e1 12444 . . . . . . . . . . . . 13 (0 + 1) = 1
3230, 31eqtrdi 2812 . . . . . . . . . . . 12 (𝑦 = 0 → (𝑦 + 1) = 1)
3332eqeq2d 2772 . . . . . . . . . . 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 3519 . . . . . 6 (𝑥 = 1 → 𝜑)
39 sbceq1a 3750 . . . . . 6 (𝑥 = 1 → (𝜑 ↔ [1 / 𝑥]𝜑))
4038, 39mpbid 235 . . . . 5 (𝑥 = 1 → [1 / 𝑥]𝜑)
4112, 13, 40vtoclef 3525 . . . 4 [1 / 𝑥]𝜑
42 nnnn0 12594 . . . . 5 (𝑦 ∈ ℕ → 𝑦 ∈ ℕ0)
4342, 27syl 18 . . . 4 (𝑦 ∈ ℕ → (𝜒 → 𝜃))
442, 5, 8, 11, 41, 43nnind 12334 . . 3 (𝐴 ∈ ℕ → 𝜏)
45 nfv 1947 . . . . 5 Ⅎ𝑥(0 = 𝐴 → 𝜏)
46 eqeq1 2765 . . . . . 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 3525 . . . 4 (0 = 𝐴 → 𝜏)
5352eqcoms 2769 . . 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 1570  [wsb 2099   ∈ wcel 2145  [wsbc 3739  (class class class)co 7412  0cc0 11181  1c1 11182   + caddc 11184  ℕcn 12316  ℕ0cn0 12587
This proof depends on axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1828  ax-4 1842  ax-5 1943  ax-6 2000  ax-7 2041  ax-8 2147  ax-9 2155  ax-10 2178  ax-11 2194  ax-12 2213  ax-ext 2733  ax-sep 5249  ax-nul 5260  ax-pow 5327  ax-pr 5391  ax-un 7740  ax-resscn 11238  ax-1cn 11239  ax-icn 11240  ax-addcl 11241  ax-addrcl 11242  ax-mulcl 11243  ax-mulrcl 11244  ax-mulcom 11245  ax-addass 11246  ax-mulass 11247  ax-distr 11248  ax-i2m1 11249  ax-1ne0 11250  ax-1rid 11251  ax-rnegex 11252  ax-rrecex 11253  ax-cnre 11254  ax-pre-lttri 11255  ax-pre-lttrn 11256  ax-pre-ltadd 11257
This proof depends on definitions:  df-bi 210  df-an 402  df-or 862  df-3or 1104  df-3an 1105  df-tru 1573  df-fal 1583  df-ex 1813  df-nf 1817  df-sb 2100  df-mo 2565  df-eu 2595  df-clab 2740  df-cleq 2753  df-clel 2836  df-nfc 2910  df-ne 2957  df-nel 3063  df-ral 3078  df-rex 3088  df-reu 3367  df-rab 3414  df-v 3453  df-sbc 3740  df-csb 3848  df-dif 3902  df-un 3904  df-in 3906  df-ss 3916  df-pss 3919  df-nul 4280  df-if 4483  df-pw 4559  df-sn 4585  df-pr 4587  df-op 4591  df-uni 4868  df-iun 4953  df-br 5104  df-opab 5168  df-mpt 5187  df-tr 5213  df-id 5546  df-eprel 5551  df-po 5559  df-so 5560  df-fr 5604  df-we 5606  df-xp 5657  df-rel 5658  df-cnv 5659  df-co 5660  df-dm 5661  df-rn 5662  df-res 5663  df-ima 5664  df-pred 6297  df-ord 6358  df-on 6359  df-lim 6360  df-suc 6361  df-iota 6487  df-fun 6533  df-fn 6534  df-f 6535  df-f1 6536  df-fo 6537  df-f1o 6538  df-fv 6539  df-ov 7415  df-om 7867  df-2nd 7991  df-frecs 8283  df-wrecs 8314  df-recs 8363  df-rdg 8402  df-er 8701  df-en 8958  df-dom 8959  df-sdom 8960  df-pnf 11326  df-mnf 11327  df-ltxr 11329  df-nn 12317  df-n0 12588
This theorem is used by: (None)
  Copyright terms: Public domain W3C validator