]> matita.cs.unibo.it Git - helm.git/blobdiff - helm/software/components/grafite_engine/grafiteTypes.mli
many changes regarding coercions:
[helm.git] / helm / software / components / grafite_engine / grafiteTypes.mli
index a8b86c27639fc9fe0f678332c7c1c94aeb4f5e1f..95f65f3601c84d63ca53b533d57700a1da7623f7 100644 (file)
@@ -42,18 +42,13 @@ type proof_status =
   | Proof of ProofEngineTypes.proof
   | Intermediate of Cic.metasenv
 
-type option_value =
-  | String of string
-  | Int of int
-type options
-val no_options: options
-
 type status = {
   moo_content_rev: GrafiteMarshal.moo;
   proof_status: proof_status;                             (** logical status *)
-  options: options;
   objects: UriManager.uri list;  (** in-scope objects *)
-  coercions: UriManager.uri list;                      (** defined coercions *)
+  coercions: CoercDb.coerc_db;
+  universe:Universe.universe;  (** universe of terms used by auto *)
+  baseuri: string;
 }
 
 val dump_status : status -> unit
@@ -61,11 +56,12 @@ val dump_status : status -> unit
   (** list is not reversed, head command will be the first emitted *)
 val add_moo_content: GrafiteMarshal.ast_command list -> status -> status
 
+(* REOMVE ME
 val get_option : status -> string -> option_value
 val get_string_option : status -> string -> string
 val set_option : status -> string -> string -> status
-
-val qualify: status -> string -> string
+*)
+val get_baseuri: status -> string 
 
 val get_current_proof: status -> ProofEngineTypes.proof
 val get_proof_metasenv: status ->  Cic.metasenv
@@ -75,3 +71,4 @@ val get_proof_conclusion : status -> int -> Cic.term
 
 val set_stack: Continuationals.Stack.t -> status -> status
 val set_metasenv: Cic.metasenv -> status -> status
+