Commit 9525a82e authored by Adam Chlipala's avatar Adam Chlipala

Remove [done] markers after enhancement phase finishes

parent 6e8d3f27
...@@ -413,7 +413,7 @@ Section constFold_ok. ...@@ -413,7 +413,7 @@ Section constFold_ok.
Hint Resolve regmapCompat_set_None regmapCompat_set_Some. Hint Resolve regmapCompat_set_None regmapCompat_set_Some.
Hint Constructors run. Hint Constructors run.
cofix. cofix;
destruct 1; crush; eauto; destruct 1; crush; eauto;
repeat match goal with repeat match goal with
| [ H : regmapCompat _ _ |- run _ _ (match get ?RM ?R with Some _ => _ | None => _ end) _ ] => | [ H : regmapCompat _ _ |- run _ _ (match get ?RM ?R with Some _ => _ | None => _ end) _ ] =>
......
...@@ -102,11 +102,16 @@ Ltac inster e trace := ...@@ -102,11 +102,16 @@ Ltac inster e trace :=
end end
end. end.
Ltac un_done :=
repeat match goal with
| [ H : done _ |- _ ] => clear H
end.
Ltac crush' lemmas invOne := Ltac crush' lemmas invOne :=
let sintuition := simpl in *; intuition; subst; repeat (simplHyp invOne; intuition; subst); try congruence let sintuition := simpl in *; intuition; subst; repeat (simplHyp invOne; intuition; subst); try congruence
in (sintuition; rewriter; in (sintuition; rewriter;
repeat ((app ltac:(fun L => inster L L) lemmas || appHyps ltac:(fun L => inster L L)); repeat ((app ltac:(fun L => inster L L) lemmas || appHyps ltac:(fun L => inster L L));
repeat (simplHyp invOne; intuition)); repeat (simplHyp invOne; intuition));
sintuition; try omega). un_done; sintuition; try omega).
Ltac crush := crush' tt fail. Ltac crush := crush' tt fail.
Markdown is supported
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