News for hackers. Stuff that matters.
Re:Hilbert's Paradox of the Grand Hotel by lupire on Saturday June 12, 2021 @09:51AM (#27484495)
"Moving" has nothing to do with the paradox. Being reassigned to a new room could take 0 time, with no buffer. Mapping n to n+1 creates a hole at 1.

It's an unphysical model, that only exists in abstract mathematics.

Re:Hilbert's Paradox of the Grand Hotel by rsj_hn on Wednesday June 16, 2021 @03:36AM (#27525905)
It's just functions f: N -> N

For example you can assign an integer to each guest, and an integer to each room, and the "move" is just the function: guests --> rooms.

As long as this function is injective, then you do not put more than 1 guest in each room.

Then this is just the observation that you can put every guest in a room and still have some empty rooms (rooms not in the range of the function). For example, the deep and paradoxical function f(n) = n+1 corresponds to an assignment of every guest that used to be in room n to room n+1.

I guess if you want, you can think of a description of the function as a sequence of "moves" with people in an actual hotel, but then since the domain of the function is infinite you have to think of an infinite "number" of moves. Then you add time to the mix and carpet hallways or whatever, you start getting lost and saying the whole thing doesn't make sense, but that's only because you are stretching these metaphors beyond the breaking point when what is really being described by the "paradox" is that you can have an injective function from an infinite set to itself that is not surjective.

By the way, once you realize that, for example, when dealing with positive real numbers there exists functions of the form: f(x) = x + 1, then you see that this "hotel" doesn't even need countably infinite moves, it can have uncountably infinite moves. Just please stop trying to worry about the weight of the hotel or how the HVAC works and getting all tangled up in stretching metaphors past their breaking point.

Re:Hilbert's Paradox of the Grand Hotel by benjohnson on Saturday June 12, 2021 @10:34AM (#27484763)
Thanks for answering! I think I get it.

Any idea on if directing guests to move randomly would work as well as directing them to move in patterns?

Re:Hilbert's Paradox of the Grand Hotel by bmm6o on Saturday June 12, 2021 @11:37AM (#27485174)
If collisions can happen they will happen with probability 1, since there is infinite opportunity. There's also the issue of there not existing a uniform distribution on the integers, so it's hard to get the chances of collision low in the first place.
Re:Hilbert's Paradox of the Grand Hotel by rightbyte on Saturday June 12, 2021 @10:26AM (#27484714)
An interpretation could be that remapping infinite sets like that creating holes is an invalid or nonsense operation.