X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=matita%2Fcomponents%2Fng_kernel%2FnCicExtraction.ml;h=4f3892cbc992f9e6738136f05163254ab3283404;hb=ceac1e90a8108f526e33bbae7173571c55ea802d;hp=32f5bc35e6fd28cfcf6a4318268cd922c3607d59;hpb=01dd8b3dcbf02a9645152496d64f649afbbd22b9;p=helm.git diff --git a/matita/components/ng_kernel/nCicExtraction.ml b/matita/components/ng_kernel/nCicExtraction.ml index 32f5bc35e..4f3892cbc 100644 --- a/matita/components/ng_kernel/nCicExtraction.ml +++ b/matita/components/ng_kernel/nCicExtraction.ml @@ -73,10 +73,10 @@ let rec size_of_type = | Unit -> 1 | Top -> 1 | TConst c -> 1 - | Arrow (l, r) -> 1 + size_of_type l + size_of_type r + | Arrow _ -> 2 | Skip t -> size_of_type t - | Forall (name, kind, typ) -> 1 + size_of_type typ - | TAppl l -> List.fold_right (+) (List.map size_of_type l) 0 + | Forall _ -> 2 + | TAppl l -> 1 ;; type term =