(* Copyright (C) 2002, HELM Team.
+
*
* This file is part of HELM, an Hypertextual, Electronic
* Library of Mathematics, developed at the Computer Science
in
let consts = MetadataConstraints.constants_of ty in
let b = MetadataConstraints.UriManagerSet.subset consts signature in
- if b then (prerr_endline ("keeping " ^ (CicPp.ppterm t)); b)
+(* if b then (prerr_endline ("keeping " ^ (CicPp.ppterm t)); b) *)
+ if b then b
else
let ty' = unfold context ty in
let consts' = MetadataConstraints.constants_of ty' in
let b = MetadataConstraints.UriManagerSet.subset consts' signature in
+(*
if not b then prerr_endline ("filtering " ^ (CicPp.ppterm t))
- else prerr_endline ("keeping " ^ (CicPp.ppterm t)); b
+ else prerr_endline ("keeping " ^ (CicPp.ppterm t));
+*)
+ b
with
| CicTypeChecker.TypeCheckerFailure _ -> assert false
| ProofEngineTypes.Fail _ -> false (* unfold may fail *)