aboutsummaryrefslogtreecommitdiffstats
path: root/cparser/validator/Interpreter_correct.v
diff options
context:
space:
mode:
Diffstat (limited to 'cparser/validator/Interpreter_correct.v')
-rw-r--r--cparser/validator/Interpreter_correct.v4
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.