let add_hyp env h goals = let f p () = W.add_hyp env h p in List.map (fun g -> make_goal g.g_id (f g.g_prop) [g.g_descr]) goals