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
Gaëtan Gilbert
Iris
Commits
e2407f9f
Commit
e2407f9f
authored
4 years ago
by
Ralf Jung
Browse files
Options
Downloads
Patches
Plain Diff
heap_lang lifting: instantiate inv_heapG and inv_heap_inv
parent
6dba682d
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
tests/heap_lang.v
+1
-1
1 addition, 1 deletion
tests/heap_lang.v
theories/heap_lang/lifting.v
+3
-2
3 additions, 2 deletions
theories/heap_lang/lifting.v
with
4 additions
and
3 deletions
tests/heap_lang.v
+
1
−
1
View file @
e2407f9f
...
...
@@ -204,7 +204,7 @@ Section tests.
End
tests
.
Section
notation_tests
.
Context
`{
!
heapG
Σ
,
inv_heapG
loc
val
Σ
}
.
Context
`{
!
heapG
Σ
,
!
inv_heapG
Σ
}
.
(* Make sure these parse and type-check. *)
Lemma
inv_mapsto_own_test
(
l
:
loc
)
:
⊢
l
↦_
(
λ
_,
True
)
#
5
.
Abort
.
...
...
This diff is collapsed.
Click to expand it.
theories/heap_lang/lifting.v
+
3
−
2
View file @
e2407f9f
From
stdpp
Require
Import
fin_maps
.
From
iris
.
proofmode
Require
Import
tactics
.
From
iris
.
algebra
Require
Import
auth
gmap
.
From
iris
.
base_logic
.
lib
Require
Export
gen_heap
proph_map
.
From
iris
.
base_logic
.
lib
Require
Import
gen_inv_heap
.
From
iris
.
base_logic
.
lib
Require
Export
gen_heap
proph_map
gen_inv_heap
.
From
iris
.
program_logic
Require
Export
weakestpre
total_weakestpre
.
From
iris
.
program_logic
Require
Import
ectx_lifting
total_ectx_lifting
.
From
iris
.
heap_lang
Require
Export
lang
.
...
...
@@ -35,6 +34,8 @@ Notation "l ↦□ I" := (inv_mapsto (L:=loc) (V:=val) l I%stdpp%type)
(
at
level
20
,
format
"l ↦□ I"
)
:
bi_scope
.
Notation
"l ↦_ I v"
:=
(
inv_mapsto_own
(
L
:=
loc
)
(
V
:=
val
)
l
v
I
%
stdpp
%
type
)
(
at
level
20
,
I
at
level
9
,
format
"l ↦_ I v"
)
:
bi_scope
.
Notation
inv_heapG
:=
(
inv_heapG
loc
val
)
.
Notation
inv_heap_inv
:=
(
inv_heap_inv
loc
val
)
.
(** The tactic [inv_head_step] performs inversion on hypotheses of the shape
[head_step]. The tactic will discharge head-reductions starting from values, and
...
...
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