From a set of not-so-rigorous lecture notes on Metalogic:
Formulas of $L$:
- (i) Each sentence letter is a formula.
- (ii) If $A$ is a formula, then so is $\neg A$.
- (iii) If $A$ and $B$ are formulas, then so is ($A$ $\wedge$ $B$).
- (iv) Nothing is a formula unless its being one follows from (i)-(iii).
A proof by formula induction of some property $P$ of this formal language shows that the property $P$ holds for (i), (ii), (iii) respectively, and therefore holds for all possible formulas by (iv).
For example, a proof of the property $P$ that all formulas $A$ contain the same number of left parentheses as right parenthesis involves 3 steps:
- A sentence letter $s$ has no parentheses, and so it vacuously holds, or $0_{left} = 0_{right}$
- Assume $P$ holds for $A$, then as $\neg A$ contains the same number of parentheses as $A$, $P$ holds for $\neg A$.
- Assume that $P$ holds for $A$ and $B$, then for $(A \wedge B)$ the number of parentheses on the left is $A_{left}+B_{left}+1$ and on the right $A_{right}+B_{right}+1$, and as $A_{left}=A_{right}$, $B_{left}=B_{right}$, and $1=1$, $P$ holds.
The property $P$ of formulas of $L$ is proven by formula induction.
My question is, how can such a property and its proof be formalized in a logical system / calculus, using formal inference rules and axioms?
You can see some textbooks, like :
Herbert Enderton, A Mathematical Introduction to Logic (2nd ed - 2001), SECTION 1.4 : Induction and Recursion, page 34-on
Dirk van Dalen, Logic and Structure (5th ed - 2013), page 7-on :
We call an application of Theorem 2.1.3 a proof by induction on $\varphi$.
[...]
[...]
[...]
For a formalization into set theory, see :
and the final remark [page 93] :