lean-0020: Kernel accepted self-referential indices in inductive types
The kernel accepted occurrences of an inductive type within its own indices, e.g. `inductive C : Bool → Type | c : C (f (C false))` with `f = Nonempty`. A direct route to False. Pre-stable; reported and fixed Feb 2023.
| Status | fixed |
|---|---|
| Fixed in | — |
| Subsystem | kernel |
| Guarantee broken | |
| Mechanism | |
| Symptom | proves-False |
| Severity | unsoundness |
| Fools | |
| Discovery | |
| Features | |
| References |