lean4-htt/tests/lean/diamond3.lean.expected.out
Kyle Miller a706c3b89a
feat: delaboration collapses parent projections (#3326)
When projection functions are delaborated, intermediate parent
projections are no longer printed. For example, rather than pretty
printing as `o.toB.toA.x` with these `toB` and `toA` parent projections,
it pretty prints as `o.x`.

This feature is being upstreamed from mathlib.
2024-02-14 23:44:48 +00:00

2 lines
81 B
Text

@[reducible] def D.toC : D → C :=
fun self => { toA := self.toA, w := self.w }