tactic tscheck can check Pi types, such as (T->U) -> (U->V) -> (T->V)