Commit 61cf8bf1 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Fix for Coq ≤8.9.

parent fe63b525
......@@ -1230,8 +1230,7 @@ Lemma insert_replicate_lt x y n i :
i < n
<[i:=y]>(replicate n x) = replicate i x ++ y :: replicate (n - S i) x.
revert i. induction n as [|n IH]; [ by lia | ].
intros [|i] Hi; simpl.
revert i. induction n as [|n IH]; intros [|i] Hi; simpl; [lia..| |].
- by rewrite Nat.sub_0_r.
- by rewrite IH by lia.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment