1 let nparamod metasenv subst context t =
3 let metasenv = metasenv
8 let module B = NCicBlob.NCicBlob(C) in
9 let module Pp = Pp.Pp (B) in
10 let res = B.embed t in
11 let module FU = FoUnif.Founif(B) in
12 let module IDX = Index.Index(B) in
13 let module Sup = Superposition.Superposition(B) in
14 let test_unification _ = function
15 | Terms.Node [_; _; lhs; rhs] ->
16 prerr_endline "Unification test :";
17 prerr_endline (Pp.pp_foterm lhs);
18 prerr_endline (Pp.pp_foterm rhs);
19 FU.unification [] [] lhs rhs
22 let subst,vars = test_unification [] res in
23 prerr_endline "Result :";
24 prerr_endline (Pp.pp_foterm res);
25 prerr_endline "Substitution :";
26 prerr_endline (Pp.pp_substitution subst)