X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Facic_procedural%2FproceduralHelpers.ml;h=94ef413c1042207a4058f6429e7cc02e4c8f4e72;hb=582e05fe21e170d26986a848c26ca07e97c014bd;hp=0925289e250111e1921fd9d7daeadff63c6c9eb0;hpb=cf4301b669442bdd78984d3a3a1e38660db1f2ea;p=helm.git diff --git a/helm/software/components/acic_procedural/proceduralHelpers.ml b/helm/software/components/acic_procedural/proceduralHelpers.ml index 0925289e2..94ef413c1 100644 --- a/helm/software/components/acic_procedural/proceduralHelpers.ml +++ b/helm/software/components/acic_procedural/proceduralHelpers.ml @@ -117,6 +117,8 @@ let is_not_atomic = function | C.MutConstruct _ -> false | _ -> true +let is_atomic t = not (is_not_atomic t) + let get_ind_type uri tyno = match E.get_obj Un.empty_ugraph uri with | C.InductiveDefinition (tys, _, lpsno, _), _ -> lpsno, List.nth tys tyno