<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Gödel's Lost Letter and P=NP</title>
	<atom:link href="http://rjlipton.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://rjlipton.wordpress.com</link>
	<description>a personal view of the theory of computation</description>
	<lastBuildDate>Sun, 03 Jun 2012 02:37:42 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='rjlipton.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Gödel's Lost Letter and P=NP</title>
		<link>http://rjlipton.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://rjlipton.wordpress.com/osd.xml" title="Gödel&#039;s Lost Letter and P=NP" />
	<atom:link rel='hub' href='http://rjlipton.wordpress.com/?pushpress=hub'/>
		<item>
		<title>Proud Simons</title>
		<link>http://rjlipton.wordpress.com/2012/06/01/proud-simons/</link>
		<comments>http://rjlipton.wordpress.com/2012/06/01/proud-simons/#comments</comments>
		<pubDate>Sat, 02 Jun 2012 01:46:44 +0000</pubDate>
		<dc:creator>Pip</dc:creator>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Big Data]]></category>
		<category><![CDATA[complexity]]></category>
		<category><![CDATA[Karp]]></category>
		<category><![CDATA[Simons]]></category>
		<category><![CDATA[songs]]></category>

		<guid isPermaLink="false">http://rjlipton.wordpress.com/?p=8815</guid>
		<description><![CDATA[Help get the new institute rolling (src) Dick Karp is now the director of the Simons Institute for the Theory of Computing. Today Ken and I are going to do something that we rarely do. Well hardly ever do. Okay we have done it once or twice before. We have been asked by Dick to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8815&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font color="”#0066cc?"><br />
<em> Help get the new institute rolling </em><br />
<font color="”#000000?"></p>
<table class="image alignright">
<tr>
<td>
<a href="http://rjlipton.files.wordpress.com/2012/06/karpplus.jpg"><img src="http://rjlipton.files.wordpress.com/2012/06/karpplus.jpg?w=300&h=200" alt="" title="karpPlus" width="300" height="200" class="alignright size-medium wp-image-8817" /></a>
</td>
</tr>
<tr>
<td class="caption alignright">
<FONT size="-2">(<a href="http://www.dm.unito.it/~cerruti/mathnews0309.html#22030901%22">src</a>)<br />
</FONT>
</td>
</tr>
</table>
<p>
Dick Karp is now the director of the Simons Institute for the Theory of Computing.</p>
<p>
Today Ken and I are going to do something that we rarely do. Well hardly ever do. Okay we have done it once or twice before.</p>
<p>
We have been asked by Dick to help announce the Institute&#8217;s call for new proposals. So <a href="http://simons.berkeley.edu/cfp_summer2012.html">propose</a> away, and help them get started.</p>
<p>
<p><H2> The Call </H2></p>
<p><p>
Asking to do something that we usually do not do reminded us of the great <a href="http://www.lyricsfreak.com/t/tina+turner/proud+mary_20137717.html">song</a> &#8220;Proud Mary&#8221;&#8212;with apologies to John Fogerty and Tina Turner here is our version:</p>
<p>
<TT><br />
Y&#8217; know, every now and then<br />
I think you might like to hear something from us<br />
Nice and simple<br />
But there&#8217;s just one thing<br />
You see we never ever do nothing<br />
Nice and simple<br />
We always do it nice and complex<br />
So we&#8217;re gonna take the beginning of this<br />
And do it easy<br />
Then we&#8217;re gonna do the finish complex<br />
This is the way we do &#8220;Proud Simons&#8221;</p>
<p>
And we&#8217;re rolling, rolling, rolling across the Bay<br />
Listen to the story<br />
I left a good job at my department<br />
Working for the chair every night and day<br />
And I never lost one minute of sleeping<br />
Worrying &#8217;bout the way theorems might have been </p>
<p>
Big wheel keep on turning<br />
Proud Simons keep on burning<br />
And we&#8217;re rolling, rolling<br />
Rolling across the Bay-ay&#8230;<br />
</TT></p>
<p><P><br />
Here is the <a href="http://simons.berkeley.edu/cfp_summer2012.html">pointer</a>. Or just study the wordle:</p>
<p><P><br />
<a href="http://rjlipton.files.wordpress.com/2012/06/sum.png"><img src="http://rjlipton.files.wordpress.com/2012/06/sum.png?w=600&h=385" alt="" title="sum" width="600" height="385" class="aligncenter size-full wp-image-8816" /></a></p>
<p><H2> Another Announcement </H2></p>
<p><p>
Our rule is we break rules only when we&#8217;ve already broken the rules. So here is another announcement: Christoph Koch, Aleksander M&#261;dry, and R&uuml;diger Urbanke are organizing an <a href="http://frontiers.epfl.ch/index.php/">Algorithmic Frontiers Workshop</a>, June 11&#8211;14 at EPFL in Lausanne, Switzerland. It appears they are still accepting <a href="http://frontiers.epfl.ch/index.php/Registration">registration</a>, which is free. The <a href="http://frontiers.epfl.ch/index.php/Program">program</a> includes talks by people previously featured here.</p>
<p>
<p><H2> Something Complex </H2></p>
<p><p>
We promised to end on something complex. This new StackExchange &#8220;Code Golf&#8221; <a href="http://codegolf.stackexchange.com/questions/6043/were-no-strangers-to-code-golf-you-know-the-rules-and-so-do-i">puzzle</a> asks for the shortest program that generates the lyrics to another <a href="http://pastebin.com/wwvdjvEj">song</a>, &#8220;Never Gonna Give You Up&#8221; by Rick Astley. Note that <a href="http://en.wikipedia.org/wiki/The_Complexity_of_Songs">carminal complexity</a> is an established research subject going back to a famous <a href="http://www.cs.utexas.edu/users/arvindn/misc/knuth_song_complexity.pdf">paper</a> by Donald Knuth.</p>
<p>
<p><H2> Open Problems </H2></p>
<p><p>
 One of the <a href="http://newscenter.berkeley.edu/2012/05/01/simons-institute-for-the-theory-of-computing/">stated</a> purposes of the Simons Institute is to &#8220;bring new insights into key problems in domains beyond conventional computation that require the analysis of vast amounts of data using new algorithms and mathematical approaches.&#8221; What should a complexity theory of Big Data look like? Close to complexity of song lyrics, or closer to <a href="http://en.wikipedia.org/wiki/Data_center">data center</a> models where <a href="http://encyclopedia2.thefreedictionary.com/darkened+datacenter">darkness</a> can be a complexity measure? Or must we heed caveats about &#8220;data science&#8221; voiced <a href="http://www.technologyreview.com/printer_friendly_article.aspx?id=40320">here</a>?</p>
<p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rjlipton.wordpress.com/8815/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rjlipton.wordpress.com/8815/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rjlipton.wordpress.com/8815/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rjlipton.wordpress.com/8815/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rjlipton.wordpress.com/8815/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rjlipton.wordpress.com/8815/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rjlipton.wordpress.com/8815/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rjlipton.wordpress.com/8815/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rjlipton.wordpress.com/8815/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rjlipton.wordpress.com/8815/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rjlipton.wordpress.com/8815/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rjlipton.wordpress.com/8815/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rjlipton.wordpress.com/8815/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rjlipton.wordpress.com/8815/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8815&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rjlipton.wordpress.com/2012/06/01/proud-simons/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b5d34e23e23268dbd35f2da17acaaad5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dickken</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/06/karpplus.jpg?w=300" medium="image">
			<media:title type="html">karpPlus</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/06/sum.png" medium="image">
			<media:title type="html">sum</media:title>
		</media:content>
	</item>
		<item>
		<title>Chess Knightmare and Turing&#8217;s Dream</title>
		<link>http://rjlipton.wordpress.com/2012/05/31/chess-knightmare-and-turings-dream/</link>
		<comments>http://rjlipton.wordpress.com/2012/05/31/chess-knightmare-and-turings-dream/#comments</comments>
		<pubDate>Fri, 01 Jun 2012 01:00:21 +0000</pubDate>
		<dc:creator>KWRegan</dc:creator>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[chess]]></category>
		<category><![CDATA[Garry Kasparov]]></category>
		<category><![CDATA[Turing]]></category>
		<category><![CDATA[Viswanathan Anand]]></category>

		<guid isPermaLink="false">http://rjlipton.wordpress.com/?p=8773</guid>
		<description><![CDATA[Plus answers to Sunday&#8217;s test on Turing By permission of Mike Magnan, artist. Viswanathan Anand retained his chess world championship title yesterday, by defeating challenger Boris Gelfand in a rapid-chess playoff after the twelve regulation games ended in a 6-6 tie. Yet the match&#8212;the most important in chess&#8212;was by most accounts not very exciting. Ten [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8773&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font color="”#0066cc?"><br />
<em> Plus answers to Sunday&#8217;s test on Turing </em><br />
<font color="”#000000?"></p>
<table class="image alignright">
<tr>
<td>
<a href="http://rjlipton.files.wordpress.com/2012/05/anandsombrero.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/anandsombrero.jpg?w=600" alt="" title="AnandSombrero"   class="alignright size-full wp-image-8774" /></a>
</td>
</tr>
<tr>
<td class="caption alignright">
<FONT size="-2">By permission of <a href="http://regator.com/whatshot/Mike+Magnan/">Mike Magnan</a>, artist.<br />
</FONT>
</td>
</tr>
</table>
<p>
Viswanathan Anand retained his chess world championship title yesterday, by defeating challenger Boris Gelfand in a rapid-chess playoff after the twelve regulation games ended in a 6-6 tie. Yet the match&#8212;the most important in chess&#8212;was by most accounts not very exciting. Ten of the twelve games were draws, seven with agreement before Move 30 which is disallowed in many tournaments. Many of their moves had been prepared using computers, often toward or beyond Move 20.</p>
<p>
Today I ask why computers playing among themselves have produced livelier games than recent matches of humans equipped with computer preparation. </p>
<p>
Anand&#8217;s third straight match win since gaining the world title in 2008 is impressive. His play can often be exciting, though his results last year were lackluster. Gelfand earned the right to challenge by winning last year&#8217;s Candidates&#8217; Match-Tournament in Kazan, Russia. In that event 27 of 30 regulation games were drawn and most matches were decided in similar fast-paced tiebreaks, which some deem akin to a penalty-kick shootout in soccer.</p>
<p>
Fears of chess becoming &#8220;played out&#8221; go back even before the 1927 world championship match between Alexander Alekhine and Jos&eacute; Ra&uacute;l Capablanca, in which 32 of 34 games featured the same opening. What hypes the fear now is that we may have the technology to actually play much of chess out.  This feeling was revealed by the number of people taken in by a <a href="http://www.chessbase.com/newsdetail.asp?newsid=8051">hoax</a> last month that the King&#8217;s Gambit had been exhaustively analyzed to a draw. </p>
<p>
However the computers themselves play few draws against each other, and show a degree of human-appreciable <i>inventiveness</i> that Alan Turing could only have dreamed about, unless he had lived to see <a href="http://en.wikipedia.org/wiki/Deep_Blue_versus_Garry_Kasparov">85</a> let alone 100.</p>
<p>
<p><H2> What Price High Standards? </H2></p>
<p><p>
According to my statistical model of player move choice mentioned <a href="http://rjlipton.wordpress.com/2012/03/19/the-singularity-is-here-in-chess/">here</a>, this match had the highest standard in chess history. Based on computer analysis of the twelve regulation games, my model computes an &#8220;Intrinsic Performance Rating&#8221; (IPR) for Anand of <b>3002</b>, and <b>2920</b> for Gelfand. Each is about 200 points higher than their current <a href="http://en.wikipedia.org/wiki/Elo_rating_system">Elo ratings</a> of 2791 and 2727, respectively. My analysis eliminates moves 1&#8211;8, moves in repeating sequences, and moves where one side is judged to have a clearly winning advantage, the equivalent of being over three pawns ahead.</p>
<p>
To be sure, I ascribe most of this difference to their use of computer-prepared moves, in short games with relatively few &#8220;original moves.&#8221;  Not only do the programs&#8217; <a href="http://www.computerchess.org.uk/ccrl/4040/rating_list_all.html">ratings</a> ramp over 3200, home analysis can run them longer and stronger than the game-time settings used to compile those ratings. Still, the players had those moves in their head as they sat down computer-free at the board, and if what matters is the quality of the moves made by their hands regardless of where they came from, then this was history&#8217;s human chess pinnacle.</p>
<p>
My work also hints that the Elo rating of perfect play may be as low as 3600. This is not far-fetched: if Anand could manage to draw a measly two games in a hundred against any perfect player, the mathematics of the rating system <a href="http://www.mark-weeks.com/aboutcom/aa03a25.htm">ensure</a> that the latter&#8217;s rating would never rise above 3500, and if Gelfand could do it, 3400. Perfect play on both sides is almost universally believed to produce a draw, even after a few small slips. All this raises a question:</p>
<blockquote><p>
Does the higher draw tendency of recent top-level matches owe inevitably to their coming within a few hundred intrinsic rating points of perfection?
</p></blockquote>
<p>
The fairest ones to ask are the computers, for they have now played far more games at this level than have we humans. And perhaps surprisingly, their answer seems to be No. The recent <a href="http://www.mark-weeks.com/chess/b1wc$tix.htm">19th World Computer Chess Championship</a> received an IPR over <b>3000</b> from my model, yet 22 of 36 games ended in victory. The <a href="http://www.mark-weeks.com/chess/b0wc$tix.htm">2010 WCCC</a> had 35 wins from 45 games, while the <a href="http://www.mark-weeks.com/chess/a9wc$tix.htm">2009 WCCC</a> had 33 from 45, and this month&#8217;s <a href="http://chessprogramming.wikispaces.com/ICT+2012">International CSVN Tournament</a> had only 7 draws in 28 games. Why?</p>
<p><p>
<H2>Contempt and Contemplation</H2></p>
<p><p>
The reason may literally be that the computers have greater <b>contempt</b> for each other. The <a href="http://chessprogramming.wikispaces.com/Contempt+Factor">contempt factor</a> is a term in a program&#8217;s evaluation function that makes it pretend to be a couple tenths of a pawn better off than it is, in situations where a drawing or drawish continuation is available.</p>
<p>
The computers also have no awareness of high stakes that puts &#8220;staying in the game&#8221; ahead of maximizing one&#8217;s chance of winning. This tendency was called out by observers several times as the games were played, most notably in the 12th game when Anand preferred to trade queens and be a safe though sickly Pawn ahead, rather than play his queen to be a thorn in Gelfand&#8217;s position on risk of allowing Gelfand&#8217;s queen to gobble two of Anand&#8217;s pawns with check. Here are comments made by the now-retired Garry Kasparov and three players currently rated in the top 5:</p>
<blockquote>
<p>
<b>Kasparov</b> (after game 6): &#8220;Hopefully [the] next few days will provide more &#8216;fire on board&#8217;.&#8221;</p>
<p>
<b>Vladimir Kramnik</b> (after Anand&#8217;s draw offer in Game 12): &#8220;What is this? Really confusing&#8230; I can only have one explanation: [Anand] just couldn&#8217;t stand the pressure of the last game&#8230; It is one of the strangest decisions I ever saw in the World Championship matches.&#8221;</p>
<p>
<b>Levon Aronian</b> (on Twitter after Game 12): &#8220;Anand-Gelfand g 12 was brilliant. Anand found a great pawn sac at home, and Gelfand answered with 2 pawn sacs!  Wow, can&#8217;t wait till tiebreaks!&#8221;</p>
<p>
<b>Hikaru Nakamura</b> (same time on Twitter): &#8220;I must be a very bad chess player since I keep liking Anand&#8217;s positions and he keeps offering draws instead of trying to win.&#8221; </p></blockquote>
<p>
Anand himself said, &#8220;The problem with such a tight match is that every mistake has a much higher value,&#8221; while Aronian noted about his surprise early elimination from the qualifier in tiebreaks after four regulation draws, &#8220;Perhaps I didn&#8217;t quite cope with the pressure.&#8221;</p>
<p>
Thus humans get &#8220;tight&#8221;; computers don&#8217;t. How might we level the situation?</p>
<p><p>
<H2>From My Corner Square</H2></p>
<p><p>
One way is to take away time. The 4 games of the Rapid playoff, in which the players had basically one-fourth the thinking time as for a standard game, were by all accounts more exciting. They were also longer, and provided 377 moves making my analysis cutoffs, compared to only 495 for the 12 regulation games. Still they hit a combined <b>2710</b>, Anand <b>2701</b> and Gelfand <b>2720</b>, in my model&#8217;s judgment of their intrinsic quality. This is about equal to both players&#8217; performances in standard games over the past year. For comparison, the tiebreak in the 2006 match by which Kramnik defeated Veselin Topalov hit <b>2663</b>, with Kramnik&#8217;s <b>2789</b> marginally <i> better</i> than his IPR for the regulation games, while Topalov&#8217;s <b>2530</b> perhaps explains his stated desire to avoid a tiebreaker with Anand in 2010.</p>
<p>
But almost no one wishes to see Rapid chess become the standard.  That the time to make 40 moves has shrunk from 150 minutes when I was active to 120 and now 90 minutes (plus 20 in increments) is considered shortening enough. Is there another way to dial humans up a notch? </p>
<p>
Dick and I have also talked about the idea of an &#8220;aggressiveness parameter&#8221; in other applications besides chess.  Of course robots in a virtual battle can be more aggressive.  Can such a parameter be used in web search, say to promote pages that have many recent updates and other signs of dynamism and risk?  Even in something pure like a SAT-solving engine or theorem-prover one can implement a degree of taking risks by undoing part of present progress. I am also improving my model to formulate &#8220;challenge produced&#8221;  as a measure of skill, over the present emphasis on accuracy.  (This is the place to note that the boldfaced IPR&#8217;s in this post are subject to change.)</p>
<p>
My own opinion specific to chess is that by mid-century, the game will need to be tweaked to promote a longer &#8220;mixing time&#8221; before the players can simplify by trading central pawns and heavy pieces. The huge opening books and enumerated simplifying lines are what prompted Bobby Fischer to promote &#8220;FischerRandom Chess,&#8221; which is today better known as <a href="http://en.wikipedia.org/wiki/Chess960">Chess960</a> for the 960 possible symmetrical starting configurations, from which a random choice is made. I favor combining Fischer&#8217;s ingenious generalized castling rule with an older non-random, non-symmetrical format originally proposed by David Bronstein, the former Soviet champion whose name channeled <a href="http://en.wikipedia.org/wiki/List_of_James_Bond_henchmen_in_From_Russia_with_Love#Kronsteen">Kronsteen</a> for James Bond. This is described <a href="http://www.chessvariants.org/diffsetup.dir/baselinef.html">here</a> on the great <a href="http://www.chessvariants.org/}{">Chess Variants</a> website originated by Hans Bodlaender, whom we all know in computer science theory.</p>
<p>
To be sure, the game of Go has virtually no &#8220;draw problem&#8221; and humans still beat computers handily at it.</p>
<p align="center">
&sect;
</p>
<p>
On a separate note, Kasparov is an invited speaker for Manchester&#8217;s Alan Turing Centenary <a href="http://www.turing100.manchester.ac.uk">Conference</a>.  In the second half of his <a href="http://www.turing100.manchester.ac.uk/index.php/speakers/invited-list/11-speakers/46">talk</a> he will describe a &#8220;Turing Test&#8221; in which he was challenged to find which of five games was played by a computer.  As first related <a href="http://www.chessbase.com/columns/column.asp?pid=190">here</a> twelve years ago, he distinguished it quickly by the other games having a tangible frequency of short-term errors. My joint work with Guy Haworth and Giuseppe DiFatta on player modeling, however, has regressed this frequency against Elo rating, and can now be used to generate artificial games between players of any desired target rating that have such &#8220;human&#8221; errors. Would an expert be able to distinguish those now?</p>
<p>
<p><H2> Turing Test Answers </H2></p>
<p><p>
Here are our answers to last Sunday&#8217;s &#8220;Turing Test&#8221; <a href="http://rjlipton.wordpress.com/2012/05/27/your-turing-test/">post</a>. </p>
<ol>
<li> (i) Mathison
<li> (v): note that (i) and (ii) are equivalent upon considering negated formulas.
<li> (ii) Marian Rejewski&#8212;let us <a href="http://www.codesandciphers.org.uk/virtualbp/poles/poles.htm">not forget</a> the Poles&#8230;
<li> (v) in the 1970&#8242;s.
<li> (v) <a href="http://www.bbc.com/news/technology-17771962">Last month</a>.
<li> (v) DEUCE.
<li> (iv) Kurt G&ouml;del himself <a href="http://rjlipton.wordpress.com/2011/10/31/an-interview-with-kurt-gdel/">told us</a> he never met Turing.
<li> (i), according to Turing&#8217;s formal definition of &#8220;circling,&#8221; though today we read &#8220;halting&#8221; in place of its formal antonym.
<li> (ii) Rosser.
<li> (iii) Church was Turing&#8217;s PhD advisor&#8230;
<li> (iii) &#8230;at Princeton.
<li> (i) Turing never won it&#8212;we meant the answer to be (v) none, but mis-worded (i); for (iv) note the Knuth Prize.
<li> (i) Everything down to one tape.
<li> (i) Doubting it, as mentioned in Andrew Odlyzko&#8217;s talk <a href="http://rjlipton.wordpress.com/2012/05/17/turings-tiger-birthday-party/">here</a>.
<li> (iii) Voice encryption for phones.
<li> (ii) Frances McDormand. (We cheated with Wikipedia <a href="http://en.wikipedia.org/wiki/June_23">here</a>.)
<li> <b>Correction</b>: (v) since the current number is 1, with Max Newman in the JSL, 1942.  So much for what we thought we knew (while at Princeton), though in light of question 5, perhaps more will emerge e.g. with I.J. Good&#8230;
<li> (ii) Distance runner.
<li> (v) All named for Turing.
<li> (v) See the last few items on <a href="http://www.turing.org.uk/turing/scrapbook/wondrous.html">this page</a>.
</ol>
<p>
Commenters are welcome to post answers to their supplementary questions, for which we thank them.</p>
<p>
<p><H2> Open Problems </H2></p>
<p><p>
How can we induce the top human players to play more like computers, so that their games will be more exciting?</p>
<p>
Can computer chess engines be programmed to explain their analysis in a vocabulary of chess strategy prose? Would they then be said to pass a &#8220;Turing Test&#8221; at chess?</p>
<p>
[fixed answer to question 17, <i>gratia</i> commenters, included co-authors]</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rjlipton.wordpress.com/8773/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rjlipton.wordpress.com/8773/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rjlipton.wordpress.com/8773/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rjlipton.wordpress.com/8773/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rjlipton.wordpress.com/8773/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rjlipton.wordpress.com/8773/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rjlipton.wordpress.com/8773/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rjlipton.wordpress.com/8773/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rjlipton.wordpress.com/8773/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rjlipton.wordpress.com/8773/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rjlipton.wordpress.com/8773/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rjlipton.wordpress.com/8773/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rjlipton.wordpress.com/8773/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rjlipton.wordpress.com/8773/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8773&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rjlipton.wordpress.com/2012/05/31/chess-knightmare-and-turings-dream/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7f5bfd8236587a9173030f92f9f08244?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kwregan</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/anandsombrero.jpg" medium="image">
			<media:title type="html">AnandSombrero</media:title>
		</media:content>
	</item>
		<item>
		<title>Your Turing Test</title>
		<link>http://rjlipton.wordpress.com/2012/05/27/your-turing-test/</link>
		<comments>http://rjlipton.wordpress.com/2012/05/27/your-turing-test/#comments</comments>
		<pubDate>Sun, 27 May 2012 18:32:03 +0000</pubDate>
		<dc:creator>Pip</dc:creator>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[History]]></category>
		<category><![CDATA[Oldies]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[breaking crypto-systems]]></category>
		<category><![CDATA[Turing]]></category>
		<category><![CDATA[Turing Award]]></category>
		<category><![CDATA[Turing machine]]></category>

		<guid isPermaLink="false">http://rjlipton.wordpress.com/?p=8759</guid>
		<description><![CDATA[See how Turing aware you are (src) Alan Turing is of course being honored this year with many events of all kinds. Today we thought it might be fun to have a light approach to Turing. In the next section we have a simple multiple choice set of questions about Turing, including his life and [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8759&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font color="”#0066cc?"><br />
<em> See how Turing aware you are </em><br />
<font color="”#000000?"></p>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/alanturing460.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/alanturing460.jpg?w=300&h=195" alt="" title="alanturing460" width="300" height="195" class="alignright size-medium wp-image-8760" /></a><br />
<span style="font-size:x-small;" class="alignright"><a href="http://www.guardian.co.uk/artanddesign/artblog/2007/jun/19/theenigmaofalanturing">(src)</a></span></p>
<p>
Alan Turing is of course being honored this year with many events of all kinds. </p>
<p>
Today we thought it might be fun to have a light approach to Turing.</p>
<p>
In the next section we have a simple multiple choice set of questions about Turing, including his life and results. </p>
<p>One <i>rule</i> is we suggest that you take the test without searching for the answers from the web. You are on your honor, but have fun no matter what.</p>
<p>
<p><H2> Turing Twenty Questions </H2></p>
<p><p>
<b>Your Turing Test</b> &copy;</p>
<p><ol>
<li> Alan Turing&#8217;s middle name is: </p>
<ol>
<li> Mathison
<li> Mathisen
<li> Madison
<li> Maxwell
<li> None of the above
</ol>
<li> Turing proved that there is no general procedure for deciding whether:
<ol>
<li> A formula of the predicate calculus is true in all structures
<li> A formula of the predicate calculus is true in some structure
<li> A formula of the propositional calculus is satisfiable
<li> A formula of arithmetic is true in the natural numbers
<li> (i) and (ii).
</ol>
<li> The key first breakthrough on the German Engima machine was accomplished by:
<ol>
<li> Dilly Knox
<li> Marian Rejewski
<li> Alan Turing
<li> Sir Philip Stuart Milner-Barry
<li> None of the above
</ol>
<li> Turing&#8217;s code-breaking work during World War II became public knowledge
<ol>
<li> When Coventry was evacuated before a German raid
<li> When Turing was awarded the OBE in 1945
<li> During his trial in 1952
<li> When Kim Philby was exposed as a double agent in 1963
<li> When certain papers were de-classified in the 1970&#8242;s
</ol>
<li> Turing&#8217;s two papers on statistical code-breaking techniques were released to the UK National Archives
<ol>
<li> When Turing&#8217;s code-breaking work became public knowledge
<li> When they were submitted to FOCS on the 25th anniversary of his death, in 1979
<li> When requested by Turing&#8217;s biographer Andrew Hodges in 1985
<li> When Turing&#8217;s collected papers were published in 1992
<li> Last month
</ol>
<li> The production version of Alan Turing&#8217;s ACE computer design was called:
<ol>
<li> KING
<li> QUEEN
<li> KNAVE
<li> TREY
<li> DEUCE
</ol>
<li> Turing never met
<ol>
<li> Winston Churchill
<li> John von Neumann
<li> Konrad Zuse
<li> Kurt G&ouml;del
<li> Claude Shannon
</ol>
<li> The problem Turing actually stated when he first proved the undecidability of the Halting Problem in his famous 1936 paper is:
<ol>
<li> Whether a Turing machine writes 0 or 1 only a finite number of times
<li> Whether a Turing machine writes &#8220;s&#8221; for &#8220;satisfactory&#8221;
<li> Whether a Turing machine halts on a given input
<li> Whether a Turing machine computes an uncomputable number
<li> Whether a Turing machine prints out the binary expansion of pi
</ol>
<li> Who of the following did not invent an equivalent definition of Turing computable:
<ol>
<li> Kurt G&ouml;del
<li> J. Barkley Rosser
<li> Andrey Markov
<li> Alonzo Church
<li> None of the above&#8212;i.e., all invented such a definition.
</ol>
<li> Turing&#8217;s thesis advisor was:
<ol>
<li> G.H. Hardy
<li> David Hilbert
<li> Alonzo Church
<li> John von Neumann
<li> None of the above
</ol>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/tape.png"><img src="http://rjlipton.files.wordpress.com/2012/05/tape.png?w=600" alt="" title="tape"   class="aligncenter size-full wp-image-8761" /></a></p>
<li> Turing got a Ph.D. from which institution?
<ol>
<li> Oxford University
<li> Cambridge University
<li> Princeton University
<li> University of Manchester
<li> None of the above
</ol>
<li> Which of the following is true?
<ol>
<li> Turing never won the Turing Award.
<li> He was awarded the first one posthumously.
<li> An existing award was renamed for him after his death.
<li> No major computer science theory award is named for a living person.
<li> None of the above
</ol>
<li> In Turing&#8217;s original paper his machines used:
<ol>
<li> One tape
<li> Two tapes
<li> Multiple tapes
<li> Planar tapes
<li> None of the above
</ol>
<li> Turing&#8217;s work on the Riemann Hypothesis led him in the direction of
<ol>
<li> Doubting it
<li> Proving it undecidable in Peano Arithmetic
<li> Finding a counterexample
<li> Proving it true for the first <img src='http://s0.wp.com/latex.php?latex=%7B10%5E%7B31%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{10^{31}}' title='{10^{31}}' class='latex' /> zeroes
<li> Proving it cannot contradict any natural law.
</ol>
<li> Turing came to New York City in 1943 to work on
<ol>
<li> The Manhattan Project
<li> US naval cipher decryption
<li> Voice scrambling by telephone
<li> Encryption of radio frequencies
<li> The construction of Turing degrees below the Halting Problem
</ol>
<li> Turing&#8217;s birthday is common with which Oscar winning actress:
<ol>
<li> Natalie Portman
<li> Frances McDormand
<li> Emma Thompson
<li> Kate Winslet
<li> None of the above
</ol>
<li> The number of co-authored published papers of Turing is:
<ol>
<li> zero
<li> two
<li> three
<li> more than three
<li> None of the above
</ol>
<li> Turing was a serious amateur:
<ol>
<li> rock climber
<li> distance runner
<li> motor-bike rider
<li> None of the above
<li> All of the above
</ol>
<li> Which of the following are <b>not</b> things named for Turing:
<ol>
<li> Turing Test
<li> Turing Degree
<li> Turing Machine
<li> Good-Turing frequency estimation
<li> None of the above
</ol>
<li> Turing&#8217;s last communications (to Robin Gandy) in 1954 were about:
<ol>
<li> The Riemann Hypothesis
<li> Complexity measures for Turing machines
<li> Recursive ordinals based on his PhD thesis work
<li> Morphogenesis applied to DNA
<li> Cosmology and quantum mechanics
</ol>
</ol>
<p>
<p><b> Open Problems </b></p>
<p><p>
We hope you have enjoyed the test, and we invite you to add your own favorite questions in the comments section. At some time soon we will give the answers.</p>
<p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rjlipton.wordpress.com/8759/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rjlipton.wordpress.com/8759/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rjlipton.wordpress.com/8759/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rjlipton.wordpress.com/8759/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rjlipton.wordpress.com/8759/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rjlipton.wordpress.com/8759/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rjlipton.wordpress.com/8759/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rjlipton.wordpress.com/8759/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rjlipton.wordpress.com/8759/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rjlipton.wordpress.com/8759/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rjlipton.wordpress.com/8759/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rjlipton.wordpress.com/8759/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rjlipton.wordpress.com/8759/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rjlipton.wordpress.com/8759/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8759&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rjlipton.wordpress.com/2012/05/27/your-turing-test/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b5d34e23e23268dbd35f2da17acaaad5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dickken</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/alanturing460.jpg?w=300" medium="image">
			<media:title type="html">alanturing460</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/tape.png" medium="image">
			<media:title type="html">tape</media:title>
		</media:content>
	</item>
		<item>
		<title>Beyond Las Vegas And Monte Carlo Algorithms</title>
		<link>http://rjlipton.wordpress.com/2012/05/23/beyond-las-vegas-and-monte-carlo-algorithms/</link>
		<comments>http://rjlipton.wordpress.com/2012/05/23/beyond-las-vegas-and-monte-carlo-algorithms/#comments</comments>
		<pubDate>Thu, 24 May 2012 00:16:20 +0000</pubDate>
		<dc:creator>Pip</dc:creator>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[Ideas]]></category>
		<category><![CDATA[Open Problems]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[Algorithms]]></category>
		<category><![CDATA[BPP]]></category>
		<category><![CDATA[crypto-systems]]></category>
		<category><![CDATA[functions]]></category>
		<category><![CDATA[Las Vegas]]></category>
		<category><![CDATA[Monte Carlo]]></category>
		<category><![CDATA[randomness]]></category>

		<guid isPermaLink="false">http://rjlipton.wordpress.com/?p=8747</guid>
		<description><![CDATA[Functions that use randomness Shafi Goldwasser is one of the world leaders in cryptography, and is especially brilliant at the creation of new models. This would be true even if she were not one of the creators of IP and ZK; for example, consider her work on fault-tolerant computing. She recently gave one of the [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8747&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font color="”#0066cc?"><br />
<em> Functions that use randomness </em><br />
<font color="”#000000?"></p>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/shafigoldwasser.png"><img src="http://rjlipton.files.wordpress.com/2012/05/shafigoldwasser.png?w=232&h=300" alt="" title="ShafiGoldwasser" width="232" height="300" class="alignright size-medium wp-image-8748" /></a></p>
<p>
Shafi Goldwasser is one of the world leaders in cryptography, and is especially brilliant at the creation of new models. This would be true even if she were not one of the creators of <a href="http://en.wikipedia.org/wiki/Interactive_proof_system">IP</a> and <a href="http://en.wikipedia.org/wiki/Zero-knowledge_proof">ZK</a>; for example, consider her work on fault-tolerant computing. She recently gave one of the best talks at the Princeton Turing Conference, which we just discussed <a href="http://rjlipton.wordpress.com/2012/05/17/turings-tiger-birthday-party/">here</a>. </p>
<p>
Today I would like to talk about her new model of computation, which was joint work with Eran Gat at the Weizmann Institute.</p>
<p><span id="more-8747"></span></p>
<p>
Well their model is not just off the press, having been <a href="http://eccc.hpi-web.de/report/2011/136/">posted</a> as an ECCC TR last October, but it is relatively new&#8212;and frankly I was not aware of it. So perhaps some of you would like to know about it. </p>
<p>
Before I discuss the details of her definition I would like to say: how did we miss it, how could we not have seen it years ago? Or did we&#8212;and she is just another example of the principle that we have discussed before&#8212;the discoverer of an idea is not the first, nor the second, but the last who makes the discovery. Shafi is the last in this case.</p>
<p>
Strange to relate, I (Dick) drafted these words before I knew that one of the previous discoverers was Ken&#8212;in an old 1993 draft <a href="http://www.cse.buffalo.edu/~regan/papers/pdf/BPMV2.pdf">paper</a> with Mitsunori Ogihara. Ken recalled he had talked with Mitsu about &#8220;BPSV&#8221; as we finished the previous post, but didn&#8217;t discover they had made a paper until late Friday afternoon; it had been an unsuccessful conference submission. Then we discovered that Mitsu and Ken had incorporated the best parts of their draft into a successful conference <a href="http://www.cse.buffalo.edu/~regan/papers/pdf/KeyComms.pdf">paper</a> at STACS 1995, of which I had become a co-author. This paper treats puzzles of the kind I thought of during Shafi&#8217;s lecture. <i>D&eacute;j&agrave; vu</i>, but also <i>d&eacute;j&agrave;</i> forgotten. </p>
<p>
<p><H2> First A Puzzle </H2></p>
<p><p>
Here is a simple puzzle that is central to Shafi&#8217;s work, and I would like to state it first. You can skip this section and return later on, or never. Your choice. But it seems like a cool simple puzzle.</p>
<p>
Alice and Bob again have a challenge. An adversary distributes <img src='http://s0.wp.com/latex.php?latex=%7B2n%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{2n}' title='{2n}' class='latex' /> balls&#8212;<img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> red and <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> black&#8212;between two urns <img src='http://s0.wp.com/latex.php?latex=%7BA%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{A}' title='{A}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%7BB%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{B}' title='{B}' class='latex' />. The division is whatever the adversary wants: each urn could have half black and half red, or one could be all black and the other all red. Alice and Bob have no idea which is the case. Then the adversary gives Alice <img src='http://s0.wp.com/latex.php?latex=%7BA%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{A}' title='{A}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%7BB%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{B}' title='{B}' class='latex' />, and gives an identical set of urns to Bob.</p>
<p>
Pretty exciting? Well Alice and Bob are allowed to sample <img src='http://s0.wp.com/latex.php?latex=%7Bs%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{s}' title='{s}' class='latex' /> balls with replacement from their respective urns. Their job is to pick an urn: <img src='http://s0.wp.com/latex.php?latex=%7BA%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{A}' title='{A}' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=%7BB%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{B}' title='{B}' class='latex' />. They get &#8220;paid&#8221; the number of black balls in the urns they pick. So far very simple: their best strategy seems clear, sample and select based on the expected number of black balls. This is nothing new.</p>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/urnsab.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/urnsab.jpg?w=600" alt="" title="UrnsAB"   class="aligncenter size-full wp-image-8750" /></a></p>
<p>
The twist is this: <i>Alice and Bob only get paid if they select the same urn.</i> Of course Alice and Bob can agree on a strategy ahead of time, and they also have access to private coins. But they must somehow synchronize their choices. This is what makes the problem a puzzle&#8212;at least to me.</p>
<p>
A trivial strategy is available to them. Just have each flip a fair coin and take <img src='http://s0.wp.com/latex.php?latex=%7BA%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{A}' title='{A}' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=%7BB%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{B}' title='{B}' class='latex' /> with equal probability. Note, half the time they will take the same urn and half the time they with get at least half the black balls. Thus their expected payoff in black balls is <img src='http://s0.wp.com/latex.php?latex=%7Bn%2F4%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n/4}' title='{n/4}' class='latex' />. This is a pretty dumb strategy, surely they can use sampling to be more clever and beat <img src='http://s0.wp.com/latex.php?latex=%7B1%2F4%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{1/4}' title='{1/4}' class='latex' />. But I do not see how. Perhaps this is well known, or perhaps you can solve it. Let us know.  Actually we knew, but the <a href="http://blog.computationalcomplexity.org/2010/05/what-did-he-know-and-when-did-he-know.html">question</a> is, what did we know, and when did we know it?</p>
<p>
Now on to Shafi&#8217;s model, and then we will connect back to this problem.</p>
<p>
<p><H2> The Model </H2></p>
<p><p>
Shafi&#8217;s insight is that deterministic algorithms compute functions. That is, given the same input they will always output the same value. This is just the definition of what a function is: each <img src='http://s0.wp.com/latex.php?latex=%7Bx%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{x}' title='{x}' class='latex' /> yields a unique <img src='http://s0.wp.com/latex.php?latex=%7By%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{y}' title='{y}' class='latex' />. Okay, seems pretty simple. She then defines an algorithm that uses randomness to be <i>functional</i> provided it also defines a function. Well not exactly. In the spirit of cryptography she actually only insists that the algorithm have two properties: </p>
<ol>
<li>
The algorithm, over its random choices, has expected polynomial running time. </p>
<li>
The algorithm for any input gives the same output at least <img src='http://s0.wp.com/latex.php?latex=%7B2%2F3%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{2/3}' title='{2/3}' class='latex' /> of the time.
</ol>
<p>
Of course by the usual trick of simply running the algorithm many times and taking the majority output, we can make the output of the algorithm functional with very small probability of error.</p>
<p>
The beautiful point here is that algorithms that use randomness but are functional in the above sense have many cool properties. Let&#8217;s look next at some of those properties before we get into some of her results.</p>
<p>
<p><H2> Applications </H2></p>
<p><p>
Functions are good. And algorithms of the kind Shafi has described are almost as good as functions. Let me just list three properties that they have that are quite useful. </p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Functions are great for debugging. The repeatability of an algorithm that always gives the same answer to the same input makes it easier to get it right. One of the great challenges in debugging any algorithm is &#8220;nondeterministic&#8221; behavior. Errors that are reproducible are much easier to track down and fix, while errors that are not&#8212;well good luck.</p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Functions are great for protocols. Imagine that Alice and Bob wish to use some object <img src='http://s0.wp.com/latex.php?latex=%7B%5Ccal+O%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;cal O}' title='{&#92;cal O}' class='latex' />. They can have one create it and send it to the other. But this could be expensive if the object is large. A better idea is for each to create their own copy of the object. But they must get the same one for the protocol to work properly. So they need to create the object using functions. A simple example is when they both need an irreducible polynomial over a finite field. There are lots of fast random algorithms for this, but the standard ones are not functional. </p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Functions are great for <a href="http://en.wikipedia.org/wiki/Cloud_computing">cloud computing</a>. Shafi points out that one way to be sure that a cloud system is computing the correct value is to have it execute functional algorithms. For example, if you wish to have <img src='http://s0.wp.com/latex.php?latex=%7Bf%28x%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{f(x)}' title='{f(x)}' class='latex' /> computed, ask several cloud vendors to compute <img src='http://s0.wp.com/latex.php?latex=%7Bf%28x%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{f(x)}' title='{f(x)}' class='latex' /> and take the majority answer. As long as the algorithms they use are functional in her sense, you will get the right value. Pretty neat.</p>
<p>
<p><H2> Some Cases and Results </H2></p>
<p><p>
Shafi associates to every decision problem a <i>search</i> problem. For example, if the decision problem is whether a polynomial <img src='http://s0.wp.com/latex.php?latex=%7Bp%28x_1%2C%5Cdots%2Cx_n%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p(x_1,&#92;dots,x_n)}' title='{p(x_1,&#92;dots,x_n)}' class='latex' /> of degree <img src='http://s0.wp.com/latex.php?latex=%7Bd%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{d}' title='{d}' class='latex' /> over a finite field <img src='http://s0.wp.com/latex.php?latex=%7BF%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{F}' title='{F}' class='latex' /> is <i>not</i> identically zero, the search problem is to find <img src='http://s0.wp.com/latex.php?latex=%7Ba+%5Cin+F%5En%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a &#92;in F^n}' title='{a &#92;in F^n}' class='latex' /> for which <img src='http://s0.wp.com/latex.php?latex=%7Bp%28a%29+%5Cneq+0%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p(a) &#92;neq 0}' title='{p(a) &#92;neq 0}' class='latex' />. The famous lemma we covered <a href="http://rjlipton.wordpress.com/2009/11/30/the-curious-history-of-the-schwartz-zippel-lemma/">here</a> says that unless <img src='http://s0.wp.com/latex.php?latex=%7BF%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{F}' title='{F}' class='latex' /> is tiny we can succeed by picking <img src='http://s0.wp.com/latex.php?latex=%7B%5Cvec%7Ba%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;vec{a}}' title='{&#92;vec{a}}' class='latex' /> at random&#8212;indeed for any <img src='http://s0.wp.com/latex.php?latex=%7BS+%5Csubseteq+F%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{S &#92;subseteq F}' title='{S &#92;subseteq F}' class='latex' /> of size <img src='http://s0.wp.com/latex.php?latex=%7B+%3E+d%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{ &gt; d}' title='{ &gt; d}' class='latex' /> we can get <img src='http://s0.wp.com/latex.php?latex=%7B%5Cvec%7Ba%7D+%5Cin+S%5Ed%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;vec{a} &#92;in S^d}' title='{&#92;vec{a} &#92;in S^d}' class='latex' />. But different random choices may yield different <img src='http://s0.wp.com/latex.php?latex=%7B%5Cvec%7Ba%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;vec{a}}' title='{&#92;vec{a}}' class='latex' />&#8216;s. Can we, given a circuit for a non-zero <img src='http://s0.wp.com/latex.php?latex=%7Bp%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p}' title='{p}' class='latex' />, always fixate most of the probability on a single <img src='http://s0.wp.com/latex.php?latex=%7B%5Cvec%7Ba%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;vec{a}}' title='{&#92;vec{a}}' class='latex' />?</p>
<p>
Eran and Shafi&#8217;s answer is to use self-reducibility. For each <img src='http://s0.wp.com/latex.php?latex=%7Ba+%5Cin+S%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a &#92;in S}' title='{a &#92;in S}' class='latex' /> try <img src='http://s0.wp.com/latex.php?latex=%7Ba%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a}' title='{a}' class='latex' /> as the value for <img src='http://s0.wp.com/latex.php?latex=%7Bx_1%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{x_1}' title='{x_1}' class='latex' />, and test the decision problem to see if the resulting substitution leaves a zero polynomial. For the first <img src='http://s0.wp.com/latex.php?latex=%7Ba%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a}' title='{a}' class='latex' /> (in some ordering of <img src='http://s0.wp.com/latex.php?latex=%7BS%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{S}' title='{S}' class='latex' />) that says &#8220;non-zero,&#8221; fix that as the value of <img src='http://s0.wp.com/latex.php?latex=%7Bx_1%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{x_1}' title='{x_1}' class='latex' />, and proceed to <img src='http://s0.wp.com/latex.php?latex=%7Bx_2%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{x_2}' title='{x_2}' class='latex' />. Since each <i>decision</i> is correct with very high probability, the <img src='http://s0.wp.com/latex.php?latex=%7B%5Cvec%7Ba%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;vec{a}}' title='{&#92;vec{a}}' class='latex' /> produced this way is unique. This also exemplifies a main technical theorem of their paper:</p>
<blockquote><p><b>Theorem 1</b> <em> A function is feasibly computable in their model if and only if it deterministically reduces in polynomial time to a decision problem in <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathsf%7BBPP%7D%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{&#92;mathsf{BPP}}' title='{&#92;mathsf{BPP}}' class='latex' />.<br />
</em>
</p></blockquote>
<p><p>
Another example takes primes <img src='http://s0.wp.com/latex.php?latex=%7Bp%2Cq%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p,q}' title='{p,q}' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=%7Bq%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{q}' title='{q}' class='latex' /> divides <img src='http://s0.wp.com/latex.php?latex=%7Bp-1%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p-1}' title='{p-1}' class='latex' /> and produces a number <img src='http://s0.wp.com/latex.php?latex=%7Ba%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a}' title='{a}' class='latex' />, <img src='http://s0.wp.com/latex.php?latex=%7B1+%5Cleq+a+%5Cleq+p-1%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{1 &#92;leq a &#92;leq p-1}' title='{1 &#92;leq a &#92;leq p-1}' class='latex' />, such that <img src='http://s0.wp.com/latex.php?latex=%7Ba%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a}' title='{a}' class='latex' /> is <i>not</i> congruent to any <img src='http://s0.wp.com/latex.php?latex=%7Bq%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{q}' title='{q}' class='latex' />-th power modulo <img src='http://s0.wp.com/latex.php?latex=%7Bp%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p}' title='{p}' class='latex' />. Such an <img src='http://s0.wp.com/latex.php?latex=%7Ba%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a}' title='{a}' class='latex' /> is easy to find by random sampling and then test by verifying that </p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle++a%5Ek+%5Cnot%5Cequiv+1+%5Cqquad%5Ctext%7Bwhere%7D%5Cqquad+k+%3D+%28p-1%29%2Fq.+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;displaystyle  a^k &#92;not&#92;equiv 1 &#92;qquad&#92;text{where}&#92;qquad k = (p-1)/q. ' title='&#92;displaystyle  a^k &#92;not&#92;equiv 1 &#92;qquad&#92;text{where}&#92;qquad k = (p-1)/q. ' class='latex' /></p>
<p>
But again different random choices yield different <img src='http://s0.wp.com/latex.php?latex=%7Ba%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a}' title='{a}' class='latex' />&#8216;s. They show how to make <img src='http://s0.wp.com/latex.php?latex=%7Ba%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a}' title='{a}' class='latex' /> unique by using as a subroutine a randomized routine for finding <img src='http://s0.wp.com/latex.php?latex=%7Bq%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{q}' title='{q}' class='latex' />-th roots that itself is made functional.</p>
<p>
Both theirs and Mitsu and Ken&#8217;s draft paper mention the open problem of finding a <i>generator</i> for a given prime <img src='http://s0.wp.com/latex.php?latex=%7Bp%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p}' title='{p}' class='latex' />, namely <img src='http://s0.wp.com/latex.php?latex=%7Bg+%3C+p%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{g &lt; p}' title='{g &lt; p}' class='latex' /> whose powers span all of <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb%7BZ%7D_p%5E%2A%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;mathbb{Z}_p^*}' title='{&#92;mathbb{Z}_p^*}' class='latex' />. Eran and Shafi show uniqueness is possible with high-probability if one is given also a prime <img src='http://s0.wp.com/latex.php?latex=%7Bq%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{q}' title='{q}' class='latex' /> dividing <img src='http://s0.wp.com/latex.php?latex=%7Bp-1%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p-1}' title='{p-1}' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=%7Bk+%3D+%28p-1%29%2Fq%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{k = (p-1)/q}' title='{k = (p-1)/q}' class='latex' /> is small, namely <img src='http://s0.wp.com/latex.php?latex=%7Bk%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{k}' title='{k}' class='latex' /> is bounded by a polynomial in <img src='http://s0.wp.com/latex.php?latex=%7B%5Clog+p%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;log p}' title='{&#92;log p}' class='latex' />. Of course for many <img src='http://s0.wp.com/latex.php?latex=%7Bp%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p}' title='{p}' class='latex' /> there are no such <img src='http://s0.wp.com/latex.php?latex=%7Bq%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{q}' title='{q}' class='latex' />, but large <img src='http://s0.wp.com/latex.php?latex=%7Bq%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{q}' title='{q}' class='latex' /> characterizes <a href="http://en.wikipedia.org/wiki/Strong_prime">strong primes</a> which are useful in cryptography.</p>
<p>
<p><H2> Shafi&#8217;s Main Open Problem </H2></p>
<p><p>
The open problem that she emphasized in her talk is: how to find a prime number in a given interval <img src='http://s0.wp.com/latex.php?latex=%7BI%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{I}' title='{I}' class='latex' />? The obvious method is to pick a random <img src='http://s0.wp.com/latex.php?latex=%7Br%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{r}' title='{r}' class='latex' /> in <img src='http://s0.wp.com/latex.php?latex=%7BI%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{I}' title='{I}' class='latex' /> and test to see if <img src='http://s0.wp.com/latex.php?latex=%7Br%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{r}' title='{r}' class='latex' /> is a prime. Actually on can find discussions on this issue in works by Eric Bach&#8212;for instance this <a href="http://digitalcommons.butler.edu/facsch_papers/98/">paper</a> (also nice <a href="http://page.math.tu-berlin.de/~kant/ants/Poster/Sorenson_Poster.pdf">poster</a> by a co-author)&#8212;or see <a href="http://rjlipton.wordpress.com/2012/03/01/do-gaps-between-primes-affect-rsa-keys/">here</a>. </p>
<p>
This procedure uses randomness in an essential manner, even if one uses the deterministic primality test of AKS. She asks: can one find an algorithm that would select the same prime? Note, if one assumes a strong enough assumption about primes&#8212;ERH for example&#8212;then it is easy, since the gaps between primes are very small. But without such a strong assumption there could be huge gaps.</p>
<p>
I have an idea for this problem. It is based on using a random factoring algorithm. The key insight is that factoring is by definition a function. So no matter how you use randomness inside the algorithm you must be functional. Then I suggest that we pick <img src='http://s0.wp.com/latex.php?latex=%7Bx%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{x}' title='{x}' class='latex' /> that are not likely to be prime, but are provably going to have few prime factors. But first this takes us back to the Alice-and-Bob puzzle.</p>
<p>
<p><H2> Bob &amp; Mitsu &amp; Ken &amp; Alice </H2></p>
<p><p>
Consider the possibilities. For any input <img src='http://s0.wp.com/latex.php?latex=%7Bx%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{x}' title='{x}' class='latex' />, each possible value <img src='http://s0.wp.com/latex.php?latex=%7By%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{y}' title='{y}' class='latex' /> has a true probability <img src='http://s0.wp.com/latex.php?latex=%7Bp_y%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p_y}' title='{p_y}' class='latex' />. If the highest <img src='http://s0.wp.com/latex.php?latex=%7Bp_y%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p_y}' title='{p_y}' class='latex' /> is bounded away from the next&#8212;it does not even have to be above 50&#037;&#8212;then sufficient sampling will allow both Alice and Bob to observe this fact with high probability, and hence agree on the same <img src='http://s0.wp.com/latex.php?latex=%7By%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{y}' title='{y}' class='latex' />.</p>
<p>
Actually it suffices for there to be <i>some</i> <img src='http://s0.wp.com/latex.php?latex=%7By%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{y}' title='{y}' class='latex' /> with <img src='http://s0.wp.com/latex.php?latex=%7Bp_y%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p_y}' title='{p_y}' class='latex' /> bounded away from any other frequency above or below. So long as Alice and Bob know fixed <img src='http://s0.wp.com/latex.php?latex=%7B%5Cdelta+%3C+%5Cepsilon%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;delta &lt; &#92;epsilon}' title='{&#92;delta &lt; &#92;epsilon}' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=%7Bp_y%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p_y}' title='{p_y}' class='latex' /> has a gap of <img src='http://s0.wp.com/latex.php?latex=%7B%5Cepsilon%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;epsilon}' title='{&#92;epsilon}' class='latex' />, and no higher <img src='http://s0.wp.com/latex.php?latex=%7Bp_%7By%27%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p_{y&#039;}}' title='{p_{y&#039;}}' class='latex' /> has a gap more than <img src='http://s0.wp.com/latex.php?latex=%7B%5Cdelta%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;delta}' title='{&#92;delta}' class='latex' />, they will <i>isolate</i> this same <img src='http://s0.wp.com/latex.php?latex=%7By%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{y}' title='{y}' class='latex' /> with high probability after a polynomial amount of sampling. In fact all we need is <img src='http://s0.wp.com/latex.php?latex=%7B%5Cepsilon+-+%5Cdelta%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;epsilon - &#92;delta}' title='{&#92;epsilon - &#92;delta}' class='latex' /> bounded below by <img src='http://s0.wp.com/latex.php?latex=%7B1%2F%5Cmathsf%7Bpoly%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{1/&#92;mathsf{poly}}' title='{1/&#92;mathsf{poly}}' class='latex' />. This fits in with a general notation for error and amplification in Mitsu and Ken&#8217;s draft.</p>
<p>
One can regard the <img src='http://s0.wp.com/latex.php?latex=%7Bp_y%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p_y}' title='{p_y}' class='latex' /> themselves as the values, and further regard them as outputs of a randomized approximation scheme. This is how Ken and Mitsu conceived the unique-value problem, and Oded Goldreich also saw this in section 3 of his recent <a href="http://www.wisdom.weizmann.ac.il/~oded/p_bpp.html">paper</a> on <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathsf%7BBPP%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;mathsf{BPP}}' title='{&#92;mathsf{BPP}}' class='latex' /> promise problems. Ken and Mitsu proved that it is necessary and sufficient to succeed in the case where there are only two values&#8212;that is, given a <img src='http://s0.wp.com/latex.php?latex=%7Bg+%5Cin+%5Cmathsf%7BBP2V%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{g &#92;in &#92;mathsf{BP2V}}' title='{g &#92;in &#92;mathsf{BP2V}}' class='latex' />, compute a function <img src='http://s0.wp.com/latex.php?latex=%7Bf+%5Cin+%5Cmathsf%7BBPSV%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{f &#92;in &#92;mathsf{BPSV}}' title='{f &#92;in &#92;mathsf{BPSV}}' class='latex' /> that always produces one of the two values <img src='http://s0.wp.com/latex.php?latex=%7Bg%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{g}' title='{g}' class='latex' /> allows. This is the result that went into Section 3 of the <a href="http://www.cse.buffalo.edu/~regan/papers/pdf/KeyComms.pdf">published paper</a>.</p>
<p>
This brings everything back to the Alice and Bob urn problem, where urn <img src='http://s0.wp.com/latex.php?latex=%7BA%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{A}' title='{A}' class='latex' /> has a true frequency <img src='http://s0.wp.com/latex.php?latex=%7B%5Ctheta%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;theta}' title='{&#92;theta}' class='latex' /> of red balls. Can we beat <img src='http://s0.wp.com/latex.php?latex=%7B1%2F4%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{1/4}' title='{1/4}' class='latex' /> for one play of the game? Can we devise a strategy that could do better in repeated plays while navigating a larger search tree? </p>
<p>
<p><H2> Open Problems </H2></p>
<p><p>
Besides the problems above, I personally do not know what she should call this class of algorithms. The class of functions can be called <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathsf%7BBPSV%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;mathsf{BPSV}}' title='{&#92;mathsf{BPSV}}' class='latex' />, but that still does not nicely name the algorithms. Any suggestions? </p>
<p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rjlipton.wordpress.com/8747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rjlipton.wordpress.com/8747/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rjlipton.wordpress.com/8747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rjlipton.wordpress.com/8747/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rjlipton.wordpress.com/8747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rjlipton.wordpress.com/8747/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rjlipton.wordpress.com/8747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rjlipton.wordpress.com/8747/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rjlipton.wordpress.com/8747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rjlipton.wordpress.com/8747/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rjlipton.wordpress.com/8747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rjlipton.wordpress.com/8747/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rjlipton.wordpress.com/8747/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rjlipton.wordpress.com/8747/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8747&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rjlipton.wordpress.com/2012/05/23/beyond-las-vegas-and-monte-carlo-algorithms/feed/</wfw:commentRss>
		<slash:comments>41</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b5d34e23e23268dbd35f2da17acaaad5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dickken</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/shafigoldwasser.png?w=232" medium="image">
			<media:title type="html">ShafiGoldwasser</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/urnsab.jpg" medium="image">
			<media:title type="html">UrnsAB</media:title>
		</media:content>
	</item>
		<item>
		<title>Turing&#8217;s Tiger Birthday Party</title>
		<link>http://rjlipton.wordpress.com/2012/05/17/turings-tiger-birthday-party/</link>
		<comments>http://rjlipton.wordpress.com/2012/05/17/turings-tiger-birthday-party/#comments</comments>
		<pubDate>Thu, 17 May 2012 17:38:29 +0000</pubDate>
		<dc:creator>Pip</dc:creator>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[History]]></category>
		<category><![CDATA[Ideas]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Oldies]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[Church]]></category>
		<category><![CDATA[Davis]]></category>
		<category><![CDATA[decision procedure]]></category>
		<category><![CDATA[diagonalize]]></category>
		<category><![CDATA[Edwards]]></category>
		<category><![CDATA[Godel]]></category>
		<category><![CDATA[Karp]]></category>
		<category><![CDATA[Princeton]]></category>
		<category><![CDATA[Sedgewick]]></category>
		<category><![CDATA[Turing]]></category>

		<guid isPermaLink="false">http://rjlipton.wordpress.com/?p=8708</guid>
		<description><![CDATA[The Princeton Connection Robert Sedgewick and Jon Edwards were the co-ordinators of the just-held Princeton Turing Centennial Celebration to honor the one-hundredth birthday of Alan Turing. The three-day conference blended historical and current material, which attracted hundreds of registrants who filled Princeton University&#8217;s largest lecture hall. Their team also put together extensive webpages, including an [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8708&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font color="”#0066cc?"><br />
<em> The Princeton Connection </em><br />
<font color="”#000000?"></p>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/turinglogo.png"><img src="http://rjlipton.files.wordpress.com/2012/05/turinglogo.png?w=600" alt="" title="TuringLogo"   class="alignright size-full wp-image-8709" /></a></p>
<p>
Robert Sedgewick and Jon Edwards were the co-ordinators of the just-held Princeton Turing Centennial Celebration to honor the one-hundredth birthday of Alan Turing. The three-day conference blended historical and current material, which attracted hundreds of registrants who filled Princeton University&#8217;s largest lecture hall. Their team also put together extensive webpages, including an <a href="http://www.princeton.edu/turing/about/">overview</a> that also lists the sponsors who made registration free of charge, and a <a href="http://www.princeton.edu/turing/alan/">page</a> with further information on Turing and Princeton.</p>
<p>
Today Ken and I wish to talk about this terrific event, and give some flavor of how wonderful it was.</p>
<p><span id="more-8708"></span></p>
<p>
Bob, as Sedgewick is usually known, was the first chair of the Computer Science Department at Princeton, and is well known for his brilliant work in algorithms analysis, data structures, and many other areas of computing. His textbooks are classics, and it is not surprising that his introductory class at Princeton is one of the best classes there&#8212;it probably is the best intro class in the world. </p>
<p>
Jon Edwards recently retired from being Coordinator of Institutional Communications and Outreach for Princeton&#8217;s Office of Information Technology, and served in other computing-related capacities. He previously worked as an editor for <i>Byte</i> Magazine. Now he is a full-time chess teacher and promoter of general talent in teenagers looking toward college&#8212;he is a master player and <a href="http://www.correspondencechess.com/knudsen/int.htm">won</a> the 1997 US Championship in correspondence chess. </p>
<p>
<p><H2> Why Princeton? </H2></p>
<p><p>
Alan Turing earned his Ph.D. at Princeton in 1938 under the great Alonzo Church. This alone gives Princeton a unique claim to Turing. But there are many other connections between Turing and Princeton. Two of the other great &#8220;fathers of computation,&#8221; John von Neumann and Kurt G&ouml;del, were also at Princeton and promoted his transfer in 1936 from Cambridge University. </p>
<p>
Turing had found himself &#8220;scooped&#8221; by Church in regard to proving the undecidability of the decision problem, called in German the <i>Entscheidungsproblem</i>, of whether a statement in first-order logic is a theorem. Church&#8217;s proof was with regard to his <i>lambda calculus</i> as system of computation, but the proof technique using diagonalization was the same as Turing had employed with regard to his machines.  It was not the first time Turing was scooped: in 1934 he proved what is now called the <a href="http://en.wikipedia.org/wiki/Central_limit_theorem">Central Limit Theorem</a> with no one realizing the Finnish mathematician Jarl Lindeberg had done this in 1922. </p>
<p>
Still Church and others not only encouraged him to publish his paper on what we now call Turing Machines, but to cross the &#8220;Pond&#8221; to share his innovative ideas and his analytical prowess.  Thus Turing became a Princeton Tiger, <a href="http://paw.princeton.edu/issues/2008/01/23/pages/9522/index.xml">*38</a>. It is fitting that in his centenary year, the first hard evidence affirming his theory of how tigers get their stripes was <a href="http://www.kcl.ac.uk/newsevents/news/newsrecords/2012/02Feb/Scientists-prove-Turings-tiger-stripe-theory-.aspx">published</a>.</p>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/princetonp.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/princetonp.jpg?w=60&h=78" alt="" title="PrincetonP" width="60" height="78" class="aligncenter wp-image-8711" /></a></p>
<p>
<p><H2> In McCosh Hall </H2></p>
<p><p>
The meetings were held in McCosh 50. I (Dick) taught freshman Pascal CS101 there years ago there with Andrea LaPaugh, while Ken remembers taking Econ 102: Microeconomics there. This is the same hall where Andrew Wiles gave his &#8220;general&#8221; talk to a standing-room audience on his famous solution to Fermat&#8217;s Last Theorem, after he had repaired it.</p>
<p>
The room, which holds almost five hundred, felt nearly filled for most of the conference, which is really a tribute to the terrific set of speakers that Bob and Jon had invited. The question periods were fun, with many interesting points raised.</p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Shirley Tilghman, the president of Princeton, gave a welcome address, after lunch on the first day. She hailed Turing and the Princeton cohort for effecting the transition from &#8220;numbers than mean things&#8221; to &#8220;numbers that <i>do</i> things.&#8221; She raised the issue of how Turing was treated, horribly, by the very nation that he served so brilliantly during WW II.</p>
<p>
<p><H2> The After-Dinner Speakers </H2></p>
<p><p>
There were two very different speakers for the two evening sessions: Eric Schmidt of Google and Andrew Appel of Princeton. Both are graduates of Princeton, both are wonderfully compelling speakers, and both had interesting things to say.</p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Eric <a href="http://www.youtube.com/watch?v=x6Xog5HyIY8">spoke</a> mostly about how the coming advances in connectivity would change the world. How it would yield a almost futuristic world where cars drive themselves and people have all information at their disposal. One of the best questions was from an undergraduate who told Eric that earlier in the year Princeton was completely off the grid for a whole day: no Internet, no Google, no email, nothing. She said she was at a loss for what to do that day. Eric and the rest of us laughed, and he went on to explain how he tried to force his engineers at Google to not be on-line one hour per week. He said he mostly failed. </p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Andrew, a 1981 classmate of Ken&#8217;s, spoke about the creation of the conducive environment that brought Turing to Princeton. Much of the vision came from Oswald Veblen, who advised Church, chaired the Mathematics Department, helped secure funding and recognition from the university of mathematics as a pure-research subject, and co-founded the Institute for Advanced Study, serving as its first full professor in 1932. Veblen formed a core from Solomon Lefschetz, Church, G&ouml;del, von Neumann, and &#8220;some random physicists&#8221; as Andrew captioned under a photo of Albert Einstein. He showed that Veblen, Lefschetz, and Church alone have over 9,000 doctoral descendants, including numerous Turing Award winners and others who permeate computing. Thus he ended by saying Princeton built the first great <i>Computer Science</i> department.</p>
<p>
<p><H2> The Speakers&#8212;Thursday </H2></p>
<p><p>
There were eighteen regular talks in total, each of one hour. Each was interesting and supplied different insights into Turing&#8217;s thinking and made different connections on his impact. Slides and even videos of some of the talks will be on-line sometime in June&#8212;check the <a href="http://www.princeton.edu/turing/">main page</a> for details&#8212;but for now we would like to reduce each hour&#8217;s talk to a few sentences. Hopefully this extreme compression is not too lossy and will help you get the feel for some of the excitement that we felt in being there. </p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> 	 Dana Scott spoke on <i>Lambda Calculus, Then and Now</i>. His first slides referred to the &#8220;Old&#8221; and &#8220;New&#8221; <img src='http://s0.wp.com/latex.php?latex=%7B%5Clambda%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;lambda}' title='{&#92;lambda}' class='latex' />-calculus, saying that it &#8220;has been recycled every decade,&#8221; and his talk showed how it related to <a href="http://en.wikipedia.org/wiki/Combinatory_logic">combinators</a> and other formal systems that gave rise to programming languages. Two notable statements toward the end: &#8220;When I first heard of combinators, I had nightmares,&#8221; and &#8220;John McCarthy claimed that he <i>wasn&#8217;t</i> influenced by the lambda calculus in creating Lisp, but it is hard for me to believe that.&#8221;</p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Philip Wadler spoke on <i>Church&#8217;s Coincidences</i>. Philip is an advocate for the lambda calculus&#8212;actually more that an advocate. He gave a beautiful talk on the lambda calculus and ended by ripping open his vest to reveal a Superman-like T-shirt with the lambda symbol, <img src='http://s0.wp.com/latex.php?latex=%7B%5Clambda%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;lambda}' title='{&#92;lambda}' class='latex' /> on it. He told a story that once when Church was asked in a letter why he had chosen the <img src='http://s0.wp.com/latex.php?latex=%7B%5Clambda%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;lambda}' title='{&#92;lambda}' class='latex' /> symbol, he replied on a postcard that it was</p>
<blockquote><p>
&#8220;Eeny, meeny, miny, moe.&#8221;
</p></blockquote>
<p>
The coincidence of multiple equivalent models of computation arising in the mid-1930&#8242;s he explained as no surprise, but he conveyed amazement that Gerhard Gentzen&#8217;s <a href="http://www.cs.cmu.edu/~fp/courses/atp/handouts/ch2-natded.pdf">Intuitionistic Natural Deduction</a> and Church&#8217;s <a href="http://en.wikipedia.org/wiki/Simply_typed_lambda_calculus">simply typed lambda calculus</a> turn out to be <a href="http://en.wikipedia.org/wiki/Curry-Howard_isomorphism">isomorphic</a>. </p>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/wadlersuperlambda2.png"><img src="http://rjlipton.files.wordpress.com/2012/05/wadlersuperlambda2.png?w=109&h=150" alt="" title="WadlerSuperLambda2" width="109" height="150" class="aligncenter size-thumbnail wp-image-8718" /></a></p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> 	 Les Valiant spoke on <i>Computer Science as a Natural Science</i>. Les is working on a mathematical model of evolution, and most of his comments were on the model. His fundamental question is: &#8220;how can we get three billion bases right in our human DNA in about three billion years?&#8221; This is a very much open problem that perhaps we, as computer scientists, can help solve.</p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Andy Yao spoke on <i>Quantum Computing: A Great Science in the Making</i>. I, Dick, recall that Andy was in the past a skeptic about quantum computing. Now he is completely sure that we will have quantum computers &#8220;sooner than you think.&#8221; He gave a variety of reasons why he believes this: the main being successes in quantum communication that he thinks will help with quantum computation, and particular advances with ion-trap technology.</p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Robert Kahn spoke on <i>A Systems Approach to Managing Distributed Information</i>. Robert pointed out that the Internet is not a network. He views it as an abstraction, as a kind of data structure, and this view was quite interesting.</p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Dick Karp spoke on <i>Theory of Computation as an Enabling Tool for the Sciences</i>. Dick gave a series of examples from all parts of science where computing either has had or will likely have a major impact. Some of the new examples, like astronomy, were quite neat. He opined that the Web may supplant the Turing Machine as the &#8220;cardinal model&#8221; for theory of computing.</p>
<p>
<p><H2> Friday </H2></p>
<p><p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Martin Davis spoke on <i>Universality is Ubiquitous</i>. He emphasized the importance of the philosophical content of Turing&#8217;s famous 1936 paper, noting for instance that Emil Post had a system a decade earlier that we now know is equivalent, but he did not have the philosophical awareness of universality by which to advance it. He noted that universality requires only a few simple ingredients, quoting Turing himself on its being &#8220;essential&#8230;that the memory&#8230;be infinite.&#8221; He showed how this played out immediately in practice&#8212;whereas some early computers were control and instruction-heavy, Turing&#8217;s plan for the Manchester ACE machine maximized the availability of memory. He then explained how current deep thinkers can be understood in relation to two planks of the artificial intellligence hypothesis:</p>
<blockquote>
<ol>
<li>
The human mind is a function of the brain. </p>
<li>
The brain is a computer.
</ol>
</blockquote>
<p>
Some believe both, others only one or neither, but the universal ability of the human mind must be acknowledged by all.</p>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/martindavis.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/martindavis.jpg?w=225&h=300" alt="" title="MartinDavis" width="225" height="300" class="aligncenter size-medium wp-image-8714" /></a></p>
<p><P><br />
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> James Murray spoke on <i>Mathematical Biology, Past, Present and Future: from animal coat patterns to brain tumours to saving marriages</i>. James gave a beautiful series of examples where really simple mathematical ideas should yield important insights into problems in biology. From explaining how spots form on animals to other problems the models were elegant but extremely powerful. Starting from the first he showed how this flows from Turing&#8217;s work on how patterns can form in very simple chemical systems. </p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Barbara Liskov spoke on <i>Programming the Turing Machine</i>. Barbara spoke on the history of programming languages, with special attention to ideas that are essential to modern programming. The crux is how one organizes programs in the first place, and this separates programming <i>methodology</i> from particular programming <i>languages</i>. The critical property is <i>modularity</i>, which she explained as the soul of her language <a href="http://en.wikipedia.org/wiki/CLU_(programming_language)">CLU</a> from the 1970&#8242;s. This was great talk for those who are not experts on the nuances in the theory of languages. 	 </p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Tom Mitchell spoke on <i>Never-Ending Language Learning</i>. Tom spoke about a computer system that is now just about two years old, which he calls NELL&#8212;you can probably guess why this is the name. The system asks about one hundred thousand questions per day, over one per second, to Google. These questions help it learn the meaning of words and phrases. The results seem amazing to us and a bit scary.</p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Andrew Odlyzko spoke on <i>Turing and the Riemann Zeta Function</i>. Andrew explained how Turing checked the Riemann Hypothesis using a new method. The method, with some modern twists, is still the basis for checking whether the zeta function&#8217;s zeroes all do lie on the critical half line: those values <img src='http://s0.wp.com/latex.php?latex=%7Bz%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{z}' title='{z}' class='latex' /> with real part <img src='http://s0.wp.com/latex.php?latex=%7B1%2F2%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{1/2}' title='{1/2}' class='latex' />. He noted that Turing himself became more skeptical of the Riemann Hypothesis as he went on.</p>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/odlyzko.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/odlyzko.jpg?w=300&h=225" alt="" title="Odlyzko" width="300" height="225" class="aligncenter size-medium wp-image-8715" /></a></p>
<p><P><br />
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Ron Rivest spoke on <i>The Growth of Cryptography</i>. An earlier version of this lecture is viewable <a href="http://video.mit.edu/watch/the-growth-of-cryptography-9655/">here</a>. He traced two strands of computer science to the codebreaking work by Turing and others during World War II. Turing&#8217;s conceptualization of the German Enigma Machine influenced the first generation of computers. When Turing was posted to Washington, D.C., in 1943, he met Claude Shannon, and fusing their approaches led to Shannon&#8217;s formalization of information theory. These strands then flow together into modern cryptography, including public-key, and Ron spoke of many new applications.</p>
<p>
<p><H2> Saturday </H2></p>
<p><p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> David Harel spoke on <i>Standing on the Shoulders of a Giant</i>. David was awarded an honorary doctorate by Technische Universitet Eindhoven last month, on which we congratulate him, and his talk from then is <a href="http://www.youtube.com/watch?v=8PbbTp4fIaI&amp;feature=youtu.be">online</a>. He proposes to test whether knowing the complete genome of an organism&#8212;in this case <a href="http://en.wikipedia.org/wiki/Caenorhabditis_elegans">Caenorhabditis elegans</a>, suffices to simulate its development well enough that the properties of the model <a href="http://www.economist.com/node/9468793/print?story_id=9468793">cannot</a> be told apart from those of the real organism. He presented this as an updated version of the Turing Test.</p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Avi Wigderson spoke on <i>The Hardness of Proving Computational Hardness</i>. Avi gave a wonderful talk on the general theory of computational complexity. He avoided many technical terms and issues, but still got his point across. Only at the end did he touch on our barriers to proving lower bounds, but it was a great summary of what we know and do not know about complexity theory. </p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Shafi Goldwasser spoke on <i>Pseudo Deterministic Algorithms</i>. Shafi presented a relatively new model of computation that she calls &#8220;Bellagio Algorithms.&#8221; Every deterministic algorithm computes a function: given the same put you get the same value. Her new algorithms must be functions in this sense, but can use randomness inside to make the computation go faster. A great definition&#8212;the polynomial-time version might have been called &#8220;<img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathsf%7BBPSV%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;mathsf{BPSV}}' title='{&#92;mathsf{BPSV}}' class='latex' />&#8221; following the <a href="http://www.cse.buffalo.edu/~selman/muchado.pdf">nomenclature</a> of Ken&#8217;s colleague Alan Selman&#8212;but how did we not see its relevance years ago? A non-polynomial example is that the best known algorithms for factoring employ randomness, but always output the unique prime factorization of the given number. She then explained the state of the what is known about such algorithms. </p>
<p><p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Bob Tarjan spoke on <i>Search Tree Mysteries</i>. Bob is the world expert on balanced binary trees. He gave a neat introduction to this area and reported on new types of balancing methods. The main lesson is that there is still plenty to do in this classic area.</p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Dick Lipton spoke on <i>What Would Turing Be Doing Today?</i> Dick classified Turing as more of a &#8220;bird&#8221; than a &#8220;frog&#8221; in Freeman Dyson&#8217;s <a href="http://rjlipton.wordpress.com/2011/02/01/godel's-lost-letter-is-two-years-old/">lexicon</a>, with far sight of future problems. One is that a Turing would develop a theory of when computing only what one <i>needs</i> to compute is easier than computing all that one <i>can</i> compute. He also showed a <a href="http://legoofdoom.blogspot.com/">movie</a> of the Aarhus Lego Turing Machine in action. </p>
<p>
<img src='http://s0.wp.com/latex.php?latex=%7B%5Cbullet+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;bullet }' title='{&#92;bullet }' class='latex' /> Christos Papadimitriou spoke on <i>Origin of Computable Numbers</i>. Christos gave the last talk, and linked Darwin to Turing in a very clever way. He then moved on to talk about sex. Yes sex. He has worked on why sex is an evolutionary advantage when at first glance it appears to have many drawbacks. Each mating, for example, uses only one half of the genetic material of each parent. The answer appears to be that sex promotes what he called <i>mixability</i>&#8212;the ability of <a href="http://en.wikipedia.org/wiki/Allele">alleles</a> to perform well with a good spectrum of other alleles. </p>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/sex.png"><img src="http://rjlipton.files.wordpress.com/2012/05/sex.png?w=600" alt="" title="Sex"   class="aligncenter size-full wp-image-8716" /></a></p>
<p><P><br />
We congratulate Christos and co-author Elias Koutsoupias on sharing the <a href="http://www.acm.org/press-room/news-releases/2012/goedel-prize-2012">just-announced</a> 2012 G&ouml;del Prize for their joint <a href="http://dx.doi.org/10.1016/j.cosrev.2009.04.003">paper</a> (older 1999 <a href="http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.102.6991">version</a>) on &#8220;Worst-case equilibria&#8221; in computational game theory, together with Tim Roughgarden and &Eacute;va Tardos (<a href="http://dx.doi.org/10.1145/506147.506153">paper</a>) and Noam Nisan and Amir Ronen (<a href="http://dx.doi.org/10.1006/game.1999.0790">paper</a>).  These three papers did the most to build a flourishing area today.</p>
<p>
<p><H2> Open Problems </H2></p>
<p><p>
Shafi&#8217;s talk raised a number of intriguing open problems. The main one that is easy to state is: Is there a way to given an <img src='http://s0.wp.com/latex.php?latex=%7Bx%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{x}' title='{x}' class='latex' /> find a prime in the interval <img src='http://s0.wp.com/latex.php?latex=%7B%5Bx%2C2x%5D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{[x,2x]}' title='{[x,2x]}' class='latex' /> so that the algorithm is functional in her sense?</p>
<p>
The other question is what should we call these algorithms. I do not see that her name, &#8220;Bellagio Algorithms,&#8221; is the best. The name should be a city, not a hotel in a city. Sanjeev Arora suggested &#8220;Kremlin algorithms&#8221;&#8212;also not quite right in my opinion. I suggest Washington: the place is clearly random inside, but the outcome from our capital is always the same&#8212;deterministic deadlock.</p>
<p>
(The speaker photos in this post were taken by Ken Regan, and not by <a href="http://www.kenregan.com/bio.html#/biography">Ken Regan</a>.)</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rjlipton.wordpress.com/8708/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rjlipton.wordpress.com/8708/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rjlipton.wordpress.com/8708/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rjlipton.wordpress.com/8708/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rjlipton.wordpress.com/8708/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rjlipton.wordpress.com/8708/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rjlipton.wordpress.com/8708/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rjlipton.wordpress.com/8708/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rjlipton.wordpress.com/8708/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rjlipton.wordpress.com/8708/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rjlipton.wordpress.com/8708/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rjlipton.wordpress.com/8708/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rjlipton.wordpress.com/8708/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rjlipton.wordpress.com/8708/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8708&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rjlipton.wordpress.com/2012/05/17/turings-tiger-birthday-party/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b5d34e23e23268dbd35f2da17acaaad5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dickken</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/turinglogo.png" medium="image">
			<media:title type="html">TuringLogo</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/princetonp.jpg" medium="image">
			<media:title type="html">PrincetonP</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/wadlersuperlambda2.png?w=109" medium="image">
			<media:title type="html">WadlerSuperLambda2</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/martindavis.jpg?w=225" medium="image">
			<media:title type="html">MartinDavis</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/odlyzko.jpg?w=300" medium="image">
			<media:title type="html">Odlyzko</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/sex.png" medium="image">
			<media:title type="html">Sex</media:title>
		</media:content>
	</item>
		<item>
		<title>Quantum Refutations and Reproofs</title>
		<link>http://rjlipton.wordpress.com/2012/05/12/quantum-refutations-and-reproofs/</link>
		<comments>http://rjlipton.wordpress.com/2012/05/12/quantum-refutations-and-reproofs/#comments</comments>
		<pubDate>Sat, 12 May 2012 14:26:44 +0000</pubDate>
		<dc:creator>KWRegan</dc:creator>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[History]]></category>
		<category><![CDATA[Ideas]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[conjecture]]></category>
		<category><![CDATA[Harrow]]></category>
		<category><![CDATA[Kalai]]></category>
		<category><![CDATA[Lakatos]]></category>
		<category><![CDATA[Physics]]></category>
		<category><![CDATA[Proof]]></category>
		<category><![CDATA[quantum]]></category>
		<category><![CDATA[Szemeredi]]></category>

		<guid isPermaLink="false">http://rjlipton.wordpress.com/?p=8690</guid>
		<description><![CDATA[One of Gil Kalai&#8217;s conjectures refuted but refurbished Niels Henrik Abel is famous for proving the impossibility of solving the quintic equation by radicals, in 1823. Finding roots of polynomials had occupied mathematicians for centuries, but unsolvability had scant effort and few tools until the late 1700&#8242;s. Abel developed tools of algebra, supplied a step [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8690&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font color="”#0066cc?"><br />
<em> One of Gil Kalai&#8217;s conjectures refuted but refurbished </em><br />
<font color="”#000000?"></p>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/abelstamp.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/abelstamp.jpg?w=600" alt="" title="AbelStamp"   class="alignright size-full wp-image-8691" /></a></p>
<p>
Niels Henrik Abel is famous for proving the impossibility of solving the quintic equation by radicals, in 1823. Finding roots of polynomials had occupied mathematicians for centuries, but unsolvability had scant effort and few tools until the late 1700&#8242;s. Abel developed tools of algebra, supplied a step overlooked by Paolo Ruffini (whose voluminous work he did not know), and focused his proof into a mere six journal pages. </p>
<p>
Today our guest poster Gil Kalai leads us in congratulating Endre Szemer&eacute;di, who on May 22 will officially <a href="http://www.abelprize.no/c54147/seksjon/vis.html?tid=54148">receive</a> the 2012 <a href="http://en.wikipedia.org/wiki/Abel_Prize">prize</a> named for Abel. He then revisits his &#8220;Conjecture C&#8221; from his first <a href="http://rjlipton.wordpress.com/2012/01/30/perpetual-motion-of-the-21st-century/">post</a> in this series, in response to a draft <a href="http://arxiv.org/abs/1204.3404">paper</a> by our other guest poster Aram Harrow with Steve Flammia. </p>
<p><span id="more-8690"></span></p>
<p>
Szemer&eacute;di&#8217;s prize is great news for Discrete Mathematics and Theoretical Computer Science, areas for which he is best known, and this blog has featured his terrific work <a href="http://rjlipton.wordpress.com/2009/06/13/a-proof-system-based-on-ramsey-theory/">here</a> and <a href="http://rjlipton.wordpress.com/2011/05/09/the-tang-effect-and-theorems/">here</a>. The award rivals the Nobel Peace Prize in funds and brings the same handshake from the King of Norway.</p>
<p><P><br />
<a href="http://rjlipton.files.wordpress.com/2012/05/szemerediabel2012.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/szemerediabel2012.jpg?w=600" alt="" title="SzemerediAbel2012"   class="aligncenter size-full wp-image-8692" /></a></p>
<p><P><br />
Gil offers the analogy that Abel&#8217;s theorem showed why a particular old technology, namely solution by radicals, could not <i>scale</i> upward beyond the case of degree 4. The group-theoretic technology that superseded it, particularly as formulated by &Eacute;variste Galois, changed the face of mathematics. Indeed Abelian groups are at the heart of Peter Shor&#8217;s quantum algorithm. Not only did the work by Abel and Galois pre-date the proofs against trisecting angles, duplicating cubes, and squaring circles, it <a href="http://www.gresham.ac.uk/lectures-and-events/squaring-the-circle-and-other-impossibilities">made</a> them possible. </p>
<p>
<p><H2> Refutations and Revisions </H2></p>
<p><p>
Gil&#8217;s analogy is not perfect, because quantum computing is hardly an &#8220;old&#8221; technology, and because currently there is no compelling new positive theory to supersede it. Working toward such a theory is difficult, and there are places where it might be tilting against the power stations of quantum mechanics itself. In this regard, Aram and Steve&#8217;s paper provides a concrete counter-example to a logical extension of Gil&#8217;s conjecture for the larger quantum theory, in a way that casts doubt on the original.</p>
<p>
The refutation and revision of conjectures is a big part of the process described by Imre Lakatos in his book <i>Proofs and Refutations</i>, which was previously <a href="http://rjlipton.wordpress.com/2011/06/06/types-of-papers/">discussed</a> in this blog.  Here, the conjectures are physics conjectures, related to technological capability, and the &#8220;proof&#8221; and &#8220;reproof&#8221; process refers to confronting formal mathematical models with (counter-)examples and various checks by observations of Nature. </p>
<p>
After two sections by Aram and Steve explaining their paper and its significance, Gil assesses the effect on his original Conjecture C and re-assesses its motivation. The latter is reinforced by a line of research begun in 1980 with the following question by Sir Anthony Leggett, who won the Nobel Prize in Physics in 2003:  </p>
<blockquote><p>
How far do experiments on the so called &#8220;macroscopic quantum systems&#8221; such as superfluids and superconductors test the hypothesis that the linear Schr&ouml;dinger equation may be extrapolated to arbitrary complex systems?
</p></blockquote>
<p>
Legget&#8217;s &#8220;disconnectivity measure&#8221; in his 1980 <a href="http://ptp.ipap.jp/link?PTPS/69/80/">paper</a>, &#8220;Macroscopic Quantum Systems and the Quantum Theory of Measurement,&#8221; was an early attempt to define rigorously a parameter that distinguishes complicated quantum states.</p>
<p>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/buckyballsuper.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/buckyballsuper.jpg?w=600" alt="" title="BuckyballSuper"   class="aligncenter size-full wp-image-8699" /></a></p>
<p><span style="font-size:x-small;">(<a href="http://explow.com/buckyballs">source</a>, <a href="http://physicsworld.com/cws/article/news/1999/oct/15/wave-particle-duality-seen-in-carbon-60-molecules">ref1</a>, <a href="http://connection.ebscohost.com/c/articles/24092200/superposition-quantum-classical-rotational-motions-sc2c2-c84-fullerite">ref2</a>)</span></p>
<p>
In this light, Gil formulates two revisions of his conjecture that stay true to his original intents while avoiding the refutation. Then I (Ken) review lively comments that continue to further the debate in previous posts in our series.</p>
<p><H2> Aram Harrow, with Steve Flammia </H2></p>
<p><p>
Recall that Gil <a href="http://rjlipton.wordpress.com/2012/01/30/perpetual-motion-of-the-21st-century/#Censorship">defined</a> an entanglement measure <img src='http://s0.wp.com/latex.php?latex=%7BK%28%5Crho%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{K(&#92;rho)}' title='{K(&#92;rho)}' class='latex' /> (there called <img src='http://s0.wp.com/latex.php?latex=%7BENT%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{ENT}' title='{ENT}' class='latex' />) on a quantum state <img src='http://s0.wp.com/latex.php?latex=%7B%5Crho%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;rho}' title='{&#92;rho}' class='latex' /> in a particular standard manner, where <img src='http://s0.wp.com/latex.php?latex=%7B%5Crho%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;rho}' title='{&#92;rho}' class='latex' /> signifies a possibly-mixed state. The statement of Conjecture C then reads,</p>
<blockquote><p>
There is a fixed constant <img src='http://s0.wp.com/latex.php?latex=%7Bc%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{c}' title='{c}' class='latex' />, possibly <img src='http://s0.wp.com/latex.php?latex=%7Bc+%3D+2%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{c = 2}' title='{c = 2}' class='latex' />, such that for states <img src='http://s0.wp.com/latex.php?latex=%7B%5Crho_n%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{&#92;rho_n}' title='{&#92;rho_n}' class='latex' /> produced by feasible <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' />-qubit quantum computers, </p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle++K%28%5Crho_n%29+%3D+O%28n%5Ec%29.+&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='&#92;displaystyle  K(&#92;rho_n) = O(n^c). ' title='&#92;displaystyle  K(&#92;rho_n) = O(n^c). ' class='latex' /></p>
</blockquote>
<p>
Here the technical meaning of &#8220;feasible&#8221; depends on which models of noisy quantum computers reflect the true state and capability of technology, and is hard for both sides to pin down. We can, however, still refute the conjecture by finding states <img src='http://s0.wp.com/latex.php?latex=%7B%5Crho%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;rho}' title='{&#92;rho}' class='latex' /> that by consensus ought to be feasible&#8212;or at least to which the barriers stated by Kalai do not apply&#8212;for which <img src='http://s0.wp.com/latex.php?latex=%7BK%28%5Crho%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{K(&#92;rho)}' title='{K(&#92;rho)}' class='latex' /> is large. </p>
<p>
Our point of attack is that there is nothing in the definition of <img src='http://s0.wp.com/latex.php?latex=%7BK%28%5Crho%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{K(&#92;rho)}' title='{K(&#92;rho)}' class='latex' /> or in the motivation expressed for the conjecture that requires <img src='http://s0.wp.com/latex.php?latex=%7B%5Crho%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;rho}' title='{&#92;rho}' class='latex' /> to be an <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' />-fold aggregate of <i>binary</i> systems. Quantum systems that represent bits, such as up/down or left/right spin, are most commonly treated, but are not exclusive to Nature. One can equally well define basic ternary systems, or 4-fold or 5-fold or <img src='http://s0.wp.com/latex.php?latex=%7Bd%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{d}' title='{d}' class='latex' />-fold, not even mandating that <img src='http://s0.wp.com/latex.php?latex=%7Bd%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{d}' title='{d}' class='latex' /> be prime. Ternary systems are called <b>qutrits</b>, while those for general <img src='http://s0.wp.com/latex.php?latex=%7Bd%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{d}' title='{d}' class='latex' /> are called <b>qudits</b>. The definition of <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' />-qudit mixed states <img src='http://s0.wp.com/latex.php?latex=%7B%5Crho%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;rho}' title='{&#92;rho}' class='latex' /> allows <img src='http://s0.wp.com/latex.php?latex=%7BK%28%5Crho%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{K(&#92;rho)}' title='{K(&#92;rho)}' class='latex' /> to be defined the same way, and we get the same conjecture statement.</p>
<p>
Call that <b>Conjecture C&#8217;</b>. As Gil agrees, our note shows unconditionally that Conjecture C&#8217; is false, for any <img src='http://s0.wp.com/latex.php?latex=%7Bd%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{d}' title='{d}' class='latex' /> as low as <img src='http://s0.wp.com/latex.php?latex=%7Bd+%3D+8%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{d = 8}' title='{d = 8}' class='latex' />.</p>
<blockquote><p><b>Theorem 1</b> <em> There exist intuitively feasible <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' />-qudit states <img src='http://s0.wp.com/latex.php?latex=%7B%5Crho_n%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{&#92;rho_n}' title='{&#92;rho_n}' class='latex' /> on a 2-dimensional grid for which <img src='http://s0.wp.com/latex.php?latex=%7BK%28%5Crho%29+%3D+2%5E%7B2n%2F3+-+o%28n%29%7D%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{K(&#92;rho) = 2^{2n/3 - o(n)}}' title='{K(&#92;rho) = 2^{2n/3 - o(n)}}' class='latex' />. </em></p></blockquote>
<p><p>
It is important to note that with <img src='http://s0.wp.com/latex.php?latex=%7Bd%3D8%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{d=8}' title='{d=8}' class='latex' /> we cannot simply declare that we have a system on <img src='http://s0.wp.com/latex.php?latex=%7B3n%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{3n}' title='{3n}' class='latex' /> qubits, because we cannot assume a decomposition of a qudit state via tensor products of qubit states. Indeed when the construction in our note is attempted with qubits, the resulting states <img src='http://s0.wp.com/latex.php?latex=%7B%5Crho%27_n%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;rho&#039;_n}' title='{&#92;rho&#039;_n}' class='latex' /> have <img src='http://s0.wp.com/latex.php?latex=%7BK%28%5Crho%27_n%29+%5Csim+n%5E2.%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{K(&#92;rho&#039;_n) &#92;sim n^2.}' title='{K(&#92;rho&#039;_n) &#92;sim n^2.}' class='latex' /> However, our construction speaks against both the ingredients and the purpose of the original Conjecture C. </p>
<p>
<p><H2> What the Conjecture is Driving At </H2></p>
<p><p>
Conjectures of this kind, as Steve and I see it, are attempts at what Scott Aaronson <a href="http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.2.8503">calls</a> a &#8220;Sure/Shor separator.&#8221; By his definition that would distinguish states we&#8217;ve definitely already seen how to produce from the sort of states one would require in any quantum computer achieving an exponential speedup over (believed) classical methods. It represents an admirable attempt to formulate QC skepticism in a rigorous and testable way.</p>
<p>
However, we believe that our counterexamples are significant not especially because they refute Conjecture C, but because they do so while side-stepping Gil&#8217;s main points about quantum error correction failing. More generally, we think that it&#8217;s telling that it&#8217;s so hard to come up with a sensible version of Conjecture C. In our view, this is because quantum computers harness phenomena, such as entanglement and interference, that are already ubiquitous. Nature makes them relatively hard to control, but it is also hard to focus sensibly on what about the control itself is difficult. The formulations of Conjecture C and related obstacles instead find themselves asserting the difficulty of <i>creating</i> rather than <i>controlling</i>. Of course they are trying to get at the difficulty of creating the kinds of states needed for controlling, but the formulations still wind up trying to block the creation of phenomena that &#8220;just come naturally.&#8221;</p>
<p>
In our view, the situation is similar to ones in classical computing. A modern data center exists in a state of matter radically unlike anything ever seen in pre-industrial times. But if you have to quantify this with a crude observable, then it&#8217;s hard to come up with anything that wasn&#8217;t already seen in much simpler technology, like light bulbs. Our note can be thought of as showing that Conjecture C refers to a correlation measure that is high not only for full-scale quantum computers, but even for the quantum equivalent of light bulbs&#8212;technology that is non-trivial, but by no means complex.</p>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/quantumcbulb.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/quantumcbulb.jpg?w=150&h=121" alt="" title="QuantumCbulb" width="150" height="121" class="aligncenter wp-image-8700" /></a></p>
<p><span style="font-size:x-small;">(<a href="http://wonderfulthingsdaily.blogspot.com/2008/01/light-bulb-creativity.html">source</a>)</span></p>
<p><H2> Gil Again: Revising Conjecture C </H2></p>
<p><p>
One of the difficult aspects of my project is to supply mathematical engines for the conjectures, which were initially expressed in informal English terms and with physical intuition. For example, in Conjecture 4 we need to define &#8220;highly entangled qubits&#8221; and &#8220;error-synchronization&#8221; formally. This crucial technical part of the project, which is the most time-consuming, witnessed much backtracking. It happened with initial formulations for Conjecture 4 that failed when extended from qubits to qudits, which was indeed a reason for me to dismiss them and look for a more robust one, and this has guided me with other conjectures.</p>
<p>
Aram and Steve&#8217;s example suffices to look for another formal way to express the idea behind Conjecture C. While rooted in quantum computer skepticism, Conjecture C expresses a common aim to find a dividing line between physical quantum states in the the pre- and post-universal quantum computers eras. When Aram&#8217;s grandchildren will ask him, &#8220;Grandpa, how was the world before quantum computers?&#8221; he could reply: &#8220;I hardly remember, but thanks to Gil we had some conjectures regarding the old days&#8221;&#8212;and the grandchildren will burst in laughter about the old days of difficult entanglements. </p>
<p>
Conjecture C expresses the idea that &#8220;complicated pure states&#8221; cannot be approached by noisy quantum computers. More specifically, the conjecture asserts that quantum states that can be realistically created by quantum computers are &#8220;<img src='http://s0.wp.com/latex.php?latex=%7Bk%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{k}' title='{k}' class='latex' />-local&#8221; where <img src='http://s0.wp.com/latex.php?latex=%7Bk%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{k}' title='{k}' class='latex' /> is bounded (and perhaps is even quite small). But to formally define <img src='http://s0.wp.com/latex.php?latex=%7Bk%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{k}' title='{k}' class='latex' />-locality is a tricky business. (Joe Fitzsimons&#8217; 2-locality suggestions in comments beginning <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19185">here</a> and extending a long way down are related to this issue.) </p>
<p>
We can be guided by the motivation stated on the first page of the <a href="http://ptp.ipap.jp/link?PTPS/69/80/">paper</a> by Anthony Leggett mentioned above, for his &#8220;disconnectivity measure&#8221; which intends to distinguish two kinds of quantum states:</p>
<blockquote><p>
Familiar &#8220;macroscopic quantum phenomena&#8221; such as flux quantization and the Josephson effect [correspond to states having very low] disconnectivity, while the states important to a discussion of the quantum theory of measurement have a very high value of this property.
</p></blockquote>
<p>
Leggett has stayed active with this line of work in the past decade, and it may be informative to develop further the relation to his problems of quantum measurement and problems in quantum computation. In this general regard, let me discuss possible new mathematical engines for the censorship conjecture.</p>
<p>
<p><H2> Conjecture C For Codes </H2></p>
<p><p>
Error-correcting codes are wonderful mathematical objects, and thinking about codes, is always great. Quantum error-correcting codes will either play a prominent role in building universal quantum computers or in explaining why universal quantum computers cannot be built, whichever comes first. The map I try to draw is especially clear for codes:</p>
<blockquote><p>
<b>Conjecture C for codes</b>: For some (small) constant <img src='http://s0.wp.com/latex.php?latex=%7Bc%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{c}' title='{c}' class='latex' />, pure states representing quantum error correcting codes capable of correcting <img src='http://s0.wp.com/latex.php?latex=%7Bc%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{c}' title='{c}' class='latex' />-many errors cannot be feasibly approximated by noisy quantum computers.
</p></blockquote>
<p>
Like in the original version of Conjecture C our notion of approximation is based on qubit errors. <b>Conjecture 1</b> in the <a href="http://rjlipton.wordpress.com/2012/01/30/perpetual-motion-of-the-21st-century/">original post</a> asserts that for every quantum error-correcting code we can only achieve a cloud of states, rather than essentially a Dirac delta function, even if we use many qubits for encoding. The expected qubit errors of the noisy state compared to the intended state can still be a small constant. Conjecture C for codes asserts that when the code corrects many errors than this cloud will not even concentrate near a single code word. Here &#8220;many&#8221; may well be three or even two.</p>
<p>
<p><H2> Conjecture D for Depth </H2></p>
<p>
Conjecture C for codes deals only with special types of quantum states. What can describe general pure states that cannot be approximated?  </p>
<blockquote><p>
<b>Conjecture D</b>: For some (small) constant <img src='http://s0.wp.com/latex.php?latex=%7Bd%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{d}' title='{d}' class='latex' />, pure states on <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> qubits that can be approximated by noisy quantum computers can be approximated by depth-<img src='http://s0.wp.com/latex.php?latex=%7Bd%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{d}' title='{d}' class='latex' /> quantum circuits.
</p></blockquote>
<p>
Here we adopt the ordinary description of quantum circuits where in each round some gates on disjoint sets of one or two qubits are performed. Unlike the old Conjecture C which did not exclude cluster states, and thus could not serve as a Sure/Shor separator in Scott Aaronson&#8217;s strict sense, the new Conjecture D may well represent such a separator in the strict sense that it does not allow efficient factoring. It deviates from the direction of earlier versions of Conjecture C since it is based on computational theoretic terms.</p>
<p>
The new Conjecture D gives a poetic justice to bounded depth circuits. In classical computation, bounded-depth circuits of polynomial size give a mathematically fascinating yet pathetically weak computational class. In quantum computation this may be a viable borderline between reality and dream.</p>
<p>
<p><H2> In the Comments </H2></p>
<p><p>
The comments section of the &#8220;Quantum Super-PAC&#8221; <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/">post</a> has seen an extremely lively discussion, for which we profusely thank all those taking part. We regret that currently we can give only the barest enumeration of some highlights&#8212;we envision a later summary of what has been learned.</p>
<p>
Discussion of a possible refutation of Gil&#8217;s conjectures via <b>2-local</b> properties started in earnest with <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19216">this comment</a> by Joe Fitzsimons. See Gil&#8217;s replies <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19257">here</a> and <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19295">here</a>, and further exchanges beginning <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19341">next</a>.</p>
<p>
John Sidles outlined a mathematical approach to the conjectures beginning <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19280">here</a>. Hal Swyers <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19327">moved</a> to clarify the physics involved in the discussions. Then John Preskill <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19369">reviewed</a> the goings-on, including 2-locality and the subject of Lindblad evolution as used by Gil and discussed extensively above, and continued <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19428">here</a> to head a new thread. Swyers picked up on questions about the size of controllable systems <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19443">here</a> and in a second part <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19452">here</a>. Gil outlined a reply recently <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19641">here</a>.</p>
<p>
Meanwhile, Gil rejoined a previous post&#8217;s discussion of the rate of error with a comment in the &#8220;Super-PAC&#8221; post <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19529">here</a>. Alexander Vlasov <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19539">re-opened</a> the question of whether the conjectures don&#8217;t already violate linearity. Sidles raised a concrete example related to earlier comments by Mikhail Katkov <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19680">here</a>. Then Gil related offline discussions with David Deutsch <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19685">here</a>.</p>
<p>
Gil has recently <a href="http://gilkalai.wordpress.com/2012/05/09/the-quantum-fault-tolerance-debate-updates/">reviewed</a> the debate on his own blog. He and Jim Blair also mentioned some new papers and articles beginning <a href="http://rjlipton.wordpress.com/2012/03/05/the-quantum-super-pac/#comment-19937">here</a>. On the technological side, Steve Flammia <a href="http://dabacon.org/pontiff/?p=6251">noted</a> on the Quantum Pontiff blog that ion-trap technology has taken a big leap upward in scale for processes that seem hard to simulate classically, though the processes would need to be controlled more to support universal quantum computation.</p>
<p>
<p><H2> Open Problems </H2></p>
<p><p>
Propose a version for Conjecture C or D, or explain why such a conjecture is misguided to start with.</p>
<p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rjlipton.wordpress.com/8690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rjlipton.wordpress.com/8690/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rjlipton.wordpress.com/8690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rjlipton.wordpress.com/8690/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rjlipton.wordpress.com/8690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rjlipton.wordpress.com/8690/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rjlipton.wordpress.com/8690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rjlipton.wordpress.com/8690/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rjlipton.wordpress.com/8690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rjlipton.wordpress.com/8690/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rjlipton.wordpress.com/8690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rjlipton.wordpress.com/8690/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rjlipton.wordpress.com/8690/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rjlipton.wordpress.com/8690/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8690&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rjlipton.wordpress.com/2012/05/12/quantum-refutations-and-reproofs/feed/</wfw:commentRss>
		<slash:comments>79</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7f5bfd8236587a9173030f92f9f08244?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kwregan</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/abelstamp.jpg" medium="image">
			<media:title type="html">AbelStamp</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/szemerediabel2012.jpg" medium="image">
			<media:title type="html">SzemerediAbel2012</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/buckyballsuper.jpg" medium="image">
			<media:title type="html">BuckyballSuper</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/quantumcbulb.jpg?w=300" medium="image">
			<media:title type="html">QuantumCbulb</media:title>
		</media:content>
	</item>
		<item>
		<title>Inexact Remarks On Exact TSP Algorithms</title>
		<link>http://rjlipton.wordpress.com/2012/05/08/inexact-remarks-on-exact-tsp-algorithms/</link>
		<comments>http://rjlipton.wordpress.com/2012/05/08/inexact-remarks-on-exact-tsp-algorithms/#comments</comments>
		<pubDate>Tue, 08 May 2012 19:28:22 +0000</pubDate>
		<dc:creator>Pip</dc:creator>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[History]]></category>
		<category><![CDATA[Ideas]]></category>
		<category><![CDATA[Open Problems]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[Algorithms]]></category>
		<category><![CDATA[dynamic programming]]></category>
		<category><![CDATA[graphs]]></category>
		<category><![CDATA[Hamilton circuit]]></category>
		<category><![CDATA[Karp]]></category>
		<category><![CDATA[TSP]]></category>

		<guid isPermaLink="false">http://rjlipton.wordpress.com/?p=8668</guid>
		<description><![CDATA[An interesting approach to TSP&#8253; Michael Held is a mathematician who was at IBM Yorktown Research in the 1960&#8242;s, and worked with Dick Karp who was also there at the time. Held has worked on a variety of things, but is best known in complexity theory for the the famous work he did with Dick [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8668&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font color="”#0066cc?"><br />
<em> An interesting approach to TSP&#8253; </em><br />
<font color="”#000000?"></p>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/held.png"><img src="http://rjlipton.files.wordpress.com/2012/05/held.png?w=600" alt="" title="held"   class="alignright size-full wp-image-8669" /></a></p>
<p>
Michael Held is a mathematician who was at IBM Yorktown Research in the 1960&#8242;s, and worked with Dick Karp who was also there at the time. Held has worked on a variety of things, but is best known in complexity theory for the the famous work he did with Dick on the Travelling Salesman Problem (TSP).</p>
<p>
Today I want to talk about an approach to the TSP problem that should be better known. It might be new, or it might be known to be blocked&#8212;but even then it may lead to future insights.</p>
<p><span id="more-8668"></span></p>
<p>
Held and Karp worked on the TSP about fifty years ago. Recall the TSP is finding a complete cycle in a weighted graph that has least cost. Here is a <a href="http://www.computerhistory.org/collections/accession/102650390">press release</a> and photo from those days on their important work:</p>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/ibm.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/ibm.jpg?w=241&h=300" alt="" title="ibm" width="241" height="300" class="aligncenter size-medium wp-image-8670" /></a></p>
<p><span style="font-size:x-small;">(<a href="http://www.computerhistory.org/collections/accession/102650390">source</a>)</span></p>
<blockquote><p>
WHITE PLAINS, N.Y. Jan 2 &#8230; IBM mathematicans (left to right) Michael Held, Richard Shareshian, and Richard M. Karp review the manual describing a new computer program which provides business and industry with a practical scientific method for handling a wide variety of complex scheduling tasks. The program, available to users of the IBM 7090 and 7094 data processing systems, consists of a set of 4,500 instructions which tell the computer what to do with data fed into it. It grew out of the trio&#8217;s efforts to find solutions for a classic mathematical problem &#8212; the &#8220;Traveling Salesman&#8221; problem &#8212; whcih [sic] has long defied solution by man, or by the fastest computers he uses.
</p></blockquote>
<p>
I like several things about this press release: (i) you can see the figure of the US on the back page; (ii) the program used less than five thousand instructions&#8212;today your phone has tens of millions of instructions; (iii) the release gave a short but nice description on what a program is. And finally the last part, &#8220;has long defied solution by man, or by the fastest computers he uses,&#8221; is still true today: we still do not know an efficient algorithm for TSP.</p>
<p>
I will use the term TSP for the rest of the discussion to apply to the special case when the weights are restricted to be <img src='http://s0.wp.com/latex.php?latex=%7B0%2C1%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{0,1}' title='{0,1}' class='latex' />, which really is the Hamiltonian Cycle Problem. It also applies to the grid-graph version with Euclidean distance which we mentioned just now <a href="http://rjlipton.wordpress.com/2012/04/22/the-travelling-salesmans-power/">here</a>. But most of what I say actually applies to the TSP with arbitrary weights. And anyway the special case is of great importance, for both theoretical and practical reasons. So TSP it is.</p>
<p>
<p><H2> TSP In 1962 </H2></p>
<p><p>
In 1962 I was&#8230;&#8212;never mind. Our friends at Wikipedia have a <a href="http://en.wikipedia.org/wiki/1962">list</a> of the key events of that year; here are my favorites: </p>
<ul>
<li>
Wilt Chamberlain scores 100 points in a single NBA basketball game. </p>
<li>
The Beatles release their first single for EMI, &#8220;Love Me Do.&#8221; </p>
<li> The term &#8220;personal computer&#8221; is first mentioned by the media.
<li>
The first Walmart store, then known as Wal-Mart (which is still the corporate name), opens for business in Rogers, Arkansas. </p>
<li>
American advertising man Martin Speckter invents the <a href="http://en.wikipedia.org/wiki/Interrobang">interrobang</a>, a new English-language punctuation mark.
</ul>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/bang.png"><img src="http://rjlipton.files.wordpress.com/2012/05/bang.png?w=600" alt="" title="bang"   class="aligncenter size-full wp-image-8672" /></a></p>
<p>
The last is personal: I met Speckter, since at the time my dad, Jack Lipton, was the art director for Speckter&#8217;s ad agency. Not surprisingly my dad designed the first rendering of the new symbol for his boss&#8212;if only they had seen it become a standard symbol. Ken concurs, saying the substrings &#8220;!&#8212;?&#8221; and &#8220;?&#8212;!&#8221; appear often in his e-mails.  It is Unicode U+203D and HTML glyph 8253, so perhaps that qualifies as standard.</p>
<p align="center">&#8253;</p>
<p>
The big result of the year, of course, was neither Wilt, the Beatles, the PC, Wal-Mart, nor the interrobang; it was the first nontrivial progress ever made on TSP. In 1962 Richard Bellman and independently Held and Karp used dynamic programming to prove that a TSP problem on <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> cities could be solved <i>exactly</i> in time <img src='http://s0.wp.com/latex.php?latex=%7BO%28n%5E2+2%5En%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{O(n^2 2^n)}' title='{O(n^2 2^n)}' class='latex' />. The dynamic programming method had been <a href="http://en.wikipedia.org/wiki/Dynamic_programming">discovered</a> and <a href="http://en.wikipedia.org/wiki/Bellman_equation">developed</a> postwar by Bellman, and this was one of the more exciting initial applications of the method. Note that the &#8220;obvious&#8221; method of trying every sequence runs in <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> factorial time, so this result is a huge improvement.</p>
<p>
The idea they discovered is quite simple. Imagine that we have objects <img src='http://s0.wp.com/latex.php?latex=%7B%5BS%2Ci%5D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{[S,i]}' title='{[S,i]}' class='latex' /> for each subset <img src='http://s0.wp.com/latex.php?latex=%7BS%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{S}' title='{S}' class='latex' /> of the vertices of the graph in question, and let <img src='http://s0.wp.com/latex.php?latex=%7Bi%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{i}' title='{i}' class='latex' /> be a vertex. We wish to compute the following function <img src='http://s0.wp.com/latex.php?latex=%7Bf%28%5BS%2Ci%5D%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{f([S,i])}' title='{f([S,i])}' class='latex' /> is 1 if there is a walk from <img src='http://s0.wp.com/latex.php?latex=%7B1%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{1}' title='{1}' class='latex' /> to <img src='http://s0.wp.com/latex.php?latex=%7Bi%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{i}' title='{i}' class='latex' /> using only the vertices from <img src='http://s0.wp.com/latex.php?latex=%7BS%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{S}' title='{S}' class='latex' />, and is 0 otherwise. If we can compute <img src='http://s0.wp.com/latex.php?latex=%7Bf%5BV%2C1%5D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{f[V,1]}' title='{f[V,1]}' class='latex' />, then we will determine whether or not there is a TSP solution. Pretty simple, pretty clever. </p>
<p>
The algorithm they discovered is quite simple&#8212;or perhaps not so simple. Even today their solution is not obvious. One indication is a long <a href="http://cstheory.stackexchange.com/questions/3666/time-complexity-of-bellman-held-karp-algorithm-for-tsp-take-2">discussion</a> last autumn on StackExchange about this algorithm. The worry was why was the polynomial factor only quadratic in <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' />? The answer is partly that those discussing this issue were talking about a related but less efficient algorithm. In this algorithm the objects are <img src='http://s0.wp.com/latex.php?latex=%7B%5Bi%2CS%2Cj%5D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{[i,S,j]}' title='{[i,S,j]}' class='latex' />: the value of <img src='http://s0.wp.com/latex.php?latex=%7Bf%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{f}' title='{f}' class='latex' /> on this object is again 0,1, but that rule is it is 1 when there is a path from <img src='http://s0.wp.com/latex.php?latex=%7Bi%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{i}' title='{i}' class='latex' /> to <img src='http://s0.wp.com/latex.php?latex=%7Bj%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{j}' title='{j}' class='latex' /> using only vertices from <img src='http://s0.wp.com/latex.php?latex=%7BS%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{S}' title='{S}' class='latex' />. This works too, but is less efficient than the Bellman-Held-Karp result.</p>
<p>
The simple trick of fixing the start of the TSP cycle saves a factor of <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> and is good to remember. The more general notion is to exploit any symmetry in your problem. Cycles have a simple, but powerful symmetry that is used here.</p>
<p>
<p><H2> TSP Fifty Years Later </H2></p>
<p><p>
The breakthrough happened in 2010. The best Hamilton Cycle algorithm is now a randomized algorithm that runs in time <img src='http://s0.wp.com/latex.php?latex=%7BO%28c%5En%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{O(c^n)}' title='{O(c^n)}' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=%7Bc+%3C+2%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{c &lt; 2}' title='{c &lt; 2}' class='latex' />, where <img src='http://s0.wp.com/latex.php?latex=%7Bc%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{c}' title='{c}' class='latex' /> is about <img src='http://s0.wp.com/latex.php?latex=%7B1.657%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{1.657}' title='{1.657}' class='latex' />. For bipartite graphs such as the grid graphs mentioned above <img src='http://s0.wp.com/latex.php?latex=%7Bc%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{c}' title='{c}' class='latex' /> is about <img src='http://s0.wp.com/latex.php?latex=%7B1.414%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{1.414}' title='{1.414}' class='latex' />, i.e., this is roughly a <img src='http://s0.wp.com/latex.php?latex=%7B2%5E%7Bn%2F2%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{2^{n/2}}' title='{2^{n/2}}' class='latex' />-time algorithm. This is a huge result, and I have discussed it at length <a href="http://rjlipton.wordpress.com/2010/09/09/beating-a-forty-year-old-result-hamilton-cycles/">here</a>. The result is due to Andreas Bj&ouml;rklund. </p>
<p>
I will not say much about the proof of this result&#8212;see the paper for the best insight, or look at my comments for an overview. Suffice it to say that the result could not have been proved in 1962, or even in 1972. The basic methods used in the proof were unknown then. That is progress. </p>
<p>
<p><H2> The Idea </H2></p>
<p><p>
I was thinking about the TSP problem the other day, and realized there is a simple way to approach it that may yield a new algorithm. So far the method does not yield any improvement, but it does yield a very different approach. At least I think so. Let me explain the idea.</p>
<p>
The idea is based on a connection with fast algorithms for the knapsack problem&#8212;one of my favorite algorithms&#8212;see <a href="http://rjlipton.wordpress.com/2010/02/05/a-2010-algorithm-for-the-knapsack-problem/">here</a> for a discussion on it, and <a href="http://rjlipton.wordpress.com/2010/03/03/beating-bellman-for-the-knapsack-problem/">here</a> for a followup. Let <img src='http://s0.wp.com/latex.php?latex=%7BA%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{A}' title='{A}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%7BB%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{B}' title='{B}' class='latex' /> be large sets of integers, and imagine that we want to determine whether there are <img src='http://s0.wp.com/latex.php?latex=%7Ba+%5Cin+A%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a &#92;in A}' title='{a &#92;in A}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%7Bb+%5Cin+B%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{b &#92;in B}' title='{b &#92;in B}' class='latex' /> so that <img src='http://s0.wp.com/latex.php?latex=%7Ba+%2B+b+%3D+0%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a + b = 0}' title='{a + b = 0}' class='latex' />. The &#8220;obvious&#8221; algorithm requires the product of the size of the sets, <img src='http://s0.wp.com/latex.php?latex=%7B%7CA%7C+%5Ccdot+%7CB%7C+%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{|A| &#92;cdot |B| }' title='{|A| &#92;cdot |B| }' class='latex' />; there of course a faster algorithm that runs in almost the sum of the sizes of the sets. Use sorting to see if <img src='http://s0.wp.com/latex.php?latex=%7BA%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{A}' title='{A}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%7B-B%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{-B}' title='{-B}' class='latex' /> have an element in common. This is the basis of the wonderful algorithm for knapsack that runs in time <img src='http://s0.wp.com/latex.php?latex=%7B2%5E%7Bn%2F2%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{2^{n/2}}' title='{2^{n/2}}' class='latex' /> multiplied by a polynomial in <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' />, where <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> is the number of items. </p>
<p>
The natural idea is to do better and look at the case where there are multiple sets. Suppose that <img src='http://s0.wp.com/latex.php?latex=%7BA%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{A}' title='{A}' class='latex' />, <img src='http://s0.wp.com/latex.php?latex=%7BB%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{B}' title='{B}' class='latex' />, and <img src='http://s0.wp.com/latex.php?latex=%7BC%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{C}' title='{C}' class='latex' /> are are sets of integers. Now the question is: are there <img src='http://s0.wp.com/latex.php?latex=%7Ba+%5Cin+A%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a &#92;in A}' title='{a &#92;in A}' class='latex' />, <img src='http://s0.wp.com/latex.php?latex=%7Bb+%5Cin+B%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{b &#92;in B}' title='{b &#92;in B}' class='latex' />, and <img src='http://s0.wp.com/latex.php?latex=%7Bc+%5Cin+C%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{c &#92;in C}' title='{c &#92;in C}' class='latex' />, so that 	</p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle++a+%2B+b+%2B+c+%3D+0%3F&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;displaystyle  a + b + c = 0?' title='&#92;displaystyle  a + b + c = 0?' class='latex' /></p>
<p>
Is there an algorithm for this that runs in time that is roughly the sum of the sizes of the sets?</p>
<p>
If there were then we would get a knapsack problem that runs in polynomial in <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> times <img src='http://s0.wp.com/latex.php?latex=%7B2%5E%7Bn%2F3%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{2^{n/3}}' title='{2^{n/3}}' class='latex' />. Namely, we can select any one partition of the given set <img src='http://s0.wp.com/latex.php?latex=%7BU%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{U}' title='{U}' class='latex' /> of <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> numbers into <img src='http://s0.wp.com/latex.php?latex=%7BS_1%2CS_2%2CS_3%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{S_1,S_2,S_3}' title='{S_1,S_2,S_3}' class='latex' /> each of size about <img src='http://s0.wp.com/latex.php?latex=%7Bn%2F3%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n/3}' title='{n/3}' class='latex' />; then for any <img src='http://s0.wp.com/latex.php?latex=%7BI+%5Csubset+S%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{I &#92;subset S}' title='{I &#92;subset S}' class='latex' /> of elements summing to a given target <img src='http://s0.wp.com/latex.php?latex=%7Bt%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{t}' title='{t}' class='latex' />, taking <img src='http://s0.wp.com/latex.php?latex=%7BI_1+%3D+S_1+%5Ccap+I%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{I_1 = S_1 &#92;cap I}' title='{I_1 = S_1 &#92;cap I}' class='latex' />, <img src='http://s0.wp.com/latex.php?latex=%7BI_2+%3D+S_2+%5Ccap+I%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{I_2 = S_2 &#92;cap I}' title='{I_2 = S_2 &#92;cap I}' class='latex' />, and <img src='http://s0.wp.com/latex.php?latex=%7BI_3+%3D+S_3+%5Ccap+I%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{I_3 = S_3 &#92;cap I}' title='{I_3 = S_3 &#92;cap I}' class='latex' /> gives three subset sums <img src='http://s0.wp.com/latex.php?latex=%7Ba%2Cb%2Cc%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a,b,c}' title='{a,b,c}' class='latex' />, respectively, such that <img src='http://s0.wp.com/latex.php?latex=%7Ba+%2B+b+%2B+c+%3D+t%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a + b + c = t}' title='{a + b + c = t}' class='latex' />. So now create <img src='http://s0.wp.com/latex.php?latex=%7BA%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{A}' title='{A}' class='latex' /> to be the set of sums obtained over all <img src='http://s0.wp.com/latex.php?latex=%7B2%5E%7Bn%2F3%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{2^{n/3}}' title='{2^{n/3}}' class='latex' /> possible subsets <img src='http://s0.wp.com/latex.php?latex=%7BI_1%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{I_1}' title='{I_1}' class='latex' /> for <img src='http://s0.wp.com/latex.php?latex=%7BS_1%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{S_1}' title='{S_1}' class='latex' />, and similarly <img src='http://s0.wp.com/latex.php?latex=%7BB%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{B}' title='{B}' class='latex' /> for <img src='http://s0.wp.com/latex.php?latex=%7BS_2%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{S_2}' title='{S_2}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%7BC%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{C}' title='{C}' class='latex' /> from <img src='http://s0.wp.com/latex.php?latex=%7BS_3.%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{S_3.}' title='{S_3.}' class='latex' /> The sets <img src='http://s0.wp.com/latex.php?latex=%7BA%2CB%2CC%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{A,B,C}' title='{A,B,C}' class='latex' /> each have size about <img src='http://s0.wp.com/latex.php?latex=%7BN+%3D+2%5E%7Bn%2F3%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{N = 2^{n/3}}' title='{N = 2^{n/3}}' class='latex' /> and we have used <img src='http://s0.wp.com/latex.php?latex=%7B%5Ctilde%7BO%7D%282%5E%7Bn%2F3%7D%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;tilde{O}(2^{n/3})}' title='{&#92;tilde{O}(2^{n/3})}' class='latex' /> time to make them. </p>
<p>
Even if we can&#8217;t find an <img src='http://s0.wp.com/latex.php?latex=%7BO%28N%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{O(N)}' title='{O(N)}' class='latex' />-time algorithm to finish the <img src='http://s0.wp.com/latex.php?latex=%7Ba%2Bb%2Bc%3D0%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a+b+c=0}' title='{a+b+c=0}' class='latex' /> part, we could create the set <img src='http://s0.wp.com/latex.php?latex=%7BA_%7B1%2C2%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{A_{1,2}}' title='{A_{1,2}}' class='latex' /> of all sums from <img src='http://s0.wp.com/latex.php?latex=%7BS_1+%5Ccup+S_2%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{S_1 &#92;cup S_2}' title='{S_1 &#92;cup S_2}' class='latex' /> and then apply the trick for <img src='http://s0.wp.com/latex.php?latex=%7Ba%2Bb%3D0%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a+b=0}' title='{a+b=0}' class='latex' />, getting time <img src='http://s0.wp.com/latex.php?latex=%7B%5Ctilde%7BO%7D%282%5E%7B2n%2F3%7D%29+%3D+%5Ctilde%7BO%7D%281.5874%5En%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;tilde{O}(2^{2n/3}) = &#92;tilde{O}(1.5874^n)}' title='{&#92;tilde{O}(2^{2n/3}) = &#92;tilde{O}(1.5874^n)}' class='latex' />. Of course here that is not as good as dividing into halves, but we are thinking of cases where we might not have the freedom to fix an arbitrary partition. And so on for <img src='http://s0.wp.com/latex.php?latex=%7Bn%2F4%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n/4}' title='{n/4}' class='latex' />, <img src='http://s0.wp.com/latex.php?latex=%7Bn%2F5%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n/5}' title='{n/5}' class='latex' />&#8230;</p>
<p>
<p><H2> The Approach </H2></p>
<p><p>
The connection that I want to raise is that TSP can be made into exactly this type of problem. I will explain it for two sets, but the idea works for three or more sets. It is just a bit simpler to explain in the case of two sets. </p>
<p>
The objects are same as before, <img src='http://s0.wp.com/latex.php?latex=%7B%5BS%2Ck%5D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{[S,k]}' title='{[S,k]}' class='latex' />. The idea is to compute all of them, but only when the cardinality of the set <img src='http://s0.wp.com/latex.php?latex=%7BS%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{S}' title='{S}' class='latex' /> is (less than or) equal to <img src='http://s0.wp.com/latex.php?latex=%7Bn%2F2%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n/2}' title='{n/2}' class='latex' />. We assume <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> is even. Denote by <img src='http://s0.wp.com/latex.php?latex=%7BM%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{M}' title='{M}' class='latex' /> the number of these objects: unfortunately it is still order <img src='http://s0.wp.com/latex.php?latex=%7B2%5E%7Bn%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{2^{n}}' title='{2^{n}}' class='latex' />, but we will get back to that later.</p>
<p>
Let <img src='http://s0.wp.com/latex.php?latex=%7B%5Ccal+O%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;cal O}' title='{&#92;cal O}' class='latex' /> be the set of all the objects with value <img src='http://s0.wp.com/latex.php?latex=%7B1%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{1}' title='{1}' class='latex' />, meaning there is a path from <img src='http://s0.wp.com/latex.php?latex=%7B1%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{1}' title='{1}' class='latex' /> to <img src='http://s0.wp.com/latex.php?latex=%7Bk%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{k}' title='{k}' class='latex' /> that goes through every node in <img src='http://s0.wp.com/latex.php?latex=%7BS%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{S}' title='{S}' class='latex' />. The key is to determine whether or not there are two objects <img src='http://s0.wp.com/latex.php?latex=%7B%5BS%2Ck%5D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{[S,k]}' title='{[S,k]}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%7B%5BT%2C%5Cell%5D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{[T,&#92;ell]}' title='{[T,&#92;ell]}' class='latex' /> in <img src='http://s0.wp.com/latex.php?latex=%7B%5Ccal+O%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;cal O}' title='{&#92;cal O}' class='latex' /> so that </p>
<p align="center">
<img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle++%5Cbegin%7Barray%7D%7Brcl%7D++k+%26%3D%26+%5Cell%5C%5C+%09S+%5Ccup+T+%26%3D%26+V+%5Csetminus+%5C%7B1%5C%7D%5C%5C+%09S+%5Ccap+T+%26%3D%26+%5C%7Bk%5C%7D+%5C%5C+%5Cend%7Barray%7D+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;displaystyle  &#92;begin{array}{rcl}  k &amp;=&amp; &#92;ell&#92;&#92; 	S &#92;cup T &amp;=&amp; V &#92;setminus &#92;{1&#92;}&#92;&#92; 	S &#92;cap T &amp;=&amp; &#92;{k&#92;} &#92;&#92; &#92;end{array} ' title='&#92;displaystyle  &#92;begin{array}{rcl}  k &amp;=&amp; &#92;ell&#92;&#92; 	S &#92;cup T &amp;=&amp; V &#92;setminus &#92;{1&#92;}&#92;&#92; 	S &#92;cap T &amp;=&amp; &#92;{k&#92;} &#92;&#92; &#92;end{array} ' class='latex' />
</p>
<p>
This is true if and only if there is a solution to the TSP.</p>
<p>
The key is to do a simple encoding into sets. Given <img src='http://s0.wp.com/latex.php?latex=%7BU+%3D+%5C%7B1%2C%5Cdots%2Cn%5C%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{U = &#92;{1,&#92;dots,n&#92;}}' title='{U = &#92;{1,&#92;dots,n&#92;}}' class='latex' />, we identify a subset <img src='http://s0.wp.com/latex.php?latex=%7BS%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{S}' title='{S}' class='latex' /> with an <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' />-bit binary string, allowing initial padding <img src='http://s0.wp.com/latex.php?latex=%7B0%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{0}' title='{0}' class='latex' />s. Then given <img src='http://s0.wp.com/latex.php?latex=%7Bk+%5Cin+U%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{k &#92;in U}' title='{k &#92;in U}' class='latex' /> in binary, we denote by <img src='http://s0.wp.com/latex.php?latex=%7BSk%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{Sk}' title='{Sk}' class='latex' /> the number given by concatenating the string for <img src='http://s0.wp.com/latex.php?latex=%7BS%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{S}' title='{S}' class='latex' /> to <img src='http://s0.wp.com/latex.php?latex=%7Bk%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{k}' title='{k}' class='latex' />, and <img src='http://s0.wp.com/latex.php?latex=%7BSk%27%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{Sk&#039;}' title='{Sk&#039;}' class='latex' /> the same but complementing the bits of <img src='http://s0.wp.com/latex.php?latex=%7Bk%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{k}' title='{k}' class='latex' />. Then define:</p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle++%5Cbegin%7Barray%7D%7Brcl%7D++A+%26%3D%26+%5C%7BSk%3A+%5BS%2Ck%5D+%5Cin+%7B%5Ccal+O%7D%5C%7D%5C%5C+B+%26%3D%26+%5C%7BT%5Cell%27%3A+%5BT%2C%5Cell%5D+%5Cin+%7B%5Ccal+O%7D%5C%7D+%5Cend%7Barray%7D+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;displaystyle  &#92;begin{array}{rcl}  A &amp;=&amp; &#92;{Sk: [S,k] &#92;in {&#92;cal O}&#92;}&#92;&#92; B &amp;=&amp; &#92;{T&#92;ell&#039;: [T,&#92;ell] &#92;in {&#92;cal O}&#92;} &#92;end{array} ' title='&#92;displaystyle  &#92;begin{array}{rcl}  A &amp;=&amp; &#92;{Sk: [S,k] &#92;in {&#92;cal O}&#92;}&#92;&#92; B &amp;=&amp; &#92;{T&#92;ell&#039;: [T,&#92;ell] &#92;in {&#92;cal O}&#92;} &#92;end{array} ' class='latex' /></p>
<p>
Then we look for <img src='http://s0.wp.com/latex.php?latex=%7Ba+%5Cin+A%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{a &#92;in A}' title='{a &#92;in A}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%7Bb+%5Cin+B%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{b &#92;in B}' title='{b &#92;in B}' class='latex' /> so that 	</p>
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle++a+%2B+b+%3D+m%2C+&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='&#92;displaystyle  a + b = m, ' title='&#92;displaystyle  a + b = m, ' class='latex' /></p>
<p>
where <img src='http://s0.wp.com/latex.php?latex=%7Bm+%3D+2%5E%7Bn%2B%5Clceil%7B%5Clog+n%7D%5Crceil%7D+-+1%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{m = 2^{n+&#92;lceil{&#92;log n}&#92;rceil} - 1}' title='{m = 2^{n+&#92;lceil{&#92;log n}&#92;rceil} - 1}' class='latex' /> is the all-1 string of length <img src='http://s0.wp.com/latex.php?latex=%7Bn%2B%5Clceil%7B%5Clog+n%7D%5Crceil%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n+&#92;lceil{&#92;log n}&#92;rceil}' title='{n+&#92;lceil{&#92;log n}&#92;rceil}' class='latex' />. We actually subtract every element in <img src='http://s0.wp.com/latex.php?latex=%7BB%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{B}' title='{B}' class='latex' /> from <img src='http://s0.wp.com/latex.php?latex=%7Bm%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{m}' title='{m}' class='latex' /> to use the trick from before.</p>
<p>
The rub alas is that we are not able to cut down the search space as simply as before, because we cannot start with an arbitrary partition <img src='http://s0.wp.com/latex.php?latex=%7BU+%3D+S+%5Ccup+T%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{U = S &#92;cup T}' title='{U = S &#92;cup T}' class='latex' />. The vertex subset <img src='http://s0.wp.com/latex.php?latex=%7BS%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{S}' title='{S}' class='latex' /> might not be a segment of a cycle, and might not even induce a connected subgraph. We would get a little savings if we needed only to care about subsets with <img src='http://s0.wp.com/latex.php?latex=%7B%7CS%7C+%3D+%7CT%7C+%3D+n%2F2%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{|S| = |T| = n/2}' title='{|S| = |T| = n/2}' class='latex' />, but the dynamic programming method needs building up from smaller subsets.</p>
<p>
It helps to note that the same bit-additive idea applies for breaking up into any number of subsets of <img src='http://s0.wp.com/latex.php?latex=%7BU%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{U}' title='{U}' class='latex' />; we just need to use some extra padding on the <img src='http://s0.wp.com/latex.php?latex=%7Bk%2Ck%27%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{k,k&#039;}' title='{k,k&#039;}' class='latex' /> parts. For three subsets <img src='http://s0.wp.com/latex.php?latex=%7BS_1%2CS_2%2CS_3%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{S_1,S_2,S_3}' title='{S_1,S_2,S_3}' class='latex' />, however, we do seem to need to consider pieces of the form <img src='http://s0.wp.com/latex.php?latex=%7B%5Bk%2CS_2%2C%5Cell%5D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{[k,S_2,&#92;ell]}' title='{[k,S_2,&#92;ell]}' class='latex' /> as well as <img src='http://s0.wp.com/latex.php?latex=%7B%5BS_1%2Ck%5D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{[S_1,k]}' title='{[S_1,k]}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%7B%5BS_3%2C%5Cell%5D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{[S_3,&#92;ell]}' title='{[S_3,&#92;ell]}' class='latex' />. This complicates but does not prevent the padding idea, and losing a little efficiency by needing two endpoints different from the fixed <img src='http://s0.wp.com/latex.php?latex=%7B1%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{1}' title='{1}' class='latex' /> is a minor annoyance.</p>
<p>
What do we hope to gain? Perhaps for interesting graphs we can better bound the number of smaller subsets we need to consider, for instance ruling out all that induce a disconnected subgraph or a tree other than a path. For three subsets, even if we incur some redundancy that makes things work in time <img src='http://s0.wp.com/latex.php?latex=%7B%5Ctilde%7BO%7D%282%5E%7B2n%2F3%7D%29+%3D+%5Ctilde%7BO%7D%281.5874%5En%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;tilde{O}(2^{2n/3}) = &#92;tilde{O}(1.5874^n)}' title='{&#92;tilde{O}(2^{2n/3}) = &#92;tilde{O}(1.5874^n)}' class='latex' />, that would still improve on Bj&ouml;rklund&#8217;s result.</p>
<p><H2> Open Problems </H2></p>
<p><p>
Can we use the method I outlined to get a better algorithm? I hope that the connection to other methods may be useful. After all, it&#8217;s what GLL is all about:</p>
<blockquote><p>
 <i>Helping you prove better theorems</i>&#x2122;.
</p></blockquote>
<p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rjlipton.wordpress.com/8668/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rjlipton.wordpress.com/8668/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rjlipton.wordpress.com/8668/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rjlipton.wordpress.com/8668/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rjlipton.wordpress.com/8668/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rjlipton.wordpress.com/8668/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rjlipton.wordpress.com/8668/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rjlipton.wordpress.com/8668/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rjlipton.wordpress.com/8668/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rjlipton.wordpress.com/8668/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rjlipton.wordpress.com/8668/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rjlipton.wordpress.com/8668/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rjlipton.wordpress.com/8668/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rjlipton.wordpress.com/8668/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8668&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rjlipton.wordpress.com/2012/05/08/inexact-remarks-on-exact-tsp-algorithms/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b5d34e23e23268dbd35f2da17acaaad5?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">dickken</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/held.png" medium="image">
			<media:title type="html">held</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/ibm.jpg?w=241" medium="image">
			<media:title type="html">ibm</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/bang.png" medium="image">
			<media:title type="html">bang</media:title>
		</media:content>
	</item>
		<item>
		<title>Digital Butterflies and PRGs</title>
		<link>http://rjlipton.wordpress.com/2012/05/04/digital-butterflies-and-prgs/</link>
		<comments>http://rjlipton.wordpress.com/2012/05/04/digital-butterflies-and-prgs/#comments</comments>
		<pubDate>Fri, 04 May 2012 05:25:18 +0000</pubDate>
		<dc:creator>KWRegan</dc:creator>
				<category><![CDATA[All Posts]]></category>
		<category><![CDATA[History]]></category>
		<category><![CDATA[Ideas]]></category>
		<category><![CDATA[People]]></category>
		<category><![CDATA[chess]]></category>
		<category><![CDATA[complexity]]></category>
		<category><![CDATA[games]]></category>
		<category><![CDATA[Marsaglia]]></category>
		<category><![CDATA[minimax search]]></category>
		<category><![CDATA[pseudorandom generators]]></category>
		<category><![CDATA[randomness]]></category>
		<category><![CDATA[Simulation]]></category>

		<guid isPermaLink="false">http://rjlipton.wordpress.com/?p=8616</guid>
		<description><![CDATA[Do some digital lepidopterology on your own PC George Marsaglia was one of the world&#8217;s foremost experts on pseudo-random number generators (PRGs). He passed away last year after a long and fruitful career, which included a Fulbright scholarship in 1949&#8211;50 to Manchester where he was co-advised by Alan Turing. He famously discovered systematic deficiencies in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8616&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font color="”#0066cc?"><br />
<em> Do some digital lepidopterology on your own PC </em><br />
<font color="”#000000?"></p>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/marsaglia.png"><img src="http://rjlipton.files.wordpress.com/2012/05/marsaglia.png?w=600" alt="" title="Marsaglia"   class="alignright size-full wp-image-8617" /></a></p>
<p>
George Marsaglia was one of the world&#8217;s foremost <a href="http://dsp-book.narod.ru/randgen.pdf">experts</a> on pseudo-random number generators (PRGs). He passed away last year after a long and fruitful career, which included a Fulbright scholarship in 1949&#8211;50 to Manchester where he was co-advised by Alan Turing. He famously <a href="http://www.pnas.org/content/61/1/25.full.pdf+html">discovered</a> systematic deficiencies in early pseudo-random generators, and <a href="http://www.jstatsoft.org/v05/i08/paper">designed</a> <i>tests</i> for the faithful generation of various important densities. He devised the <a href="http://en.wikipedia.org/wiki/Diehard_tests">Diehard Battery</a> of statistical tests for the quality of pseudo-random outputs, which includes tests that simulate the dice game called <a href="http://en.wikipedia.org/wiki/Craps">craps</a>.</p>
<p>
Today we propose a new test based on playing chess rather than playing dice. The test employs exponential-time primitives, so it is much stricter&#8212;with common asymptotic complexity beliefs&#8212;than the usual tests, but it may be feasible for useful data sizes. </p>
<p><span id="more-8616"></span></p>
<p>
The new test draws on a strange but reproducible anomaly that I (Ken) have discovered in the behavior of several major chess programs. In one famous <a href="http://www.chessbase.com/newsdetail.asp?newsid=2525">case</a> it caused a program to shockingly lose a high-level game that it was favored to win. The anomaly can be isolated to the programs&#8217; use of tabulation hashing, in the form called Zobrist hashing, as we recently described <a href="http://rjlipton.wordpress.com/2012/04/14/tabulation-hashing-and-independence/">here</a>. </p>
<p>
This post comes with complete directions for you, the reader, to observe it, and also see what is apparently a digital <a href="http://en.wikipedia.org/wiki/Butterfly_effect">Butterfly Effect</a>. Then we outline how this effect might be expanded into a feasible, general, and powerful test, and explain why we feel this has a chance of working. The potential payoff is to leverage the power of a generically <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathsf%7BPSPACE%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;mathsf{PSPACE}}' title='{&#92;mathsf{PSPACE}}' class='latex' />-hard process&#8212;minimax search&#8212;to root out patterns and biases that are murkier than the ones identified geometrically by Marsaglia, but can be just as harmful. </p>
<p>
<p><H2> Viewing Non-Randomness </H2></p>
<p><p>
Uses of randomness have been vital almost from the beginning of computers. In the early days PRGs were ad-hoc methods that tried to generate streams of bits that worked in a practical sense. The idea came much later that it might be possible to <i>prove</i> that a PRG actually worked. Marsaglia work concerned these early methods, which are still in use today&#8212;even as parts of generators that &#8220;provably&#8221; pass certain kinds of tests. </p>
<p>
Marsaglia invented ways to &#8220;disprove&#8221; many early generators, by exhibiting regular patterns in their output. Significantly he developed a geometric theory based on discrete lattices for these outputs, which gave immediate visual impact to these flaws. Here is a diagram, synthesized from pages 37&#8211;38 of <a href="http://www-personal.umich.edu/~bielajew/MCBook/book.pdf">this book</a> by Alex Bielajew of Michigan, showing how <i>Marsaglia planes</i> can emerge from output that looked random before a 10-degree rotation:</p>
<p><P><br />
<a href="http://rjlipton.files.wordpress.com/2012/05/marsagliaplanes.png"><img src="http://rjlipton.files.wordpress.com/2012/05/marsagliaplanes.png?w=600" alt="" title="MarsagliaPlanes"   class="aligncenter size-full wp-image-8618" /></a></p>
<p>
Marsaglia&#8217;s other Manchester co-advisor Maurice Bartlett was known for statistical analysis of data with spatial and temporal patterns, and we speculate that this spurred Marsaglia&#8217;s insights. Yet the above is not just a visual trick&#8212;it means that any application that requires randomness but is sensitive to these patterns is <b>unsafe</b>. This was demonstrated even for relatively simple applications. Our question now is:</p>
<blockquote><p>
What kinds of tests do we need to assure that today&#8217;s more complex applications of PRGs are safe from &#8220;<a href="http://pubs.acs.org/doi/full/10.1021/ct800573m">perilous</a> <a href="http://pubs.acs.org/doi/full/10.1021/ct8002173">dynamics</a>&#8220;?
</p></blockquote>
<p>
Toward this purpose we would like to suggest a different visualization tool:</p>
<p><P><br />
<a href="http://rjlipton.files.wordpress.com/2012/05/tkmove74smaller.png"><img src="http://rjlipton.files.wordpress.com/2012/05/tkmove74smaller.png?w=600" alt="" title="TKmove74smaller"   class="aligncenter size-full wp-image-8640" /></a></p>
<p><P><br />
For reasons evinced below, this chess position is pregnant for observing hash collisions that cause huge differences in values given by chess programs. There are others like it, and they point toward a general testing strategy. </p>
<p>
If you wish to observe the hash collisions and butterfly effect stemming from this position straightaway, feel welcome to jump to the directions for carrying out the experiment below. You need not know much about chess to do this, though for chess fans I&#8217;ve added links to game analysis and computer-chess background. For our fellow complexity theorists, however, Dick and I wish first to say more about the rationale for the kind of test we are proposing here.</p>
<p>
<p><H2> High-Level Rationale </H2></p>
<p><p>
In brief, our proposal is to take any of several open-source chess programs <img src='http://s0.wp.com/latex.php?latex=%7BE%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{E}' title='{E}' class='latex' /> that show the anomaly while using the Zobrist hashing scheme we described <a href="http://rjlipton.wordpress.com/2012/04/14/tabulation-hashing-and-independence/">earlier</a>, and re-compile it in two ways: <img src='http://s0.wp.com/latex.php?latex=%7BE_r%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{E_r}' title='{E_r}' class='latex' /> using a truly-random source like <a href="http://www.fourmilab.ch/hotbits/">HotBits</a> or <a href="http://www.random.org/">Random.org</a> to initialize the 50,000 table bits needed, and <img src='http://s0.wp.com/latex.php?latex=%7BE_p%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{E_p}' title='{E_p}' class='latex' /> using 50,000 bits from a PRG.</p>
<blockquote><p>
Does <img src='http://s0.wp.com/latex.php?latex=%7BE_p%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{E_p}' title='{E_p}' class='latex' /> have behavior that is feasibly distinguishable from <img src='http://s0.wp.com/latex.php?latex=%7BE_r%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{E_r}' title='{E_r}' class='latex' />?
</p></blockquote>
<p>
The question governing the ability to distinguish is: In an application where truly-random is <i>good</i>, to what extent is non-random <i>bad</i>? Let us suppose we have a performance metric <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmu%28B%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;mu(B)}' title='{&#92;mu(B)}' class='latex' /> on strings <img src='http://s0.wp.com/latex.php?latex=%7BB%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{B}' title='{B}' class='latex' /> of 50,000 bits used to initialize the hash tables, such that high <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmu%28B%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;mu(B)}' title='{&#92;mu(B)}' class='latex' /> is &#8220;bad,&#8221; such as causing the chess program to mis-evaluate positions and make blunders. Are pseudo-random <img src='http://s0.wp.com/latex.php?latex=%7BB%27%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{B&#039;}' title='{B&#039;}' class='latex' /> &#8220;bad&#8221; with discernibly higher frequency than random <img src='http://s0.wp.com/latex.php?latex=%7BB%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{B}' title='{B}' class='latex' />?</p>
<p>
First, of course this kind of badness is what we fear in general&#8212;this is why we desire statistical tests of PRGs in the first place. Second, a non-negligible frequency of &#8220;bad&#8221; ones among low-complexity strings is enough to make a general statistical test, even if we are given a particular <img src='http://s0.wp.com/latex.php?latex=%7BB%5E%2A%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{B^*}' title='{B^*}' class='latex' /> that individually passes the test:</p>
<blockquote><p>
To test a given long string <img src='http://s0.wp.com/latex.php?latex=%7BB%5E%2A%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{B^*}' title='{B^*}' class='latex' /> for randomness, </p>
<ol>
<li>
Randomly choose a short seed <img src='http://s0.wp.com/latex.php?latex=%7Bs%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{s}' title='{s}' class='latex' /> that expands to a pseudo-random <img src='http://s0.wp.com/latex.php?latex=%7BB_s%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{B_s}' title='{B_s}' class='latex' />. </p>
<li>
Run the actual test on <img src='http://s0.wp.com/latex.php?latex=%7BB+%3D+B%5E%2A+%5Coplus+B_s%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{B = B^* &#92;oplus B_s}' title='{B = B^* &#92;oplus B_s}' class='latex' />.
</ol>
</blockquote>
<p>
If <img src='http://s0.wp.com/latex.php?latex=%7BB%5E%2A%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{B^*}' title='{B^*}' class='latex' /> is truly random then so is <img src='http://s0.wp.com/latex.php?latex=%7BB%5E%2A+%5Coplus+B_s%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{B^* &#92;oplus B_s}' title='{B^* &#92;oplus B_s}' class='latex' /> for any short <img src='http://s0.wp.com/latex.php?latex=%7Bs%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{s}' title='{s}' class='latex' />, while if <img src='http://s0.wp.com/latex.php?latex=%7BB%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{B}' title='{B}' class='latex' /> itself can come from a seed <img src='http://s0.wp.com/latex.php?latex=%7Br%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{r}' title='{r}' class='latex' /> of about the same length as <img src='http://s0.wp.com/latex.php?latex=%7Bs%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{s}' title='{s}' class='latex' />, then XOR-ing with <img src='http://s0.wp.com/latex.php?latex=%7BB_s%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{B_s}' title='{B_s}' class='latex' /> will still produce a string of low information complexity. Especially if the generator <img src='http://s0.wp.com/latex.php?latex=%7Bp%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p}' title='{p}' class='latex' /> giving <img src='http://s0.wp.com/latex.php?latex=%7Bp%28s%29+%3D+B_s%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p(s) = B_s}' title='{p(s) = B_s}' class='latex' /> is homomorphic in the sense that <img src='http://s0.wp.com/latex.php?latex=%7Bp%28r%29+%5Coplus+p%28s%29+%3D+p%28h%28r%2Cs%29%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p(r) &#92;oplus p(s) = p(h(r,s))}' title='{p(r) &#92;oplus p(s) = p(h(r,s))}' class='latex' /> for some <img src='http://s0.wp.com/latex.php?latex=%7Bh%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{h}' title='{h}' class='latex' /> (not necessarily <img src='http://s0.wp.com/latex.php?latex=%7Bh+%3D+%5Coplus%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{h = &#92;oplus}' title='{h = &#92;oplus}' class='latex' /> itself), we may expect this to give us a reasonable sampling over the space of low-complexity tables. Thus the prize really is a fairly general test for pseudo-randomness, which is greater reason to pursue it.</p>
<p>
<p><H2> Chess as Canary for Malignness? </H2></p>
<p><p>
Of course it is commonly believed that some particular PRGs <img src='http://s0.wp.com/latex.php?latex=%7Bp%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p}' title='{p}' class='latex' /> pass <b>all</b> polynomial-time computable statistical tests. This is really saying that for all poly-time <img src='http://s0.wp.com/latex.php?latex=%7BE%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{E}' title='{E}' class='latex' />, the behavior of <img src='http://s0.wp.com/latex.php?latex=%7BE_%7Bp%28s%29%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{E_{p(s)}}' title='{E_{p(s)}}' class='latex' /> over <img src='http://s0.wp.com/latex.php?latex=%7Bs%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{s}' title='{s}' class='latex' /> is indistinguishable from <img src='http://s0.wp.com/latex.php?latex=%7BE_r%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{E_r}' title='{E_r}' class='latex' /> over truly-random <img src='http://s0.wp.com/latex.php?latex=%7Br%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{r}' title='{r}' class='latex' />. However, we contend that the asymptotic-time and space definitions of complexity are less relevant here than the approach in <a href="http://en.wikipedia.org/wiki/Descriptive_complexity_theory">descriptive complexity</a>, which characterizes classes in terms of the set of algorithmic primitives that they allow. <i>Minimax search</i> is a fundamental primitive that characterizes <i>harder</i> classes insofar as it underlies not only chess but many other game problems that are <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathsf%7BPSPACE%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;mathsf{PSPACE}}' title='{&#92;mathsf{PSPACE}}' class='latex' />-hard. Indeed we can abstract away chess by stripping this to bare essentials:</p>
<ul>
<li>
A large alternating graph whose nodes have raw real-number values. </p>
<li>
A tabulation-hashing scheme from those nodes to an array holding their values. </p>
<li>
A minimax algorithm that updates node values, followed by selecting a node to be the root of the next search (which need not be an out-neighbor of the current node).
</ul>
<p>
Another application domain could be <i>model-checkers</i> such as <a href="http://en.wikipedia.org/wiki/SPIN_model_checker">SPIN</a> that employ hash tables to cut down huge state spaces. We mean the kind of application we covered <a href="http://rjlipton.wordpress.com/2011/07/28/logic-in-action/">here</a>, not modeling the game of checkers&#8212;though come to think of it, the fact that checkers has been (at least <a href="http://en.wikipedia.org/wiki/Solved_game">weakly</a>) <a href="http://webdocs.cs.ualberta.ca/~jonathan/publications/ai_publications/checksolved.pdf">solved</a> might make it handy.</p>
<p>
The fact of being both simple and <i>complete</i> for a hard class such as <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathsf%7BPSPACE%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;mathsf{PSPACE}}' title='{&#92;mathsf{PSPACE}}' class='latex' /> or <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathsf%7BEXP%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;mathsf{EXP}}' title='{&#92;mathsf{EXP}}' class='latex' /> makes our kind of test a &#8220;canary in the coal mine&#8221; for detecting trouble. A further reason tracing this trouble to low-complexity strings comes from a general principle of complexity-based distributions <img src='http://s0.wp.com/latex.php?latex=%7BD%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{D}' title='{D}' class='latex' /> observed by Ming Li and Paul Vitanyi, as summarized and linked for instance by Lance Fortnow <a href="http://blog.computationalcomplexity.org/2004/12/when-average-case-is-worst-case.html">here</a> in the case of running time.</p>
<blockquote><p>
<b>Theorem 1</b><br />
<em> For any non-negative real-valued performance metric <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmu%28A%2Cx%29%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{&#92;mu(A,x)}' title='{&#92;mu(A,x)}' class='latex' /> of algorithms <img src='http://s0.wp.com/latex.php?latex=%7BA%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{A}' title='{A}' class='latex' /> running on inputs <img src='http://s0.wp.com/latex.php?latex=%7Bx%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{x}' title='{x}' class='latex' />, and any fixed <img src='http://s0.wp.com/latex.php?latex=%7BA%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{A}' title='{A}' class='latex' />, the expectation of <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmu%28A%2Cx%29%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{&#92;mu(A,x)}' title='{&#92;mu(A,x)}' class='latex' /> over <img src='http://s0.wp.com/latex.php?latex=%7Bx%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{x}' title='{x}' class='latex' /> generated by <img src='http://s0.wp.com/latex.php?latex=%7BD%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{D}' title='{D}' class='latex' /> is proportional to the <i>worst</i>-case performance.<br />
</em>
</p></blockquote>
<p><p>
The simple nub of the proof is that &#8220;the first <img src='http://s0.wp.com/latex.php?latex=%7Bx%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{x}' title='{x}' class='latex' /> of length <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> that maximizes <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmu%28A%2Cx%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;mu(A,x)}' title='{&#92;mu(A,x)}' class='latex' /> over <img src='http://s0.wp.com/latex.php?latex=%7Bx%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{x}' title='{x}' class='latex' /> of length <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' />&#8221; is a short description of a particular <img src='http://s0.wp.com/latex.php?latex=%7Bx%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{x}' title='{x}' class='latex' />, to which <img src='http://s0.wp.com/latex.php?latex=%7BD%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{D}' title='{D}' class='latex' /> gives relatively high probability. For <a href="http://en.wikipedia.org/wiki/Algorithmic_probability">Solomonoff-Levin distribution</a> conditioned on <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' />, this <img src='http://s0.wp.com/latex.php?latex=%7Bx%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{x}' title='{x}' class='latex' /> has constant probability. </p>
<p>
This lends credence to low-complexity strings <img src='http://s0.wp.com/latex.php?latex=%7Bx%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{x}' title='{x}' class='latex' /> being <b>malign</b> in more-general senses. This opens up into a central theoretical discussion the field has been having for three decades. We have space here only to link a few sources: <a href="http://www.uni-ulm.de/fileadmin/website_uni_ulm/iui.inst.190/Mitarbeiter/schoenig/what_is_a_hard_instance.pdf">1986</a>, <a href="http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.117.1642">1990</a>, <a href="http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.32.8430">1993</a>, <a href="http://www.eecs.harvard.edu/~michaelm/postscripts/soda2008b.pdf">2008</a>, <a href="http://rjlipton.wordpress.com/2011/06/02/how-powerful-are-random-strings/">more</a>. In all this our fresh angle is that <b>chess</b> and <b>50,000 bits</b> are <i>concrete</i> not <i>asymptotic</i>.</p>
<p>
The bottom line is that murky, complex, unwanted patterns may be throwing off important PRG applications, and it will take murky, complex methods to root them out. The experiment we describe next is only a beginning, but it already exhibits chaotic properties of &#8220;digital dynamics&#8221; that will need to be accounted for. </p>
<p>
<p><H2> Preparing the Experiment </H2></p>
<p><p>
The two main tools are freely downloadable and run under any reasonable version of Windows, including emulators on Mac or Linux. They are standalone applications&#8212;they do not require installation or modify the Windows Registry. For those who wish to know what led me to discover this position and why it is tricky, <a href="http://www.cse.buffalo.edu/~regan/chess/computer/anomalies/TK2variation.pgn">here</a> is a game file reaching it in my analysis of the second match game at the heart of the <a href="http://www.cse.buffalo.edu/~regan/chess/fidelity/Elista2006.html">2006 &#8220;Toiletgate&#8221; cheating scandal</a>, and <a href="http://www.cse.buffalo.edu/~regan/chess/computer/anomalies/TK2anomaly.html">here</a> is further chess analysis and explanation.</p>
<p>
&#9733; <b>1.</b> Download the free <a href="http://playwitharena.com/">Arena chess GUI</a>, which comes as a Zip archive.</p>
<p>
&#9733; <b>2.</b> Download the <a href="http://www.superchessengine.com/toga_ii.htm">Toga II 1.4 Beta 5c</a> chess program, extracting the folder or files anywhere you please.</p>
<p>
&#9733; <b>3.</b> Download from my website the chess position file <a href="http://www.cse.buffalo.edu/~regan/chess/fidelity/data/TKg2m74.pgn"><tt>TKg2m74.pgn</tt></a>, which comes in the standard Portable Game Notation (PGN) format. Locate it anywhere convenient, say inside the Toga II folder. </p>
<p>
&#9733; <b>4.</b> Run Arena, click the &#8220;Engines&#8221; menu, and select &#8220;Install New Engine.&#8221; Navigate to the Toga II folder you extracted, in which there are four executables, for 1, 2, 4, or 8 cores. Select the 1-core version, click OK to the UCI option, and say yes to starting the engine &#8220;right now.&#8221; (UCI stands for &#8220;Universal Chess Interface.&#8221;)</p>
<p>
&#9733; <b>5.</b> Click the &#8220;PGN&#8221; menu, select <b>Open</b>, and open the <tt>TKg2m74.pgn</tt> file. A list of 16 entries will pop up. Double-click the <i>first one</i> to select it&#8212;the other 15 permutations are equivalent in chess terms but use different hash keys, and exploring them is up to you.</p>
<p>
&#9733; <b>6.</b> Click on Black&#8217;s move 74&#8230;Rb7+ in the game-notation pane at right, so that you see the position with White&#8217;s King in check to make move 75. You need not attempt to move pieces on the board itself.</p>
<p>
You are now ready to run the experiment proper. For practice, exit Arena (click &#8220;no&#8221; to saving the game) and re-launch it. Notice that it comes back to show Toga II loaded and opens the same PGN file&#8212;select game 1 and click on 74&#8230;Rb7+ as before.</p>
<p>
<p><H2> Running the Experiment </H2></p>
<p><p>
&#9733; <b>7.</b> From the &#8220;Engines&#8221; menu again, select <b>Manage</b>, and click the &#8220;UCI&#8221; tab. Set the &#8220;Common hashtable size&#8221; to <b>64 MB</b> as shown here:</p>
<p>
<a href="http://rjlipton.files.wordpress.com/2012/05/ucihashsize64.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/ucihashsize64.jpg?w=450&h=300" alt="" title="ucihashsize64" width="450" height="300" class="aligncenter wp-image-8625" /></a></p>
<p><P><br />
&#9733; <b>8.</b> Click &#8220;OK&#8221; to go back to the game window, and finally hit the &#8220;Analyze&#8221; button. After roughly a minute you should see this:</p>
<p>
<a href="http://rjlipton.files.wordpress.com/2012/05/m74w64mb.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/m74w64mb.jpg?w=450&h=300" alt="" title="M74w64MB" width="450" height="300" class="aligncenter wp-image-8629" /></a></p>
<p><P><br />
&#9733; <b>9.</b> After noting the anomalous value at depth 14, and waiting for the depth 15 result to establish that the &#8220;White wins&#8221; verdict was a temporary blip, just click the red X at upper right to exit the program (or cleaner, first toggle the &#8220;Analyze&#8221; button to halt the search). Re-start the program, select the same game 1, and re-do step 7 but with only 32MB hash instead:</p>
<p>
<a href="http://rjlipton.files.wordpress.com/2012/05/ucihashsize32.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/ucihashsize32.jpg?w=450&h=300" alt="" title="ucihashsize32" width="450" height="300" class="aligncenter wp-image-8630" /></a></p>
<p><P><br />
&#9733; <b>10.</b> Hit OK, click &#8220;Analyze,&#8221; and see the different results:</p>
<p>
<a href="http://rjlipton.files.wordpress.com/2012/05/m74w32mb.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/m74w32mb.jpg?w=450&h=300" alt="" title="M74w32MB" width="450" height="300" class="aligncenter wp-image-8631" /></a></p>
<p><P><br />
The depth-14 anomaly does not show. Hence we have isolated it to the size of the allocated hash table. You can repeat the above several times to be sure. Each time we are cleanly exiting and re-starting the entire GUI program and chess engine, so we can be sure there is nothing left over in memory from earlier use. But now comes the <i>real fun</i>, on which I am indebted to Toga II&#8217;s programmer Thomas Gaksch for the explanation that follows.</p>
<p>
<p><H2> Digital Butterfly Effect </H2></p>
<p><p>
&#9733; <b>11.</b> Exit and re-start, <i>remember to first click 74&#8230;Rb7+ after selecting the first game as before</i>, but this time click the &#8220;Position&#8221; menu and select &#8220;Set up a Position&#8230;&#8221; to reach the following window:</p>
<p>
<a href="http://rjlipton.files.wordpress.com/2012/05/positionsetup74.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/positionsetup74.jpg?w=235&h=300" alt="" title="PositionSetup74" width="235" height="300" class="aligncenter wp-image-8632" /></a></p>
<p><P><br />
&#9733; <b>12.</b> Change just the &#8220;74&#8243; as shown to &#8220;75&#8243; and hit OK. Then if you wish go and verify that 32MB is still the given hash size (you may ignore Arena displaying &#8220;34 MB&#8221; above the pane where the analysis appears as this is partly a k/K-byte difference), and click &#8220;Analyze&#8221; as before. Now the anomaly re-appears, though at depth 13:</p>
<p>
<a href="http://rjlipton.files.wordpress.com/2012/05/m75w32mb.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/m75w32mb.jpg?w=450&h=300" alt="" title="M75w32MB" width="450" height="300" class="aligncenter -image-8633" /></a></p>
<p><P><br />
&#9733; <b>13.</b> Finally complete the circle by exiting, re-starting, using the same position setup giving the game start as move 75, and setting the hash size back to 64MB. Depress &#8220;Analyze,&#8221; and you should see no anomaly. </p>
<p>
<a href="http://rjlipton.files.wordpress.com/2012/05/m75w64mb.jpg"><img src="http://rjlipton.files.wordpress.com/2012/05/m75w64mb.jpg?w=450&h=300" alt="" title="M75w64MB" width="450" height="300" class="aligncenter wp-image-8634" /></a></p>
<p><P><br />
Thus merely changing the starting move number <i>reverses the phenomenon</i>. Why? Aren&#8217;t the board positions always the same? </p>
<p>
Here is the explanation given to me by Thomas Gaksch, who created the Toga family based on the chess program <a href="http://en.wikipedia.org/wiki/Fruit_(software)">Fruit 2.1</a> by Fabien Letouzey. The positions are not the same to Toga II because of its implementation in regard to the so-called <a href="http://en.wikipedia.org/wiki/Fifty-move_rule">Fifty-Move Rule</a>. This allows either side to claim a draw if fifty moves have passed without a capture or pawn moves. Toga II monitors the count of such moves and has a term in its evaluation fucntion that causes it to play more aggressively as the count (actually a countdown from 100 half-moves called &#8220;plies&#8221;) approaches the limit. </p>
<p>
Now the difference between having 49 moves left and the full 50, the latter being what changing the start point to move 75 confers, is barely more than a tiny flap of the wings in the evaluation. Yet this is enough to change both the search pattern and the hash-table usage, leading to the huge +6.90 hurricane later on.</p>
<p>
<p><H2> Other Settings, Other Programs </H2></p>
<p><p>
One can freely play around with other hash sizes, with the other 15 permutations of the position (which bring different hash keys into play), and with other chess programs. <a href="http://www.cse.buffalo.edu/~regan/chess/computer/anomalies/FruitTable.pdf">Here</a> is a table I did with Fruit 2.1 itself. Like Toga II and Rybka, Fruit gives reproducible runs in the single-thread versions, while recognizing only power-of-2 hash sizes, but not all programs are this way. </p>
<p>
Some programs get over-excited about White&#8217;s chances without this being a function of hash table size, including the non-UCI commercial <a href="http://en.wikipedia.org/wiki/Fritz_(chess)">Fritz</a> series. The free-source high-grade <a href="http://www.stockfishchess.com/">Stockfish</a> program (current version 2.2.2) does so in shocking fashion, often giving a value over +50.00 to 75. Kd6 before it sees that 75&#8230;Rb1 is a viable defense. With another commercial program, its author credited this position with helping him realize he had &#8220;over-aggressive search-pruning,&#8221; something he termed a &#8220;bug&#8221; and fixed. </p>
<p>
Another open-source strong program is <a href="http://www.vlasak.biz/critter/">Critter</a> (older <a href="http://sourceforge.net/projects/critterchess/files/Critter Chess/OpenCritter 1.1.37/">open version</a> in Pascal). With Critter one can see effects of varying the hash size, but they are more fleeting&#8212;often the value jumps from +0.90-or-so to +1.50 or +1.70-or-so in the middle of the depth 14 round of search, but returns to normal before depth 14 completes.</p>
<p>
<p><H2> Extending the Experiment </H2></p>
<p><p>
All this only demonstrates the possibility of reproducible hash collisions that propagate to the root of the search. We have not yet involved a PRG. I do not in fact know how the 781 64-bit keys written literally into the code file <a href="http://www.cse.buffalo.edu/~regan/chess/computer/random.cpp">random.cpp</a> used by Fruit and Toga II were obtained&#8212;Gaksch didn&#8217;t know and further queries were unavailing. The Pascal version of Critter bootstraps up from an array of fifty-five 32-bit integers in similar manner to GnuChess 5.0 <a href="http://www.koders.com/c/fid76F404FF0A02BFDD2B7C613F95B73CA6E2F5C99A.aspx">here</a>, and I know at least one commercial engine does so as well. Stockfish changed at version 2.0.1 from using the <a href="http://en.wikipedia.org/wiki/Mersenne_twister">Mersenne Twister</a> to using a version of the KISS generator designed by Marsaglia himself, as credited in the browsable Stockfish source code <a href="https://github.com/mcostalba/Stockfish/blob/2f47844c7cb34c7de5b5d41cda10b7d8736a20bc/src/rkiss.h">here</a>. </p>
<p>
Using PRGs here is unnecessary for playing chess.  Since the hashing scheme is fixed once-and-for-all, and there is no need for random numbers on-the-fly, the 50,000 bits should just be obtained from a truly-random source. But the fact that PRGs <i>can</i> be used, let alone that they <i>are</i> being used, is what furnishes the opportunity for discovery. To extend the experiment, take any one of these open-source chess engines, call it <img src='http://s0.wp.com/latex.php?latex=%7BE%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{E}' title='{E}' class='latex' />, and any one of these PRGs, call it <img src='http://s0.wp.com/latex.php?latex=%7Bp%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p}' title='{p}' class='latex' />.</p>
<ol>
<li>
Add code to <img src='http://s0.wp.com/latex.php?latex=%7BE%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{E}' title='{E}' class='latex' /> that detects hash collisions and tracks how far up the search tree the resulting incorrect values propagate. </p>
<li>
Re-compile <img src='http://s0.wp.com/latex.php?latex=%7BE%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{E}' title='{E}' class='latex' /> with truly-random bits, call it <img src='http://s0.wp.com/latex.php?latex=%7BE_r%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{E_r}' title='{E_r}' class='latex' />. </p>
<li>
Write code that fills the tables with <img src='http://s0.wp.com/latex.php?latex=%7Bp%28s%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{p(s)}' title='{p(s)}' class='latex' /> for randomly-chosen small seed(s) <img src='http://s0.wp.com/latex.php?latex=%7Bs%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{s}' title='{s}' class='latex' />, re-compile, and call that <img src='http://s0.wp.com/latex.php?latex=%7BE_p%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{E_p}' title='{E_p}' class='latex' />. </p>
<li>
Run <img src='http://s0.wp.com/latex.php?latex=%7BE_r%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{E_r}' title='{E_r}' class='latex' /> and <img src='http://s0.wp.com/latex.php?latex=%7BE_p%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{E_p}' title='{E_p}' class='latex' /> on the same set of positions, and compare the propagation counts.
</ol>
<p>
The running step may require <b>large</b> amounts of computer time. Note that our behavior metric is not simply counting collisions&#8212;which is intuitively a linear test over <img src='http://s0.wp.com/latex.php?latex=%7B%5Cmathbb%7BZ%7D_2%5Ek%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;mathbb{Z}_2^k}' title='{&#92;mathbb{Z}_2^k}' class='latex' /> for key length <img src='http://s0.wp.com/latex.php?latex=%7Bk%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{k}' title='{k}' class='latex' />&#8212;but rather their propagation under minimax search, which relates to the magnitude of the evaluation error caused by the collision. <a href="http://www.cse.buffalo.edu/~regan/chess/computer/anomalies/DF10anomalies.html">This file</a> of anomalous effects I&#8217;ve observed with Deep Fritz 10 suggests that top-level observations as above are not enough: there seem to be viral infestations of spurious values that propagate but are sometimes wiped out, somewhat reminiscent of the <a href="http://en.wikipedia.org/wiki/Core_War">Core War</a> game. </p>
<p>
The essence is that tabulation hashing provides general <b><i>in-situ</i></b> tests of PRGs. We note one Google Code <a href="http://code.google.com/p/hash-metrics/">project</a> using Zobrist hashing this way, as opposed to building PRGs as described in the paper we covered <a href="http://rjlipton.wordpress.com/2012/04/14/tabulation-hashing-and-independence/">recently</a>, but mostly this idea seems unexplored. </p>
<p>
<p><H2> Open Problems </H2></p>
<p><p>
Will the experiment be fruitful? Does it also shed light on the use of programs such as chess engines that are asymptotically exponential, but feasible in concrete cases? Can it perhaps unite the several senses of complexity that we discussed <a href="http://rjlipton.wordpress.com/2011/10/15/whose-complexity-is-it-anyway/">here</a>, centering on chaotic effects in &#8220;digital dynamics&#8221;?</p>
<p>
[some word changes in the intro]</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rjlipton.wordpress.com/8616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rjlipton.wordpress.com/8616/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rjlipton.wordpress.com/8616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rjlipton.wordpress.com/8616/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rjlipton.wordpress.com/8616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rjlipton.wordpress.com/8616/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rjlipton.wordpress.com/8616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rjlipton.wordpress.com/8616/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rjlipton.wordpress.com/8616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rjlipton.wordpress.com/8616/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rjlipton.wordpress.com/8616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rjlipton.wordpress.com/8616/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rjlipton.wordpress.com/8616/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rjlipton.wordpress.com/8616/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8616&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rjlipton.wordpress.com/2012/05/04/digital-butterflies-and-prgs/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/7f5bfd8236587a9173030f92f9f08244?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">kwregan</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/marsaglia.png" medium="image">
			<media:title type="html">Marsaglia</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/marsagliaplanes.png" medium="image">
			<media:title type="html">MarsagliaPlanes</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/tkmove74smaller.png" medium="image">
			<media:title type="html">TKmove74smaller</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/ucihashsize64.jpg" medium="image">
			<media:title type="html">ucihashsize64</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/m74w64mb.jpg" medium="image">
			<media:title type="html">M74w64MB</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/ucihashsize32.jpg" medium="image">
			<media:title type="html">ucihashsize32</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/m74w32mb.jpg" medium="image">
			<media:title type="html">M74w32MB</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/positionsetup74.jpg" medium="image">
			<media:title type="html">PositionSetup74</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/m75w32mb.jpg" medium="image">
			<media:title type="html">M75w32MB</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/m75w64mb.jpg" medium="image">
			<media:title type="html">M75w64MB</media:title>
		</media:content>
	</item>
		<item>
		<title>A Thank-You to Jim Simons</title>
		<link>http://rjlipton.wordpress.com/2012/05/01/a-thank-you-to-jim-simons/</link>
		<comments>http://rjlipton.wordpress.com/2012/05/01/a-thank-you-to-jim-simons/#comments</comments>
		<pubDate>Tue, 01 May 2012 20:28:38 +0000</pubDate>
		<dc:creator>rjlipton</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[Simons]]></category>
		<category><![CDATA[theory center]]></category>

		<guid isPermaLink="false">http://rjlipton.wordpress.com/?p=8598</guid>
		<description><![CDATA[The Berkeley Theory Institute is announced Jim Simons is a mathematician who is noted for the Chern-Simons forms from a paper co-authored with Shiing-Shen Chern. These underlie the Chern-Simons theory of topological quantum fields advanced by Edward Witten, which also involves the Jones Polynomial and other knot invariants. In the mid-1960&#8242;s he joined the Communications [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8598&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font color="”#0066cc?"><br />
<em> The Berkeley Theory Institute is announced </em><br />
<font color="”#000000?"></p>
<p><a href="http://rjlipton.files.wordpress.com/2012/05/images3.jpeg"><img src="http://rjlipton.files.wordpress.com/2012/05/images3.jpeg?w=600" alt="" title="images"  class="alignright size-full wp-image-8606" /></a></p>
<p>
Jim Simons is a mathematician who is noted for the <a href="http://en.wikipedia.org/wiki/Chern-Simons_3-form">Chern-Simons forms</a> from a paper co-authored with Shiing-Shen Chern. These underlie the <a href="http://en.wikipedia.org/wiki/Chern-Simons_theory">Chern-Simons theory</a> of topological quantum fields advanced by Edward Witten, which also involves the Jones Polynomial and other <a href="http://rjlipton.wordpress.com/2012/01/13/what-makes-a-knot-knotty/">knot</a> <a href="http://en.wikipedia.org/wiki/Knot_invariant">invariants</a>. In the mid-1960&#8242;s he joined the Communications Research Division of the Institute for Defense Analyses (IDA), specializing in cryptanalysis and other applications of discrete mathematics, and then he was appointed chair of the mathematics department of Stony Brook University. In 1978 he left academia to create a hedge fund, <a href="http://en.wikipedia.org/wiki/Renaissance_Technologies">Renaissance Technologies</a>, whose success has made him, according to the Financial Times, &#8220;the world&#8217;s smartest billionaire.&#8221;</p>
<p>
Today Ken and I wish to thank Simons for his philanthropy in general, and for creating the <a href="http://newscenter.berkeley.edu/2012/05/01/simons-institute-for-the-theory-of-computing/">Simons Institute for the Theory of Computing</a> at U.C. Berkeley in particular. Thanks to Jim and his wife Marilyn.</p>
<p><span id="more-8598"></span></p>
<p>
I do not have the pleasure of knowing Simons, but we have an intersection through IDA. Years after he left, I arrived at Princeton and was a long time consultant to the Communications Research Division. I cannot say more.</p>
<p>
As you all probably already knew&#8212;but was just formally announced&#8212;the <a href="https://simonsfoundation.org/">Simons Foundation</a> is creating with Berkeley a new theory center. There already are many centers around the world for various sciences, and the idea of a center for computer science theory was perhaps <a href="http://www.cac.cornell.edu/about/history.aspx">pioneered</a> by Cornell University a quarter-century ago, but to quote Lance Fortnow already <a href="http://blog.computationalcomplexity.org/2012/05/berkeley-wins-simons.html">today</a>,</p>
<blockquote><p>
 This will be a game-changer for CS theory.
</p></blockquote>
<p>
As stated in today&#8217;s New York Times <a href="http://www.nytimes.com/2012/05/01/science/simons-foundation-chooses-uc-berkeley-for-computing-center.html?ref=science">article</a> and also noted by Lance, the center will host &#8220;about 70 visiting researchers at any one time, including faculty members, postdoctoral researchers and graduate students.&#8221; This is great.</p>
<p>
<h2> Thanks and Applause Also to Berkeley </h2>
<p><p>
We also want to thank Dick Karp and the rest of the Berkeley team for putting together a terrific proposal. While many worked hard on this proposal, I believe two should be especially thanked: Christos Papadimitriou and Alistair Sinclair, who are part of the initial management team. I have had no direct access to any of the Simons proposals, but am sure they all were strong. I have worked in the past on putting together such large projects&#8212;DIMACS is one example&#8212;and they take a huge amount time and hard work. Thanks, Dick.</p>
<p>
A last comment. The formal press release was written by Sarah Yang. Ken and I differ on a small mattter in her opening paragraph:</p>
<blockquote><p>
 Berkeley&#8212;A groundbreaking &#036;60 million award to the University of California, Berkeley, from the Simons Foundation will establish the campus as the worldwide center for theoretical computer science. The grant funds the creation of a new institute where top computer theorists and researchers from around the globe will converge to explore the mathematical foundations of computer science and extend them to tackle challenges in fields as diverse as mathematics, health care, climate modeling, astrophysics, genetics, economics and business.
</p></blockquote>
<p>
I think the phrase &#8220;will establish the campus as the worldwide center for theoretical computer science&#8221; probably should be changed a bit, since in my opinion Berkeley already was one of <b>the</b> great centers for theoretical computer science. Ken, however, opines that &#8220;establish&#8221; can also mean to confirm or render unassailable a position that is already gained. I agree with Ken the more I think about it, so Yang is right. Oh well. </p>
<p>
<h2> Open Problems </h2>
<p><p>
I am honored to be on the outsider advisory board of the Berkeley center, and I think one of the interesting open problems that they will face is: what areas should they focus on in the future? They plan to be quite open, and are at this time planning ways for you to give them input, or even to get more involved in the center directly. Stay tuned.</p>
<p>
Finally, again thank you Marilyn and Jim for their support; and thank you to Dick, Christos, Alistair, and their team for the hard work they have already done. The hardest&#8212;but most fun&#8212;part is next.</p>
<p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rjlipton.wordpress.com/8598/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rjlipton.wordpress.com/8598/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rjlipton.wordpress.com/8598/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rjlipton.wordpress.com/8598/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rjlipton.wordpress.com/8598/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rjlipton.wordpress.com/8598/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rjlipton.wordpress.com/8598/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rjlipton.wordpress.com/8598/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rjlipton.wordpress.com/8598/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rjlipton.wordpress.com/8598/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rjlipton.wordpress.com/8598/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rjlipton.wordpress.com/8598/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rjlipton.wordpress.com/8598/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rjlipton.wordpress.com/8598/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8598&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rjlipton.wordpress.com/2012/05/01/a-thank-you-to-jim-simons/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/afaa664a052777146630095c596117b2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lipton</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/05/images3.jpeg" medium="image">
			<media:title type="html">images</media:title>
		</media:content>
	</item>
		<item>
		<title>Cutting a Graph By the Numbers</title>
		<link>http://rjlipton.wordpress.com/2012/04/25/cutting-a-graph-by-the-numbers/</link>
		<comments>http://rjlipton.wordpress.com/2012/04/25/cutting-a-graph-by-the-numbers/#comments</comments>
		<pubDate>Wed, 25 Apr 2012 13:40:20 +0000</pubDate>
		<dc:creator>rjlipton</dc:creator>
				<category><![CDATA[People]]></category>
		<category><![CDATA[Proofs]]></category>
		<category><![CDATA[Algorithms]]></category>
		<category><![CDATA[approximation]]></category>
		<category><![CDATA[balanced]]></category>
		<category><![CDATA[cut]]></category>
		<category><![CDATA[matrix]]></category>
		<category><![CDATA[separator]]></category>

		<guid isPermaLink="false">http://rjlipton.wordpress.com/?p=8568</guid>
		<description><![CDATA[Old algebra helps build new algorithms Nisheeth Vishnoi is a theorist at Microsoft Research who has many pretty results. Some of them require great technical expertise&#8212;the main idea may be clear, but the execution is quite difficult. Others of his results require less technical expertise, but their proofs depend on a flash of deep insight. [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8568&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><font color="”#0066cc?"><br />
<em> Old algebra helps build new algorithms </em><br />
<font color="”#000000?"></p>
<p><a href="http://rjlipton.files.wordpress.com/2012/04/images.jpeg"><img src="http://rjlipton.files.wordpress.com/2012/04/images.jpeg?w=600" alt="" title="images"  class="alignright size-full wp-image-8570" /></a></p>
<p>
Nisheeth Vishnoi is a theorist at Microsoft Research who has many pretty results. Some of them require great technical expertise&#8212;the main idea may be clear, but the execution is quite difficult. Others of his results require less technical expertise, but their proofs depend on a flash of deep insight. It is rare, in my experience, to find this combination in one person.</p>
<p>
Today I would like to talk about his recent talk at GIT on finding a balanced separator in an undirected graph. It was a beautiful talk that explained a proof of the former kind: clear ideas but very technical details.<span id="more-8568"></span></p>
<p>
This work is joint with Lorenzo Orecchia and Sushant Sachdeva and will appear in the next STOC&#8212;the <a href="http://arxiv.org/abs/1111.1491">paper</a> is entitled &#8220;Approximating the Exponential, the Lanczos Method and an <img src='http://s0.wp.com/latex.php?latex=%7B%5Ctilde%7BO%7D%28m%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;tilde{O}(m)}' title='{&#92;tilde{O}(m)}' class='latex' />-Time Spectral Algorithm for Balanced Separator.&#8221; </p>
<p>
One thing I really appreciate is that although the algorithm works on graphs and gives you a graph decomposition, the key ingredients are numerical and algebraic. A 37-year old result on polynomial approximations is combined with matrix algebra. As soon as you hear &#8220;matrix&#8221; you might think that algorithms of time <img src='http://s0.wp.com/latex.php?latex=%7Bn%5E%5Comega%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n^&#92;omega}' title='{n^&#92;omega}' class='latex' /> are involved, where <img src='http://s0.wp.com/latex.php?latex=%7B%5Comega+%5Cleq+2.373%5Cdots%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;omega &#92;leq 2.373&#92;dots}' title='{&#92;omega &#92;leq 2.373&#92;dots}' class='latex' /> is the exponent of matrix multiplication, but no, the time stays strictly less even when the <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' />-vertex graphs have <img src='http://s0.wp.com/latex.php?latex=%7Bm+%3D+%5CTheta%28n%5E2%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{m = &#92;Theta(n^2)}' title='{m = &#92;Theta(n^2)}' class='latex' /> edges.</p>
<p>
<h2> Advisee Disclaimer </h2>
<p><p>
Before I start discussing this work (OSV) I must disclose that I was once Nisheeth&#8217;s Ph.D. advisor&#8212;perhaps you are always your students&#8217; Ph.D. advisor, even after they graduate. But I do not really know where he got the tremendous ability that he demonstrates now, since I cannot imagine that it came from my advising. He was great as a student, great as a colleague when at Tech, yet now he seems to operate at a higher level. Ah, well.</p>
<p>
This phenomenon of students being better than their advisors has happened to me many times. It reminds me of a question that Ken Steiglitz used to ask me years ago. He wanted to know how we could make objects to extremely small tolerances when as humans we could only see fairly large differences? Another way to ask this is:  </p>
<blockquote><p>
With tools that operate only to within a tolerance of <img src='http://s0.wp.com/latex.php?latex=%7B%5Cdelta%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{&#92;delta}' title='{&#92;delta}' class='latex' /> how can we make objects that have tolerances of <img src='http://s0.wp.com/latex.php?latex=%7B%5Cepsilon%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{&#92;epsilon}' title='{&#92;epsilon}' class='latex' />, where <img src='http://s0.wp.com/latex.php?latex=%7B+%5Cepsilon+%5Cll+%5Cdelta%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{ &#92;epsilon &#92;ll &#92;delta}' title='{ &#92;epsilon &#92;ll &#92;delta}' class='latex' />?
</p></blockquote>
<p>  Let&#8217;s leave that discussion for another day and move on to the result of OSV.</p>
<p>
<h2> Cutting Graphs </h2>
<p><p>
Undirected graphs ares used to model countless things in computer science; if they did not already exist, we would have had to invent them. Hence finding algorithms that decompose graphs efficiently is extremely important to theory in general, and to creating graph algorithms in particular. Decompositions can be used to create recursive algorithms and to solve many other problems on graphs. </p>
<p>
One of the reasons that binary trees are often an accessible class of graphs is that they satisfy the following beautiful result: </p>
<blockquote><p><b>Theorem: </b> <em> Let <img src='http://s0.wp.com/latex.php?latex=%7BT%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{T}' title='{T}' class='latex' /> be a binary tree on <img src='http://s0.wp.com/latex.php?latex=%7Bn%3E1%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{n&gt;1}' title='{n&gt;1}' class='latex' /> vertices. Then there is an edge <img src='http://s0.wp.com/latex.php?latex=%7Be%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{e}' title='{e}' class='latex' /> whose removal cuts the tree <img src='http://s0.wp.com/latex.php?latex=%7BT%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{T}' title='{T}' class='latex' /> into two pieces, and each is of size at least <img src='http://s0.wp.com/latex.php?latex=%7Bn%2F3%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{n/3}' title='{n/3}' class='latex' />. Moreover the edge <img src='http://s0.wp.com/latex.php?latex=%7Be%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{e}' title='{e}' class='latex' /> can be found in linear time. </em></p></blockquote>
<p>
<a href="http://rjlipton.files.wordpress.com/2012/04/tree.png"><img src="http://rjlipton.files.wordpress.com/2012/04/tree.png?w=300&h=140" alt="" title="tree" width="300" height="140" class="aligncenter size-medium wp-image-8571" /></a><br />
<span style="font-size:x-small;">(<a href="http://www.cs.uiuc.edu/~jeffe/teaching/algorithms/">source</a>, S&#8217;09 final)</span></p>
<p>
There are three features to this theorem that make it useful: </p>
<ol>
<li> The cut is <b>small</b>: it consists of a single edge.
<li> The two pieces are <b>balanced</b>: each is at least half the size of the other.
<li> The cut can be found in <b>linear</b> time.
</ol>
<p>
I would love to report that this theorem on binary trees generalized to all graphs, or even to all bounded degree graphs. Of course this is false. There are bounded-degree graphs such that all balanced cuts have size <img src='http://s0.wp.com/latex.php?latex=%7B%5COmega%28n%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;Omega(n)}' title='{&#92;Omega(n)}' class='latex' />. This follows even if we weaken the notion of balanced to allow a piece to be only a <img src='http://s0.wp.com/latex.php?latex=%7Bb%3E0%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{b&gt;0}' title='{b&gt;0}' class='latex' /> fraction of the other, and even if we do not require that there is a polynomial time algorithm to find the cut.</p>
<p>
There is a property called <a href="http://en.wikipedia.org/wiki/Conductance_(graph)">conductance</a> of a graph, usually denoted by <img src='http://s0.wp.com/latex.php?latex=%7B%5Cgamma%28G%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;gamma(G)}' title='{&#92;gamma(G)}' class='latex' />, that measures <i>how well</i> the graph can be cut into two pieces. The main result of OSV is a new theorem that settles the question of designing asymptotically optimal algorithms for finding balanced cuts. </p>
<blockquote><p><b>Theorem: </b> <em> There is a <img src='http://s0.wp.com/latex.php?latex=%7B%5Ctilde%7BO%7D%28m%29%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{&#92;tilde{O}(m)}' title='{&#92;tilde{O}(m)}' class='latex' />-time algorithm that given an undirected graph <img src='http://s0.wp.com/latex.php?latex=%7BG%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{G}' title='{G}' class='latex' />, a constant balance <img src='http://s0.wp.com/latex.php?latex=%7Bb+%5Cin+%280%2C1%2F2%5D%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{b &#92;in (0,1/2]}' title='{b &#92;in (0,1/2]}' class='latex' />, and a parameter <img src='http://s0.wp.com/latex.php?latex=%7B%5Cgamma%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{&#92;gamma}' title='{&#92;gamma}' class='latex' />, either finds an <img src='http://s0.wp.com/latex.php?latex=%7B%5COmega%28b%29%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{&#92;Omega(b)}' title='{&#92;Omega(b)}' class='latex' />-balanced cut of conductance <img src='http://s0.wp.com/latex.php?latex=%7BO%28%5Csqrt%28%5Cgamma%29%29%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{O(&#92;sqrt(&#92;gamma))}' title='{O(&#92;sqrt(&#92;gamma))}' class='latex' /> in <img src='http://s0.wp.com/latex.php?latex=%7BG%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{G}' title='{G}' class='latex' />, or outputs a certificate that all <img src='http://s0.wp.com/latex.php?latex=%7Bb%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{b}' title='{b}' class='latex' />-balanced cuts in <img src='http://s0.wp.com/latex.php?latex=%7BG%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{G}' title='{G}' class='latex' /> have conductance at least <img src='http://s0.wp.com/latex.php?latex=%7B%5Cgamma%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{&#92;gamma}' title='{&#92;gamma}' class='latex' />. </em></p></blockquote>
<p><p>
The theorem is about as good as one can expect. The cut is balanced and its size is controlled by the conductance as it must be. Also the algorithm runs in <img src='http://s0.wp.com/latex.php?latex=%7B%5Ctilde%7BO%7D%28m%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;tilde{O}(m)}' title='{&#92;tilde{O}(m)}' class='latex' /> time.</p>
<p>
<h2> Almost Linear </h2>
<p><p>
In this paper and elsewhere you will see the phrase &#8220;almost linear,&#8221; and it is denoted by adding a tilde to the &#8220;O:&#8221; as in <img src='http://s0.wp.com/latex.php?latex=%7B%5Ctilde%7BO%7D%28m%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{&#92;tilde{O}(m)}' title='{&#92;tilde{O}(m)}' class='latex' />. This means that the algorithm in question runs in time <img src='http://s0.wp.com/latex.php?latex=%7BO%28n%5Ccdot+f%28n%29%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{O(n&#92;cdot f(n))}' title='{O(n&#92;cdot f(n))}' class='latex' /> where <img src='http://s0.wp.com/latex.php?latex=%7Bf%28n%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{f(n)}' title='{f(n)}' class='latex' /> is a product of terms that depend only logarithmically on <img src='http://s0.wp.com/latex.php?latex=%7Bn%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{n}' title='{n}' class='latex' /> and all other parameters. We would prefer a truly linear time algorithm, but given the state of our understanding, often almost linear is the best we can do. So we do what we can. </p>
<p>
<h2> An Old Theorem </h2>
<p><p>
OSV&#8217;s paper depends on a rather surprising <a href="http://www.math.kent.edu/~varga/pub/paper_94.pdf">result</a> by Edward Saff, Arnold Sch&ouml;nhage, and Richard Varga (SSV), which proves the existence of a very good rational approximation to the function <img src='http://s0.wp.com/latex.php?latex=%7Be%5E%7B-x%7D%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{e^{-x}}' title='{e^{-x}}' class='latex' /> on the entire interval <img src='http://s0.wp.com/latex.php?latex=%7B%5B0%2C%5Cinfty%29%7D&amp;bg=ffffff&amp;fg=000000&amp;s=0' alt='{[0,&#92;infty)}' title='{[0,&#92;infty)}' class='latex' />. As given in Corollary 6.9 on page 35 of OSV, SSV proved in 1975:</p>
<blockquote><p><b>Theorem: </b> <em> For any integer <img src='http://s0.wp.com/latex.php?latex=%7Bk%3E0%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{k&gt;0}' title='{k&gt;0}' class='latex' />, there exists a degree <img src='http://s0.wp.com/latex.php?latex=%7Bk%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{k}' title='{k}' class='latex' /> polynomial <img src='http://s0.wp.com/latex.php?latex=%7Bp_%7Bk%7D%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{p_{k}}' title='{p_{k}}' class='latex' /> such that <img src='http://s0.wp.com/latex.php?latex=%7Bp_%7Bk%7D%28+%5Cfrac%7B1%7D%7B%281%2Bx%2Fk%29%7D%29%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{p_{k}( &#92;frac{1}{(1+x/k)})}' title='{p_{k}( &#92;frac{1}{(1+x/k)})}' class='latex' /> approximates <img src='http://s0.wp.com/latex.php?latex=%7Be%5E%7B-x%7D%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{e^{-x}}' title='{e^{-x}}' class='latex' /> up to an error of <img src='http://s0.wp.com/latex.php?latex=%7BO%28k%5Ccdot+2%5E%7B-k%7D%29%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{O(k&#92;cdot 2^{-k})}' title='{O(k&#92;cdot 2^{-k})}' class='latex' /> over the interval <img src='http://s0.wp.com/latex.php?latex=%7B%5B0%2C%5Cinfty%29%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{[0,&#92;infty)}' title='{[0,&#92;infty)}' class='latex' />. </em></p></blockquote>
<p> Note, the theorem proves only the existence of this good approximation, and this is one of the issues that OSV must overcome. </p>
<p>
The reason that having a good <i>rational</i> approximation is important is that OSV uses this on matrices: this allows a certain linear algebra problem to be solved very fast. We will now turn and discuss this theorem. </p>
<p>
<h2> A New Theorem </h2>
<p><p>
In order to prove their theorem, OSV must be able to compute an exponential of a matrix fast. They do this by using SSV and quite a number of other tricks. The main result is:</p>
<blockquote><p><b>Theorem: </b> <em> Given an <img src='http://s0.wp.com/latex.php?latex=%7Bn+%5Ctimes+n%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{n &#92;times n}' title='{n &#92;times n}' class='latex' /> SDD matrix <img src='http://s0.wp.com/latex.php?latex=%7BA%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{A}' title='{A}' class='latex' />, a vector <img src='http://s0.wp.com/latex.php?latex=%7Bv%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{v}' title='{v}' class='latex' />, and a parameter <img src='http://s0.wp.com/latex.php?latex=%7B%5Cdelta+%5Cle+1%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{&#92;delta &#92;le 1}' title='{&#92;delta &#92;le 1}' class='latex' />, we can compute a vector <img src='http://s0.wp.com/latex.php?latex=%7Bu%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{u}' title='{u}' class='latex' /> such that
<p align="center"><img src='http://s0.wp.com/latex.php?latex=%5Cdisplaystyle++%7C%7C+%5Cexp%28-A%29v+-+u%7C%7C+%5Cle+%5Cdelta+%7C%7Cu%7C%7C.+&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='&#92;displaystyle  || &#92;exp(-A)v - u|| &#92;le &#92;delta ||u||. ' title='&#92;displaystyle  || &#92;exp(-A)v - u|| &#92;le &#92;delta ||u||. ' class='latex' /></p>
<p> Further the algorithm runs in time <img src='http://s0.wp.com/latex.php?latex=%7B%5Ctilde%7BO%7D%28%28m+%2B+n%29%5Clog%282+%2B%7C%7CA%7C%7C%29%29%7D&amp;bg=e8e8e8&amp;fg=000000&amp;s=0' alt='{&#92;tilde{O}((m + n)&#92;log(2 +||A||))}' title='{&#92;tilde{O}((m + n)&#92;log(2 +||A||))}' class='latex' />. </em></p></blockquote>
<p><p>
Here <i>SDD</i> means that the matrix is symmetric and diagonally <a href="http://en.wikipedia.org/wiki/Diagonally_dominant_matrix">dominant</a>. They use the beautiful <a href="http://arxiv.org/abs/cs.NA/0607105">work</a> of Daniel Spielman and Shang-Hua Teng on approximately inverting matrices. One of the very technical details is the error analysis, since the approximation to the inverses they get from Spielman-Teng interact in a complex way with the error bounds of SSV. As usual read the paper for details.</p>
<p>
<h2> Open Problems </h2>
<p><p>
Can the result of SSV be used elsewhere? Are all linear algebra problems almost linear?</p>
<p>
[fixed OSV theorem statement, fixed vertex v --&gt; edge e in tree lemma statement, and sourced lemma]</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/rjlipton.wordpress.com/8568/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/rjlipton.wordpress.com/8568/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/rjlipton.wordpress.com/8568/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/rjlipton.wordpress.com/8568/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/rjlipton.wordpress.com/8568/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/rjlipton.wordpress.com/8568/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/rjlipton.wordpress.com/8568/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/rjlipton.wordpress.com/8568/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/rjlipton.wordpress.com/8568/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/rjlipton.wordpress.com/8568/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/rjlipton.wordpress.com/8568/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/rjlipton.wordpress.com/8568/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/rjlipton.wordpress.com/8568/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/rjlipton.wordpress.com/8568/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=rjlipton.wordpress.com&#038;blog=6472207&#038;post=8568&#038;subd=rjlipton&#038;ref=&#038;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://rjlipton.wordpress.com/2012/04/25/cutting-a-graph-by-the-numbers/feed/</wfw:commentRss>
		<slash:comments>19</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/afaa664a052777146630095c596117b2?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">lipton</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/04/images.jpeg" medium="image">
			<media:title type="html">images</media:title>
		</media:content>

		<media:content url="http://rjlipton.files.wordpress.com/2012/04/tree.png?w=300" medium="image">
			<media:title type="html">tree</media:title>
		</media:content>
	</item>
	</channel>
</rss>
