lean-0019: `safe` definitions could reference `partial` ones
The kernel did not ensure that `safe` functions could not use `partial` ones. Since `partial` definitions are effectively opaque, referencing one from `safe` code let you treat an arbitrary inhabitant as real — a route to False. Same class as lean-0013 but kernel-level and years earlier. Pre-stable; fixed Jan 2023.
| Status | fixed |
|---|---|
| Fixed in | — |
| Subsystem | kernel |
| Guarantee broken | |
| Mechanism | |
| Symptom | proves-False |
| Severity | unsoundness |
| Fools | |
| Discovery | |
| Features | |
| References |