diff options
author | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2011-07-15 08:26:16 +0000 |
---|---|---|
committer | xleroy <xleroy@fca1b0fc-160b-0410-b1d3-a4f43f01ea2e> | 2011-07-15 08:26:16 +0000 |
commit | 93b89122000e42ac57abc39734fdf05d3a89e83c (patch) | |
tree | 43bbde048cff6f58ffccde99b862dce0891b641d /cfrontend/SimplExprproof.v | |
parent | 5fccbcb628c5282cf1b13077d5eeccf497d58c38 (diff) | |
download | compcert-kvx-93b89122000e42ac57abc39734fdf05d3a89e83c.tar.gz compcert-kvx-93b89122000e42ac57abc39734fdf05d3a89e83c.zip |
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 'cfrontend/SimplExprproof.v')
-rw-r--r-- | cfrontend/SimplExprproof.v | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/cfrontend/SimplExprproof.v b/cfrontend/SimplExprproof.v index cff182d4..ca45b4dc 100644 --- a/cfrontend/SimplExprproof.v +++ b/cfrontend/SimplExprproof.v @@ -24,7 +24,6 @@ Require Import Memory. Require Import Events. Require Import Smallstep. Require Import Globalenvs. -Require Import Determinism. Require Import Csyntax. Require Import Csem. Require Import Cstrategy. @@ -1835,15 +1834,13 @@ Proof. Qed. Theorem transl_program_correct: - forall (beh: program_behavior), - not_wrong beh -> Cstrategy.exec_program prog beh -> - Clight.exec_program tprog beh. + forward_simulation (Cstrategy.semantics prog) (Clight.semantics tprog). Proof. - unfold Cstrategy.exec_program, Clight.exec_program. intros. - eapply simulation_star_wf_preservation; eauto. + eapply forward_simulation_star_wf with (order := ltof _ measure). + eexact symbols_preserved. eexact transl_initial_states. eexact transl_final_states. - instantiate (1 := ltof _ measure). apply well_founded_ltof. + apply well_founded_ltof. exact simulation. Qed. |