Definition main_params (ge: genv) start : Prop :=
exists b, exists func,
Genv.find_symbol ge start = Some b /\
Genv.find_funct ge (Vptr b Ptrofs.zero) = Some (Internal func) /\
func.(fn_params) = nil.

Lemma prog_contains_prog_funct: forall prog: program,
list_norepet (prog_defs_names prog) ->
prog_contains (globalenv prog) (prog_funct prog).