Replace hardcoded universe levels with a proper level language and constraint solving
This commit is contained in:
+1
-1
@@ -71,7 +71,7 @@ mutual
|
||||
let (py, nextFresh) := prettyTmWith names nextFresh y
|
||||
let (pp, nextFresh) := prettyTmWith names nextFresh p
|
||||
(s!"(idElim {pm} {pr} {py} {pp})", nextFresh)
|
||||
| .univ i => (s!"U{i}", nextFresh)
|
||||
| .univ i => (s!"U{i.pretty}", nextFresh)
|
||||
| .letE a t u =>
|
||||
let x := s!"x{nextFresh}"
|
||||
let (pa, nextFresh) := prettyTmWith names (nextFresh + 1) a
|
||||
|
||||
Reference in New Issue
Block a user