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
William Mansky
Iris
Commits
a15dc76f
Commit
a15dc76f
authored
4 years ago
by
Robbert Krebbers
Browse files
Options
Downloads
Patches
Plain Diff
Put heap_lang tactics in better order.
parent
335c29dd
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
iris_heap_lang/proofmode.v
+1
-2
1 addition, 2 deletions
iris_heap_lang/proofmode.v
with
1 addition
and
2 deletions
iris_heap_lang/proofmode.v
+
1
−
2
View file @
a15dc76f
...
...
@@ -26,6 +26,7 @@ Tactic Notation "wp_expr_eval" tactic3(t) :=
[
let
x
:=
fresh
in
intros
x
;
t
;
unfold
x
;
notypeclasses
refine
eq_refl
|]
|
_
=>
fail
"wp_expr_eval: not a 'wp'"
end
.
Ltac
wp_expr_simpl
:=
wp_expr_eval
simpl
.
Lemma
tac_wp_pure
`{
!
heapG
Σ
}
Δ
Δ'
s
E
K
e1
e2
φ
n
Φ
:
PureExec
φ
n
e1
e2
→
...
...
@@ -65,8 +66,6 @@ Lemma tac_twp_value `{!heapG Σ} Δ s E (Φ : val → iPropI Σ) v :
envs_entails
Δ
(|
=
{
E
}=>
Φ
v
)
→
envs_entails
Δ
(
WP
(
Val
v
)
@
s
;
E
[{
Φ
}])
.
Proof
.
rewrite
envs_entails_eq
=>
->
.
by
rewrite
twp_value_fupd
.
Qed
.
Ltac
wp_expr_simpl
:=
wp_expr_eval
simpl
.
(** Simplify the goal if it is [WP] of a value.
If the postcondition already allows a fupd, do not add a second one.
But otherwise, *do* add a fupd. This ensures that all the lemmas applied
...
...
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