Constructs a universe parameter with the given name.
(x: Name)
| 433 | /// `Some((Zero, n))`. Otherwise returns `None`. |
| 434 | pub fn explicit_offset(&self) -> Option<(Level, u64)> { |
| 435 | let (base, n) = self.peel_succ(); |
| 436 | if matches!(base.as_data(), LevelData::Zero(_)) { |
| 437 | Some((base, n)) |
| 438 | } else { |
| 439 | None |
| 440 | } |
| 441 | } |
| 442 | /// Constructs `imax x y` (impredicative max). |
| 443 | pub fn imax(x: Level, y: Level) -> Self { |