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
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
Dan Frumin
iris-coq
Commits
5b0340e6
Commit
5b0340e6
authored
9 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
notes on wp failing
parent
f7643c59
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
heap_lang/tests.v
+2
-1
2 additions, 1 deletion
heap_lang/tests.v
heap_lang/wp_tactics.v
+1
-1
1 addition, 1 deletion
heap_lang/wp_tactics.v
with
3 additions
and
2 deletions
heap_lang/tests.v
+
2
−
1
View file @
5b0340e6
...
@@ -63,7 +63,8 @@ Section LiftingTests.
...
@@ -63,7 +63,8 @@ Section LiftingTests.
Proof
.
Proof
.
wp_lam
>
;
apply
later_mono
;
wp_op
=>
?
;
wp_if
.
wp_lam
>
;
apply
later_mono
;
wp_op
=>
?
;
wp_if
.
-
wp_op
.
wp_op
.
-
wp_op
.
wp_op
.
(
*
TODO
:
Can
we
use
the
wp
tactic
again
here
?
*
)
(
*
TODO
:
Can
we
use
the
wp
tactic
again
here
?
It
seems
that
the
tactic
fails
if
there
are
goals
being
generated
.
That
should
not
be
the
case
.
*
)
wp_focus
(
FindPred
_
_
).
rewrite
-
FindPred_spec
;
last
by
omega
.
wp_focus
(
FindPred
_
_
).
rewrite
-
FindPred_spec
;
last
by
omega
.
wp_op
.
by
replace
(
n
-
1
)
with
(
-
(
-
n
+
2
-
1
))
by
omega
.
wp_op
.
by
replace
(
n
-
1
)
with
(
-
(
-
n
+
2
-
1
))
by
omega
.
-
rewrite
-
FindPred_spec
;
eauto
with
omega
.
-
rewrite
-
FindPred_spec
;
eauto
with
omega
.
...
...
This diff is collapsed.
Click to expand it.
heap_lang/wp_tactics.v
+
1
−
1
View file @
5b0340e6
...
@@ -141,7 +141,7 @@ Tactic Notation "wp" ">" tactic(tac) :=
...
@@ -141,7 +141,7 @@ Tactic Notation "wp" ">" tactic(tac) :=
match
goal
with
match
goal
with
|
|-
_
⊑
wp
?
E
?
e
?
Q
=>
reshape_expr
e
ltac
:
(
fun
K
e
'
=>
wp_bind
K
;
tac
)
|
|-
_
⊑
wp
?
E
?
e
?
Q
=>
reshape_expr
e
ltac
:
(
fun
K
e
'
=>
wp_bind
K
;
tac
)
end
.
end
.
Tactic
Notation
"wp"
tactic
(
tac
)
:=
(
wp
>
tac
);
wp_strip_later
.
Tactic
Notation
"wp"
tactic
(
tac
)
:=
(
wp
>
tac
);
[
wp_strip_later
|
..]
.
(
*
In
case
the
precondition
does
not
match
*
)
(
*
In
case
the
precondition
does
not
match
*
)
Tactic
Notation
"ewp"
tactic
(
tac
)
:=
wp
(
etrans
;
[
|
tac
]).
Tactic
Notation
"ewp"
tactic
(
tac
)
:=
wp
(
etrans
;
[
|
tac
]).
...
...
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