X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_proof_checking%2FcicElim.ml;h=e47b48d5d7e05a2ef793c3e8f4578a55bfa08f2f;hb=acf29bdbdcdc6ad8c2d9d27e8a47500981b605cd;hp=b85a4a519a01cbd95dc77438cdd0a5a555f2b820;hpb=8c578ae2acfb32b39610aebbd4baab3a31775a9f;p=helm.git diff --git a/helm/ocaml/cic_proof_checking/cicElim.ml b/helm/ocaml/cic_proof_checking/cicElim.ml index b85a4a519..e47b48d5d 100644 --- a/helm/ocaml/cic_proof_checking/cicElim.ml +++ b/helm/ocaml/cic_proof_checking/cicElim.ml @@ -28,6 +28,8 @@ open Printf exception Elim_failure of string exception Can_t_eliminate +let debug_print = fun _ -> () + let fresh_binder = let counter = ref ~-1 in function @@ -337,8 +339,8 @@ let elim_of ?(sort = Cic.Type (CicUniv.fresh ())) uri typeno = add_params (fun b s t -> Cic.Lambda (b, s, t)) leftno ty cic in (* -prerr_endline (CicPp.ppterm eliminator_type); -prerr_endline (CicPp.ppterm eliminator_body); +debug_print (CicPp.ppterm eliminator_type); +debug_print (CicPp.ppterm eliminator_body); *) let (computed_type, ugraph) = try