lean4-htt/tests/lean/run/7096.lean
Arthur Adjedj 1138062a70
fix: normalize imax 1 u to u (#7631)
This PR fixes `Lean.Level.mkIMaxAux` (`mk_imax` in the kernel) such that
`imax 1 u` reduces to `u`.

Closes #7096
2025-05-21 20:27:53 +00:00

9 lines
196 B
Text
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/-!
# Normalization of imax 1 u
https://github.com/leanprover/lean4/issues/7096
Universe levels of the form `imax 1 u` should normalize to `u`.
-/
example (α : Sort u) : Sort u := Unit → α