Slashdot Log In
Road Coloring Problem Solved
Posted by
kdawson
on Fri Mar 21, 2008 08:35 AM
from the hard-but-not-complicated dept.
from the hard-but-not-complicated dept.
ArieKremen writes "Israeli Avraham Trakhtman, a Russian immigrant mathematician who had been employed as a night watchman, has solved the Road Coloring problem. First posed in 1970 by Benjamin Weiss and Roy Adler, the problem posits that given a finite number of roads, one should be able to draw a map, coded in various colors, that leads to a certain destination regardless of the point of origin. The 63-year-old Trakhtman jotted down the solution in pencil in 8 pages. The problem has real-world implementation in message and traffic routing."
Related Stories
This discussion has been archived.
No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
Full
Abbreviated
Hidden
Loading... please wait.
The writeup is misleading (Score:5, Informative)
The parent is misleading (Score:4, Informative)
'deterministic automaton' basically means: computer program which doesn't have any form of randomness involved. If you're in this particular state in the program and you do this particular thing then always the same thing happens.
The road colouring problem amounts to: For any program, I claim that there is one single sequence of actions so that if you do this sequence of actions, from whatever start point, when you finish you will be in a specific state (`target', say) of the program.
If you take any real normal program, it's `obvious' what to do: for example if you're looking at 'edit' and you want a typed copy of Shakespeare in Times 12pt, you hit backspace as many times as edit can have characters (lots, but it's a finite number) then you go through the menus by keypress and set each style to the correct thing, then you start typing in the works of Shakespeare which eventually gives you the target state. And it doesn't matter if the monitor was off, you know that this method definitely works, whatever state edit was in when you got there, whether it was in the blank just loaded state, or whether it was editing font size in War and Peace, whatever.
It is not so easy to prove that in fact for any program you can find such a sequence.
In fact, it isn't even true. A really simple example is the program which every time you press a key changes the screen between red and blue. Now you're supposed to give a sequence of actions - keystrokes - which are guaranteed to end up with the screen blue (target state). But really what the keystrokes are is irrelevant. This program doesn't care if you press 'a' or 'ESC', it just changes screen colour every stroke. So really your sequence of actions comes down to 'press keys however many times'. How many times? Well, if the screen starts red (and remember the monitor is off, so you don't know if that's true) then you'd need to press keys an odd number of times to get it to end up blue. So you have to do that. But then what happens if the screen started blue? It ends up red. This sequence of actions doesn't always reach the target state - and there cannot be any sequence of actions which does.
So you have to impose a condition to make the result true. In the example I gave, the program has two states and it loops between them. It's a program with exactly one loop, of length two, and the greatest common divisor (GCD) of these loops is of course 2. Basically, having the ability to loop between states like this (or in a loop of length 3, or 4, or whatever) is the only 'obvious' barrier to having a sequence of actions which goes to a target state. So you impose a condition: the GCD of all the loops is 1 (this doesn't mean there are no loops, but the guy proves it means you can find a way out of all the loops). If you don't have that, then you can find automatons (programs) which work like the example and you cannot possibly have the sequence of actions you need. If you do have it, there is no 'obvious' barrier to the sequence of actions existing. And what this paper shows is that there isn't any hidden catch: once you get rid of the 'obvious' barrier then you can find a sequence of actions which definitely puts the program you're looking at into the target state.
Parent
Re: (Score:3, Informative)
Applications? (Score:4, Interesting)
Re:Applications? (Score:5, Informative)
Parent
It's a theorem (Score:4, Insightful)
It's a theorem which states that if a graph is strongly connected and aperiodic, then there exists a road coloring. It was conjectured by Weiss and proven by Trahtman 30 years later, which is what the article is about. A graph that is periodic may still have a road coloring, but that's not the scope of the theorem.
Most roads are strongly connected but periodic (not aperiodic), in the sense that you can drive around a block in 4 segments, and drive around 2 blocks in 6. The period in this case is 2. You can't guarantee a computer network to be aperiodic either. These graphs may still have a road coloring, but the theorem doesn't apply. Therefore, this theorem has little application in practice.
I haven't read the paper, but there are generally two ways to prove the theorem: (1) show a coloring algorithm that makes only the assumptions of strong connectivity and aperiodicity, or (2) show the contraposition, that if there is no road coloring, then it implies either the graph is not strongly connected or there is period. Only (1) is useful in practice because you have a method to generate road coloring and instructions to reach all vertices, but it's harder to verify that (1) is correct. (2) is not very useful because although you have a proof, but you don't end up with an algorithm that generates road coloring.
In practice, algorithms get things done. Proofs are only certificates.
Parent
Bad timing. (Score:5, Funny)
Link to the solution (Score:5, Informative)
wikipedia (Score:5, Informative)
Re: (Score:2, Informative)
Re:wikipedia (Score:5, Informative)
Parent
Re:wikipedia (Score:5, Informative)
The problem is more constrained than that. Think about it more like this: You're in a town that's been planned very carefully. At any intersection, the possible roads away from that intersection are labeled with colors. I'll assume three colors, and that each intersection has exactly three roads leading away from it (the number of roads that lead into the intersection doesn't matter).
Your friend tells you that his address is "Red-Blue-Blue". This means that, no matter which intersection you start from, by repeatedly following these directions, you WILL end up at his house.
Parent
A Subquadratic Algorithm for Road Coloring (Score:5, Informative)
Old news? (Score:5, Insightful)
2. Apparently his proof was published last September. It's "news" because it's just now hitting the semi-mainstream press. You people fail at nerddom.
Re: (Score:3, Funny)
No, they're just applying the normal slashdot skepticism. The guy was a security guard for crying out loud. And he's old. Really old. No way he could have used his brain to solve something involving math. Besides, he's probably only trying to get seed money so he can start a pyramid scheme selling perpertual motion.
Re: (Score:3, Funny)
Actually (Score:3, Interesting)
Re: (Score:2)
Re: (Score:2)
Re:Actually (Score:5, Funny)
Where's my PEDANTIC:-1 option?
Parent
Sign of a true Genius. (Score:5, Insightful)
The man is a True Genius. Insight to all of out out there, that is the proper way of thinking.
Re:Sign of a true Genius. (Score:4, Funny)
Today, we salute you, Mr. former-nightwatchman-turned-mathmetician!
Parent
HIRED! (Score:3, Funny)
Slashdottings in real life? (Score:2)
The conjecture essentially assumed it's possible to create a "universal map" that can direct people to arrive at a certain destination, at the same time, regardless of starting point. Experts say the proposition could have real-life applications in mapping and computer science.
If a thousand people arrive at a shopping mall, at the same time, isn't that called a flash mob [wikipedia.org]? Then I guess this conjecture has already been solved online, and it is called Slashdot.
What about the cyclical traps? (Score:2)
Washington - RNC ??? (Score:3, Funny)
What is road-coloring (and why we should care) (Score:5, Interesting)
I knew it! (Score:5, Funny)
and the evil professor says ... (Score:3, Funny)
Show your work.
In related news .... (Score:4, Funny)
Re:XKCD (Score:5, Informative)
Parent
Re: (Score:3, Informative)
Re: (Score:3, Informative)
What I don't quite get, is the efficiency of this. The WP example looks like, transferred to the real world, a trip from Ohio to Cleveland may very well go through Indiana and Pittsburgh. Not what I'd consider efficient/fast routing.
Re: (Score:3, Funny)
wait, ohio to cleveland?
Re: (Score:2)
Re:Yeah, yeah, First Post, but... (Score:4, Insightful)
Parent
Re: (Score:3, Funny)
What airlines have you been using lately? Not the ones I fly, certainly.
Re:Night Watchman? (Score:5, Funny)
Parent
Re:Night Watchman? (Score:4, Funny)
Parent
HE'S NOT A WATCHMAN (Score:5, Informative)
If you RTFA (yes, I must be new here) he worked as a night watchman when he first moved to Isreal. He's been working in mathematics for over a decade.
Originally from Yekaterinburg, Russia, Trahtman was an accomplished mathematician when he came to Israel in 1992, at age 48. But like many immigrants in the wave that followed the breakup of the Soviet Union, he struggled to find work in the Jewish state and was forced into stints working maintenance and security before landing a teaching position at Bar Ilan in 1995.
You might as well say the 2002 Nobel prize in economics went to a lieutenant in the army. It's just a minor detail that he was a lieutenant 50 years before winning the prize.
Parent
Re: (Score:3, Interesting)
http://developers.slashdot.org/article.pl?sid=08/03/04/2348257 [slashdot.org]
Re:Night Watchman? (Score:4, Interesting)
Parent
Re:Night Watchman? (Score:4, Informative)
Parent
Re: (Score:2)
Re: (Score:2)
And in my experience, you mainly see that America-only stuff in the public sector(and even then, not too often). The business world tends to know better.
Re: (Score:2, Insightful)
Re: (Score:3, Informative)
However, the article ALSO says he's been teaching mathematics at Bar Ilan University since 1995; the university is where he solved t
Re: (Score:2)
Re:OK, but... (Score:4, Funny)
Parent
Re: (Score:2)
Well, unfortunately for all us Free Worlders out there, that path is apparently a Red one.