Live data from Hacker News

For mathematicians, = does not mean equality

jeremykun.com

1–10 of 206 posts

Re: For mathematicians, = does not mean equality

#4
Operators in mathematics are overloaded in a very similar way to operators in computer science (in languages that permit overloading).

I think the author hints toward a good point: there is no use arguing over the meaning of "=" in a general sense, because the meaning is contextual.

I think this whole discussion is merely indicative of inexperience on the part of computer scientists attempting to navigate mathematics.

Re: For mathematicians, = does not mean equality

#8
Minor note:

> A = { n^2 : n = 1, 2, …, 100 }

> In Python, or interpreting the expression literally, the value of n would be a tuple, producing a type error. (In Javascript, it produces 2.[link] How could it be Javascript if it didn’t?)

That linked JS code uses ^, which is xor, not pow. Math.pow([], 2) = NaN. Or maybe that was the joke and it flew completely over my head.

Re: For mathematicians, = does not mean equality

#9
post #6

This. It's even more obvious in linear algebra where mathematicians routinely start with the premise "Ax = b", even if there is no solution x that would satisfy the equation exactly.

I disagree: "Ax = b" is a statement. It does not need to be true. This is quite useful and often used for "proofs by contradiction".

Re: For mathematicians, = does not mean equality

#10

Operators in mathematics are overloaded in a very similar way to operators in computer science (in languages that permit overloading). I think the author hints toward a good point: there is no use arguing over the meaning of "=" in a general sense, because the meaning is contextual. I think this whole discussion is merely indicative of inexperience on the part of computer scientists attempting to navigate mathematics…

[deleted]
Post reply on HN