I am not a specialist in type theory, but here is my understanding. The Idris textbook has a section 12.8 Cumulativeness . It says that there is an internal hierarchy of universes like:
Type : Type 1 : Type 2 : Type 3 : ...
And for any x : Type n it follows x : Type m for any m > n . There is also an example demonstrating how it prevents possible type inference loops.
But I think this hierarchy is for internal use only, and there is no way to create a Type (n+1) value that is not in Type n .
See also nLab articles on universes in type theory and type types .
Perhaps this issue in the idris-dev repository can also be useful. Edwin Brady refers to the Design and Implementation document (see Section 3.2.2).
source share