Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
George Pirlea
Iris
Commits
b0327383
Commit
b0327383
authored
May 31, 2016
by
Robbert Krebbers
Browse files
Make iFresh more robust in the presence of evars.
parent
d7766e5d
Changes
1
Hide whitespace changes
Inline
Side-by-side
proofmode/tactics.v
View file @
b0327383
...
...
@@ -24,8 +24,10 @@ Ltac iFresh :=
|-
of_envs
?
Δ
⊢
_
=>
match
goal
with
|
_
=>
eval
vm_compute
in
(
fresh_string_of_set
"~"
(
dom
stringset
Δ
))
(* [vm_compute fails] if [Δ] contains evars, so fall-back to [cbv] *)
|
_
=>
eval
cbv
in
(
fresh_string_of_set
"~"
(
dom
stringset
Δ
))
|
_
=>
(* [vm_compute fails] if [Δ] contains evars, so fall-back to [cbv] *)
let
Hs
:
=
eval
cbv
in
(
dom
stringset
Δ
)
in
eval
vm_compute
in
(
fresh_string_of_set
"~"
Hs
)
end
|
_
=>
constr
:
"~"
end
.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment