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

Bump Iris (beautify code for `iCombine .. gives`).

parent 31b71f8f
Branches
No related tags found
No related merge requests found
Pipeline #78880 failed
...@@ -8,7 +8,7 @@ dev-repo: "git+https://gitlab.mpi-sws.org/iris/tutorial-popl18.git" ...@@ -8,7 +8,7 @@ dev-repo: "git+https://gitlab.mpi-sws.org/iris/tutorial-popl18.git"
synopsis: "The Iris tutorial at POPL 2021" synopsis: "The Iris tutorial at POPL 2021"
depends: [ depends: [
"coq-iris-heap-lang" { (= "dev.2022-08-11.5.b6b4b694") | (= "dev") } "coq-iris-heap-lang" { (= "dev.2023-03-09.0.f91e8eab") | (= "dev") }
] ]
build: [make "-j%{jobs}%"] build: [make "-j%{jobs}%"]
......
...@@ -100,7 +100,7 @@ Section proof2. ...@@ -100,7 +100,7 @@ Section proof2.
own γ (E n) -∗ own γ (E m) -∗ n = m ⌝. own γ (E n) -∗ own γ (E m) -∗ n = m ⌝.
Proof. Proof.
iIntros "Hγ● Hγ◯". iIntros "Hγ● Hγ◯".
by iDestruct (own_valid_2 with "Hγ● Hγ◯") as %?%excl_auth_agree_L. by iCombine "Hγ● Hγ◯" gives %?%excl_auth_agree_L.
Qed. Qed.
Lemma ghost_var_update γ n' n m : Lemma ghost_var_update γ n' n m :
...@@ -203,7 +203,7 @@ Section proof3. ...@@ -203,7 +203,7 @@ Section proof3.
- iIntros (??) "[Hγ1◯ Hγ2◯] !>". wp_seq. - iIntros (??) "[Hγ1◯ Hγ2◯] !>". wp_seq.
iInv "Hinv" as (n) "(Hr & Hγ●)" "Hclose". iInv "Hinv" as (n) "(Hr & Hγ●)" "Hclose".
wp_load. iCombine "Hγ1◯ Hγ2◯" as "Hγ◯". wp_load. iCombine "Hγ1◯ Hγ2◯" as "Hγ◯".
iDestruct (own_valid_2 with "Hγ● Hγ◯") as %->%frac_auth_agree_L. iCombine "Hγ● Hγ◯" gives %->%frac_auth_agree_L.
iMod ("Hclose" with "[Hr Hγ●]") as "_". iMod ("Hclose" with "[Hr Hγ●]") as "_".
{ iExists _. iFrame. } { iExists _. iFrame. }
by iApply "Post". by iApply "Post".
......
...@@ -45,7 +45,7 @@ Section proof. ...@@ -45,7 +45,7 @@ Section proof.
own γ (E b) -∗ own γ (E c) -∗ b = c ⌝. own γ (E b) -∗ own γ (E c) -∗ b = c ⌝.
Proof. Proof.
iIntros "Hγ● Hγ◯". iIntros "Hγ● Hγ◯".
by iDestruct (own_valid_2 with "Hγ● Hγ◯") as %<-%excl_auth_agree_L. by iCombine "Hγ● Hγ◯" gives %<-%excl_auth_agree_L.
Qed. Qed.
Lemma ghost_var_update γ b' b c : Lemma ghost_var_update γ b' b c :
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment