Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Rice Wine
Iris
Commits
131e53d4
Commit
131e53d4
authored
8 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Give WExpr instance for Rec lower priority so it does not go
through definitions.
parent
35f151a0
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
heap_lang/proofmode.v
+1
-1
1 addition, 1 deletion
heap_lang/proofmode.v
heap_lang/substitution.v
+1
-1
1 addition, 1 deletion
heap_lang/substitution.v
with
2 additions
and
2 deletions
heap_lang/proofmode.v
+
1
−
1
View file @
131e53d4
...
@@ -115,7 +115,7 @@ Tactic Notation "wp_load" :=
...
@@ -115,7 +115,7 @@ Tactic Notation "wp_load" :=
lazymatch
goal
with
lazymatch
goal
with
|
|
-
_
⊢
wp
?E
?e
?Q
=>
reshape_expr
e
ltac
:(
fun
K
e'
=>
|
|
-
_
⊢
wp
?E
?e
?Q
=>
reshape_expr
e
ltac
:(
fun
K
e'
=>
match
eval
hnf
in
e'
with
match
eval
hnf
in
e'
with
|
Load
(
Lit
(
LitLoc
?l
))
=>
|
Load
?l
=>
wp_bind
K
;
eapply
tac_wp_load
;
wp_bind
K
;
eapply
tac_wp_load
;
[
iAssumption
||
fail
2
"wp_load: cannot find heap_ctx"
[
iAssumption
||
fail
2
"wp_load: cannot find heap_ctx"
|
done
||
eauto
with
ndisj
|
done
||
eauto
with
ndisj
...
...
This diff is collapsed.
Click to expand it.
heap_lang/substitution.v
+
1
−
1
View file @
131e53d4
...
@@ -16,7 +16,7 @@ Hint Extern 0 (WExpr _ (Var ?y) _) =>
...
@@ -16,7 +16,7 @@ Hint Extern 0 (WExpr _ (Var ?y) _) =>
(* Rec *)
(* Rec *)
Instance
do_wexpr_rec_true
{
X
Y
f
y
e
}
{
H
:
X
`
included
`
Y
}
er
:
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
.
Proof
.
intros
;
red
;
f_equal
/=.
by
etrans
;
[
apply
wexpr_proof_irrel
|]
.
Qed
.
(* Values *)
(* Values *)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment