]> matita.cs.unibo.it Git - fireball-separation.git/blobdiff - ocaml/lambda4.mli
Failure in case of empty problem, to be fixed
[fireball-separation.git] / ocaml / lambda4.mli
index cbaf41c156e18d681b2c88de791812046f44347f..bbfd13b990dd2f32b263f9e49a0b3bd2162ef3ac 100644 (file)
@@ -1 +1,23 @@
-include Discriminator.Discriminator\r
+type problem\r
+\r
+type response = [\r
+ | `CompleteSeparable of string\r
+ | `CompleteUnseparable of string\r
+ | `Uncomplete\r
+]\r
+\r
+type result = [\r
+ `Complete | `Uncomplete\r
+] * [\r
+ | `Separable of (int * Num.nf) list\r
+ | `Unseparable of string\r
+]\r
+\r
+val problem_of: div:(string option) -> conv:string list -> nums:string list -> problem * response\r
+(* the following will soon replace the one above *)\r
+val tmp: (string (* problem label *)\r
+* Num.i_var option (* div *)\r
+* Num.i_n_var list (* conv *)\r
+* Num.i_n_var list (* ps *)\r
+* string list (* names of free variables *)) -> problem * response\r
+val solve: problem * response -> result\r