]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/matita/matitaEngine.ml
Reshaped structure of ocaml/ libraries, matita changed accordingly.
[helm.git] / helm / matita / matitaEngine.ml
index bf39a1caca2170658880b4673bd77b2c7bd7a874..b62dd23deabd9ecd24375cb0ced9153fed7c6510 100644 (file)
@@ -676,11 +676,11 @@ let eval_from_moo_ref = ref (fun _ _ _ -> assert false);;
 let disambiguate_obj status obj =
   let uri =
    match obj with
-      GrafiteAst.Inductive (_,(name,_,_,_)::_)
-    | GrafiteAst.Record (_,name,_,_) ->
+    | CicNotationPt.Inductive (_,(name,_,_,_)::_)
+    | CicNotationPt.Record (_,name,_,_) ->
        Some (UriManager.uri_of_string (MatitaTypes.qualify status name ^ ".ind"))
-    | GrafiteAst.Inductive _ -> assert false
-    | GrafiteAst.Theorem _ -> None in
+    | CicNotationPt.Inductive _ -> assert false
+    | CicNotationPt.Theorem _ -> None in
   let (diff, metasenv, cic, _) =
     singleton
       (MatitaDisambiguator.disambiguate_obj ~dbd:(MatitaDb.instance ())
@@ -850,7 +850,7 @@ let eval_command opts status cmd =
          if opts.do_heavy_checks then
            begin
              let dbd = MatitaDb.instance () in
-             let similar = MetadataQuery.match_term ~dbd ty in
+             let similar = Whelp.match_term ~dbd ty in
              let similar_len = List.length similar in
              if similar_len> 30 then
                (MatitaLog.message