]> matita.cs.unibo.it Git - helm.git/commitdiff
default equality stuff filtered out from hint rewrite
authorEnrico Tassi <enrico.tassi@inria.fr>
Tue, 31 Jul 2007 10:39:53 +0000 (10:39 +0000)
committerEnrico Tassi <enrico.tassi@inria.fr>
Tue, 31 Jul 2007 10:39:53 +0000 (10:39 +0000)
matita/matitaScript.ml

index a007e70237913407bf3fc42e4fdb9444679fcf4a..c29e15533ef1c6a71a10c06b04a46cec6f95481a 100644 (file)
@@ -488,6 +488,7 @@ let rec eval_macro include_paths (buffer : GText.buffer) guistuff lexicon_status
       let proof_status = proof,user_goal' in
       if rewrite then
         let l = MQ.equations_for_goal ~dbd proof_status in
+        let l = List.filter (fun u -> not (LibraryObjects.in_eq_URIs u)) l in
         let entry = `Whelp (pp_macro (TA.WHint(loc, Cic.Implicit None)), l) in
         guistuff.mathviewer#show_uri_list ~reuse:true ~entry l;
         [], "", parsed_text_length