After we erase types and proofs, `Decidable.toBool` can be replaced with the identity function since `Decidable A` and `Bool` have the same runtime representation. By eagerly expanding `toBool`, we introduce unnecessary `cases` expressions. |
||
|---|---|---|
| .. | ||
| control | ||
| data | ||
| lean | ||
| coe.lean | ||
| core.lean | ||
| default.lean | ||
| env_ext.lean | ||
| fix.lean | ||
| init.md | ||
| io.lean | ||
| platform.lean | ||
| util.lean | ||
| wf.lean | ||