Commit 402e0cca authored by Adam Chlipala's avatar Adam Chlipala

About to stop using JMeq

parent 4a19cacf
This diff is collapsed.
...@@ -121,18 +121,19 @@ Ltac un_done := ...@@ -121,18 +121,19 @@ Ltac un_done :=
end. end.
Ltac crush' lemmas invOne := Ltac crush' lemmas invOne :=
let sintuition := simpl in *; intuition; try subst; repeat (simplHyp invOne; intuition; try subst); try congruence let sintuition := simpl in *; intuition; try subst; repeat (simplHyp invOne; intuition; try subst); try congruence in
in (sintuition; let rewriter := autorewrite with cpdt in *;
autorewrite with cpdt in *;
repeat (match goal with repeat (match goal with
| [ H : _ |- _ ] => (rewrite H; []) | [ H : _ |- _ ] => (rewrite H; [])
|| (rewrite H; [ | solve [ crush' lemmas invOne ] ]) || (rewrite H; [ | solve [ crush' lemmas invOne ] ])
end; autorewrite with cpdt in *); || (rewrite H; [ | solve [ crush' lemmas invOne ] | solve [ crush' lemmas invOne ] ])
end; autorewrite with cpdt in *)
in (sintuition; rewriter;
match lemmas with match lemmas with
| false => idtac | false => idtac
| _ => 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)); un_done repeat (simplHyp invOne; intuition)); un_done
end; sintuition; try omega; try (elimtype False; omega)). end; sintuition; rewriter; sintuition; try omega; try (elimtype False; omega)).
Ltac crush := crush' false fail. Ltac crush := crush' false 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