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

Theorem peano5nni 10900
Description: Peano's inductive postulate. Theorem I.36 (principle of mathematical induction) of [Apostol] p. 34. (Contributed by NM, 10-Jan-1997.) (Revised by Mario Carneiro, 17-Nov-2014.)
Assertion
Ref Expression
peano5nni ((1 ∈ 𝐴 ∧ ∀𝑥𝐴 (𝑥 + 1) ∈ 𝐴) → ℕ ⊆ 𝐴)
Distinct variable group:   𝑥,𝐴

Proof of Theorem peano5nni
Dummy variables 𝑛 𝑦 𝑧 are mutually distinct and distinct from all other variables.
StepHypRef Expression
1 df-nn 10898 . . 3 ℕ = (rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) “ ω)
2 df-ima 5051 . . 3 (rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) “ ω) = ran (rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)
31, 2eqtri 2632 . 2 ℕ = ran (rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)
4 frfnom 7417 . . . . 5 (rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω) Fn ω
54a1i 11 . . . 4 ((1 ∈ 𝐴 ∧ ∀𝑥𝐴 (𝑥 + 1) ∈ 𝐴) → (rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω) Fn ω)
6 fveq2 6103 . . . . . . . 8 (𝑦 = ∅ → ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑦) = ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘∅))
76eleq1d 2672 . . . . . . 7 (𝑦 = ∅ → (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑦) ∈ 𝐴 ↔ ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘∅) ∈ 𝐴))
8 fveq2 6103 . . . . . . . 8 (𝑦 = 𝑧 → ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑦) = ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧))
98eleq1d 2672 . . . . . . 7 (𝑦 = 𝑧 → (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑦) ∈ 𝐴 ↔ ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) ∈ 𝐴))
10 fveq2 6103 . . . . . . . 8 (𝑦 = suc 𝑧 → ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑦) = ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘suc 𝑧))
1110eleq1d 2672 . . . . . . 7 (𝑦 = suc 𝑧 → (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑦) ∈ 𝐴 ↔ ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘suc 𝑧) ∈ 𝐴))
12 ax-1cn 9873 . . . . . . . . 9 1 ∈ ℂ
13 fr0g 7418 . . . . . . . . 9 (1 ∈ ℂ → ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘∅) = 1)
1412, 13ax-mp 5 . . . . . . . 8 ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘∅) = 1
15 simpl 472 . . . . . . . 8 ((1 ∈ 𝐴 ∧ ∀𝑥𝐴 (𝑥 + 1) ∈ 𝐴) → 1 ∈ 𝐴)
1614, 15syl5eqel 2692 . . . . . . 7 ((1 ∈ 𝐴 ∧ ∀𝑥𝐴 (𝑥 + 1) ∈ 𝐴) → ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘∅) ∈ 𝐴)
17 oveq1 6556 . . . . . . . . . . . 12 (𝑥 = ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) → (𝑥 + 1) = (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) + 1))
1817eleq1d 2672 . . . . . . . . . . 11 (𝑥 = ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) → ((𝑥 + 1) ∈ 𝐴 ↔ (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) + 1) ∈ 𝐴))
1918rspccv 3279 . . . . . . . . . 10 (∀𝑥𝐴 (𝑥 + 1) ∈ 𝐴 → (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) ∈ 𝐴 → (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) + 1) ∈ 𝐴))
2019ad2antlr 759 . . . . . . . . 9 (((1 ∈ 𝐴 ∧ ∀𝑥𝐴 (𝑥 + 1) ∈ 𝐴) ∧ 𝑧 ∈ ω) → (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) ∈ 𝐴 → (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) + 1) ∈ 𝐴))
21 ovex 6577 . . . . . . . . . . . 12 (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) + 1) ∈ V
22 eqid 2610 . . . . . . . . . . . . 13 (rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω) = (rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)
23 oveq1 6556 . . . . . . . . . . . . 13 (𝑦 = 𝑛 → (𝑦 + 1) = (𝑛 + 1))
24 oveq1 6556 . . . . . . . . . . . . 13 (𝑦 = ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) → (𝑦 + 1) = (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) + 1))
2522, 23, 24frsucmpt2 7422 . . . . . . . . . . . 12 ((𝑧 ∈ ω ∧ (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) + 1) ∈ V) → ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘suc 𝑧) = (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) + 1))
2621, 25mpan2 703 . . . . . . . . . . 11 (𝑧 ∈ ω → ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘suc 𝑧) = (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) + 1))
2726eleq1d 2672 . . . . . . . . . 10 (𝑧 ∈ ω → (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘suc 𝑧) ∈ 𝐴 ↔ (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) + 1) ∈ 𝐴))
2827adantl 481 . . . . . . . . 9 (((1 ∈ 𝐴 ∧ ∀𝑥𝐴 (𝑥 + 1) ∈ 𝐴) ∧ 𝑧 ∈ ω) → (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘suc 𝑧) ∈ 𝐴 ↔ (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) + 1) ∈ 𝐴))
2920, 28sylibrd 248 . . . . . . . 8 (((1 ∈ 𝐴 ∧ ∀𝑥𝐴 (𝑥 + 1) ∈ 𝐴) ∧ 𝑧 ∈ ω) → (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) ∈ 𝐴 → ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘suc 𝑧) ∈ 𝐴))
3029expcom 450 . . . . . . 7 (𝑧 ∈ ω → ((1 ∈ 𝐴 ∧ ∀𝑥𝐴 (𝑥 + 1) ∈ 𝐴) → (((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑧) ∈ 𝐴 → ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘suc 𝑧) ∈ 𝐴)))
317, 9, 11, 16, 30finds2 6986 . . . . . 6 (𝑦 ∈ ω → ((1 ∈ 𝐴 ∧ ∀𝑥𝐴 (𝑥 + 1) ∈ 𝐴) → ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑦) ∈ 𝐴))
3231com12 32 . . . . 5 ((1 ∈ 𝐴 ∧ ∀𝑥𝐴 (𝑥 + 1) ∈ 𝐴) → (𝑦 ∈ ω → ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑦) ∈ 𝐴))
3332ralrimiv 2948 . . . 4 ((1 ∈ 𝐴 ∧ ∀𝑥𝐴 (𝑥 + 1) ∈ 𝐴) → ∀𝑦 ∈ ω ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑦) ∈ 𝐴)
34 ffnfv 6295 . . . 4 ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω):ω⟶𝐴 ↔ ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω) Fn ω ∧ ∀𝑦 ∈ ω ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω)‘𝑦) ∈ 𝐴))
355, 33, 34sylanbrc 695 . . 3 ((1 ∈ 𝐴 ∧ ∀𝑥𝐴 (𝑥 + 1) ∈ 𝐴) → (rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω):ω⟶𝐴)
36 frn 5966 . . 3 ((rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω):ω⟶𝐴 → ran (rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω) ⊆ 𝐴)
3735, 36syl 17 . 2 ((1 ∈ 𝐴 ∧ ∀𝑥𝐴 (𝑥 + 1) ∈ 𝐴) → ran (rec((𝑛 ∈ V ↦ (𝑛 + 1)), 1) ↾ ω) ⊆ 𝐴)
383, 37syl5eqss 3612 1 ((1 ∈ 𝐴 ∧ ∀𝑥𝐴 (𝑥 + 1) ∈ 𝐴) → ℕ ⊆ 𝐴)
Colors of variables: wff setvar class
Syntax hints:  wi 4  wb 195  wa 383   = wceq 1475  wcel 1977  wral 2896  Vcvv 3173  wss 3540  c0 3874  cmpt 4643  ran crn 5039  cres 5040  cima 5041  suc csuc 5642   Fn wfn 5799  wf 5800  cfv 5804  (class class class)co 6549  ωcom 6957  reccrdg 7392  cc 9813  1c1 9816   + caddc 9818  cn 10897
This theorem was proved from axioms:  ax-mp 5  ax-1 6  ax-2 7  ax-3 8  ax-gen 1713  ax-4 1728  ax-5 1827  ax-6 1875  ax-7 1922  ax-8 1979  ax-9 1986  ax-10 2006  ax-11 2021  ax-12 2034  ax-13 2234  ax-ext 2590  ax-sep 4709  ax-nul 4717  ax-pow 4769  ax-pr 4833  ax-un 6847  ax-1cn 9873
This theorem depends on definitions:  df-bi 196  df-or 384  df-an 385  df-3or 1032  df-3an 1033  df-tru 1478  df-ex 1696  df-nf 1701  df-sb 1868  df-eu 2462  df-mo 2463  df-clab 2597  df-cleq 2603  df-clel 2606  df-nfc 2740  df-ne 2782  df-ral 2901  df-rex 2902  df-reu 2903  df-rab 2905  df-v 3175  df-sbc 3403  df-csb 3500  df-dif 3543  df-un 3545  df-in 3547  df-ss 3554  df-pss 3556  df-nul 3875  df-if 4037  df-pw 4110  df-sn 4126  df-pr 4128  df-tp 4130  df-op 4132  df-uni 4373  df-iun 4457  df-br 4584  df-opab 4644  df-mpt 4645  df-tr 4681  df-eprel 4949  df-id 4953  df-po 4959  df-so 4960  df-fr 4997  df-we 4999  df-xp 5044  df-rel 5045  df-cnv 5046  df-co 5047  df-dm 5048  df-rn 5049  df-res 5050  df-ima 5051  df-pred 5597  df-ord 5643  df-on 5644  df-lim 5645  df-suc 5646  df-iota 5768  df-fun 5806  df-fn 5807  df-f 5808  df-f1 5809  df-fo 5810  df-f1o 5811  df-fv 5812  df-ov 6552  df-om 6958  df-wrecs 7294  df-recs 7355  df-rdg 7393  df-nn 10898
This theorem is referenced by:  nnssre  10901  dfnn2  10910  nnind  10915  nnindf  28952
  Copyright terms: Public domain W3C validator