Zulip Chat Archive
Stream: mathlib4
Topic: left/right naming
Yury G. Kudryashov (Feb 27 2024 at 07:53):
We have docs#Set.diff_subset_diff_left and docs#sdiff_le_sdiff_right. They're defeq (for sets). Do we have a policy about left/right in lemmas like this?
Yaël Dillies (Feb 27 2024 at 08:20):
For some weird reason, we need the Set/Finset-specific lemmas for rewriting
Yury G. Kudryashov (Feb 27 2024 at 08:22):
Even if we drop Set/Finset-specific lemmas (e.g., by migrating to ≤ with notation), we have plenty of other opportunities to be inconsistent with left/right in the names.
Yaël Dillies (Feb 27 2024 at 08:39):
For left/right questions about binary operators, please always follow docs#mul_le_mul_of_nonneg_left and docs#mul_le_mul_of_nonneg_right. I spent a lot of time ensuring the left/right naming is consistent within the order theory of multiplication.
Last updated: May 02 2025 at 03:31 UTC