Skip to content
Snippets Groups Projects
Commit 7802cf1a authored by Jacques-Henri Jourdan's avatar Jacques-Henri Jourdan
Browse files

Clarify some precedences.

parent a62f5782
No related branches found
No related tags found
No related merge requests found
...@@ -131,7 +131,7 @@ Qed. ...@@ -131,7 +131,7 @@ Qed.
Lemma idx_bor_atomic_acc E q κ i P : Lemma idx_bor_atomic_acc E q κ i P :
lftN E lftN E
lft_ctx -∗ &{κ,i}P -∗ idx_bor_own q i ={E,E∖↑lftN}=∗ lft_ctx -∗ &{κ,i}P -∗ idx_bor_own q i ={E,E∖↑lftN}=∗
P ( P ={E∖↑lftN,E}=∗ idx_bor_own q i) ( P ( P ={E∖↑lftN,E}=∗ idx_bor_own q i))
([κ] |={E∖↑lftN,E}=> idx_bor_own q i). ([κ] |={E∖↑lftN,E}=> idx_bor_own q i).
Proof. Proof.
unfold idx_bor, idx_bor_own. iIntros (HE) "#LFT [#Hle #Hs] Hbor". unfold idx_bor, idx_bor_own. iIntros (HE) "#LFT [#Hle #Hs] Hbor".
...@@ -230,7 +230,7 @@ Lemma bor_acc_atomic_strong E κ P : ...@@ -230,7 +230,7 @@ Lemma bor_acc_atomic_strong E κ P :
lft_ctx -∗ &{κ} P ={E,E∖↑lftN}=∗ lft_ctx -∗ &{κ} P ={E,E∖↑lftN}=∗
( κ', κ κ' P ( κ', κ κ' P
Q, Q -∗ ( Q -∗ [κ'] ={⊤∖↑lftN}=∗ P) ={E∖↑lftN,E}=∗ &{κ'} Q) Q, Q -∗ ( Q -∗ [κ'] ={⊤∖↑lftN}=∗ P) ={E∖↑lftN,E}=∗ &{κ'} Q)
[κ] |={E∖↑lftN,E}=> True. ([κ] |={E∖↑lftN,E}=> True).
Proof. Proof.
iIntros (HE) "#LFT Hbor". rewrite bor_unfold_idx /idx_bor /bor /raw_bor. iIntros (HE) "#LFT Hbor". rewrite bor_unfold_idx /idx_bor /bor /raw_bor.
iDestruct "Hbor" as (i) "((#Hle & #Hs) & Hbor)". iDestruct "Hbor" as (i) "((#Hle & #Hs) & Hbor)".
...@@ -287,7 +287,7 @@ Qed. ...@@ -287,7 +287,7 @@ Qed.
Lemma bor_acc_atomic E κ P : Lemma bor_acc_atomic E κ P :
lftN E lftN E
lft_ctx -∗ &{κ}P ={E,E∖↑lftN}=∗ lft_ctx -∗ &{κ}P ={E,E∖↑lftN}=∗
P ( P ={E∖↑lftN,E}=∗ &{κ}P) [κ] |={E∖↑lftN,E}=> True. ( P ( P ={E∖↑lftN,E}=∗ &{κ}P)) ([κ] |={E∖↑lftN,E}=> True).
Proof. Proof.
iIntros (?) "#LFT HP". iIntros (?) "#LFT HP".
iMod (bor_acc_atomic_strong with "LFT HP") as "[H|[H† Hclose]]". done. iMod (bor_acc_atomic_strong with "LFT HP") as "[H|[H† Hclose]]". done.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment