Skip to content
Snippets Groups Projects
Commit 1ded5657 authored by Robbert Krebbers's avatar Robbert Krebbers
Browse files

Rule for eliminating a raw view shift into a pure proposition.

parent a3ef69f2
No related branches found
No related tags found
No related merge requests found
...@@ -1209,6 +1209,11 @@ Proof. ...@@ -1209,6 +1209,11 @@ Proof.
exists (y x3); split; first by rewrite -assoc. exists (y x3); split; first by rewrite -assoc.
exists y; eauto using cmra_includedN_l. exists y; eauto using cmra_includedN_l.
Qed. Qed.
Lemma rvs_later_pure φ : (|=r=> φ) φ.
Proof.
unseal; split=> -[|n] x ? Hvs; simpl in *; first done.
by destruct (Hvs (S n) (core x)) as (x'&?&?); [omega|by rewrite cmra_core_r|].
Qed.
(** * Derived rules *) (** * Derived rules *)
Global Instance rvs_mono' : Proper (() ==> ()) (@uPred_rvs M). Global Instance rvs_mono' : Proper (() ==> ()) (@uPred_rvs M).
......
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