aboutsummaryrefslogtreecommitdiffstats
path: root/arm/Asmgenproof.v
diff options
context:
space:
mode:
Diffstat (limited to 'arm/Asmgenproof.v')
-rw-r--r--arm/Asmgenproof.v7
1 files changed, 3 insertions, 4 deletions
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.