let sort_of subst metasenv ctx t =
let ty = NCicTypeChecker.typeof subst metasenv ctx t in
- NCicTypeChecker.typeof subst metasenv ctx ty
+ let metasenv',ty = NCicUnification.fix_sorts metasenv subst ty in
+ assert (metasenv = metasenv');
+ NCicTypeChecker.typeof subst metasenv ctx ty
;;
let type0= NUri.uri_of_string ("cic:/matita/pts/Type0.univ")
| orig::_ ->
if depth > 0 && move_to_side depth status
then
- let _ = print (lazy "merged") in
let status = NTactics.merge_tac status in
auto_clusters flags signature cache (depth-1) status
else