Skip to content
Snippets Groups Projects
Commit b7401c68 authored by Ralf Jung's avatar Ralf Jung
Browse files

Revert "Remove FIXME now that ssr bug #22 is fixed."

We should not depend on unreleased, git-only versions.
This reverts commit ee948028.
parent 705d580e
No related branches found
No related tags found
No related merge requests found
...@@ -4,9 +4,15 @@ PREREQUISITES ...@@ -4,9 +4,15 @@ PREREQUISITES
This version is known to compile with: This version is known to compile with:
- Coq 8.5 - Coq 8.5
- Ssreflect >= 3cc0493 - Ssreflect 1.6
- Autosubst 1.4 - Autosubst 1.4
For development, better make sure you have a version of Ssreflect that includes
commit be724937 (no such version has been released so far, you will have to
fetch the development branch yourself). Iris compiles fine even without this
patch, but proof bullets will only be in 'strict' (enforcing) mode with the
fixed version of Ssreflect.
BUILDING INSTRUCTIONS BUILDING INSTRUCTIONS
--------------------- ---------------------
......
...@@ -21,8 +21,9 @@ Lemma wp_alloc_pst E σ e v Q : ...@@ -21,8 +21,9 @@ Lemma wp_alloc_pst E σ e v Q :
(ownP σ ( l, (σ !! l = None) ownP (<[l:=v]>σ) -★ Q (LocV l))) (ownP σ ( l, (σ !! l = None) ownP (<[l:=v]>σ) -★ Q (LocV l)))
wp E (Alloc e) Q. wp E (Alloc e) Q.
Proof. Proof.
intros; rewrite -(wp_lift_atomic_step (Alloc e) (λ v' σ' ef, (* TODO RJ: This works around ssreflect bug #22. *)
l, ef = None v' = LocV l σ' = <[l:=v]>σ σ !! l = None) σ) //; intros. set (φ v' σ' ef := l, ef = @None expr v' = LocV l σ' = <[l:=v]>σ σ !! l = None).
rewrite -(wp_lift_atomic_step (Alloc e) φ σ) // /φ;
last by intros; inv_step; eauto 8. last by intros; inv_step; eauto 8.
apply sep_mono, later_mono; first done. apply sep_mono, later_mono; first done.
apply forall_intro=>e2; apply forall_intro=>σ2; apply forall_intro=>ef. apply forall_intro=>e2; apply forall_intro=>σ2; apply forall_intro=>ef.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment