Zulip Chat Archive

Stream: mathlib4

Topic: aligns without content?


Heather Macbeth (Nov 15 2022 at 19:48):

The mathport output in
https://github.com/leanprover-community/mathlib3port/blob/master/Mathbin/Algebra/Order/Monoid/Lemmas.lean
contains a lot of align statements in which the "before" and "after" names seem to be the same, such as

#align mul_le_mul_right' mul_le_mul_right'

Do these have any function? Can they be deleted?

Jireh Loreaux (Nov 15 2022 at 19:58):

I could be wrong, but I think this is the result of the discussion last week during meeting about mathport #aligning more statements. The idea being that it's easier to just delete the line if it's not necessary than to type most of it again.

Heather Macbeth (Nov 15 2022 at 20:00):

Thanks. So I should indeed delete them?

Mario Carneiro (Nov 15 2022 at 20:17):

you should delete them if you aren't planning a rename, yes


Last updated: Dec 20 2023 at 11:08 UTC