]> matita.cs.unibo.it Git - helm.git/blobdiff - components/acic_procedural/proceduralHelpers.ml
applyTransformation: added debugging information
[helm.git] / components / acic_procedural / proceduralHelpers.ml
index 0925289e250111e1921fd9d7daeadff63c6c9eb0..94ef413c1042207a4058f6429e7cc02e4c8f4e72 100644 (file)
@@ -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