mirror of
https://github.com/achlipala/frap.git
synced 2024-11-28 07:16:20 +00:00
Change ProofByReflection to work in Coq 8.6.1
This commit is contained in:
parent
19e9e84953
commit
1ee699431c
2 changed files with 4 additions and 1 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -10,6 +10,7 @@
|
|||
*.ilg
|
||||
*.ind
|
||||
Makefile.coq
|
||||
Makefile.coq.conf
|
||||
*.glob
|
||||
*.v.d
|
||||
*.vo
|
||||
|
|
|
@ -497,7 +497,9 @@ Ltac simplify_set :=
|
|||
match goal with
|
||||
| [ |- context[?X \cup ?Y] ] =>
|
||||
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
|
||||
end.
|
||||
|
||||
|
|
Loading…
Reference in a new issue