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
65bf25e2
Commit
65bf25e2
authored
4 years ago
by
Michael Sammler
Browse files
Options
Downloads
Patches
Plain Diff
update Iris
parent
6f5c7cd2
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Pipeline
#34219
passed
4 years ago
Stage: build
Changes
2
Pipelines
3
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
+1
-22
1 addition, 22 deletions
theories/lang/heap.v
with
2 additions
and
23 deletions
refinedc.opam
+
1
−
1
View file @
65bf25e2
...
...
@@ -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-
03.1.7dd1b
9a
f
") | (= "dev") }
"coq-iris" { (= "dev.2020-09-
14.5.5d04e
9a
a
") | (= "dev") }
]
build: [make "-j%{jobs}%"]
...
...
This diff is collapsed.
Click to expand it.
theories/lang/heap.v
+
1
−
22
View file @
65bf25e2
...
...
@@ -208,7 +208,7 @@ Section heap.
Proof
.
rewrite
heap_mapsto_mbyte_eq
-
own_op
-
auth_frag_op
own_valid
discrete_valid
.
eapply
pure_elim
;
[
done
|]=>
/
auth_frag_valid
/=.
rewrite
singleton_op
-
pair_op
singleton_valid
=>
-
[?
/
agree_op_invL
'
->
];
eauto
.
rewrite
singleton_op
-
pair_op
singleton_valid
=>
-
[?
/
to_
agree_op_inv
_
L
->
];
eauto
.
Qed
.
Lemma
heap_mapsto_agree
l
q1
q2
v1
v2
:
...
...
@@ -398,27 +398,6 @@ Section heap.
rewrite
heap_mapsto_cons
heap_mapsto_mbyte_eq
.
by
iFrame
.
Qed
.
(* Lemma heap_write v l h v' : *)
(* length v = length v' → *)
(* heap_ctx h -∗ l ↦ v' ==∗ heap_ctx (heap_upd l v h) ∗ l ↦ v. *)
(* Proof. *)
(* elim: v v' l h. by move => [|??] //= ? l h; iIntros "$ $". *)
(* move => b v IH [|b' v'] //= l h [?]. *)
(* iIntros "Hctx Hl". *)
(* iDestruct (heap_lookup {| ly_size := S (length v')|} with "Hctx Hl") as %[? _] => //. *)
(* rewrite heap_mapsto_cons heap_mapsto_mbyte_eq. *)
(* iDestruct "Hl" as "[Hb Hmt]". *)
(* iMod (IH with "Hctx Hmt") as "[Hctx Hl]" => //. iRevert "Hb". iIntros "Hb". *)
(* rewrite heap_mapsto_cons heap_mapsto_mbyte_eq. iFrame. *)
(* iStopProof. *)
(* rewrite -!own_op to_heap_insert. *)
(* apply own_update, auth_update. *)
(* eapply (singleton_local_update _ _ (1%Qp, to_agree b') _ (1%Qp, to_agree b)). *)
(* - rewrite lookup_fmap heap_upd_lookup_lt //. by simplify_map_eq. *)
(* - by apply exclusive_local_update. *)
(* Qed. *)
Lemma
heap_free_free
l
ly
h
:
heap_ctx
h
-∗
l
↦|
ly
|
==∗
heap_ctx
(
heap_free
l
ly
.(
ly_size
)
h
)
.
Proof
.
...
...
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