]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/matita/applyTransformation.ml
limits: reorganized and attached to nightly tests (cow compiles fully)
[helm.git] / helm / software / matita / applyTransformation.ml
index ac044cefed05b15bc5810636555893e02101b5a1..670fd2e0c5d8fb7dd4e87cba43baa41aa4f98253 100644 (file)
@@ -204,7 +204,15 @@ let txt_of_cic_object
             (CicNotationPres.mpres_of_box bobj)
         )
      | G.Procedural depth ->
+(*
+        PO.critical := false;
+       Acic2Procedural.tex_formatter := Some Format.std_formatter;     
+       let _ = ProceduralTeX.tex_of_obj Format.std_formatter obj in
+*)     
        let obj, info = PO.optimize_obj obj in
+(*     
+       let _ = ProceduralTeX.tex_of_obj Format.std_formatter obj in
+*)     
         let aobj, ids_to_inner_sorts, ids_to_inner_types = get_aobj obj in
         let term_pp = term2pres ~map_unicode_to_tex (n - 8) ids_to_inner_sorts in
         let lazy_term_pp = term_pp in
@@ -244,6 +252,9 @@ let discharge_uri style uri =
 let discharge_name s = s ^ "_discharged"
 
 let txt_of_inline_uri ~map_unicode_to_tex style ?flavour prefix suri =
+(*   
+   Ds.debug := true;
+*)
    let print_exc = function
       | ProofEngineHelpers.Bad_pattern s as e ->
            Printexc.to_string e ^ " " ^ Lazy.force s
@@ -280,7 +291,7 @@ let txt_of_inline_uri ~map_unicode_to_tex style ?flavour prefix suri =
        in
        if real then do_it obj else
        let newuri = discharge_uri style uri in
-       let _lemmas = LS.add_obj GE.refinement_toolkit newuri obj in
+       let _lemmas = LS.add_obj ~pack_coercion_obj:CicRefine.pack_coercion_obj newuri obj in
        do_it obj
       with
          | TC.TypeCheckerFailure s ->