Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Tej Chajed
iris
Commits
5b0340e6
Commit
5b0340e6
authored
Feb 20, 2016
by
Ralf Jung
Browse files
notes on wp failing
parent
f7643c59
Changes
2
Hide whitespace changes
Inline
Side-by-side
heap_lang/tests.v
View file @
5b0340e6
...
...
@@ -63,7 +63,8 @@ Section LiftingTests.
Proof
.
wp_lam
>
;
apply
later_mono
;
wp_op
=>
?
;
wp_if
.
-
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_op
.
by
replace
(
n
-
1
)
with
(-
(-
n
+
2
-
1
))
by
omega
.
-
rewrite
-
FindPred_spec
;
eauto
with
omega
.
...
...
heap_lang/wp_tactics.v
View file @
5b0340e6
...
...
@@ -141,7 +141,7 @@ Tactic Notation "wp" ">" tactic(tac) :=
match
goal
with
|
|-
_
⊑
wp
?E
?e
?Q
=>
reshape_expr
e
ltac
:
(
fun
K
e'
=>
wp_bind
K
;
tac
)
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 *)
Tactic
Notation
"ewp"
tactic
(
tac
)
:
=
wp
(
etrans
;
[|
tac
]).
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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