Zulip Chat Archive

Stream: lean4

Topic: abbrev vs reducible


Horatiu Cheval (Oct 18 2021 at 18:54):

Is there any difference between abbrev and @[reducible] def? I found them interchangeable in my usage so far.

Leonardo de Moura (Oct 18 2021 at 18:56):

abbrev also includes the [inline] attribute and a hint to the kernel. [reducible] is a hint to the elaborator, and the kernel doesn't even know it exists.


Last updated: Dec 20 2023 at 11:08 UTC