]> matita.cs.unibo.it Git - helm.git/blob - matita/matita/contribs/lambdadelta/bin/recomm/recommGcdGroundRelocation.ml
349cf6b36f9df5dadf6329557d2f73047c0e1303
[helm.git] / matita / matita / contribs / lambdadelta / bin / recomm / recommGcdGroundRelocation.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   | "GENERIC" :: "RELOCATION" :: "MAPS" :: tl -> k T.OK ("MAPS" :: "RELOCATION" :: "GENERIC" :: outs) tl
8   | "FINITE" :: "RELOCATION" :: "MAPS" :: "WITH" :: "PAIRS" :: tl -> k T.OK ("PAIRS" :: "WITH" :: "MAPS" :: "RELOCATION" :: "FINITE" :: outs) tl
9   | "FINITE" :: "RELOCATION" :: "MAPS" :: tl -> k T.OK ("MAPS" :: "RELOCATION" :: "FINITE" :: outs) tl
10   | _ -> k T.OO outs ins
11
12 let main =
13   R.register_d step