Zulip Chat Archive
Stream: new members
Topic: An easy way to convert multiplicative group to additive?
Jakub Nowak (Dec 19 2025 at 04:07):
Is there some tactic than can convert multiplicative group to additive one, without having to re-type whole expression in additive form manually?
import Mathlib
example [CommGroup α] (a b c : α) : a * b * c / a = c * b := by
suffices ∀ (a b c : Additive α), a + b + c - a = c + b from this a b c
intro a b c
abel1
Kevin Buzzard (Dec 19 2025 at 10:06):
Do we still not have mabel? :-( If we had mabel then would you still need this conversion tactic?
Kevin Buzzard (Dec 19 2025 at 10:06):
(I suppose a reasonable way of writing mabel would be to write the conversion tactic first)
Michael Rothgang (Dec 19 2025 at 10:19):
I believe we don't have mabel yet: there were two PRs proposing that, but IIRC in both cases the authors stopped working on them at some point.
Jakub Nowak (Dec 19 2025 at 10:20):
Yeah, my only point was to use abel on it. It's kinda unfortunate that we must have duplicate API too, but it's mostly solved by [to_additive] ig.
Last updated: Dec 20 2025 at 21:32 UTC