X-Git-Url: http://matita.cs.unibo.it/gitweb/?p=helm.git;a=blobdiff_plain;f=matita%2Fmatita%2Fcontribs%2Flambdadelta%2Fbin%2Frecomm%2FrecommGcsMain.ml;h=d308df8dbaa55a604fdef8fa33eb6a59ba0d6166;hp=82905b8406570b6ea0138d7515daeb15a7e16f47;hb=4d232392091ee233afc26ecf3120dd5f5c6a33c8;hpb=da0775e27b362e91ea1453a800bc403781cc2ca3 diff --git a/matita/matita/contribs/lambdadelta/bin/recomm/recommGcsMain.ml b/matita/matita/contribs/lambdadelta/bin/recomm/recommGcsMain.ml index 82905b840..d308df8db 100644 --- a/matita/matita/contribs/lambdadelta/bin/recomm/recommGcsMain.ml +++ b/matita/matita/contribs/lambdadelta/bin/recomm/recommGcsMain.ml @@ -1,19 +1,24 @@ +module T = RecommTypes +module R = RecommCheck module D = RecommGcsAttr -let step k ok outs ins = - if ok then k ok outs ins else +let step k st outs ins = + if st = T.KO then k st outs ins else match ins with - | "eliminations" :: tl -> k ok ("eliminations" :: outs) tl - | "eliminators" :: tl -> k ok ("eliminations" :: outs) tl - | "destructions" :: tl -> k ok ("destructions" :: outs) tl - | "forward" :: "properties" :: tl -> k ok ("destructions" :: outs) tl - | "forward" :: "lemmas" :: tl -> k ok ("destructions" :: outs) tl - | "inversions" :: tl -> k ok ("inversions" :: outs) tl - | "inversion" :: "properties" :: tl -> k ok ("inversions" :: outs) tl - | "inversion" :: "lemmas" :: tl -> k ok ("inversions" :: outs) tl - | "constructions" :: tl -> k ok ("constructions" :: outs) tl - | "properties" :: tl -> k ok ("constructions" :: outs) tl - | _ -> k true outs ins + | "iterators" :: tl -> k T.OK ("iterators" :: outs) tl + | "eliminations" :: tl -> k T.OK ("eliminations" :: outs) tl + | "eliminators" :: tl -> k T.OK ("eliminations" :: outs) tl + | "equalities" :: tl -> k T.OK ("equalities" :: outs) tl + | "destructions" :: tl -> k T.OK ("destructions" :: outs) tl + | "forward" :: "properties" :: tl -> k T.OK ("destructions" :: outs) tl + | "forward" :: "lemmas" :: tl -> k T.OK ("destructions" :: outs) tl + | "inversions" :: tl -> k T.OK ("inversions" :: outs) tl + | "inversion" :: "properties" :: tl -> k T.OK ("inversions" :: outs) tl + | "inversion" :: "lemmas" :: tl -> k T.OK ("inversions" :: outs) tl + | "inversion" :: tl -> k T.OK ("inversions" :: outs) tl + | "constructions" :: tl -> k T.OK ("constructions" :: outs) tl + | "properties" :: tl -> k T.OK ("constructions" :: outs) tl + | _ -> k T.KO outs ins let main = - RecommCheck.register_s step + R.register_s step