mirror of
https://github.com/achlipala/frap.git
synced 2024-12-01 00:26:18 +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
|
*.ilg
|
||||||
*.ind
|
*.ind
|
||||||
Makefile.coq
|
Makefile.coq
|
||||||
|
Makefile.coq.conf
|
||||||
*.glob
|
*.glob
|
||||||
*.v.d
|
*.v.d
|
||||||
*.vo
|
*.vo
|
||||||
|
|
|
@ -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.
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue