Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
RefinedC
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
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
Iris
RefinedC
Commits
9e1211df
Commit
9e1211df
authored
4 years ago
by
Michael Sammler
Browse files
Options
Downloads
Patches
Plain Diff
update iris
parent
5e48304d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#35005
passed
4 years ago
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
refinedc.opam
+1
-1
1 addition, 1 deletion
refinedc.opam
theories/lang/heap.v
+3
-3
3 additions, 3 deletions
theories/lang/heap.v
with
4 additions
and
4 deletions
refinedc.opam
+
1
−
1
View file @
9e1211df
...
...
@@ -14,7 +14,7 @@ RefinedC: Framework for verifying low-level code using refinement types and owne
depends: [
"coq" { (>= "8.11.0" & < "8.12~") | (= "dev") }
"coq-iris" { (= "dev.2020-09-
14.5.5d04e9aa
") | (= "dev") }
"coq-iris" { (= "dev.2020-09-
29.7.19ba2bc0
") | (= "dev") }
]
build: [make "-j%{jobs}%"]
...
...
This diff is collapsed.
Click to expand it.
theories/lang/heap.v
+
3
−
3
View file @
9e1211df
...
...
@@ -125,7 +125,7 @@ Section fntbl.
fntbl_ctx
t
-∗
fntbl_entry
f
fn
-∗
⌜
t
!!
f
=
Some
fn
⌝.
Proof
.
rewrite
fntbl_entry_eq
.
iIntros
"Htbl Hf"
.
iDestruct
(
own_valid_2
with
"Htbl Hf"
)
as
%
[
Hf
?]
%
auth_both_valid
.
iDestruct
(
own_valid_2
with
"Htbl Hf"
)
as
%
[
Hf
?]
%
auth_both_valid
_discrete
.
iPureIntro
.
move
:
Hf
=>
/
singleton_included_l
[
f'
]
.
rewrite
lookup_fmap
fmap_Some_equiv
=>
[[[
f''
[?
->
]]]]
/
Some_included_total
/
to_agree_included
.
by
intros
->%
leibniz_equiv
.
...
...
@@ -263,7 +263,7 @@ Section heap.
h
!!
l
=
Some
(
match
ls
with
RSt
n
=>
RSt
(
n
+
n'
)
|
WSt
=>
WSt
end
,
b
)
⌝.
Proof
.
iIntros
"H● H◯"
.
iDestruct
(
own_valid_2
with
"H● H◯"
)
as
%
[
Hl
?]
%
auth_both_valid
.
iDestruct
(
own_valid_2
with
"H● H◯"
)
as
%
[
Hl
?]
%
auth_both_valid
_discrete
.
iPureIntro
.
move
:
Hl
=>
/
singleton_included_l
[[[
q'
ls'
]
dv
]]
.
rewrite
/
to_heap
lookup_fmap
fmap_Some_equiv
.
move
=>
[[[
ls''
v'
]
[?[[
/=
??]
->
]]]];
simplify_eq
.
...
...
@@ -280,7 +280,7 @@ Section heap.
⌜
h
!!
l
=
Some
(
ls
,
b
)
⌝.
Proof
.
iIntros
"H● H◯"
.
iDestruct
(
own_valid_2
with
"H● H◯"
)
as
%
[
Hl
?]
%
auth_both_valid
.
iDestruct
(
own_valid_2
with
"H● H◯"
)
as
%
[
Hl
?]
%
auth_both_valid
_discrete
.
iPureIntro
.
move
:
Hl
=>
/
singleton_included_l
[[[
q'
ls'
]
dv
]]
.
rewrite
/
to_heap
lookup_fmap
fmap_Some_equiv
.
move
=>
[[[
ls''
v'
]
[?[[
/=
??]
->
]]]
Hincl
];
simplify_eq
.
...
...
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