-
-
Notifications
You must be signed in to change notification settings - Fork 14
Add descriptive names for and and or
#26
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
base: main
Are you sure you want to change the base?
Conversation
|
They are also used for GCD and LCM in France.
Wouldn't that be like
We already have |
|
+1. They are also more generally used for meets and joins in a lattice (related to the order theory example given by @T0mstone). Also agree that |
|
@T0mstone note that you would also need to add
To be fair, I don't really like An alternative to |
|
At first glance, I'm not a big fan of this. Let's discuss it more before any merge. (Next week.) |
|
I've added As for the discussion, I personally think this is a very reasonable request and if we don't have this, then we should take away |
|
What I mainly dislike about this is the following: For the meaning of "and" and "or", People that use these operators for other meanings than "and" and "or" should probably define their own binding. I can agree that defining |
|
I agree with @laurmaedje's point. However, the use of these symbols for meets and joins are also exceptionally common, so I'm inclined to say that we should perhaps also have them as I'm unfamiliar with the original motivating example of exterior and regressive products, but a quick search seems to reveal that they are also special cases of meets and joins in the sense of lattices (and are even sometimes called meet and join). So I think my current vote right now is to just also include these as |
|
If "people coming from LaTeX" is the issue, how about just using different names? Then, if people ask, we can direct them to For example, they could be Edit: Didn't see @dccsillag's point above before writing this. I'd also be fine with |
|
There is a problem because |
|
Some more context about the current In summary, the difference between bowties and the current |
|
As far as I'm aware, meets and joins are way more common than bowties, and more commonly referred to as simply 'join'. So my personal vote is to change |
|
Converting this to a draft since it would ideally be done with the changes from #27 instead. |
wedge and vee duplicates of and and ormeet and join duplicates of and and or
|
With #93 now merged, the name "join" will be unblocked after the next release, so I've made the name change here and will mark it ready to review. |
I've never heard of meet and join before, but according to Wikipedia, the wedge shaped one of them is commutative and that's not the case for the exterior product, so it can't be a special case of it. So if we are adding an alias for the special meanings |
|
Well, the exterior product is anticommutative, so its "absolute value" (if you want to define such a thing) would be commutative, which I would consider close enough. |
|
Anticommutative is literally the opposite of commutative. So my point is, that this prevents the exterior product to be a special case of meet and join so we don't even need to argue in what sense it could be one. Also meet and join feel a bit obscure to me. There are no German/French/Italian/… Wikipedia articles for it and I haven't encountered these terms and associated symbols even once in my Math Bachelor and Master studies. |
Only in name, I'd say the opposite of commutative is noncommutative. Anticommutative is very similar to commutative, it just has an extra minus sign. But you're right that it's not strictly a special case then.
Sure, that's a valid argument. I'm not just trying to push these terms either. However they are the best among those considered so far imo (see the criticism of As a new idea, maybe we could also call them |
I think this summarizes my current thoughts on this change. Yes, |
If we add descriptive names for those symbols, I think wedge is definitely the way to go. But in that case, I would even consider adding < and > as |
GCD and LCM are instances of meet and join fwiw. |
|
Since the wedge product is way more common than the products denoted by the inverse wedge, I think |
meet and join duplicates of and and orand and or
|
I'm still quite strongly against adding |

Currently, ∧ and ∨ are only addressable as
andandor.Though that usage is very common, these symbols have various other uses in different fields of math.
Two that I know of are:
Therefore, like
xorwithplus.circle, I think these deserve a name that reflects their shape.I took the names from LaTeX, though I'm not too happy about "vee". Maybe having the same names as LaTeX here is a benefit in and of itself, but I'd also like to hear some other suggestions if you have any.
Side-note: I didn't know where to put them in the source file, so I just went with "Shapes". Feel free to offer a better suggestion.