Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
I
iris-coq
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
Marianna Rapoport
iris-coq
Commits
df7a0a33
Commit
df7a0a33
authored
9 years ago
by
Ralf Jung
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' of gitlab.mpi-sws.org:FP/iris-coq
parents
1ee007f8
cd509c3f
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/tests.v
+1
-1
1 addition, 1 deletion
heap_lang/tests.v
heap_lang/wp_tactics.v
+5
-2
5 additions, 2 deletions
heap_lang/wp_tactics.v
with
6 additions
and
3 deletions
heap_lang/tests.v
+
1
−
1
View file @
df7a0a33
...
...
@@ -67,7 +67,7 @@ Section LiftingTests.
wp_rec
.
wp_bin_op
.
wp_rec
.
wp_bin_op
=>
?;
wp_if
.
-
rewrite
(
forall_elim
(
n1
+
1
))
const_equiv
;
last
omega
.
by
rewrite
left_id
impl_elim_l
.
-
assert
(
n1
=
n2
-
1
)
as
->
by
omega
;
auto
with
I
.
-
wp_value
.
assert
(
n1
=
n2
-
1
)
as
->
by
omega
;
auto
with
I
.
Qed
.
Lemma
Pred_spec
n
E
Q
:
▷
Q
(
LitV
(
n
-
1
))
⊑
wp
E
(
Pred
'
n
)
%
L
Q
.
...
...
This diff is collapsed.
Click to expand it.
heap_lang/wp_tactics.v
+
5
−
2
View file @
df7a0a33
...
...
@@ -16,7 +16,11 @@ Ltac wp_finish :=
match
goal
with
|
|
-
∀
_,
_
=>
let
H
:=
fresh
in
intro
H
;
go
;
revert
H
|
|
-
_
⊑
▷
_
=>
etransitivity
;
[|
apply
later_mono
;
go
;
reflexivity
]
|
|
-
_
⊑
wp
_
_
_
=>
etransitivity
;
[|
eapply
wp_value
;
reflexivity
];
simpl
|
|
-
_
⊑
wp
_
_
_
=>
etransitivity
;
[|
eapply
wp_value
;
reflexivity
];
(* sometimes, we will have to do a final view shift, so only apply
wp_value if we obtain a consecutive wp *)
match
goal
with
|
-
_
⊑
wp
_
_
_
=>
simpl
|
_
=>
fail
end
|
_
=>
idtac
end
in
simpl
;
go
.
...
...
@@ -55,7 +59,6 @@ Tactic Notation "wp_un_op" ">" :=
end
.
Tactic
Notation
"wp_un_op"
:=
wp_un_op
>
;
wp_strip_later
.
Tactic
Notation
"wp_if"
">"
:=
try
wp_value
;
match
goal
with
|
|
-
_
⊑
wp
?E
?e
?Q
=>
reshape_expr
e
ltac
:(
fun
K
e'
=>
match
eval
cbv
in
e'
with
...
...
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