Motivation: prod is used internally in the definitional package. If we define prod as a structure, then Lean will tag pr1 and pr2 as projections. This creates problems when we add special support for projections in the elaborator. The heuristics avoid some case-splits that are currently performed, and without them some files break. |
||
|---|---|---|
| .. | ||
| lean | ||
| lua | ||