From 93eb2615c36f7d87f164d567662b36259e58cc25 Mon Sep 17 00:00:00 2001 From: Ralf Jung <jung@mpi-sws.org> Date: Mon, 9 Oct 2017 13:10:17 +0200 Subject: [PATCH] update std++; add test for solve_proper --- _CoqProject | 17 +++++++++-------- opam | 2 +- theories/tests/algebra.v | 10 ++++++++++ 3 files changed, 20 insertions(+), 9 deletions(-) create mode 100644 theories/tests/algebra.v diff --git a/_CoqProject b/_CoqProject index 6fac0e791..9687006a8 100644 --- a/_CoqProject +++ b/_CoqProject @@ -79,14 +79,6 @@ theories/heap_lang/lib/barrier/protocol.v theories/heap_lang/lib/barrier/proof.v theories/heap_lang/proofmode.v theories/heap_lang/adequacy.v -theories/tests/heap_lang.v -theories/tests/one_shot.v -theories/tests/joining_existentials.v -theories/tests/proofmode.v -theories/tests/barrier_client.v -theories/tests/list_reverse.v -theories/tests/tree_sum.v -theories/tests/ipm_paper.v theories/proofmode/strings.v theories/proofmode/tokens.v theories/proofmode/coq_tactics.v @@ -98,3 +90,12 @@ theories/proofmode/tactics.v theories/proofmode/notation.v theories/proofmode/classes.v theories/proofmode/class_instances.v +theories/tests/heap_lang.v +theories/tests/one_shot.v +theories/tests/joining_existentials.v +theories/tests/proofmode.v +theories/tests/barrier_client.v +theories/tests/list_reverse.v +theories/tests/tree_sum.v +theories/tests/ipm_paper.v +theories/tests/algebra.v diff --git a/opam b/opam index 6eb8fcb35..5c95815d9 100644 --- a/opam +++ b/opam @@ -12,5 +12,5 @@ remove: ["sh" "-c" "rm -rf '%{lib}%/coq/user-contrib/iris'"] depends: [ "coq" { >= "8.6.1" & < "8.8~" } "coq-mathcomp-ssreflect" { (>= "1.6.1" & < "1.7~") | (= "dev") } - "coq-stdpp" { (= "dev.2017-09-29.0") | (= "dev") } + "coq-stdpp" { (= "dev.2017-10-09.0") | (= "dev") } ] diff --git a/theories/tests/algebra.v b/theories/tests/algebra.v new file mode 100644 index 000000000..8505ef201 --- /dev/null +++ b/theories/tests/algebra.v @@ -0,0 +1,10 @@ +From iris.base_logic.lib Require Import invariants. + +Section tests. + Context `{invG Σ}. + + Program Definition test : (iProp Σ -n> iProp Σ) -n> (iProp Σ -n> iProp Σ) := + λne P v, (▷ (P v))%I. + Solve Obligations with solve_proper. + +End tests. -- GitLab