From 0412acb43fb362c39f5a97300f14a7342f00ea90 Mon Sep 17 00:00:00 2001 From: Robbert Krebbers <mail@robbertkrebbers.nl> Date: Thu, 7 Nov 2019 16:27:01 +0100 Subject: [PATCH] Consistent variable names in `tests/proofmode_monpred.v`. --- tests/proofmode_monpred.ref | 18 +++++++++--------- tests/proofmode_monpred.v | 11 ++++++----- 2 files changed, 15 insertions(+), 14 deletions(-) diff --git a/tests/proofmode_monpred.ref b/tests/proofmode_monpred.ref index 5b018493c..72d54d672 100644 --- a/tests/proofmode_monpred.ref +++ b/tests/proofmode_monpred.ref @@ -68,12 +68,12 @@ Tactic failure: iFrame: cannot frame (P i). Ī£ : gFunctors invG0 : invG Ī£ N : namespace - P : iProp Ī£ + š : iProp Ī£ ============================ - "H" : ā” inv N (<pers> P) ⤠- "H2" : ā” ā· <pers> P ⤠+ "H" : ā” inv N (<pers> š) ⤠+ "H2" : ā” ā· <pers> š ⤠--------------------------------------ā” - |={⤠ā āN}=> ā” ā· <pers> P ⤠ā (|={ā¤}=> ā” ā· P ā¤) + |={⤠ā āN}=> ā” ā· <pers> š ⤠ā (|={ā¤}=> ā” ā· š ā¤) 1 subgoal @@ -81,12 +81,12 @@ Tactic failure: iFrame: cannot frame (P i). Ī£ : gFunctors invG0 : invG Ī£ N : namespace - P : iProp Ī£ + š : iProp Ī£ ============================ - "H" : ā” inv N (<pers> P) ⤠- "H2" : ā” ā· <pers> P ⤠+ "H" : ā” inv N (<pers> š) ⤠+ "H2" : ā” ā· <pers> š ⤠--------------------------------------ā” - "Hclose" : ā” ā· <pers> P ={⤠ā āN,ā¤}=ā emp ⤠+ "Hclose" : ā” ā· <pers> š ={⤠ā āN,ā¤}=ā emp ⤠--------------------------------------ā - |={⤠ā āN,ā¤}=> ā” ā· P ⤠+ |={⤠ā āN,ā¤}=> ā” ā· š ⤠diff --git a/tests/proofmode_monpred.v b/tests/proofmode_monpred.v index 41c98a140..013a1e199 100644 --- a/tests/proofmode_monpred.v +++ b/tests/proofmode_monpred.v @@ -174,18 +174,19 @@ Section tests_iprop. Context {I : biIndex} `{!invG Ī£}. Local Notation monPred := (monPred I (iPropI Ī£)). - Implicit Types P : iProp Ī£. + Implicit Types P Q R : monPred. + Implicit Types š š š” : iProp Ī£. - Lemma test_iInv_0 N P: - embed (B:=monPred) (inv N (<pers> P)) ={ā¤}=ā ā”ā· Pā¤. + Lemma test_iInv_0 N š : + embed (B:=monPred) (inv N (<pers> š)) ={ā¤}=ā ā”ā· šā¤. Proof. iIntros "#H". iInv N as "#H2". Show. iModIntro. iSplit=>//. iModIntro. iModIntro; auto. Qed. - Lemma test_iInv_0_with_close N P: - embed (B:=monPred) (inv N (<pers> P)) ={ā¤}=ā ā”ā· Pā¤. + Lemma test_iInv_0_with_close N š : + embed (B:=monPred) (inv N (<pers> š)) ={ā¤}=ā ā”ā· šā¤. Proof. iIntros "#H". iInv N as "#H2" "Hclose". Show. -- GitLab