summaryrefslogtreecommitdiff
path: root/backend/Selectionproof.v
diff options
context:
space:
mode:
authorGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2011-07-15 08:26:16 +0000
committerGravatar xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e>2011-07-15 08:26:16 +0000
commit93b89122000e42ac57abc39734fdf05d3a89e83c (patch)
tree43bbde048cff6f58ffccde99b862dce0891b641d /backend/Selectionproof.v
parent5fccbcb628c5282cf1b13077d5eeccf497d58c38 (diff)
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
Diffstat (limited to 'backend/Selectionproof.v')
-rw-r--r--backend/Selectionproof.v7
1 files changed, 3 insertions, 4 deletions
diff --git a/backend/Selectionproof.v b/backend/Selectionproof.v
index d475f26..d6c850a 100644
--- a/backend/Selectionproof.v
+++ b/backend/Selectionproof.v
@@ -565,11 +565,10 @@ Proof.
Qed.
Theorem transf_program_correct:
- forall (beh: program_behavior), not_wrong beh ->
- Cminor.exec_program prog beh -> CminorSel.exec_program tprog beh.
+ forward_simulation (Cminor.semantics prog) (CminorSel.semantics tprog).
Proof.
- unfold CminorSel.exec_program, Cminor.exec_program; intros.
- eapply simulation_opt_preservation; eauto.
+ eapply forward_simulation_opt.
+ eexact symbols_preserved.
eexact sel_initial_states.
eexact sel_final_states.
eexact sel_step_correct.