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

update to Coq 8.18

parent c08f1954
No related branches found
No related tags found
1 merge request!32update to Coq 8.18
Pipeline #90189 passed
......@@ -28,10 +28,10 @@ variables:
## Build jobs
build-coq.8.17.0:
build-coq.8.18.0:
<<: *template
variables:
OPAM_PINS: "coq version 8.17.0"
OPAM_PINS: "coq version 8.18.0"
DENY_WARNINGS: "1"
MANGLE_NAMES: "1"
tags:
......@@ -40,7 +40,7 @@ build-coq.8.17.0:
trigger-iris.timing:
<<: *template
variables:
OPAM_PINS: "coq version 8.17.0 git+https://gitlab.mpi-sws.org/$IRIS_REPO#$IRIS_REV"
OPAM_PINS: "coq version 8.18.0 git+https://gitlab.mpi-sws.org/$IRIS_REPO#$IRIS_REV"
tags:
- fp-timing
only:
......
......@@ -6,7 +6,7 @@ This is the Coq development accompanying lambda-Rust.
This version is known to compile with:
- Coq 8.17.0
- Coq 8.18.0
- A development version of [Iris](https://gitlab.mpi-sws.org/iris/iris)
## Building from source
......
......@@ -91,7 +91,7 @@ Section to_heap.
Implicit Types σ : state.
Lemma to_heap_valid σ : to_heap σ.
Proof. intros l. rewrite lookup_fmap. case (σ !! l)=> [[[|n] v]|] //=. Qed.
Proof. intros l. rewrite lookup_fmap. destruct (σ !! l) as [[[|n] v]|] eqn:EQ; rewrite EQ //. Qed.
Lemma lookup_to_heap_None σ l : σ !! l = None to_heap σ !! l = None.
Proof. by rewrite /to_heap lookup_fmap=> ->. Qed.
......
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