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 12085
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 11902 . 2 (𝐴 ∈ ℕ0 ↔ (𝐴 ∈ ℕ ∨ 𝐴 = 0))
2 dfsbcq2 3778 . . . 4 (𝑧 = 1 → ([𝑧 / 𝑥]𝜑[1 / 𝑥]𝜑))
3 nfv 1914 . . . . 5 𝑥𝜒
4 nn0ind-raph.2 . . . . 5 (𝑥 = 𝑦 → (𝜑𝜒))
53, 4sbhypf 3555 . . . 4 (𝑧 = 𝑦 → ([𝑧 / 𝑥]𝜑𝜒))
6 nfv 1914 . . . . 5 𝑥𝜃
7 nn0ind-raph.3 . . . . 5 (𝑥 = (𝑦 + 1) → (𝜑𝜃))
86, 7sbhypf 3555 . . . 4 (𝑧 = (𝑦 + 1) → ([𝑧 / 𝑥]𝜑𝜃))
9 nfv 1914 . . . . 5 𝑥𝜏
10 nn0ind-raph.4 . . . . 5 (𝑥 = 𝐴 → (𝜑𝜏))
119, 10sbhypf 3555 . . . 4 (𝑧 = 𝐴 → ([𝑧 / 𝑥]𝜑𝜏))
12 nfsbc1v 3795 . . . . 5 𝑥[1 / 𝑥]𝜑
13 1ex 10640 . . . . 5 1 ∈ V
14 c0ex 10638 . . . . . . 7 0 ∈ V
15 0nn0 11915 . . . . . . . . . . . 12 0 ∈ ℕ0
16 eleq1a 2911 . . . . . . . . . . . 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 260 . . . . . . . . . . . . . 14 (𝑥 = 0 → 𝜑)
21 eqeq2 2836 . . . . . . . . . . . . . . . 16 (𝑦 = 0 → (𝑥 = 𝑦𝑥 = 0))
2221, 4syl6bir 256 . . . . . . . . . . . . . . 15 (𝑦 = 0 → (𝑥 = 0 → (𝜑𝜒)))
2322pm5.74d 275 . . . . . . . . . . . . . 14 (𝑦 = 0 → ((𝑥 = 0 → 𝜑) ↔ (𝑥 = 0 → 𝜒)))
2420, 23mpbii 235 . . . . . . . . . . . . 13 (𝑦 = 0 → (𝑥 = 0 → 𝜒))
2524com12 32 . . . . . . . . . . . 12 (𝑥 = 0 → (𝑦 = 0 → 𝜒))
2614, 25vtocle 3587 . . . . . . . . . . 11 (𝑦 = 0 → 𝜒)
27 nn0ind-raph.6 . . . . . . . . . . 11 (𝑦 ∈ ℕ0 → (𝜒𝜃))
2817, 26, 27sylc 65 . . . . . . . . . 10 (𝑦 = 0 → 𝜃)
2928adantr 483 . . . . . . . . 9 ((𝑦 = 0 ∧ 𝑥 = 1) → 𝜃)
30 oveq1 7166 . . . . . . . . . . . . 13 (𝑦 = 0 → (𝑦 + 1) = (0 + 1))
31 0p1e1 11762 . . . . . . . . . . . . 13 (0 + 1) = 1
3230, 31syl6eq 2875 . . . . . . . . . . . 12 (𝑦 = 0 → (𝑦 + 1) = 1)
3332eqeq2d 2835 . . . . . . . . . . 11 (𝑦 = 0 → (𝑥 = (𝑦 + 1) ↔ 𝑥 = 1))
3433, 7syl6bir 256 . . . . . . . . . 10 (𝑦 = 0 → (𝑥 = 1 → (𝜑𝜃)))
3534imp 409 . . . . . . . . 9 ((𝑦 = 0 ∧ 𝑥 = 1) → (𝜑𝜃))
3629, 35mpbird 259 . . . . . . . 8 ((𝑦 = 0 ∧ 𝑥 = 1) → 𝜑)
3736ex 415 . . . . . . 7 (𝑦 = 0 → (𝑥 = 1 → 𝜑))
3814, 37vtocle 3587 . . . . . 6 (𝑥 = 1 → 𝜑)
39 sbceq1a 3786 . . . . . 6 (𝑥 = 1 → (𝜑[1 / 𝑥]𝜑))
4038, 39mpbid 234 . . . . 5 (𝑥 = 1 → [1 / 𝑥]𝜑)
4112, 13, 40vtoclef 3586 . . . 4 [1 / 𝑥]𝜑
42 nnnn0 11907 . . . . 5 (𝑦 ∈ ℕ → 𝑦 ∈ ℕ0)
4342, 27syl 17 . . . 4 (𝑦 ∈ ℕ → (𝜒𝜃))
442, 5, 8, 11, 41, 43nnind 11659 . . 3 (𝐴 ∈ ℕ → 𝜏)
45 nfv 1914 . . . . 5 𝑥(0 = 𝐴𝜏)
46 eqeq1 2828 . . . . . 6 (𝑥 = 0 → (𝑥 = 𝐴 ↔ 0 = 𝐴))
4719bicomd 225 . . . . . . . . 9 (𝑥 = 0 → (𝜓𝜑))
4847, 10sylan9bb 512 . . . . . . . 8 ((𝑥 = 0 ∧ 𝑥 = 𝐴) → (𝜓𝜏))
4918, 48mpbii 235 . . . . . . 7 ((𝑥 = 0 ∧ 𝑥 = 𝐴) → 𝜏)
5049ex 415 . . . . . 6 (𝑥 = 0 → (𝑥 = 𝐴𝜏))
5146, 50sylbird 262 . . . . 5 (𝑥 = 0 → (0 = 𝐴𝜏))
5245, 14, 51vtoclef 3586 . . . 4 (0 = 𝐴𝜏)
5352eqcoms 2832 . . 3 (𝐴 = 0 → 𝜏)
5444, 53jaoi 853 . 2 ((𝐴 ∈ ℕ ∨ 𝐴 = 0) → 𝜏)
551, 54sylbi 219 1 (𝐴 ∈ ℕ0𝜏)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 208  wa 398  wo 843   = wceq 1536  [wsb 2068  wcel 2113  [wsbc 3775  (class class class)co 7159  0cc0 10540  1c1 10541   + caddc 10543  cn 11641  0cn0 11900
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1795  ax-4 1809  ax-5 1910  ax-6 1969  ax-7 2014  ax-8 2115  ax-9 2123  ax-10 2144  ax-11 2160  ax-12 2176  ax-ext 2796  ax-sep 5206  ax-nul 5213  ax-pow 5269  ax-pr 5333  ax-un 7464  ax-resscn 10597  ax-1cn 10598  ax-icn 10599  ax-addcl 10600  ax-addrcl 10601  ax-mulcl 10602  ax-mulrcl 10603  ax-mulcom 10604  ax-addass 10605  ax-mulass 10606  ax-distr 10607  ax-i2m1 10608  ax-1ne0 10609  ax-1rid 10610  ax-rnegex 10611  ax-rrecex 10612  ax-cnre 10613  ax-pre-lttri 10614  ax-pre-lttrn 10615  ax-pre-ltadd 10616
This theorem depends on definitions:  df-bi 209  df-an 399  df-or 844  df-3or 1084  df-3an 1085  df-tru 1539  df-ex 1780  df-nf 1784  df-sb 2069  df-mo 2621  df-eu 2653  df-clab 2803  df-cleq 2817  df-clel 2896  df-nfc 2966  df-ne 3020  df-nel 3127  df-ral 3146  df-rex 3147  df-reu 3148  df-rab 3150  df-v 3499  df-sbc 3776  df-csb 3887  df-dif 3942  df-un 3944  df-in 3946  df-ss 3955  df-pss 3957  df-nul 4295  df-if 4471  df-pw 4544  df-sn 4571  df-pr 4573  df-tp 4575  df-op 4577  df-uni 4842  df-iun 4924  df-br 5070  df-opab 5132  df-mpt 5150  df-tr 5176  df-id 5463  df-eprel 5468  df-po 5477  df-so 5478  df-fr 5517  df-we 5519  df-xp 5564  df-rel 5565  df-cnv 5566  df-co 5567  df-dm 5568  df-rn 5569  df-res 5570  df-ima 5571  df-pred 6151  df-ord 6197  df-on 6198  df-lim 6199  df-suc 6200  df-iota 6317  df-fun 6360  df-fn 6361  df-f 6362  df-f1 6363  df-fo 6364  df-f1o 6365  df-fv 6366  df-ov 7162  df-om 7584  df-wrecs 7950  df-recs 8011  df-rdg 8049  df-er 8292  df-en 8513  df-dom 8514  df-sdom 8515  df-pnf 10680  df-mnf 10681  df-ltxr 10683  df-nn 11642  df-n0 11901
This theorem is referenced by: (None)
  Copyright terms: Public domain W3C validator