X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fmatita%2FmatitaAutoGui.ml;h=c7b06645b45cfe4948e63303897b4633b20ba6a0;hb=f2d9db85559c7a8db11aae1153495fae4a258d54;hp=9ba6dd89828052a7e084cc0a42e9ec3e54f3122c;hpb=ddb5e7c8313d80b2bc1b452f14d531d143d102c6;p=helm.git diff --git a/helm/software/matita/matitaAutoGui.ml b/helm/software/matita/matitaAutoGui.ml index 9ba6dd898..c7b06645b 100644 --- a/helm/software/matita/matitaAutoGui.ml +++ b/helm/software/matita/matitaAutoGui.ml @@ -35,7 +35,6 @@ let start = ref 0;; let len = ref 10;; let pp c t = - (* let t = ProofEngineReduction.replace ~equality:(fun a b -> match b with Cic.Meta _ -> true | _ -> false) @@ -43,10 +42,6 @@ let pp c t = in ApplyTransformation.txt_of_cic_term ~map_unicode_to_tex:false max_int [] c t - *) - let names = List.map (function None -> None | Some (x,_) -> Some x) c in - let txt_t = CicPp.pp t names in - Pcre.replace ~pat:"\\?(\\d+)\\[[^]]*\\]" ~templ:"?$1" txt_t ;; let pp_goal context x = if x == fake_goal then "" else pp context x