status#set_obj (name,height,metasenv,subst,obj)
;;
-let instantiate status ?refine:(dorefine=false) i t =
+let instantiate status ?refine:(dorefine=true) i t =
let _,_,metasenv,_,_ = status#obj in
let gname, context, gty = List.assoc i metasenv in
if dorefine then
[ `Decl of cic_term | `Def of cic_term ] -> NCicUntrusted.meta_kind ->
'status * cic_term
-(* default value for refine: false; you can use true if the term has already been refined with
+(* default value for refine: true; you can use false if the term has already been refined with
the expected type for the meta (e.g. after a reduction tactic) *)
val instantiate: #pstatus as 'status -> ?refine:bool -> int -> cic_term -> 'status
val instantiate_with_ast: #pstatus as 'status -> int -> tactic_term -> 'status