Zulip Chat Archive

Stream: mathlib4

Topic: deriving DecidableEq gives kernel error for higher universes


Bhavik Mehta (Jul 24 2025 at 18:31):

Here's my example:

import Mathlib

inductive example_type : Type 1
  | A | B | C
  deriving DecidableEq

This came up in a student project; it works fine for Type

Joachim Breitner (Jul 25 2025 at 11:26):

Good catch. Probably nothing deep, please file an issue.
(Are enumeration types at higher types useful?)

Bhavik Mehta (Jul 25 2025 at 14:44):

lean4#9541


Last updated: Dec 20 2025 at 21:32 UTC