Skip to content

Commit 7a43302

Browse files
committed
support Iris 4.3.0, Coq 8.20.0
1 parent 4525eb9 commit 7a43302

File tree

5 files changed

+14
-17
lines changed

5 files changed

+14
-17
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
opam init
2121
opam repo add coq-released https://coq.inria.fr/opam/released
2222
opam update
23-
opam pin coq 8.19.1 --confirm-level=yes
24-
opam pin coq-iris 4.2.0 --confirm-level=yes
25-
opam pin coq-iris-heap-lang 4.2.0 --confirm-level=yes
23+
opam pin coq 8.20.0 --confirm-level=yes
24+
opam pin coq-iris 4.3.0 --confirm-level=yes
25+
opam pin coq-iris-heap-lang 4.3.0 --confirm-level=yes
2626
2727
- name: Run check
2828
run: |

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -74,14 +74,14 @@ Using this technology, we have shown that storage protocols are useful for:
7474

7575
# Getting started
7676

77-
Leaf works with Iris 4.2.0 and is tested with Coq 8.19.1.
77+
Leaf works with Iris 4.3.0 and is tested with Coq 8.20.0.
7878
See [the Iris docs](https://gitlab.mpi-sws.org/iris/iris/) for more information about installing Iris.
7979

8080
Make sure you have the right versions:
8181

8282
```
83-
opam pin coq 8.19.1
84-
opam pin coq-iris 4.2.0
83+
opam pin coq 8.20.0
84+
opam pin coq-iris 4.3.0
8585
```
8686

8787
## Documentation and further reading

_CoqProject

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,3 +52,4 @@ src/examples/heap_lang_wp_load_shared.v
5252
-arg -w -arg -redundant-canonical-projection
5353
-arg -w -arg -unknown-warning
5454
-arg -w -arg -argument-scope-delimiter
55+
-arg -w -arg -notation-incompatible-prefix

src/examples/counting.v

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ Require Import guarding.storage_protocol.protocol.
1616

1717
Require Import examples.misc_tactics.
1818

19-
Context {Σ: gFunctors}.
20-
Context `{!invGS Σ}.
21-
2219
Definition COUNT_NAMESPACE := nroot .@ "count".
2320

2421
Inductive Co :=

src/guarding/tactics.v

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,16 +84,16 @@ Qed.
8484
End TacticsHelpers.
8585

8686
Tactic Notation "leaf_hyp" constr(g1) "rhs" "to" open_constr(Q) "as" constr(g2) :=
87-
iPoseProof (guard_weaken_helper_right _ _ Q with (append g1 " []")) as g2.
87+
iPoseProof (guard_weaken_helper_right _ _ Q with (String.append g1 " []")) as g2.
8888

8989
Tactic Notation "leaf_hyp" constr(g1) "rhs" "to" open_constr(Q) "laters" "plus" open_constr(n) "as" constr(g2) :=
90-
iPoseProof (guard_weaken_helper_right_laters_plus _ _ Q _ _ n with (append g1 " []")) as g2.
90+
iPoseProof (guard_weaken_helper_right_laters_plus _ _ Q _ _ n with (String.append g1 " []")) as g2.
9191

9292
Tactic Notation "leaf_hyp" constr(g1) "lhs" "to" open_constr(Q) "as" constr(g2) :=
93-
iPoseProof (guard_weaken_helper_left Q with (append g1 " []")) as g2.
93+
iPoseProof (guard_weaken_helper_left Q with (String.append g1 " []")) as g2.
9494

9595
Tactic Notation "leaf_hyp" constr(g1) "lhs" "to" open_constr(Q) "laters" "plus" open_constr(n) "as" constr(g2) :=
96-
iPoseProof (guard_weaken_helper_left_laters_plus Q _ _ _ _ n with (append g1 " []")) as g2.
96+
iPoseProof (guard_weaken_helper_left_laters_plus Q _ _ _ _ n with (String.append g1 " []")) as g2.
9797

9898
Tactic Notation "leaf_hyp" constr(g1) "mask" "to" open_constr(E) "as" constr(g2) :=
9999
iPoseProof (lguards_mask_weaken _ _ _ E with g1) as g2.
@@ -126,16 +126,15 @@ Tactic Notation "leaf_by_sep_except0" :=
126126
iApply lguards_weaken_except0; iModIntro.
127127

128128
Tactic Notation "leaf_open" constr(g) "with" constr(sel) "as" constr(pat) :=
129-
iMod (guards_open_helper with (append g (append " " sel))) as pat.
129+
iMod (guards_open_helper with (String.append g (String.append " " sel))) as pat.
130130

131131
Tactic Notation "leaf_open_laters" constr(g) "with" constr(sel) "as" constr(pat) :=
132-
iMod (lguards_open_helper with (append g (append " " sel))) as pat.
132+
iMod (lguards_open_helper with (String.append g (String.append " " sel))) as pat.
133133

134+
Section TacticsTests.
134135

135136
Context {Σ: gFunctors}.
136137
Context `{!invGS Σ}.
137-
138-
Section TacticsTests.
139138

140139
Local Lemma test_leaf_hyp (A B C D : iProp Σ) E
141140
: (A &&{∅ ; 3}&&> B ∗ C) ⊢ (A ∗ D &&{E ; 20}&&> B).

0 commit comments

Comments
 (0)