Proof (transitivity of natural numbers)
$\N$
Prove $y\in x\in \N$ implies $y\in \N$ by induction on $x$.
Vacuously true for $x=\emptyset$.
Suppose this is true for $x$, and consider $y\in s(x) = x\cup \set{x}$.
-
If $y\in x$, then induction hypothesis says $y\in \N$.
-
Otherwise $y=x$ so clearly $y\in \N$.
Any natural number
Prove $z\in y\in x\in \N$ implies $z\in x$ by induction on $x$.
Vacuously true for $x$.
Suppose this is true for $x$, and consider $z\in y\in s(x) = x \cup \set{x}$.
-
If $y\in x$, then induction hypothesis says $z\in x$, so $z\in x\cup \set{x} = s(x)$.
-
Otherwise $y=x$, so $z\in y = x$ and hence $z\in x\cup \set{x} = s(x)$.