The principle of induction defined as follows. Let S be a set on which the partial ordering ≤ is defined and which contains no infinite decreasing sequences (where decreasing is defined by the ordering relation). If P is some predicate and if the following two conditions hold:
then
P(
s) is true for all
s in
S. Structural induction tends to be used in proving properties of recursive programs.