blob: 065a7f74bcb15112c45df3fa40a530a7b1913c3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
Require Import Coqlib Maps Errors Integers Floats Lattice Kildall.
Require Import AST Linking.
Require Import Memory Registers Op RTL.
Require Import LICM.
Require Injectproof.
Definition match_prog : program -> program -> Prop :=
Injectproof.match_prog gen_injections.
Section PRESERVATION.
Variables prog tprog: program.
Hypothesis TRANSF: match_prog prog tprog.
Theorem transf_program_correct :
Smallstep.forward_simulation (semantics prog) (semantics tprog).
Proof.
apply Injectproof.transf_program_correct with (gen_injections := gen_injections).
exact TRANSF.
Qed.
End PRESERVATION.
|