@@ -19,14 +19,14 @@ unsigned int one_to_hundred()
1919}
2020```
2121
22- The function above returns the desired integer from 1 to 100. You must
22+ This function returns the desired integer from 1 to 100. You must
2323ensure that the condition given as an assumption is actually satisfiable
24- by some nondeterministic choice, or otherwise the model checking step
24+ by some nondeterministic choice, otherwise the model checking step
2525will pass vacuously.
2626
27- Also note that assumptions are never retroactive: They only affect
27+ Also note that assumptions are never retroactive. They only affect
2828assertions (or other properties) that follow them in program order. This
29- is best illustrated with an example. In the following fragment, the
29+ is best illustrated with an example. In the following fragment the
3030assumption has no effect on the assertion, which means that the
3131assertion will fail:
3232
@@ -37,7 +37,7 @@ __CPROVER_assume(x==100);
3737```
3838
3939Assumptions do restrict the search space, but only for assertions that
40- follow. As an example, the following program will pass:
40+ follow. As an example, this program will pass:
4141
4242```C
4343int main() {
@@ -52,7 +52,7 @@ int main() {
5252```
5353
5454Beware that nondeterminism cannot be used to obtain the effect of
55- universal quantification in assumptions. As an example,
55+ universal quantification in assumptions. For example:
5656
5757``` C
5858int main () {
@@ -68,6 +68,6 @@ int main() {
6868}
6969```
7070
71- fails, as there is a choice of x and y which results in a counterexample
71+ This code fails, as there is a choice of x and y which results in a counterexample
7272(any choice in which x and y are different).
7373
0 commit comments