Change ProofByReflection to work in Coq 8.6.1

This commit is contained in:
Adam Chlipala 2017-11-18 10:43:08 -05:00
parent 19e9e84953
commit 1ee699431c
2 changed files with 4 additions and 1 deletions

1
.gitignore vendored
View file

@ -10,6 +10,7 @@
*.ilg *.ilg
*.ind *.ind
Makefile.coq Makefile.coq
Makefile.coq.conf
*.glob *.glob
*.v.d *.v.d
*.vo *.vo

View file

@ -497,7 +497,9 @@ Ltac simplify_set :=
match goal with match goal with
| [ |- context[?X \cup ?Y] ] => | [ |- context[?X \cup ?Y] ] =>
let e := reify_set (X \cup Y) in let e := reify_set (X \cup Y) in
change (X \cup Y) with (setexprDenote e); let Heq := fresh in
assert (Heq : X \cup Y = setexprDenote e) by reflexivity;
rewrite Heq; clear Heq;
rewrite normalize_ok; simpl rewrite normalize_ok; simpl
end. end.