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

some of these changes were unnecessary

parent e02f4f37
No related branches found
No related tags found
No related merge requests found
Pipeline #35985 passed
...@@ -616,7 +616,7 @@ Section arc. ...@@ -616,7 +616,7 @@ Section arc.
+ setoid_subst. iDestruct "H" as (?) "(Hq & ? & ? & >? & >%)". subst. wp_read. + setoid_subst. iDestruct "H" as (?) "(Hq & ? & ? & >? & >%)". subst. wp_read.
iMod (own_update_2 with "H● H◯") as "H●". iMod (own_update_2 with "H● H◯") as "H●".
{ apply auth_update_dealloc. rewrite -{1}[(_, 0%nat)]right_id. { apply auth_update_dealloc. rewrite -{1}[(_, 0%nat)]right_id.
apply: cancel_local_update_unit. } apply cancel_local_update_unit, _. }
iMod ("Hclose" with "[H●]") as "_"; first by iExists _; iFrame. iMod ("Hclose" with "[H●]") as "_"; first by iExists _; iFrame.
iModIntro. wp_seq. wp_op. wp_let. wp_op. wp_write. iApply "HΦ". iModIntro. wp_seq. wp_op. wp_let. wp_op. wp_write. iApply "HΦ".
iDestruct "Hq" as %<-. iFrame. iDestruct "Hq" as %<-. iFrame.
......
...@@ -294,7 +294,7 @@ Section code. ...@@ -294,7 +294,7 @@ Section code.
-- iLeft. iSplit; first done. rewrite Hincls. iFrame "Hl†". -- iLeft. iSplit; first done. rewrite Hincls. iFrame "Hl†".
iMod (own_update_2 with "Hst Htok") as "Hst". iMod (own_update_2 with "Hst Htok") as "Hst".
{ apply auth_update_dealloc. rewrite -{1}(right_id (None, 0%nat) _ (_, _)). { apply auth_update_dealloc. rewrite -{1}(right_id (None, 0%nat) _ (_, _)).
apply: cancel_local_update_unit. } apply cancel_local_update_unit, _. }
rewrite -[in (1).[ν]%I]Hqq' -[(|={lft_userN,}=>_)%I]fupd_trans. rewrite -[in (1).[ν]%I]Hqq' -[(|={lft_userN,}=>_)%I]fupd_trans.
iApply step_fupd_mask_mono; iApply step_fupd_mask_mono;
last iMod ("Hνend" with "[$Hν $Hν1]") as "H†"; try done. last iMod ("Hνend" with "[$Hν $Hν1]") as "H†"; try done.
...@@ -329,7 +329,7 @@ Section code. ...@@ -329,7 +329,7 @@ Section code.
* iIntros "Hl1". * iIntros "Hl1".
iMod (own_update_2 with "Hst Htok") as "[Hst Htok]". iMod (own_update_2 with "Hst Htok") as "[Hst Htok]".
{ apply auth_update. etrans. { apply auth_update. etrans.
- rewrite [(Some _, weak)]pair_split. apply: cancel_local_update_unit. - rewrite [(Some _, weak)]pair_split. apply cancel_local_update_unit, _.
- apply (op_local_update _ _ (Some (Cinr (Excl tt)), 0%nat)). auto. } - apply (op_local_update _ _ (Some (Cinr (Excl tt)), 0%nat)). auto. }
rewrite -[(|={lft_userN,}=>_)%I]fupd_trans -[in (1).[ν]%I]Hqq'. rewrite -[(|={lft_userN,}=>_)%I]fupd_trans -[in (1).[ν]%I]Hqq'.
iApply step_fupd_mask_mono; iApply step_fupd_mask_mono;
...@@ -356,7 +356,7 @@ Section code. ...@@ -356,7 +356,7 @@ Section code.
iApply ("Hclose" with "[>- $Hna]"). iExists (None, 0%nat). iApply ("Hclose" with "[>- $Hna]"). iExists (None, 0%nat).
iMod (own_update_2 with "Hst Htok") as "$"; last done. iMod (own_update_2 with "Hst Htok") as "$"; last done.
apply auth_update_dealloc. rewrite -{1}(right_id (None, 0%nat) _ (_, _)). apply auth_update_dealloc. rewrite -{1}(right_id (None, 0%nat) _ (_, _)).
apply: cancel_local_update_unit. apply cancel_local_update_unit, _.
-- iRight. iSplitR; first by auto with lia. iIntros "!> Hl† Hl2 Hvl". -- iRight. iSplitR; first by auto with lia. iIntros "!> Hl† Hl2 Hvl".
iApply ("Hclose" with "[>- $Hna]"). iExists (None, S weak). iApply ("Hclose" with "[>- $Hna]"). iExists (None, S weak).
rewrite Hincls. iFrame. iSplitR "Hl2"; last first. rewrite Hincls. iFrame. iSplitR "Hl2"; last first.
......
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