subst_metasenv_and_fix_names nstatus)
nstatus tacl
in
- NTacStatus.pp_tac_status nstatus;
{ status with GrafiteTypes.ng_status= GrafiteTypes.ProofMode nstatus },
`New [])
| GrafiteAst.NonPunctuationTactical (_, tac, punct) ->
let gsteps = List.rev gsteps in
esteps@(i::gsteps)
in
- prerr_endline "YES!";
- prerr_endline ("Meeting point : " ^ (string_of_int i));
+(*
prerr_endline "Proof:";
List.iter (fun x -> prerr_endline (string_of_int x);
prerr_endline (Pp.pp_unit_clause (Terms.M.find x bag))) l;
+*)
let proofterm = B.mk_proof bag i l in
let metasenv, proofterm =
let rec aux k metasenv = function
in
aux 0 metasenv proofterm
in
- prerr_endline
- ("prova generata: " ^ NCicPp.ppterm
- ~metasenv ~subst ~context proofterm);
let metasenv, subst, proofterm, _prooftype =
NCicRefiner.typeof
(rdb#set_coerc_db NCicCoercion.empty_db)
metasenv subst context proofterm None
in
- prerr_endline "prova raffinata";
proofterm, metasenv, subst
| Failure _ -> prerr_endline "FAILURE"; assert false
;;
let typeof_obj
rdb ?(localise=fun _ -> Stdpp.dummy_loc) (uri,height,metasenv,subst,obj)
=
-prerr_endline ("===============\n" ^ NCicPp.ppobj (uri,height,metasenv,subst,obj));
let check_type metasenv subst context (ty as orig_ty) = (* XXX fattorizza *)
let metasenv, subst, ty, sort =
typeof rdb ~localise metasenv subst context ty None