Building a proper `equations` pexpr in Lean is not feasible right now because we need global+local name resolution, [pattern] attribute retrieval, ... to reimplement `patexpr_to_pattern`. The `pre_equations` will instead be converted by the old elaborator using this function (TBD). With this change, `to_pexpr` can now translate every basic definition body in `core.lean`. |
||
|---|---|---|
| .. | ||
| basic.lean | ||
| default.lean | ||
| instances.lean | ||