Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Terraform modules
Monitor
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
Pierre Roux
Iris
Commits
d3556db2
Commit
d3556db2
authored
5 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
fix awp_apply error message
parent
1f9c5efc
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
tests/atomic.ref
+1
-4
1 addition, 4 deletions
tests/atomic.ref
tests/atomic.v
+1
-1
1 addition, 1 deletion
tests/atomic.v
theories/heap_lang/proofmode.v
+4
-2
4 additions, 2 deletions
theories/heap_lang/proofmode.v
with
6 additions
and
7 deletions
tests/atomic.ref
+
1
−
4
View file @
d3556db2
...
...
@@ -17,10 +17,7 @@
The command has indeed failed with message:
Tactic failure: iAuIntro: not all spatial assumptions are laterable.
The command has indeed failed with message:
Tactic failure: wp_apply: cannot apply
(<<< ∀ (v : val) (q : Qp), ?Goal ↦{q} v >>>
! #?Goal @ ⊤
<<< ?Goal ↦{q} v, RET v >>>).
Tactic failure: iAuIntro: not all spatial assumptions are laterable.
"printing"
: string
1 subgoal
...
...
This diff is collapsed.
Click to expand it.
tests/atomic.v
+
1
−
1
View file @
d3556db2
...
...
@@ -30,7 +30,7 @@ Section error.
Restart
.
iIntros
"HP"
.
Fail
awp_apply
load_spec
.
Abort
.
End
error
.
End
error
.
(* Test if AWP and the AU obtained from AWP print. *)
...
...
This diff is collapsed.
Click to expand it.
theories/heap_lang/proofmode.v
+
4
−
2
View file @
d3556db2
...
...
@@ -435,9 +435,11 @@ the context, which is intended to be the non-laterable assertions that iAuIntro
would choke on. You get them all back in the continuation of the atomic
operation. *)
Tactic
Notation
"awp_apply"
open_constr
(
lem
)
:=
wp_apply_core
lem
(
fun
H
=>
iApplyHyp
H
;
last
iAuIntro
)
.
(
wp_apply_core
lem
(
fun
H
=>
iApplyHyp
H
));
last
iAuIntro
.
Tactic
Notation
"awp_apply"
open_constr
(
lem
)
"without"
constr
(
Hs
)
:=
wp_apply_core
lem
(
fun
H
=>
iApply
wp_frame_wand_l
;
iSplitL
Hs
;
[
iAccu
|
iApplyHyp
H
;
last
iAuIntro
])
.
(
wp_apply_core
lem
(
fun
H
=>
iApply
wp_frame_wand_l
;
iSplitL
Hs
;
[
iAccu
|
iApplyHyp
H
]));
last
iAuIntro
.
Tactic
Notation
"wp_alloc"
ident
(
l
)
"as"
constr
(
H
)
:=
let
Htmp
:=
iFresh
in
...
...
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