Skip to content

Commit 6252fe1

Browse files
more 'forall' -> 'universal' quantification
1 parent 4bc75dd commit 6252fe1

4 files changed

Lines changed: 12 additions & 12 deletions

File tree

exercises/later.v

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -185,12 +185,12 @@ Proof.
185185
The tactic for Löb induction, [iLöb], requires us to specify the
186186
name of the induction hypothesis, which we here call ["IH"].
187187
Optionally, it can also universally quantify over any of our variables
188-
before performing induction. We here forall quantify [x] as it changes for
189-
every recursive call.
188+
before performing induction. We here universally quantify over [x] as it
189+
changes for every recursive call.
190190
*)
191191
iLöb as "IH" forall (x).
192192
(**
193-
[iLöb] automatically introduces the forall quantified variables in
193+
[iLöb] automatically introduces the universally quantified variables in
194194
the goal, so we can proceed to execute the function.
195195
*)
196196
wp_rec.

exercises/linked_lists.v

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ Lemma inc_spec (l : val) (xs : list Z) :
5353
{{{ RET #(); isList l ((λ x, #(x + 1)) <$> xs)}}}.
5454
Proof.
5555
(**
56-
The proof proceeds by structural induction in [xs]. As [l] changes
57-
in each iteration, we must forall quantify it to strengthen the
58-
induction hypothesis.
56+
The proof proceeds by structural induction in [xs]. As [l] changes in each
57+
iteration, we must universally quantify over it to strengthen the induction
58+
hypothesis.
5959
*)
6060
revert l.
6161
induction xs as [|x xs' IH]; simpl.

theories/later.v

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -188,12 +188,12 @@ Proof.
188188
The tactic for Löb induction, [iLöb], requires us to specify the
189189
name of the induction hypothesis, which we here call ["IH"].
190190
Optionally, it can also universally quantify over any of our variables
191-
before performing induction. We here forall quantify [x] as it changes for
192-
every recursive call.
191+
before performing induction. We here universally quantify over [x] as it
192+
changes for every recursive call.
193193
*)
194194
iLöb as "IH" forall (x).
195195
(**
196-
[iLöb] automatically introduces the forall quantified variables in
196+
[iLöb] automatically introduces the universally quantified variables in
197197
the goal, so we can proceed to execute the function.
198198
*)
199199
wp_rec.

theories/linked_lists.v

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,9 +53,9 @@ Lemma inc_spec (l : val) (xs : list Z) :
5353
{{{ RET #(); isList l ((λ x, #(x + 1)) <$> xs)}}}.
5454
Proof.
5555
(**
56-
The proof proceeds by structural induction in [xs]. As [l] changes
57-
in each iteration, we must forall quantify it to strengthen the
58-
induction hypothesis.
56+
The proof proceeds by structural induction in [xs]. As [l] changes in each
57+
iteration, we must universally quantify over it to strengthen the induction
58+
hypothesis.
5959
*)
6060
revert l.
6161
induction xs as [|x xs' IH]; simpl.

0 commit comments

Comments
 (0)