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