Zulip Chat Archive

Stream: mathlib4

Topic: Int.subgroup_cyclic


María Inés de Frutos Fernández (Dec 19 2024 at 11:54):

Is there a reason to prefer to state Int.subgroup_cyclic in terms of AddSubgroup.closure instead of using IsAddCyclic?
@Patrick Massot , @Heather Macbeth

Patrick Massot (Dec 19 2024 at 12:28):

I have no idea what you are talking about. Did I write this?

María Inés de Frutos Fernández (Dec 19 2024 at 12:29):

You and Heather are listed as the file authors, that is why I pinged you.

Patrick Massot (Dec 19 2024 at 12:30):

At least I can tell I didn’t know about IsAddCyclic, so that may be the reason

Yaël Dillies (Dec 19 2024 at 12:30):

Let me blame but I suspect I wrote this

Patrick Massot (Dec 19 2024 at 12:31):

https://github.com/leanprover-community/mathlib3/pull/4334 I did

Yaël Dillies (Dec 19 2024 at 12:32):

Indeed it is Heather and you

Patrick Massot (Dec 19 2024 at 12:33):

And the PR discussion has no mention of is_add_cyclic so I think we simply didn’t notice its existence.

Patrick Massot (Dec 19 2024 at 12:33):

So feel free to refactor.

María Inés de Frutos Fernández (Dec 19 2024 at 12:33):

OK, thanks!

Thomas Browning (Dec 19 2024 at 19:22):

There's no need to have a special lemma for Int since we have the more general: docs#AddSubgroup.isAddCyclic


Last updated: May 02 2025 at 03:31 UTC