Zulip Chat Archive
Stream: lean4
Topic: unfolding in typeclass instance search?
Jason Gross (Mar 12 2021 at 14:51):
Is there a way to declare that certain constants should be unfoldable during typeclass instance search?
Leonardo de Moura (Mar 13 2021 at 04:11):
You can mark declarations with the @[reducible]
attribute.
Leonardo de Moura (Mar 13 2021 at 04:12):
The keyword abbrev f ...
is sugar for @[reducible, inline] def f ...
Last updated: Dec 20 2023 at 11:08 UTC