Re:Mathematicians welcome computer-assisted proof in ‘grand ...
by Jweb_Guru on Monday June 21, 2021 @01:16PM
(#27581237)
Nope, proving something is a group doesn't usually run into foundational concerns (at least if you use setoid equality). But finding a function exhibiting a homomorphism can unless you use a functional relation instead (but then you lose most of the nice benefits of using this version of the definition in the first place).
In any event, Lean's reputation is that it goes the extra mile for "regular" mathematicians. It probably has something nicer for this just like it does for quotiented types.