X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbin%2Frecomm%2FrecommGcrGroundCounters.ml;h=4defad66e5cf178d12ba4f5f104350373f46d0fa;hp=d85161fa42a43f0af45c60bb721f3e1169d967d3;hb=4d232392091ee233afc26ecf3120dd5f5c6a33c8;hpb=da0775e27b362e91ea1453a800bc403781cc2ca3 diff --git a/matita/matita/contribs/lambdadelta/bin/recomm/recommGcrGroundCounters.ml b/matita/matita/contribs/lambdadelta/bin/recomm/recommGcrGroundCounters.ml index d85161fa4..4defad66e 100644 --- a/matita/matita/contribs/lambdadelta/bin/recomm/recommGcrGroundCounters.ml +++ b/matita/matita/contribs/lambdadelta/bin/recomm/recommGcrGroundCounters.ml @@ -1,11 +1,11 @@ -let step k ok outs ins = - if ok then k ok outs ins else +module T = RecommTypes +module R = RecommPccFor + +let step k st outs ins = + if st <> T.OO then k st outs ins else match ins with - | "SHIFT" :: tl -> k true ("SHIFT" :: outs) tl - | "MAXIMUM" :: tl -> k true ("MAXIMUM" :: outs) tl - | "MAXIMUN" :: tl -> k true ("MAXIMUM" :: outs) tl - | "ADDITION" :: tl -> k true ("ADDITION" :: outs) tl - | _ -> k ok outs ins + | "SHIFT" :: tl -> k T.OK ("SHIFT" :: outs) tl + | _ -> k T.OO outs ins let main = - RecommPccFor.register_r step + R.register_r step