Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Rice Wine
Iris
Commits
0135f46c
Commit
0135f46c
authored
Nov 23, 2016
by
Robbert Krebbers
Browse files
Eval hnf in iProof like in iPoseProof.
parent
5bd2042e
Changes
1
Hide whitespace changes
Inline
Side-by-side
proofmode/tactics.v
View file @
0135f46c
...
...
@@ -45,9 +45,13 @@ Ltac iMatchGoal tac :=
Tactic
Notation
"iProof"
:
=
lazymatch
goal
with
|
|-
of_envs
_
⊢
_
=>
fail
"iProof: already in Iris proofmode"
|
|-
True
⊢
_
=>
apply
tac_adequate
|
|-
_
⊢
_
=>
apply
uPred
.
wand_entails
,
tac_adequate
|
|-
_
⊣
⊢
_
=>
apply
uPred
.
iff_equiv
,
tac_adequate
|
|-
?P
=>
match
eval
hnf
in
P
with
|
True
⊢
_
=>
apply
tac_adequate
|
_
⊢
_
=>
apply
uPred
.
wand_entails
,
tac_adequate
(* need to use the unfolded version of [⊣⊢] due to the hnf *)
|
uPred_equiv'
_
_
=>
apply
uPred
.
iff_equiv
,
tac_adequate
end
end
.
(** * Context manipulation *)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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