mathport icon indicating copy to clipboard operation
mathport copied to clipboard

double #align with toAdditive to existing definition

Open rwbarton opened this issue 2 years ago • 0 comments

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.

rwbarton avatar Jan 19 '23 14:01 rwbarton