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
Jonas Kastberg
iris
Commits
3e0931ea
Commit
3e0931ea
authored
Oct 31, 2018
by
Jacques-Henri Jourdan
Browse files
Add comment; fix test tests/heap_lang.v.
parent
079da034
Changes
3
Hide whitespace changes
Inline
Side-by-side
tests/heap_lang.ref
View file @
3e0931ea
...
...
@@ -118,4 +118,4 @@ Tactic failure: wp_pure: cannot find ?y in (Var "x") or
: string
The command has indeed failed with message:
Ltac call to "wp_cas_suc" failed.
Tactic failure: wp_cas_suc: not
a 'wp'
.
Tactic failure: wp_cas_suc:
can
not
find 'CAS' in (#() #())
.
tests/heap_lang.v
View file @
3e0931ea
...
...
@@ -186,7 +186,7 @@ Section error_tests.
Check
"not_cas"
.
Lemma
not_cas
:
(
WP
#()
{{
_
,
True
}})%
I
.
(
WP
#()
#()
{{
_
,
True
}})%
I
.
Proof
.
Fail
wp_cas_suc
.
Abort
.
...
...
theories/heap_lang/proofmode.v
View file @
3e0931ea
...
...
@@ -85,8 +85,11 @@ Tactic Notation "wp_pure" open_constr(efoc) :=
|
_
=>
fail
"wp_pure: not a 'wp'"
end
.
(* The `;[]` makes sure that no side-condition magically spawns. *)
Ltac
wp_pures
:
=
repeat
(
wp_pure
_;
[]).
(* TODO: do this in one go, without [repeat]. *)
Ltac
wp_pures
:
=
iStartProof
;
repeat
(
wp_pure
_;
[]).
(* The `;[]` makes sure that no side-condition
magically spawns. *)
(* The handling of beta-reductions with wp_rec needs special care in
order to allow it to unlock locked `RecV` values: We first put
...
...
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