let get_spec kf =
let _spec = Kernel_function.get_spec kf in
(* TODO : it shouldn't be necessary to call Kernel_function.get_spec,
* but it seems that it calls default assigns generation *)
let spec = Logic_interp.formals_in_ensures kf in
spec