Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Jonas Kastberg
iris
Commits
131e53d4
Commit
131e53d4
authored
May 10, 2016
by
Robbert Krebbers
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Give WExpr instance for Rec lower priority so it does not go
through definitions.
parent
35f151a0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
heap_lang/proofmode.v
heap_lang/proofmode.v
+1
-1
heap_lang/substitution.v
heap_lang/substitution.v
+1
-1
No files found.
heap_lang/proofmode.v
View file @
131e53d4
...
...
@@ -115,7 +115,7 @@ Tactic Notation "wp_load" :=
lazymatch
goal
with
|
|-
_
⊢
wp
?E
?e
?Q
=>
reshape_expr
e
ltac
:
(
fun
K
e'
=>
match
eval
hnf
in
e'
with
|
Load
(
Lit
(
LitLoc
?l
))
=>
|
Load
?l
=>
wp_bind
K
;
eapply
tac_wp_load
;
[
iAssumption
||
fail
2
"wp_load: cannot find heap_ctx"
|
done
||
eauto
with
ndisj
...
...
heap_lang/substitution.v
View file @
131e53d4
...
...
@@ -16,7 +16,7 @@ Hint Extern 0 (WExpr _ (Var ?y) _) =>
(* Rec *)
Instance
do_wexpr_rec_true
{
X
Y
f
y
e
}
{
H
:
X
`
included
`
Y
}
er
:
WExpr
(
wexpr_rec_prf
H
)
e
er
→
WExpr
H
(
Rec
f
y
e
)
(
Rec
f
y
er
).
WExpr
(
wexpr_rec_prf
H
)
e
er
→
WExpr
H
(
Rec
f
y
e
)
(
Rec
f
y
er
)
|
10
.
Proof
.
intros
;
red
;
f_equal
/=.
by
etrans
;
[
apply
wexpr_proof_irrel
|].
Qed
.
(* Values *)
...
...
Write
Preview
Markdown
is supported
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