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

Bump std++ and rewrite `Proper` of `from_option` to match new `Params`.

parent 5d80dfef
No related branches found
No related tags found
No related merge requests found
......@@ -15,7 +15,7 @@ iris.prelude, iris.algebra, iris.si_logic, iris.bi, iris.proofmode, iris.base_lo
depends: [
"coq" { (>= "8.12" & < "8.14~") | (= "dev") }
"coq-stdpp" { (= "dev.2021-06-08.1.17776cbd") | (= "dev") }
"coq-stdpp" { (= "dev.2021-06-11.0.ca70af1d") | (= "dev") }
]
build: ["./make-package" "iris" "-j%{jobs}%"]
......
......@@ -1020,8 +1020,8 @@ Section option.
Proof. destruct 1; split; eauto. Qed.
Global Instance Some_dist_inj n : Inj (dist n) (dist n) (@Some A).
Proof. by inversion_clear 1. Qed.
Global Instance from_option_ne {B} (R : relation B) (f : A B) n :
Proper (dist n ==> R) f Proper (R ==> dist n ==> R) (from_option f).
Global Instance from_option_ne {B} (R : relation B) n :
Proper ((dist (A:=A) n ==> R) ==> R ==> dist n ==> R) from_option.
Proof. destruct 3; simpl; auto. Qed.
Global Instance None_discrete : Discrete (@None A).
......
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