let params,ty = NCicReduction.split_prods ~subst:[] [] leftno ty in
let params = List.rev_map (function name,_ -> mk_id name) params in
let args,sort = NCicReduction.split_prods ~subst:[] [] (-1) ty in
- let rec_arg = mk_id (fresh_name ()) in
let args = List.rev_map (function name,_ -> mk_id name) args in
+ let rec_arg = mk_id (fresh_name ()) in
let p_ty =
List.fold_right
(fun name res -> CicNotationPt.Binder (`Forall,(name,None),res)) args
(function x::_ -> x | _ -> assert false)
80 (CicNotationPres.render (Hashtbl.create 0)
(TermContentPres.pp_ast res)));
-
[]
| _ -> []
;;