Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

double #align with toAdditive to existing definition #221

Open
rwbarton opened this issue Jan 19, 2023 · 0 comments
Open

double #align with toAdditive to existing definition #221

rwbarton opened this issue Jan 19, 2023 · 0 comments

Comments

@rwbarton
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant