X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=ocaml%2Flambda4.mli;h=d6e42027db5c9545d6dcb1f7003933f897f13b2a;hb=d0d409e139db96fc72f7d1e31a2526776c56f691;hp=cbaf41c156e18d681b2c88de791812046f44347f;hpb=e4aa4a66dd0a4946607245a0f43eab803f2770c4;p=fireball-separation.git diff --git a/ocaml/lambda4.mli b/ocaml/lambda4.mli index cbaf41c..d6e4202 100644 --- a/ocaml/lambda4.mli +++ b/ocaml/lambda4.mli @@ -1 +1,23 @@ -include Discriminator.Discriminator +type problem + +val label_of_problem : problem -> string + +type response = [ + | `CompleteSeparable of string + | `CompleteUnseparable of string + | `Uncomplete +] + +type result = [ + `Complete | `Uncomplete +] * [ + | `Separable of (int * Num.nf) list + | `Unseparable of string +] + +val problem_of: (string (* problem label *) +* Num.i_var option (* div *) +* Num.i_n_var list (* conv *) +* Num.i_n_var list (* ps *) +* string list (* names of free variables *)) -> problem * response +val solve: problem * response -> result