Constructs a universe-level metavariable with the given name.
(x: Name)
| 440 | } |
| 441 | } |
| 442 | /// Constructs `imax x y` (impredicative max). |
| 443 | pub fn imax(x: Level, y: Level) -> Self { |
| 444 | let mut hasher = blake3::Hasher::new(); |
| 445 | hasher.update(&[UIMAX]); |
| 446 | hasher.update(x.get_hash().as_bytes()); |
| 447 | hasher.update(y.get_hash().as_bytes()); |
| 448 | Level(Arc::new(LevelData::Imax(x, y, hasher.finalize()))) |
| 449 | } |
| 450 | /// Constructs a universe parameter with the given name. |