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 senv_transf_partial:
Senv.equiv (to_senv (globalenv p)) (to_senv (globalenv tp)).