You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reduced the issue to a self-contained, reproducible test case.
Description
We don't seem to be able to make a Sort u-valued inductive empty type right now.
inductivepEmpty : Sort u
/-invalid universe polymorphic type, the resultant universe is not Prop (i.e., 0), but it may be Prop for some parameter values (solution: use 'u+1' or 'max 1 u' u-/
It is possible to do this in Lean 3. I personally am slightly unclear about the use of this type, but I noticed it when porting Lean 3 files to Lean 4 so thought I'd mention it.
The text was updated successfully, but these errors were encountered:
For some funny reason there were aliases to lemmas from `init.cc_lemmas`, which is PR'd to mathlib4 as leanprover#532.
Co-authored-by: Scott Morrison <scott.morrison@gmail.com>
Prerequisites
Description
We don't seem to be able to make a
Sort u
-valued inductive empty type right now.It is possible to do this in Lean 3. I personally am slightly unclear about the use of this type, but I noticed it when porting Lean 3 files to Lean 4 so thought I'd mention it.
The text was updated successfully, but these errors were encountered: