diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 2016-07-08 14:43:57 +0200 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 2016-07-08 14:43:57 +0200 |
commit | e73d5db97cdb22cce2ee479469f62af3c4b6264a (patch) | |
tree | 035d31018c2abec698eb49a205c60bbf5c24ba0d /cparser/validator/Interpreter_correct.v | |
parent | db2445b3b745abd1a26f5a832a29ca269c725277 (diff) | |
download | compcert-e73d5db97cdb22cce2ee479469f62af3c4b6264a.tar.gz compcert-e73d5db97cdb22cce2ee479469f62af3c4b6264a.zip |
Port to Coq 8.5pl2
Manual merging of branch jhjourdan:coq8.5.
No other change un functionality.
Diffstat (limited to 'cparser/validator/Interpreter_correct.v')
-rw-r--r-- | cparser/validator/Interpreter_correct.v | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cparser/validator/Interpreter_correct.v b/cparser/validator/Interpreter_correct.v index 3a285158..1263d4e3 100644 --- a/cparser/validator/Interpreter_correct.v +++ b/cparser/validator/Interpreter_correct.v @@ -59,7 +59,7 @@ Proof. intros. unfold arrows_right, arrows_left. rewrite rev_append_rev, map_app, map_rev, fold_left_app. -f_equal. +apply f_equal. rewrite <- fold_left_rev_right, rev_involutive. reflexivity. Qed. @@ -87,7 +87,7 @@ Lemma pop_invariant: end. Proof. induction symbols_to_pop; intros; unfold pop; fold pop. -exists word_stack ([]:list token) sem_popped; intuition. +exists word_stack, ([]:list token), sem_popped; intuition. f_equal. apply JMeq_eq, JMeq_eqrect with (P:=(fun x => x)). destruct stack_cur as [|[]]; eauto. |