X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=ocaml%2Flambda4.mli;h=8e89903e92a1c322b890e94538f367f7f35f722b;hb=refs%2Fheads%2Fstrong_simple_measure;hp=c8a571ea825781a0e9db687b3c9c8e868cf54270;hpb=b609e8cfc37360748de4fcbc4e80bba556fadc87;p=fireball-separation.git diff --git a/ocaml/lambda4.mli b/ocaml/lambda4.mli index c8a571e..8e89903 100644 --- a/ocaml/lambda4.mli +++ b/ocaml/lambda4.mli @@ -1,4 +1,15 @@ -type t -val magic: string list -> string list -> t -val magic_conv: div:(string option) -> conv:string list -> nums:string list -> string list -> t -val main: t list -> unit +type problem + +val label_of_problem : problem -> string + +type result = [ + | `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 +val solve: problem -> result