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
Tej Chajed
iris
Commits
3e0931ea
Commit
3e0931ea
authored
6 years ago
by
Jacques-Henri Jourdan
Browse files
Options
Downloads
Patches
Plain Diff
Add comment; fix test tests/heap_lang.v.
parent
079da034
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/heap_lang.ref
+1
-1
1 addition, 1 deletion
tests/heap_lang.ref
tests/heap_lang.v
+1
-1
1 addition, 1 deletion
tests/heap_lang.v
theories/heap_lang/proofmode.v
+5
-2
5 additions, 2 deletions
theories/heap_lang/proofmode.v
with
7 additions
and
4 deletions
tests/heap_lang.ref
+
1
−
1
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 (#() #())
.
This diff is collapsed.
Click to expand it.
tests/heap_lang.v
+
1
−
1
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
.
...
...
This diff is collapsed.
Click to expand it.
theories/heap_lang/proofmode.v
+
5
−
2
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
...
...
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