Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Iris
gpfsl
Commits
0fbb2bec
Commit
0fbb2bec
authored
Oct 07, 2021
by
Hai Dang
Browse files
Remove a TODO in na stack
parent
a1492abc
Changes
1
Hide whitespace changes
Inline
Side-by-side
theories/examples/stack/proof_na.v
View file @
0fbb2bec
...
...
@@ -36,6 +36,7 @@ Proof.
Qed
.
Definition
NAStack_def
:
=
fixpoint
NAStack'
.
(* The stack resources contain freeable blocks, so that we can deallocate it. *)
Definition
NAStack
s
A
:
=
(
⎡
†
s
…
1
⎤
∗
NAStack_def
s
A
)%
I
.
End
defs
.
...
...
@@ -53,7 +54,6 @@ Proof.
(* allocation *)
wp_apply
wp_new
;
[
done
..|].
iIntros
(
s
)
"([H†|%] & Hs & Hm)"
;
[|
done
].
(* TODO: we never reclaim the head, so H† is unused. *)
wp_let
.
(* initialize head as 0 *)
rewrite
own_loc_na_vec_singleton
.
wp_write
.
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment