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

fewer linebreaks in the core

parent 48371b50
No related branches found
No related tags found
No related merge requests found
......@@ -13,25 +13,19 @@ Section core.
Context {M : ucmraT}.
Implicit Types P Q : uPred M.
Lemma coreP_intro P :
P -∗ coreP P.
Proof.
iIntros "HP". iIntros (Q HQ HPQ). by iApply HPQ.
Qed.
Lemma coreP_intro P : P -∗ coreP P.
Proof. iIntros "HP". iIntros (Q HQ HPQ). by iApply HPQ. Qed.
Global Instance coreP_persistent P :
PersistentP (coreP P).
Global Instance coreP_persistent P : PersistentP (coreP P).
Proof.
iIntros "HCP". iApply always_forall. iIntros (Q).
iApply always_forall. iIntros (HQ). iApply always_forall.
iIntros (HPQ). iApply HQ. unshelve iApply ("HCP" $! Q). done.
Qed.
Lemma corP_elim P :
PersistentP P coreP P -∗ P.
Lemma corP_elim P : PersistentP P coreP P -∗ P.
Proof.
iIntros (?) "HCP". unshelve iApply ("HCP" $! P).
iIntros "P". done.
iIntros (?) "HCP". unshelve iApply ("HCP" $! P). iIntros "P". done.
Qed.
End core.
......
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