10865
|
1 |
\chapter{Inductively Defined Sets} \label{chap:inductive}
|
11428
|
2 |
\index{inductive definitions|(}
|
10242
|
3 |
|
|
4 |
This chapter is dedicated to the most important definition principle after
|
|
5 |
recursive functions and datatypes: inductively defined sets.
|
|
6 |
|
11147
|
7 |
We start with a simple example: the set of even numbers. A slightly more
|
|
8 |
complicated example, the reflexive transitive closure, is the subject of
|
|
9 |
{\S}\ref{sec:rtc}. In particular, some standard induction heuristics are
|
|
10 |
discussed. Advanced forms of inductive definitions are discussed in
|
|
11 |
{\S}\ref{sec:adv-ind-def}. To demonstrate the versatility of inductive
|
|
12 |
definitions, the chapter closes with a case study from the realm of
|
|
13 |
context-free grammars. The first two sections are required reading for anybody
|
|
14 |
interested in mathematical modelling.
|
10219
|
15 |
|
25330
|
16 |
\begin{warn}
|
|
17 |
Predicates can also be defined inductively.
|
|
18 |
See {\S}\ref{sec:ind-predicates}.
|
|
19 |
\end{warn}
|
|
20 |
|
48522
|
21 |
\input{document/Even}
|
|
22 |
\input{document/Mutual}
|
|
23 |
\input{document/Star}
|
10242
|
24 |
|
11216
|
25 |
\section{Advanced Inductive Definitions}
|
11147
|
26 |
\label{sec:adv-ind-def}
|
48522
|
27 |
\input{document/Advanced}
|
10371
|
28 |
|
48522
|
29 |
\input{document/AB}
|
10520
|
30 |
|
11428
|
31 |
\index{inductive definitions|)}
|