Zulip Chat Archive
Stream: general
Topic: derive add_comm_monoid
Daniel Selsam (Jul 27 2021 at 20:38):
Could somebody briefly explain how @[derive [add_comm_monoid]]
works, and point me to the code that actually executes?
Gabriel Ebner (Jul 27 2021 at 20:42):
It's probably the δ-derive handler: https://github.com/leanprover-community/mathlib/blob/768980a90c2bdf2b4ad957efcd2f4c86c60be262/src/tactic/delta_instance.lean
Last updated: Dec 20 2023 at 11:08 UTC