X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Focaml%2Fcic_acic%2FdoubleTypeInference.ml;h=30a8f5c290fdaac79a3ecc28f10269f2d2db611f;hb=6c43a7f440daf19e2475b7eabd20456bdb0e9f76;hp=2400653be9c22211f5b3bc0197868a9a8c04b336;hpb=aa0d60227b785da3355b31519ba11cb4fbd2c925;p=helm.git diff --git a/helm/ocaml/cic_acic/doubleTypeInference.ml b/helm/ocaml/cic_acic/doubleTypeInference.ml index 2400653be..30a8f5c29 100644 --- a/helm/ocaml/cic_acic/doubleTypeInference.ml +++ b/helm/ocaml/cic_acic/doubleTypeInference.ml @@ -86,9 +86,6 @@ let rec does_not_occur n = | C.Fix (_,fl) -> let len = List.length fl in let n_plus_len = n + len in - let tys = - List.map (fun (n,_,ty,_) -> Some (C.Name n,(Cic.Decl ty))) fl - in List.fold_right (fun (_,_,ty,bo) i -> i && does_not_occur n ty && @@ -97,9 +94,6 @@ let rec does_not_occur n = | C.CoFix (_,fl) -> let len = List.length fl in let n_plus_len = n + len in - let tys = - List.map (fun (n,ty,_) -> Some (C.Name n,(Cic.Decl ty))) fl - in List.fold_right (fun (_,ty,bo) i -> i && does_not_occur n ty &&