Structural induction

from Wikipedia, the free encyclopedia

The structural induction is a proof method , inter alia, in the logic , the theoretical computer science and the graph theory is used. It is a more general form of complete induction . With the method, statements about the elements of recursively constructed sets (for example sets of lists , formulas , graphs ) can be proven.

In the case of complete induction, properties of natural numbers are proven; In structural induction, properties are proven for sets, the elements of which are created from basic elements through a finite number of construction steps (using already constructed elements) or by means of a generation system. So there are minimal (also: simplest or basic) elements and recursively defined (or: recursively formed) elements of the set. In the case of natural numbers, the basic element is (or , depending on the definition of the natural numbers) and the construction step is the transition from a number to a number .

In order to prove a statement for the elements of a set, one shows the validity of the statement for the simplest elements in the induction start and the validity of the statement for the recursively formed elements in the induction conclusion, provided that the statement applies to the elements used in the construction . If both are met, the statement applies to all elements. So induction is carried out over the structural structure of the elements.

Structural induction is a special case of induction for sets with a well-founded (partial) order .

Example of a definition by structural induction

The set of propositional formulas can be defined using structural induction as follows:

Induction start: If is an atomic propositional formula, is a propositional formula.
Induction step 1: If is a propositional formula, is also a propositional formula.
Induction step 2: If and are propositional formulas, is also a propositional formula.
Induction step 3: If and are propositional formulas, is also a propositional formula.
Induction step 4: If and are propositional formulas, is also a propositional formula.
Induction step 5: If and are propositional formulas, is also a propositional formula.

According to this definition z. B. the following terms propositional formulas:

Further examples of definitions through structural induction can be found in the articles Elementary Language and Word (Theoretical Computer Science) (Definition of Mirroring).

Example of a proof by structural induction

The proposition is proven:

For every propositional formula there is an equivalent propositional formula in which the only operators and appear.

The proof:

Induction start: If is for an atomic propositional formula , is .
Induction step 1: If for a propositional formula , is .
Induction step 2: If for propositional formulas and , is .
Induction step 3: If for propositional formulas and , is .
Induction step 4: If for propositional formulas and , is .
Induction step 5: If for propositional formulas and , is .

The equals sign stands for syntactic equality, i.e. H. Equality sign by sign. In every induction step it is assumed that for and respectively the equivalent formulas and exist which only use and (induction assumption ).

In a concrete construction, the proof steps can also be applied in the reverse order, ie “from outside to inside”. For the middle of the propositional formulas given above, z. B. the following equivalences:

The applications of induction step 1 and induction start are empty here; i.e., they do not change the term. (With the first formula given above, all induction steps and the induction start would be empty.) Incidentally, the fact that the last formula can still be simplified is irrelevant here.

literature

  • Hartmut Ehrig, Bernd Mahr, F. Cornelius, Martin Große-Rhode, P. Zeitz: Mathematical-structural basics of computer science . Springer, 2013, pp. 162–168

Web links