X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbin%2Frecomm%2FrecommGcbGroundCounters.ml;h=8391c7da928a96bce36f497025da181abf5ca391;hb=4d232392091ee233afc26ecf3120dd5f5c6a33c8;hp=da14eabe1e6ee7a1d5b55629879c7772af745b39;hpb=baa54e5db0fb93c4242dd1b67a5018ca63206cf6;p=helm.git diff --git a/matita/matita/contribs/lambdadelta/bin/recomm/recommGcbGroundCounters.ml b/matita/matita/contribs/lambdadelta/bin/recomm/recommGcbGroundCounters.ml index da14eabe1..8391c7da9 100644 --- a/matita/matita/contribs/lambdadelta/bin/recomm/recommGcbGroundCounters.ml +++ b/matita/matita/contribs/lambdadelta/bin/recomm/recommGcbGroundCounters.ml @@ -1,15 +1,13 @@ -let step k ok outs ins = - if ok then k ok outs ins else +module T = RecommTypes +module R = RecommPcsAnd + +let step k st outs ins = + if st <> T.OO then k st outs ins else match ins with - | "rtc_ist" :: tl -> k true ("rtc_ist" :: outs) tl - | "test" :: "for" :: "t-transition" :: "counter" :: tl -> k true ("rtc_ist" :: outs) tl - | "rtc_ism" :: tl -> k true ("rtc_ism" :: outs) tl - | "test" :: "for" :: "constrained" :: "rt-transition" :: "counter" :: tl -> k true ("rtc_ism" :: outs) tl - | "rtc_shift" :: tl -> k true ("rtc_shift" :: outs) tl - | "shift" :: tl -> k true ("rtc_shift" :: outs) tl - | "rtc_max" :: tl -> k true ("rtc_max" :: outs) tl - | "max" :: tl -> k true ("rtc_max" :: outs) tl - | _ -> k ok outs ins + | "rtc_plus" :: tl -> k T.OK ("rtc_plus" :: outs) tl + | "rtc_max" :: tl -> k T.OK ("rtc_max" :: outs) tl + | "rtc_shift" :: tl -> k T.OK ("rtc_shift" :: outs) tl + | _ -> k T.OO outs ins let main = - RecommPcsAnd.register_b step + R.register_b step