Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Iris
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
Package Registry
Model registry
Operate
Terraform modules
Monitor
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
Pierre Roux
Iris
Commits
1f4a4d60
Commit
1f4a4d60
authored
6 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
more docs
parent
0c5631c4
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
theories/heap_lang/proofmode.v
+7
-4
7 additions, 4 deletions
theories/heap_lang/proofmode.v
with
7 additions
and
4 deletions
theories/heap_lang/proofmode.v
+
7
−
4
View file @
1f4a4d60
...
@@ -355,6 +355,9 @@ Proof.
...
@@ -355,6 +355,9 @@ Proof.
Qed
.
Qed
.
End
heap
.
End
heap
.
(** Evaluate [lem] to a hypothesis [H] that can be applied, and then run
[wp_bind K; tac H] for every possible evaluation context. [tac] can do
[iApplyHyp H] to actually apply the hypothesis. *)
Tactic
Notation
"wp_apply_core"
open_constr
(
lem
)
tactic
(
tac
)
:=
Tactic
Notation
"wp_apply_core"
open_constr
(
lem
)
tactic
(
tac
)
:=
wp_pures
;
wp_pures
;
iPoseProofCore
lem
as
false
true
(
fun
H
=>
iPoseProofCore
lem
as
false
true
(
fun
H
=>
...
@@ -375,10 +378,10 @@ Tactic Notation "wp_apply_core" open_constr(lem) tactic(tac) :=
...
@@ -375,10 +378,10 @@ Tactic Notation "wp_apply_core" open_constr(lem) tactic(tac) :=
end
)
.
end
)
.
Tactic
Notation
"wp_apply"
open_constr
(
lem
)
:=
Tactic
Notation
"wp_apply"
open_constr
(
lem
)
:=
wp_apply_core
lem
(
fun
H
=>
iApplyHyp
H
;
try
iNext
;
try
wp_expr_simpl
)
.
wp_apply_core
lem
(
fun
H
=>
iApplyHyp
H
;
try
iNext
;
try
wp_expr_simpl
)
.
(** Tactic tailored for atomic triples: the first, simple one just runs
iAuIntro
(** Tactic tailored for atomic triples: the first, simple one just runs
on the goal, as atomic triples always have an atomic update as their
premise.
[iAuIntro]
on the goal, as atomic triples always have an atomic update as their
The second one additionaly does some framing: it gets rid of
`
Hs
`
from
the
premise.
The second one additionaly does some framing: it gets rid of
[
Hs
]
from
context, which is intended to be the non-laterable assertions that iAuIntro
the
context, which is intended to be the non-laterable assertions that iAuIntro
would choke on. You get them all back in the continuation of the atomic
would choke on. You get them all back in the continuation of the atomic
operation. *)
operation. *)
Tactic
Notation
"awp_apply"
open_constr
(
lem
)
:=
Tactic
Notation
"awp_apply"
open_constr
(
lem
)
:=
...
...
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