Zulip Chat Archive
Stream: mathlib4
Topic: Structure inheritance
Yaël Dillies (Dec 12 2022 at 15:07):
What's the Lean 4 syntax to inherit fields from two existing ones? I tried
{ ‹LinearOrderedCommGroup α›,
..OrderedCommGroup.to_OrderedCancelCommMonoid }
in mathlib4#913, with little success.
Floris van Doorn (Dec 12 2022 at 15:10):
I believe it's {foo1, foo2 with }
Last updated: Dec 20 2023 at 11:08 UTC