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

Show that `plainly` is an internal version of validity.

parent 2c2f36f5
No related branches found
No related tags found
2 merge requests!122Repair the plainly modality,!66Generalized proofmode
...@@ -1083,6 +1083,13 @@ Qed. ...@@ -1083,6 +1083,13 @@ Qed.
Lemma impl_wand_plainly_2 P Q : (bi_plainly P -∗ Q) (bi_plainly P Q). Lemma impl_wand_plainly_2 P Q : (bi_plainly P -∗ Q) (bi_plainly P Q).
Proof. apply impl_intro_l. by rewrite plainly_and_sep_l_1 wand_elim_r. Qed. Proof. apply impl_intro_l. by rewrite plainly_and_sep_l_1 wand_elim_r. Qed.
Lemma valid_plainly P : bi_valid (bi_plainly P) bi_valid P.
Proof.
rewrite /bi_valid. split; intros HP.
- by rewrite -(idemp bi_and emp%I) {2}HP plainly_and_emp_elim.
- by rewrite (plainly_emp_intro emp%I) HP.
Qed.
Section plainly_affinely_bi. Section plainly_affinely_bi.
Context `{BiAffine PROP}. Context `{BiAffine PROP}.
......
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