Zulip Chat Archive
Stream: general
Topic: Distributivity lemmas
Yaël Dillies (Jan 27 2022 at 11:22):
I am quite unhappy with the current naming convention for distributivity lemmas. Consider
and_or_distrib_leftor_and_distrib_leftand_or_distrib_rightor_and_distrib_right
Which says what? I never know.
Could we make it so that the thing which distributes is always in the same place relative to what is distributed?
Kyle Miller (Jan 27 2022 at 17:25):
Isn't it that foo_bar_distrib_left is that a foo (b bar c) = (a foo b) bar (a foo c) and foo_bar_distrib_right is (a foo b) bar c = (a bar c) foo (b bar c)?
Yaël Dillies (Jan 27 2022 at 17:26):
Yeah, so names which are at Hamming distance one do not correspond to lemmas which are at Hamming distance one.
Last updated: May 02 2025 at 03:31 UTC