From 93765638a5bb8a9ca744c12f7a38186d361e60f5 Mon Sep 17 00:00:00 2001 From: Ralf Jung <post@ralfj.de> Date: Tue, 2 Feb 2016 14:05:57 +0100 Subject: [PATCH] remark a TODO for later --- barrier/lifting.v | 2 ++ 1 file changed, 2 insertions(+) diff --git a/barrier/lifting.v b/barrier/lifting.v index 6251fafc4..e5e821312 100644 --- a/barrier/lifting.v +++ b/barrier/lifting.v @@ -21,6 +21,8 @@ Lemma wp_alloc_pst E σ e v Q : (ownP σ ★ ▷ (∀ l, ■(σ !! l = None) ∧ ownP (<[l:=v]>σ) -★ Q (LocV l))) ⊑ wp E (Alloc e) Q. Proof. + (* TODO RJ: Without the set, ssreflect rewrite doesn't work. Figure out why or + reprot a bug. *) intros. set (φ v' σ' := ∃ l, v' = LocV l ∧ σ' = <[l:=v]>σ ∧ σ !! l = None). rewrite -(wp_lift_atomic_step (Alloc e) φ σ) // /φ; last by intros; inv_step; eauto 8. -- GitLab