The lambda cube can be generalized to pure type systems. If you
want to know more about about the lambda cube, pure type systems
and the Curry-Howard Correspondence for higher-order predicate
logic, this is the right place to start. Great stuff!