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
{{ message }}
Repository navigation
Sort-polymorphic Bool fails with obscure error message #14904
set_option bootstrap.inductiveCheckResultingUniverse false
inductiveBool2 : Sort u where
| true
| false
I get the error message
Unknown constant `Bool2.ctorIdx`
I arrived at this case while looking at the kernel arena tutorial which prominently uses sort-polymorphic unit and product types, and trying to figure out the general behavior.
Activity
nomeata commentedon Aug 24, 2026
I'm having a look. But note that the elaborator may allow less than the kernel does, so for better experiments use
run_metaandaddDecldirectly. https://github.com/leanprover/lean-kernel-arena/blob/master/tutorial/Tutorial.lean and the Meta.lean file may be helpfulfix: skip data-valued constructions for small-eliminating inductives (l…