End MATCH_PROGRAMS.
(** Special case for partial transformations that do not depend on the compilation unit *)
Section TRANSFORM_PARTIAL.
Context {A B V: Type} {LA: Linker A} {LV: Linker V}.
Context {transf: A -> res B} {p: program A V} {tp: program B V}.
Hypothesis progmatch: match_program (fun cu f tf => transf f = OK tf) eq p tp.

Theorem find_funct_ptr_transf_partial:
forall b f,
find_funct_ptr (globalenv p) b = Some f ->
exists tf,
find_funct_ptr (globalenv tp) b = Some tf /\ transf f = OK tf.