If the Lean 3 input has the form
def add_foo := ...
@[to_additive]
def mul_foo := ...
then the mathport output now contains one #align add_foo addFoo resulting from add_foo, and two #align statements resulting from mul_foo, because of its to_additive instance.
This isn't a big deal, because you can just delete the duplicate #align command.
If the Lean 3 input has the form
then the mathport output now contains one
#align add_foo addFooresulting fromadd_foo, and two#alignstatements resulting frommul_foo, because of itsto_additiveinstance.This isn't a big deal, because you can just delete the duplicate
#aligncommand.