From 93b89122000e42ac57abc39734fdf05d3a89e83c Mon Sep 17 00:00:00 2001 From: xleroy Date: Fri, 15 Jul 2011 08:26:16 +0000 Subject: Merge of branch new-semantics: revised and strengthened top-level statements of semantic preservation. git-svn-id: https://yquem.inria.fr/compcert/svn/compcert/trunk@1683 fca1b0fc-160b-0410-b1d3-a4f43f01ea2e --- arm/Asmgenproof.v | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'arm/Asmgenproof.v') diff --git a/arm/Asmgenproof.v b/arm/Asmgenproof.v index 82e54c86..0e2bdca7 100644 --- a/arm/Asmgenproof.v +++ b/arm/Asmgenproof.v @@ -1404,11 +1404,10 @@ Proof. Qed. Theorem transf_program_correct: - forall (beh: program_behavior), not_wrong beh -> - Machsem.exec_program prog beh -> Asm.exec_program tprog beh. + forward_simulation (Machsem.semantics prog) (Asm.semantics tprog). Proof. - unfold Machsem.exec_program, Asm.exec_program; intros. - eapply simulation_star_preservation with (measure := measure); eauto. + eapply forward_simulation_star with (measure := measure). + eexact symbols_preserved. eexact transf_initial_states. eexact transf_final_states. exact transf_instr_correct. -- cgit