File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ Lemma firstn_cons : forall T n a (b : list T),
4141Proof .
4242 destruct n; intros.
4343 omega.
44- simpl. cutrewrite (n - 0 = n) ; [ | omega ]. reflexivity.
44+ simpl. replace (n - 0) with n ; [ | omega ]. reflexivity.
4545Qed .
4646
4747Hint Rewrite firstn_app_L firstn_app_R firstn_all firstn_0 firstn_cons using omega : list_rw.
@@ -86,7 +86,7 @@ Lemma skipn_cons : forall T n a (b : list T),
8686Proof .
8787 destruct n; intros.
8888 omega.
89- simpl. cutrewrite (n - 0 = n) ; [ | omega ]. reflexivity.
89+ simpl. replace (n - 0) with n ; [ | omega ]. reflexivity.
9090Qed .
9191
92- Hint Rewrite skipn_app_L skipn_app_R skipn_0 skipn_all skipn_cons using omega : list_rw.
92+ Hint Rewrite skipn_app_L skipn_app_R skipn_0 skipn_all skipn_cons using omega : list_rw.
You can’t perform that action at this time.
0 commit comments