File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff line change @@ -53,9 +53,9 @@ Lemma inc_spec (l : val) (xs : list Z) :
5353 {{{ RET #(); isList l ((λ x, #(x + 1)) <$> xs)}}}.
5454Proof .
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.
Original file line number Diff line number Diff 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.
Original file line number Diff line number Diff line change @@ -53,9 +53,9 @@ Lemma inc_spec (l : val) (xs : list Z) :
5353 {{{ RET #(); isList l ((λ x, #(x + 1)) <$> xs)}}}.
5454Proof .
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.
You can’t perform that action at this time.
0 commit comments