UniMath / agda-unimath

The agda-unimath library
https://unimath.github.io/agda-unimath/
MIT License
222 stars 71 forks source link

Level universe #1023

Open fredrik-bakke opened 9 months ago

fredrik-bakke commented 9 months ago

Currently, the library is blocked from enabling the --level-universe option globally due to a single definition, namely telescope. Although telescope is a very useful construction, having --level-universe enabled is also advantageous, for instance in modal type theory, where we currently have to distinguish between crisp and cohesive universe levels. Something which doesn't really make sense and leads to trouble.

One route that reconciles having both telescope and --level-universe is to enable the --cumulativity option. This gives small-telescope the same expressivity as telescope has currently, but comes with its own set of advantages and disadvantages:

On the other hand

EgbertRijke commented 9 months ago

Perhaps we should be looking for a modification of the definition of telescopes. I would much prefer that over enabling universe cumulativity.