From 056068abd228fefab4951a61700aa6d54fb88287 Mon Sep 17 00:00:00 2001 From: xleroy Date: Tue, 29 Jan 2013 09:10:29 +0000 Subject: Ported to Coq 8.4pl1. Merge of branches/coq-8.4. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@2101 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- lib/Postorder.v | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/Postorder.v') diff --git a/lib/Postorder.v b/lib/Postorder.v index 3a76b0de..4a83ea50 100644 --- a/lib/Postorder.v +++ b/lib/Postorder.v @@ -148,8 +148,8 @@ Proof. constructor; intros. eauto. caseEq (s.(map)!root); intros. congruence. exploit GREY; eauto. intros [? ?]; contradiction. - destruct (s.(map)!x) as []_eqn; try congruence. - destruct (s.(map)!y) as []_eqn; try congruence. + destruct (s.(map)!x) eqn:?; try congruence. + destruct (s.(map)!y) eqn:?; try congruence. exploit COLOR; eauto. intros. exploit GREY; eauto. intros [? ?]; contradiction. (* not finished *) destruct succ_x as [ | y succ_x ]. @@ -189,7 +189,7 @@ Proof. exists l'; auto. (* children y needs traversing *) - destruct ((gr s)!y) as [ succs_y | ]_eqn. + destruct ((gr s)!y) as [ succs_y | ] eqn:?. (* y has children *) constructor; simpl; intros. (* sub *) @@ -241,7 +241,7 @@ Qed. Lemma initial_state_spec: invariant (init_state ginit root). Proof. - unfold init_state. destruct (ginit!root) as [succs|]_eqn. + unfold init_state. destruct (ginit!root) as [succs|] eqn:?. (* root has succs *) constructor; simpl; intros. (* sub *) @@ -315,7 +315,7 @@ Proof. discriminate. destruct succs as [ | y succs ]. inv H. simpl. apply lex_ord_right. omega. - destruct ((gr s)!y) as [succs'|]_eqn. + destruct ((gr s)!y) as [succs'|] eqn:?. inv H. simpl. apply lex_ord_left. eapply PTree_Properties.cardinal_remove; eauto. inv H. simpl. apply lex_ord_right. omega. Qed. -- cgit