]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/bin/recomm/recommGcbGroundLib.ml
update in gruound
[helm.git] / matita / matita / contribs / lambdadelta / bin / recomm / recommGcbGroundLib.ml
1 module T = RecommTypes
2 module R = RecommPcsAnd
3
4 let step k st outs ins =
5   if st <> T.OO then k st outs ins else
6   match ins with
7   | "ctc" :: tl -> k T.OK ("ctc" :: outs) tl
8   | "contextual" :: "transitive" :: "closure" :: tl -> k T.OK ("ctc" :: outs) tl
9   | "compose" :: tl -> k T.OK ("compose" :: outs) tl
10   | "function" :: "composition" :: tl -> k T.OK ("compose" :: outs) tl
11   | "lsub" :: tl -> k T.OK ("lsub" :: outs) tl
12   | "land" :: tl -> k T.OK ("land" :: outs) tl
13   | "eq" :: tl -> k T.OK ("eq" :: outs) tl
14   | _ -> k T.OO outs ins
15
16 let main =
17   R.register_b step