Zulip Chat Archive
Stream: Is there code for X?
Topic: Tactic for CommGroup
Alfredo Moreira-Rosa (Aug 23 2025 at 17:13):
Hello, is there a tactic to solve goals on CommGroup (no addition) like ring for Semi-Ring ?
Aaron Liu (Aug 23 2025 at 17:15):
There's abel for AddCommGroup
Alfredo Moreira-Rosa (Aug 23 2025 at 17:17):
yeah, but mine is not abelian ...
Aaron Liu (Aug 23 2025 at 17:20):
ecyrbe said:
yeah, but mine is not abelian ...
But it's Commutative? As in CommGroup?
Alfredo Moreira-Rosa (Aug 23 2025 at 17:21):
yes, only has multiplication, commutative and associative
Yaël Dillies (Aug 23 2025 at 17:22):
It's sadly well known that abel only works for additive groups... PRs welcome and guidance offered though :slight_smile:
Aaron Liu (Aug 23 2025 at 17:23):
ecyrbe said:
yes, only has multiplication, commutative and associative
That would be a CommSemigroup, which I usually use ac_rfl for
Alfredo Moreira-Rosa (Aug 23 2025 at 17:24):
it's a full comm group, it has inversion and division
Alfredo Moreira-Rosa (Aug 23 2025 at 17:24):
let me try ac_rfl
Alfredo Moreira-Rosa (Aug 23 2025 at 17:25):
...no luck, not enough
Alfredo Moreira-Rosa (Aug 23 2025 at 19:11):
I just realised that i can just redefine my multiplication as an addition operator and get an AddCommGroup, and then use moduleor abel tactics to solve the goals.
Last updated: Dec 20 2025 at 21:32 UTC