10178
|
1 |
\chapter{Advanced Simplification, Recursion and Induction}
|
|
2 |
\markboth{}{CHAPTER 4: ADVANCED SIMPLIFICATION, RECURSION ...}
|
9958
|
3 |
|
|
4 |
Although we have already learned a lot about simplification, recursion and
|
|
5 |
induction, there are some advanced proof techniques that we have not covered
|
|
6 |
yet and which are worth knowing about if you intend to beome a serious
|
|
7 |
(human) theorem prover. The three sections of this chapter are almost
|
|
8 |
independent of each other and can be read in any order. Only the notion of
|
|
9 |
\emph{congruence rules}, introduced in the section on simplification, is
|
|
10 |
required for parts of the section on recursion.
|
|
11 |
|
9993
|
12 |
\input{Advanced/document/simp.tex}
|
9958
|
13 |
|
|
14 |
\section{Advanced forms of recursion}
|
|
15 |
\index{*recdef|(}
|
10186
|
16 |
|
10187
|
17 |
The purpose of this section is to introduce advanced forms of \isacommand{recdef}. It
|
|
18 |
covers two topics: how to define recursive function over nested recursive datatypes
|
|
19 |
and how to establish termination by means other than measure functions.
|
|
20 |
|
10186
|
21 |
\subsection{Recursion over nested datatypes}
|
|
22 |
\label{sec:nested-recdef}
|
9993
|
23 |
\input{Recdef/document/Nested0.tex}
|
|
24 |
\input{Recdef/document/Nested1.tex}
|
|
25 |
\input{Recdef/document/Nested2.tex}
|
9958
|
26 |
\index{*recdef|)}
|
|
27 |
|
10186
|
28 |
\subsection{Beyond measure}
|
|
29 |
\label{sec:wellfounded}
|
10187
|
30 |
\input{Advanced/document/WFrec.tex}
|
10186
|
31 |
|
9958
|
32 |
\section{Advanced induction techniques}
|
|
33 |
\label{sec:advanced-ind}
|
|
34 |
\index{induction|(}
|
9993
|
35 |
\input{Misc/document/AdvancedInd.tex}
|
9958
|
36 |
\index{induction|)}
|