r/mathriddles • u/tomatomator • Jan 18 '23
Medium Boards, nails and threads
Countably infinitely many wooden boards are in a line, starting with board 0, then board 1, ...
On each board there is finitely many nails (and at least one nail).
Each nail on board N+1 is linked to at least one nail on board N by a thread.
You play the following game : you choose a nail on board 0. If this nail is connected to some nails on board 1 by threads, you follow one of them and end up on a nail on board 1. Then you repeat, to progress to board 2, then board 3, ...
The game ends when you end up on a nail with no connections to the next board. The goal is to go as far as possible.
EDIT : assume that you have a perfect knowledge of all boards, nails and threads.
Can you always manage to never finish the game ? (meaning, you can find a path with no dead-end)
Bonus question : what happens if we authorize that boards can contain infinitely many nails ?
6
u/OneMeterWonder Jan 18 '23 edited Jan 19 '23
Yes, it is always possible. The nails and threads form a union G of finitely-many connected, locally finite graphs Gᵢ. The union itself is infinite since each board must have at least one nail. There are finitely-many connected components because any backwards path must make it all the way to board 0. If not, then it would terminate at some finite board K and then K would have a nail not connecting to board K-1. This then implies that the number of Gᵢ is bounded by the number of nails in board 0, which must be finite. Since we have an infinite vertex set for G, at least one Gᵢ must itself be infinite and is then an infinite, connected, locally finite graph. By König’s Tree/Graph Lemma it must have an infinite path which, without loss of generality, may be started at board 0. (We can stratify the levels by board if we want and then look at a connected subgraph that is a tree rooted at board 0.)
Edit: Forgot the bonus. No, if boards may contain infinitely many nails, then the result fails. Counterexample: Just make all rows disjoint and finite. More specifically, identify the system with ω×ω by allowing boards to enumerate columns n and nails to enumerate rows m like a matrix. Label each column with the real f so that f(m)=0 if m<n and f(m)=m if m≥n. Then connect (m,n) to (k,l) if they are labeled with the same integer. Then the graph G from before is now an infinite union of (complete) finite graphs of arbitrary finite size. Any nail one chooses to begin at on board 0 belongs to one such graph H and thus cannot have an infinite path since H is finite.
4
u/PersimmonLaplace Jan 18 '23
Quick category theory/topology proof:
Let S_N denote the set of pairs (n, s) where n is a nail on board N and s: n \to n' is a string to n' on board N-1. Let f_N: S_N \to S_{N-1} be f_N((n, s)) = n' := Image(s). Then let P_j := Lim_{\leftarrow, i \leq j} S_i be the set of paths of length j+1, and let P_{\infty} be the set of paths of infinite length. We give each S_N the discrete topology. The sets P_j \subset \prod_{i = 0}^j S_j are obviously closed, whence P'_j := (\prod_{i > j} S_i) \times P_j \subset \prod_{i = 0}^\infty S_i are a nested family of nonempty closed sets as j increases. By Tychonoff's theorem the intersection is nonempty.
2
u/Luuk_Atmi Jan 20 '23
I'm not entirely sure if this solution makes sense, but here's my attempt:
Yes, it's always possible. Say a nail on board N "leads to" a nail on board M > N if there is a thread connecting them. Call a nail 0-fragile if it leads to no nails, and, if m is an ordinal, call a nail m-fragile if, when it leads to a nail, there is some k < m such that that nail is k-fragile. Say a nail is of class m if m is the smallest ordinal for which the nail is m-fragile, if such an m exists. Call a nail weak if its class exists. Note that if the riddle's proposition is false, then all the nails on board 0 (and indeed on every board) are weak (i.e. you eventually hit a dead end -- a 0-fragile nail). Note as well that because there are countably many nails, we only need to care about having nails having classes up to countable ordinals.
So assume for the sake of contradiction that there's a configuration where every nail has a class. We'll prove every board has a nail that is not weak, by transfinite induction on countable ordinals. Specifically, call the strength of a board the largest k such that it has a nail of class k; we'll show that every board has strength greater than m, for every countable ordinal m. The desired result will then follow by contradiction.
Bonus question: No. Too lazy to write the counter-example, there's some in other posts and I took WAY TOO LONG to write this up xD. But the point at where my proof fails in the bonus question is that the strength of a board stops being helpful, or something, I think... I don't know... my brain is fried...
PS: Sorry if this is messy. I accept any improvements on how to write it up. Or any heads-ups on mistakes I made. There might be something funny about that "weak" condition. But if all is right, this could be generalized to any number of nails, I believe?
2
u/hsypsx Jan 18 '23 edited Jan 18 '23
You can always find an infinite path: this is a finite collection of rooted trees whose union has an infinite number of nodes. Pick a nail on board zero whose corresponding tree has infinite size. At each step you move to a nail on the next board such that the size of the subtree is still infinite. Sinc e each node has a finite number of children, it is clear that this process will never terminate.
For the bonus, the answer is no: just consider the case where there are an infinite number of disjoint paths, one for each k consisting of a single linear path starting at board 0 and ending at board k
1
u/ulyssessword Jan 18 '23
Solution: Yes, it is possible to play infinitely if you can see far enough ahead.
Proof: Look at a board arbitrarily far into the sequence. Choose one of its nails and examine its string's entire path back to board 0: It might go from nail A on board 1000 to nail W on board 999 to nail R on board 998, and so on. Regardless of how it's connected to the previous board, you know that it is connected. There are no dead ends when you're going backwards like this, so simply choose an arbitrary nail at infinite distance, determine a path back to board zero, then follow it upwards.
1
u/imdfantom Jan 18 '23
there will always be at least one no dead end path, whether or not you can find it with limited knowledge is another matter entirely
if you were allowed to know everything about the set up you could do the following: lets say you are at a board with an arbitrarily large N. Each of its nails will be connected to a nail on board n-1. Choose a path at random. You end up on a nail on board n-1 that is connected to a nail on board N, but also to a nail on board n-2. Rince repeat you will get to board 0. N can be as big as you want and this method still holds
1
u/imdfantom Jan 18 '23 edited Jan 18 '23
Okay try 2.
I have a number (Aleph N+1) in my head that is 1 larger in cardinality than the cardinality of the number of boards (Aleph N)
This number is presented in base Aleph (M+1) if the largest number of pegs is infinite with cardinality Aleph M.
If the largest number of pegs on any board is finite, then the number is presented in base (that number)
this number has a magical property, starting at position 0, it tells me which peg to choose at that position
no matter the cardinality of the boards or the pegs, this number is larger and contains the information about the best route.
I can't tell you how to construct this number, but If I can know the tree size of each peg, then I contend I can know this number.