mathlib
mathlib copied to clipboard
chore(specific_groups/cyclic): add `@[to_additive]` to cyclic group
Add @[to_additive] to cyclic group and amend documentation.
- adds
@[to_additive]to the cyclic group. - amends documentation with more accurate defintion.
You also need to add @[to_additive] to all the other declarations. Ideally we could tweak the implementation of to_additive so that it automatically replaces cyclic with cyclic_add in name fragments, so that you don't have to specify all the new names by hand.