We continue from the previous lecture.
Definition: An ARS
Theorem: Let
Proof: "if" has been discussed in a previous lecture.
"only if:" That is the interesting direction here.
Let us first look at an argument as you might find it in a textbook.[1]
We have to find a measure function
. Define . This is well-defined since is finite due to being finitely branching and terminating. It remains to show that implies . Since is transitive, we have . Now suppose . Then in contradiction to being terminating.
Sometimes a more concise write-up can be easier to understand than an argument that provides all details. On the other hand, one cannot claim to fully understand an argument without being able to provide all details. I show you how such a more detailed write-up could look like.[2] It is also an opportunity to learn the patterns that are used in proofs. And it is closer to what we have done in class.
Show: If
is finitely branching and terminating, then there is a measure function .
Assume that
is finitely branching and terminating.
Show that there is a measure function. [3][4]
Define
. [5]
Show that.
Assume
.
Show.
This, in turn, means that we have to show the following two statements.[6]
(Two) There is
and .
To show that such anexists means to show that
there issuch that and not .
Define
.[9] We need to check two statements.
(First) Show:
.
This follows becauseis reflexive by definition.
(Second) Show: not
.
We argue by contradiction.[10]Assume
.
Then[11].[12]
Which contradicts thatis terminating.
We showed (Second): not
.
We showed (First) and (Second).
We showed (Two).
We showed
.
We showed
.
We showed that there is a measure function
.
We showed the theorem.
We will have a look at the logic behind this argument in the next lecture.
See also Lemma 2.2.3 in Baader-Nipkow. ↩︎
I would not normally use indentation as below, but markdown conveniently provides this feature and I thought maybe it helps. ↩︎
We need an idea. In class, we drew a picture, picking an element
Defining a function
Lemma: If
By definition of
In words: Everything reachable from
The general pattern to show a statement of the form
How do we find such an
The general pattern to prove a negative statement such as "not
We assumed (see further above) that
The notation