aboutsummaryrefslogtreecommitdiff
path: root/src/Util/ListUtil.v
diff options
context:
space:
mode:
authorGravatar Jason Gross <jgross@mit.edu>2017-05-11 13:38:47 -0400
committerGravatar Jason Gross <jgross@mit.edu>2017-05-11 13:38:47 -0400
commit7146036f5a4555840a75b1fb564ee3c1b54623dc (patch)
treeded017dae3c8f0fb62f173d6f9baab338773a5e4 /src/Util/ListUtil.v
parentdf5218b25d73bc95becc6d1c9db124951dccd925 (diff)
s/appcontext/context/
They mean the same thing since 8.5, and appcontext is deprecated.
Diffstat (limited to 'src/Util/ListUtil.v')
-rw-r--r--src/Util/ListUtil.v12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Util/ListUtil.v b/src/Util/ListUtil.v
index a9987ffde..b49367600 100644
--- a/src/Util/ListUtil.v
+++ b/src/Util/ListUtil.v
@@ -252,7 +252,7 @@ Ltac boring :=
simpl; intuition auto with zarith datatypes;
repeat match goal with
| [ H : _ |- _ ] => rewrite H; clear H
- | [ |- appcontext[match ?pf with end] ] => solve [ case pf ]
+ | [ |- context[match ?pf with end] ] => solve [ case pf ]
| _ => progress autounfold in *
| _ => progress autorewrite with core
| _ => progress simpl in *
@@ -633,7 +633,7 @@ Qed.
(* grumble, grumble, [rewrite] is bad at inferring the identity function, and constant functions *)
Ltac rewrite_rev_combine_update_nth :=
let lem := match goal with
- | [ |- appcontext[update_nth ?n (fun xy => (@?f xy, @?g xy)) (combine ?xs ?ys)] ]
+ | [ |- context[update_nth ?n (fun xy => (@?f xy, @?g xy)) (combine ?xs ?ys)] ]
=> let f := match (eval cbv [fst] in (fun y x => f (x, y))) with
| fun _ => ?f => f
end in
@@ -1564,10 +1564,10 @@ Qed.
Local Hint Resolve map2_nil_r map2_nil_l.
Ltac simpl_list_lengths := repeat match goal with
- | H : appcontext[length (@nil ?A)] |- _ => rewrite (@nil_length0 A) in H
- | H : appcontext[length (_ :: _)] |- _ => rewrite length_cons in H
- | |- appcontext[length (@nil ?A)] => rewrite (@nil_length0 A)
- | |- appcontext[length (_ :: _)] => rewrite length_cons
+ | H : context[length (@nil ?A)] |- _ => rewrite (@nil_length0 A) in H
+ | H : context[length (_ :: _)] |- _ => rewrite length_cons in H
+ | |- context[length (@nil ?A)] => rewrite (@nil_length0 A)
+ | |- context[length (_ :: _)] => rewrite length_cons
end.
Section OpaqueMap2.