]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/bin/recomm/recommGcdGroundLib.ml
update in ground
[helm.git] / matita / matita / contribs / lambdadelta / bin / recomm / recommGcdGroundLib.ml
1 module T = RecommTypes
2 module R = RecommPccFor
3
4 let step k st outs ins =
5   if st <> T.OO then k st outs ins else
6   match ins with
7   | "GENERATED" :: "LIBRARY" :: tl -> k T.OK ("LIBRARY" :: "GENERATED" :: outs) tl
8   | "STREAMS" :: tl -> k T.OK ("STREAMS" :: outs) tl
9   | "LISTS" :: tl -> k T.OK ("LISTS" :: outs) tl
10   | "BOOLEANS" :: tl -> k T.OK ("BOOLEANS" :: outs) tl
11   | "LOGIC" :: tl -> k T.OK ("LOGIC" :: outs) tl
12   | "FUNCTIONS" :: tl -> k T.OK ("FUNCTIONS" :: outs) tl
13   | "RELATIONS" :: tl -> k T.OK ("RELATIONS" :: outs) tl
14   | "GROUND" :: "NOTATION" :: tl -> k T.OK ("NOTATION" :: "GROUND" :: outs) tl
15   | _ -> k T.OO outs ins
16
17 let main =
18   R.register_d step