(* *********************************************************************)
(*                                                                     *)
(*              The Compcert verified compiler                         *)
(*                                                                     *)
(*          Xavier Leroy, INRIA Paris-Rocquencourt                     *)
(*                                                                     *)
(*  Copyright Institut National de Recherche en Informatique et en     *)
(*  Automatique.  All rights reserved.  This file is distributed       *)
(*  under the terms of the INRIA Non-Commercial License Agreement.     *)
(*                                                                     *)
(* *********************************************************************)
(** Correctness proof for constant propagation. *)
Require Compopts Machregs.
Definition match_prog (prog tprog: program) :=
match_program (fun cu f tf => tf = transf_fundef (romem_for cu) f) eq prog tprog.

(* Specifications: *)
Lemma transf_program_match:
forall prog, match_prog prog (transf_program prog).