Metamath Proof Explorer


Theorem peano5

Description: The induction postulate: any class containing zero and closed under the successor operation contains all natural numbers. One of Peano's five postulates for arithmetic. Proposition 7.30(5) of TakeutiZaring p. 43, except our proof does not require the Axiom of Infinity. The more traditional statement of mathematical induction as a theorem schema, with a basis and an induction step, is derived from this theorem as Theorem findes . (Contributed by NM, 18-Feb-2004) Avoid ax-10 , ax-12 . (Revised by Gino Giotto, 3-Oct-2024)

Ref Expression
Assertion peano5 A x ω x A suc x A ω A

Proof

Step Hyp Ref Expression
1 eldifn z ω A ¬ z A
2 1 adantl A x ω x A suc x A z ω A ¬ z A
3 eldifi z ω A z ω
4 elndif A ¬ ω A
5 eleq1 z = z ω A ω A
6 5 biimpcd z ω A z = ω A
7 6 necon3bd z ω A ¬ ω A z
8 4 7 mpan9 A z ω A z
9 nnsuc z ω z y ω z = suc y
10 3 8 9 syl2an2 A z ω A y ω z = suc y
11 10 ad4ant13 A x ω x A suc x A z ω A ω A z = y ω z = suc y
12 eleq1w x = y x A y A
13 suceq x = y suc x = suc y
14 13 eleq1d x = y suc x A suc y A
15 12 14 imbi12d x = y x A suc x A y A suc y A
16 15 rspccv x ω x A suc x A y ω y A suc y A
17 vex y V
18 17 sucid y suc y
19 eleq2 z = suc y y z y suc y
20 18 19 mpbiri z = suc y y z
21 eleq1 z = suc y z ω suc y ω
22 peano2b y ω suc y ω
23 21 22 bitr4di z = suc y z ω y ω
24 minel y z ω A z = ¬ y ω A
25 neldif y ω ¬ y ω A y A
26 24 25 sylan2 y ω y z ω A z = y A
27 26 exp32 y ω y z ω A z = y A
28 23 27 syl6bi z = suc y z ω y z ω A z = y A
29 20 28 mpid z = suc y z ω ω A z = y A
30 3 29 syl5 z = suc y z ω A ω A z = y A
31 30 impd z = suc y z ω A ω A z = y A
32 eleq1a suc y A z = suc y z A
33 32 com12 z = suc y suc y A z A
34 31 33 imim12d z = suc y y A suc y A z ω A ω A z = z A
35 34 com13 z ω A ω A z = y A suc y A z = suc y z A
36 16 35 sylan9 x ω x A suc x A z ω A ω A z = y ω z = suc y z A
37 36 rexlimdv x ω x A suc x A z ω A ω A z = y ω z = suc y z A
38 37 exp32 x ω x A suc x A z ω A ω A z = y ω z = suc y z A
39 38 a1i A x ω x A suc x A z ω A ω A z = y ω z = suc y z A
40 39 imp41 A x ω x A suc x A z ω A ω A z = y ω z = suc y z A
41 11 40 mpd A x ω x A suc x A z ω A ω A z = z A
42 2 41 mtand A x ω x A suc x A z ω A ¬ ω A z =
43 42 nrexdv A x ω x A suc x A ¬ z ω A ω A z =
44 ordom Ord ω
45 difss ω A ω
46 tz7.5 Ord ω ω A ω ω A z ω A ω A z =
47 44 45 46 mp3an12 ω A z ω A ω A z =
48 47 necon1bi ¬ z ω A ω A z = ω A =
49 43 48 syl A x ω x A suc x A ω A =
50 ssdif0 ω A ω A =
51 49 50 sylibr A x ω x A suc x A ω A