X-Git-Url: http://matita.cs.unibo.it/gitweb/?a=blobdiff_plain;f=helm%2Fsoftware%2Fcomponents%2Fcic_proof_checking%2FcicTypeChecker.ml;h=9336cb84ab3c6e8af65624525867ee6f1b9035fc;hb=6ebe894ff0fee5d99bad615ce053128292657dee;hp=883bc329600be45d2decfbefc498860fe837d4f7;hpb=5acff80c93b3e3df4a52ff8cb9596de46f7bd924;p=helm.git diff --git a/helm/software/components/cic_proof_checking/cicTypeChecker.ml b/helm/software/components/cic_proof_checking/cicTypeChecker.ml index 883bc3296..9336cb84a 100644 --- a/helm/software/components/cic_proof_checking/cicTypeChecker.ml +++ b/helm/software/components/cic_proof_checking/cicTypeChecker.ml @@ -763,10 +763,12 @@ and check_is_really_smaller_arg match CicReduction.whd ~subst context te with C.Rel m when List.mem m safes -> true | C.Rel _ - | C.Appl _ | C.MutConstruct _ | C.Const _ | C.Var _ -> false + | C.Appl (he::_) -> + check_is_really_smaller_arg rec_uri rec_uri_len + ~logger ~metasenv ~subst context n nn kl x safes he | C.Lambda (name,ty,ta) -> check_is_really_smaller_arg rec_uri rec_uri_len ~logger ~metasenv ~subst (Some (name,Cic.Decl ty)::context)