diff options
Diffstat (limited to 'backend/CSEproof.v')
-rw-r--r-- | backend/CSEproof.v | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/backend/CSEproof.v b/backend/CSEproof.v index 53576adb..77da5386 100644 --- a/backend/CSEproof.v +++ b/backend/CSEproof.v @@ -968,11 +968,10 @@ Proof. Qed. Theorem transf_program_correct: - forall (beh: program_behavior), not_wrong beh -> - exec_program prog beh -> exec_program tprog beh. + forward_simulation (RTL.semantics prog) (RTL.semantics tprog). Proof. - unfold exec_program; intros. - eapply simulation_step_preservation; eauto. + eapply forward_simulation_step. + eexact symbols_preserved. eexact transf_initial_states. eexact transf_final_states. exact transf_step_correct. |