added diagnosis tool for debugging transforms
added any_eq to builder