Skip to content

double #align with toAdditive to existing definition #221

@rwbarton

Description

@rwbarton

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions