From c792139caf7e834d0cae6b3cba63cfa12f9d6040 Mon Sep 17 00:00:00 2001 From: Ralf Jung <jung@mpi-sws.org> Date: Mon, 8 Aug 2016 11:09:29 +0200 Subject: [PATCH] Fix building with ssreflect 1.6 I do not know why we have to split the rewrite here, but it seems we do. --- program_logic/adequacy.v | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/program_logic/adequacy.v b/program_logic/adequacy.v index f8927d9da..a6b3dbb89 100644 --- a/program_logic/adequacy.v +++ b/program_logic/adequacy.v @@ -94,7 +94,8 @@ Lemma wptp_result n e1 t1 v2 t2 σ1 σ2 φ : world σ1 ★ WP e1 {{ v, ■φ v }} ★ wptp t1 ⊢ Nat.iter (S (S n)) (λ P, |=r=> ▷ P) (■φ v2). Proof. - intros. rewrite wptp_steps // (Nat_iter_S_r (S n)); []. apply: rvs_iter_mono. + intros. rewrite wptp_steps //. + rewrite (Nat_iter_S_r (S n)). apply rvs_iter_mono. iDestruct 1 as (e2 t2') "(% & (Hw & HE & _) & H & _)"; simplify_eq. iDestruct (wp_value_inv with "H") as "H". rewrite pvs_eq /pvs_def. iVs ("H" with "[Hw HE]") as ">(_ & _ & $)"; iFrame; auto. -- GitLab