Syntax for framing the entire persistent context.
-
mentioned in issue #23 (closed)
-
Contributor
it looks like I just tried to use
iFrame
frame out a thing in Coq context ... but never mind -
Owner
Yeah, that still doesn't work.
-
Maintainer
What exactly does not work. Do you have some code demonstrating the issue?
-
Contributor
Sorry for not clarifying this ... for example,
H : heapN ⊥ N o, n, n' : nat ============================ "~" : heap_ctx "~2" : inv N (lock_inv γ1 γ2 lo ln R) "IH" : own γ2 (Excl ()) -★ R -★ Φ #() -★ WP release (#lo, #ln) {{ v, Φ v }} "~3" : heapN ⊥ N --------------------------------------□ "Hlo'" : lo ↦ #(o + 1) "HR" : R "Hγ" : own γ2 (Excl ()) --------------------------------------★ heapN ⊥ N ∧ lo ↦ #(o + 1%nat) ★ (own γ2 (Excl ()) ★ R ∨ auth_own γ1 (GSet {[(o + 1)%nat]}))
If I now
iFrame
,H
in Coq context (or even~3
... this hypothesis is littered by me everywhere ...) have no effect on theheapN ⊥ N
in goal. I have to doiSplit; first by auto
.The snippet is from
ticket_lock.v
(the version here https://gitlab.mpi-sws.org/FP/iris-coq/commit/3f3ead3512c0fba3b3682fb02b703987463dcb55)
Please register or sign in to comment