mirror of
https://github.com/achlipala/frap.git
synced 2024-11-10 00:07:51 +00:00
Typo fix in book
This commit is contained in:
parent
9928399f5c
commit
a6624bdcf2
1 changed files with 1 additions and 1 deletions
|
@ -3277,7 +3277,7 @@ $$\infer{\hoare{P}{\ifte{b}{c_1}{c_2}}{\lambda s. \; Q_1(s) \lor Q_2(s)}}{
|
||||||
& \hoare{\lambda s. \; P(s) \land \neg \denote{b}(s)}{c_2}{Q_2}
|
& \hoare{\lambda s. \; P(s) \land \neg \denote{b}(s)}{c_2}{Q_2}
|
||||||
}$$
|
}$$
|
||||||
|
|
||||||
Coming to loops, we at least have a purpose for the assertion annotated on each one.
|
Coming to loops, we at last have a purpose for the assertion annotated on each one.
|
||||||
\invariants
|
\invariants
|
||||||
We call those assertions \emph{loop invariants}\index{loop invariants}; one of these is meant to be true every time a loop iteration begins.
|
We call those assertions \emph{loop invariants}\index{loop invariants}; one of these is meant to be true every time a loop iteration begins.
|
||||||
We will try to avoid confusion with the more fundamental concept of invariant for transition systems, though in fact the two are closely related formally, which we will see in the last section of this chapter.
|
We will try to avoid confusion with the more fundamental concept of invariant for transition systems, though in fact the two are closely related formally, which we will see in the last section of this chapter.
|
||||||
|
|
Loading…
Reference in a new issue