Structural Induction
Mathematical induction relies on structure of natural numbers:
N ::= 0 | N + 1
- Show that all trees of zero depth has P.
- Assume trees of depth m or less have P.
- Prove that tree of depth m+1 has P.
Arbitrary syntax domains:
- D ::= Option1 | Option2 | ... |
Optionn
- To prove that all members of D have P
- Assume occurences of D in Optioni have P,
- Prove that Optioni has P.
(for each Optioni).
Author: Wolfgang Schreiner
Last Modification: October 13, 1997