News for hackers. Stuff that matters.
Re:'Equals' Has More Than One Meaning in Math by sebtron on Tuesday June 18, 2024 @02:01AM (#40714487)
I don't think it is a "funny" notion of inclusion, but rather that once ℚ is defined, ℤ is silently redefined to be that one subset of ℚ that was used in the construction.
Re:'Equals' Has More Than One Meaning in Math by jhanschoo on Tuesday June 18, 2024 @03:47AM (#40715135)
You can't do this in general, and everywhere, so it's still not rigorous. Consider the embedding of the nats into the reals, where the reals are defined as a subset of the binary sequences (e.g. as the usual infinite binary expansion for (0,1] choosing those that do not terminate in the zeros sequence, but prefix with a Elias-gamma-coded, zigzag-encoded integer). But the usual definition of sequence is as a function from the nats; so are you again going to redefine your reals in terms of that?

In the end you still need to maintain a correspondence between the embedding and the original set as in the typical way where you do that and consider the subset notation as a shorthand that requires you to "lift" or "wrap" through the correspondence wherever necessary.

Re:'Equals' Has More Than One Meaning in Math by whyever on Wednesday June 19, 2024 @03:47AM (#40725887)
I don't think you can define the reals as a mapping from natural numbers, reals are famously not countable.
Re:'Equals' Has More Than One Meaning in Math by Tainnor on Wednesday June 19, 2024 @04:40AM (#40726181)
You can't map the natural numbers to the set of real numbers, but you can map the natural numbers to the fractional part of a single real number.
Re:'Equals' Has More Than One Meaning in Math by defrost on Wednesday June 19, 2024 @04:43AM (#40726194)
How would this work when mapping them to the fractional part of the real number 2 ?

Collapsing a countably infinite set to 0 doesn't seem useful or reversable.

Re:'Equals' Has More Than One Meaning in Math by gizmo686 on Wednesday June 19, 2024 @10:42AM (#40728792)
The integer part is easy, since we already have the integers. Once you have D=[0,1), then you can define R=ZxD. That is to say, this definition of R seperates out the integral and fractional components of every real number.
Re:'Equals' Has More Than One Meaning in Math by Tainnor on Wednesday June 19, 2024 @07:04PM (#40733324)
fun n => 0

I'm not sure what you're trying to disagree with here.

Re:'Equals' Has More Than One Meaning in Math by robinhouston on Wednesday June 19, 2024 @05:25AM (#40726475)
Fortunately functions from the natural numbers are not countable either. This is Cantor's theorem.
Re:'Equals' Has More Than One Meaning in Math by danwills on Wednesday June 19, 2024 @06:04AM (#40726725)
I'm not a set-theorist, but a set-theorist friend of mine once taught me that you can turn a countably-infinite set (such as the integers) into an uncountably-infinite one (like the reals) by applying the 'power set' operation (the set of all subsets).

Not heaps sure what this really means with respect to whether 1 the integer is really completely related (as in, equal, or the-exact same-thing) to 1.0 the real though. Kinda seems like it might still need a bit more information to fully identify a real, even when it happens to be infinitely-close to an integer?

Re:'Equals' Has More Than One Meaning in Math by Tainnor on Wednesday June 19, 2024 @07:06PM (#40733344)
More generally, Cantor's diagonal argument shows that there is no surjective map of a set onto its powerset.
Re:'Equals' Has More Than One Meaning in Math by housecarpenter on Wednesday June 19, 2024 @09:19AM (#40728029)
I think you misunderstood the parent comment. They're not talking about defining the reals by setting up a mapping where each real number corresponds to a unique natural number. They're talking about defining the reals by setting up a mapping where each real number corresponds to a unique mapping from the natural numbers to {0, 1} (i.e. a unique binary sequence). The set of all binary sequences is isomorphic to the power set of the natural numbers, which is uncountable.
Re:'Equals' Has More Than One Meaning in Math by el_pollo_diablo on Tuesday June 18, 2024 @03:02AM (#40714870)
Another way to see it is to prepend every mathematical text involving ℤ with "for every ℤ such that [essential properties omitted]", so that you can apply it to several definitions of ℤ, rather than awkwardly redefining it after the fact. This is the mathematical equivalent of "programming to the interface", and is actually how mathematics are often formalized in modern proof assistants: as huge functors that abstract these details away.
Re:'Equals' Has More Than One Meaning in Math by _nalply on Tuesday June 18, 2024 @05:55AM (#40715814)
This means similar to duck typing?
Re:'Equals' Has More Than One Meaning in Math by klodolph on Tuesday June 18, 2024 @02:12AM (#40714553)
There’s a very deep problem with that—every time you invent a “superset”, do you then have to redefine the subset to be a subset of that “superset”?

There is an infinite chain of supersets of the rational numbers, real numbers, etc.

Think of it like this… we can define 0, and then define 1 as the successor. Repeating this, we can have a definition for every finite number. But we cannot do this the other way around. We cannot start with ∞, define the predecessor to ∞, and then somehow get back to 0.

In other words, if you want to work backwards and say that smaller sets (like the natural numbers) are a subset of the bigger sets (like complex numbers), then you have to pick a “biggest set” containing all numbers, which is unsatisfactory. Somebody always wants a bigger set.

Re:'Equals' Has More Than One Meaning in Math by sebtron on Tuesday June 18, 2024 @02:38AM (#40714715)
> In other words, if you want to work backwards and say that smaller sets (like the natural numbers) are a subset of the bigger sets (like complex numbers), then you have to pick a “biggest set” containing all numbers, which is unsatisfactory. Somebody always wants a bigger set.

Exactly what we did in the Analysis I course I attended during my bachelor: defined the reals axiomatically, and the N as smallest inductive(?) subset containing 0.

Satisfactory or not, it worked well for the purpose. And I actually liked this definition, if anything because it was original. Mathematical definitions don't need to have some absolute philosophical value, as long as you prove that yours is equivalent to everyone else's it's fine.

Re:'Equals' Has More Than One Meaning in Math by klodolph on Tuesday June 18, 2024 @02:46AM (#40714752)
> as long as you prove that yours is equivalent to everyone else's it's fine

That’s exactly the point I was making in the first place.

“Unsatisfactory” just means “unsatisfactory” in the sense that some mathematicians out there won’t be able to use your definitions and still get the subset property. This means that you are, in all realities, forced to deal with the separate notions of “equivalence” and “equality”. Which is what the article is talking about—all I’m really saying here is that you can’t sidestep equivalence by being clever.

Re:'Equals' Has More Than One Meaning in Math by ysofunny on Tuesday June 18, 2024 @02:21AM (#40714602)
> There’s a very deep problem with that—every time you invent a “superset”, do you then have to redefine the subset to be a subset of that “superset”?

I have thought about this too, and I'd initially agree with you. but I thought at some point how mathematical history is not extremely dissimilar from this. put in very rough terms:

at first humans discovered/invented numbers (i.e. the counting numbers); these started at number one — the first number. later on, at some point we had to go back and realize that there was a zero before number one which "silently" redefined the first number as zero and this created the natural numbers a the modern set-based N

edit: adding this alternative rendering of my intended comment triggered by a condescending reply: "mathematics silently redefines stuff all the time. deal with it"

Re:'Equals' Has More Than One Meaning in Math by klodolph on Tuesday June 18, 2024 @02:30AM (#40714664)
There is a different answer here which is more satisfactory… which is to use notions of equality other than set theoretic equality. Which is what the article is talking about.
Re:'Equals' Has More Than One Meaning in Math by threatofrain on Tuesday June 18, 2024 @07:47AM (#40716639)
I have the naive feeling that early counting may have included 0 as a primitive right from the get-go. The need to say "nothing" seems pretty primal.
Re:'Equals' Has More Than One Meaning in Math by Izkata on Tuesday June 18, 2024 @11:00AM (#40718589)
Zero entered western writing systems through India, with limited usage in math before that. It seems like it was invented/borrowed as part of switching from additive numbers (such as Roman numerals) to positional numbers.
Re:'Equals' Has More Than One Meaning in Math by tsimionescu on Wednesday June 19, 2024 @02:13AM (#40725350)
"Nothing" as a concept always existed of course. But it wasn't considered a number, generally. Certainly no one counted "nothing, one, two", and even today natural language doesn't include "nothing" or some equivalent as a numeral noun.
Re:'Equals' Has More Than One Meaning in Math by NeoTar on Wednesday June 19, 2024 @03:03AM (#40725615)
You need to be careful about the phrase “considered a number” since I believe one, or unity, was also not considered a number by some ancient civilisation - i.e. a number was only multiple copies of unity.

[I believe this YouTube video goes into more detail in its discussion of why 1 was not considered Prime in the ancient world: https://youtu.be/R33RoMO6xeA]

Re:'Equals' Has More Than One Meaning in Math by threatofrain on Wednesday June 19, 2024 @02:32PM (#40731098)
That's where I'm quite skeptical. Imagine you are in charge of trade or rationing important village resources in the winter. It just seems to me almost necessary that people would have a way to symbolically indicate that all the sheep are gone. As opposed to just not having any symbol for that at all.
Re:'Equals' Has More Than One Meaning in Math by Jaxan on Tuesday June 18, 2024 @02:30AM (#40714666)
> There is an infinite chain of supersets of the rational numbers, real numbers, etc.

No you only do it for all the sets (of numbers) that you are currently working with.

Re:'Equals' Has More Than One Meaning in Math by klodolph on Tuesday June 18, 2024 @02:36AM (#40714707)
You can work with infinitely many such sets at a time.
Re:'Equals' Has More Than One Meaning in Math by tuatoru on Wednesday June 19, 2024 @03:04AM (#40725624)
You're not redefining anything; you're adding a relationship.
Re:'Equals' Has More Than One Meaning in Math by zarzavat on Wednesday June 19, 2024 @12:13AM (#40724740)
It makes more sense to define it the other way around:

Q = Z u Q’, where Q’ is the set of all rational numbers that aren’t integers.

Re:'Equals' Has More Than One Meaning in Math by trueismywork on Wednesday June 19, 2024 @01:33AM (#40725149)
What the fuck is silently redefined? That's very self-referential reasoning.