tag:blogger.com,1999:blog-3722233Fri, 22 Sep 2017 00:02:11 +0000typecastfocs metacommentsComputational ComplexityComputational Complexity and other fun stuff in math and computer science from Lance Fortnow and Bill Gasarchhttp://blog.computationalcomplexity.org/noreply@blogger.com (Lance Fortnow)Blogger2518125tag:blogger.com,1999:blog-3722233.post-4221460295097669311Thu, 21 Sep 2017 23:46:00 +00002017-09-21T19:57:12.525-04:00Acronyms and PHPWhenever I teach discrete math and use FML to mean Formula the students laugh since its a common acroynm for Fuck My Life. Now they laugh, and I say <i>I know why you are laughing, I know what it</i> <i>means </i> and they laugh even harder.<br />
<br />
BUT it got me thinking: Pigeonhole Principle! There are more things we want short acroynms for then there are short acroynms. Below are some I thought of. I am sure there are others, in fact I am sure there are websites of such, but I wanted to see which ones I just happen to know.<br />
<br />
<b>AMS-</b> American Math Society and much much more:see <a href="https://en.wikipedia.org/wiki/AMS">here</a><br />
<br />
<b>DOA-</b><br />
<br />
Dead on Arrival<br />
<br />
Department of Aging. Scary!<br />
<br />
<b>ERA-</b><br />
<br />
Earned Run Average in Baseball,<br />
<br />
Equal Rights Amendment in politics<br />
<br />
<b>PCP-</b><br />
<br />
Phencyclidine, a drug that you should never take.<br />
<br />
Prob. Checkable Proofs. Obscure to the pubic but not to us.<br />
<br />
<b>IRA- </b><br />
<br />
Irish Republic Army<br />
<br />
Internal Retirement Account <br />
<br />
Several companies have had rumors they fund terrorism because they were giving their employees IRA's. The headline `Company X funds IRA's' could be misunderstood.<br />
<br />
<br />
<b>SAT-</b><br />
<b><br /></b>
Standard Aptitute Test<br />
<br />
Satisfiability (of Boolena Formulas) Obscure to the pubic but not to us. Actually it may get less obscure as more ``proofs'' resolving P vs NP come out.<br />
<br />
<b>SJW</b><br />
<b><br /></b>
Single Jewish Female (in classified ads- more on that later). I think SJF is more common.<br />
<br />
Social Justice Warrior (sounds like a good thing but might not be)<br />
<br />
Classified ads are a source of many acronyms which can be used to teach combinatorics.<br />
<br />
{S,M,W,D,G}{B,C,H,J,W}{M,F}<br />
<br />
<br />
S-single, M-married, W-widowed, D-Divorced, G-Gay (this one I've seen alone making me wonder<br />
about S/M/W/D? I've also seen four-letter acronyms to disambiguate).<br />
<br />
B- black, C-Christian, H-Hispanic, J-Jewish, W-White.<br />
<br />
M,F- Male, Female, though I am sure there are ways to say other genders.<br />
<br />
Great for combinatorics! especially if you add in other ones (like BD)<br />
<br />
<b>WTF-</b><br />
<br />
Wisconsin Tourism Federation<br />
<br />
You know what else it means so I won't say it (this is a G-rated blog). When I first saw it I thought `what the fuck?- how could they have screwed up so badly?'<br />
<br />
<br />
<b>TEACHING TOOL</b>- when teaching PHP (Pigeon hole Principle, not the language PHP which stands for Hypertex PreProcessing, not quite in order, or Personal Home Page) you can use the the fact that<br />
<br />
number of concepts GREATER THAN number of 3-letter combos<br />
<br />
leads to some 3-letter combos will be used more than once.<br />
<br />http://blog.computationalcomplexity.org/2017/09/acronyms-and-php.htmlnoreply@blogger.com (GASARCH)2tag:blogger.com,1999:blog-3722233.post-6160952310345944260Mon, 18 Sep 2017 04:36:00 +00002017-09-18T00:36:13.888-04:00A problem I thought was interesting- now...On Nate Silver's page he sometimes (might be once a week) has a column edited by Oliver Roeder of problems. Pretty much math problems though sometimes not quite.<br />
<div>
<br /></div>
<div>
Some are math problems that I have seen before (e.g., hat problems). I don't bother submitting since that would just be goofy. I would be ringer.</div>
<div>
<br /></div>
<div>
Some are math problems that I have not seen before, I try to do, I fail, but read the answer and am enlightened. I call that a win.</div>
<div>
<br /></div>
<div>
But some are math problems that I have not seen before, I try to do, I fail, but when I see the solution its a computer simulation or something else that isn't quite as interesting as I had hoped.</div>
<div>
<br /></div>
<div>
I describe one of those now; however, I ask if it can be made more interesting.</div>
<div>
<br /></div>
<div>
The problems is from this column: <a href="https://fivethirtyeight.com/features/pick-a-number-any-number/">here</a></div>
<div>
<br /></div>
<div>
I paraphrase: Let A be the numbers {1,2,3,...,100}. A sequence is nice if (1) it begins with any number in A, (2) every number is from A and is either a factor of multiple of the number just before it, and (3) no number can appear more than once. Find the LONGEST nice sequence</div>
<div>
<br /></div>
<div>
Example of a nice sequence: </div>
<div>
<br /></div>
<div>
4, 12, 24, 6, 60, 30, 10, 100, 25, 5, 1, 97</div>
<div>
<br /></div>
<div>
I worked on it</div>
<div>
<br /></div>
<div>
1) By hand I came up with a nice sequence of length 42. This was FUN! You can either have fun trying to find a long nice sequence or you can look at mine <a href="https://www.cs.umd.edu/users/gasarch/BLOGPAPERS/longseq.txt">here</a>.</div>
<div>
<br /></div>
<div>
2) I tried to prove that it was optimal, hoping that either I would find its optimal or be guided to a longer sequence. Neither happened. More important is that this was NOT FUN.</div>
<div>
<br /></div>
<div>
3) I looked forward to the solution that would be in the next column and would be enlightening. </div>
<div>
<br /></div>
<div>
4) The next column, which did have the solution, is <a href="https://fivethirtyeight.com/features/is-this-bathroom-occupied/">here</a>! The answer was a sequence of length 77 found by a program that also verified there was no longer sequence. The sequence itself was mildly enlightening in that I found some tricks I didn't know about, but the lack of a real lower bound proof was disappointing.</div>
<div>
<br /></div>
<div>
They mentioned that this is a longest path problem (Graph is {1,..,100} edges are between numbers that are either multiples of factors) and that such problems are NP-complete. That gave the impression that THIS problem is hard since its a case of an NP-complete problem. Thats not quite right- its possible that this type of graph has a quick solution.</div>
<div>
<br /></div>
<div>
But I would like YOU the readers to help me turn lemon into lemonade.</div>
<div>
<br /></div>
<div>
1) Is there a short proof that 77 is optimal? Is there a short proof that (say) there is no sequence of length 83. I picked 83 at random. One can easily prove there is no sequence of length 100.</div>
<div>
<br /></div>
<div>
2) Is the following problem in P or NPC or if-NPC-then-bad-thing-happen:</div>
<div>
<br /></div>
<div>
Given (n,k) is there a nice sequence of {1,...,n} of length at least k. (n is in binary, k is in unary, so that the problem is in NP.)</div>
<div>
<br /></div>
<div>
I suspect not NPC.</div>
<div>
<br /></div>
<div>
3) Is the following problem in P or NPC or ...</div>
<div>
<br /></div>
<div>
Given a set of numbers A and a number k, is there a nice sequence of elements of A of length at least k (k in unary).</div>
<div>
<br /></div>
<div>
Might be NPC if one can code any graph into such a set.</div>
<div>
<br /></div>
<div>
Might be in P since the input has a long length.</div>
<div>
<br /></div>
<div>
4) Is the following solvable: given a puzzle in the Riddler, determine ahead of time if its going to be interesting? Clyde Kruskal and I have a way to solve this- every even numbered column I read the problem and the solution and tell him if its interesting, and he does the same for odd number columns.</div>
<div>
<br /></div>
<div>
<br /></div>
http://blog.computationalcomplexity.org/2017/09/a-problem-i-thought-was-interesting-now.htmlnoreply@blogger.com (GASARCH)7tag:blogger.com,1999:blog-3722233.post-350553633007717063Thu, 14 Sep 2017 16:36:00 +00002017-09-14T12:36:01.578-04:00Random Storm ThoughtsIt's Monday as I write this post from home. Atlanta, for the first time ever, is in a tropical storm warning. Georgia Tech is closed today and tomorrow. I'm just waiting for the power to go out. But whatever will happen here won't even count as a minor inconvenience compared to those in Houston, the Caribbean and Florida. Our hearts goes out to all those affected by these terrible storms.<br />
<div>
<br /></div>
<div>
Did global warming help make Harvey and Irma as dangerous as they became? Hard to believe we have an administration that won't even consider the question and keeps busy <a href="http://www.nature.com/news/us-energy-agency-asked-scientists-to-scrub-references-to-climate-change-1.22513">eliminating "climate change" from research papers</a>. Here's a <a href="http://scienceblogs.com/confessions/2017/09/11/the-trump-war-on-science-daring-blindness-denying-climate-change-destroying-the-epa-and-other-daily-disasters/">lengthy list</a> cataloging Trump's war on science. </div>
<div>
<br /></div>
<div>
<div>
Tesla <a href="http://jalopnik.com/tesla-remotely-extended-the-range-of-its-florida-owners-1802955287">temporarily upgraded</a> to its Florida Owners' cars giving them an extra 30 miles of battery life. Glad they did this but it begs the question why Tesla restricted the battery life in the first place. Reminds of when in the 1970's you wanted a faster IBM computer, you paid more and an IBM technician would come and turn the appropriate screw. Competition prevents software-inhibitors to hardware. Who will be Tesla's competitors?</div>
</div>
<div>
<br /></div>
<div>
During all this turmoil the follow question by Elchanan Mossel had me oddly obsessed: Suppose you flip a six-sided die. What is the expected number of dice throws needed until you get a six given that all the throws ended up being even numbers? My <a href="https://gilkalai.wordpress.com/2017/09/08/elchanan-mossels-amazing-dice-paradox-answers-to-tyi-30/">intuition was wrong</a> though when Tim Gowers falls into the same trap I don't feel so bad. I wrote a short Python program to convince me, and the program itself <a href="https://gilkalai.wordpress.com/2017/09/08/elchanan-mossels-amazing-dice-paradox-answers-to-tyi-30/#comment-35719">suggested a proof</a>.</div>
<div>
<br />
Updates on Thursday: I never did lose power though many other Georgia Tech faculty did. The New York Times also <a href="https://www.nytimes.com/2017/09/11/business/tesla-battery-irma-upgrade.html">covered</a> the Tesla update. </div>
http://blog.computationalcomplexity.org/2017/09/random-storm-thoughts.htmlnoreply@blogger.com (Lance Fortnow)8tag:blogger.com,1999:blog-3722233.post-2554014034197433298Mon, 11 Sep 2017 01:49:00 +00002017-09-10T21:49:34.138-04:00The Scarecrow's math being wrong was intentionalIn 2009 I had a post about Movie mistakes (see <a href="http://blog.computationalcomplexity.org/2009/02/movie-mistakes-or-are-they.html">here</a>). One of them was the Scarecrow in The Wizard of Oz after he got a Diploma (AH- but not a brain) he said<br />
<br />
<i>The sum of the square roots of any two sides of an isoscles triangle is equal to the square root of the remaining side. Oh joy! Rapture! I have a brain!</i><br />
<br />
I wrote that either this mistake was (1) a mistake, (2) on purpose and shows the Scarecrow really didn't gain any intelligence (or actually he was always smart, just not in math), or (3) It was Dorothy's dream so it Dorothy was not good at math.<br />
<br />
Some of the comments claimed it was (2). One of the comments said it was on the audio commentary.<br />
<br />
We now have further proof AND a longer story: In the book <i>Hollywood Science: The Next Generation</i>, <i>From Spaceships to Microchip</i>s (see <a href="https://www.amazon.com/Hollyweird-Science-Generation-Spaceships-Microchips/dp/3319542133">here</a>) they discuss the issue (page 90). The point to our blog as having discussed it (the first book not written by Lance or Lipton-Regan to mention our blog?) and then give evidence that YES it was intentional.<br />
<br />
They got a hold of the original script. The Scarecrow originally had a longer even more incoherent speech that was so over the top that of course it was intentional. Here it is:<br />
<br />
<i>The sum of the square roots of any two sides of an isosceles triangle is equal to the square root of the remaining side: H-2-O Plus H-2-S-O-4 equals H-2-S-O-3 using pi-r-squared as a common denominator Oh rapture! What a brain!</i><br />
<i><br /></i>
While I am sure the point was that the Scarecrow was no smarter, I'm amused at the thought of Dorothy not knowing math or chemistry and jumbling them up in her dream.http://blog.computationalcomplexity.org/2017/09/the-scarecrows-math-being-wrong-was.htmlnoreply@blogger.com (GASARCH)1tag:blogger.com,1999:blog-3722233.post-6303408530556140859Thu, 07 Sep 2017 15:34:00 +00002017-09-07T11:34:52.152-04:00Statistics on my dead cat policy- is there a correlation?When I teach a small (at most 40) students I often have the dead-cat policy for late HW:<br />
<br />
<i>HW is due on Tuesday. But there may be things that come up that don't quite merit a doctors note, for example your cat dying, but are legit for an extension. Rather than have me judge every case you ALL have an extension until Thursday, no questions asked. Realize of course that the hw is MORALLY due Tuesday. So if on Thursday you ask, for an extension I will deny it on the grounds that I already gave you one. So you are advised to not abuse the policy. For example, if you forget to bring your HW in on thursday I will not only NOT give the extension, but I will laugh at you.</i><br />
<i><br /></i>
(I thought I had blogged on this policy before but couldn't find the post.)<br />
<br />
Policy PRO: Much less hassling with late HW and doctors notes and stuff<br />
<br />
Policy CON: The students tend to THINK of Thursday as the due date.<br />
<br />
Policy PRO: Every student did every HW.<br />
<br />
Caveat: The students themselves tell me that they DO start the HW on Monday night, but if they can't quite finish it they have a few more days. This is OKAY by me.<br />
<br />
I have always thought that there is NO correlation between the students who tend to hand in the HW on Thursday and those that do well in the class. In the spring I had my TA keep track of this and do statistics on it.<br />
<br />
The class was Formal Lang Theory (Reg Langs, P and NP, Computability. I also put in some communication complexity. I didn't do Context free grammars.) There were 43 students in the class. We define a students morality (M) as the the number of HW they hand in on Tuesday. There were 9 HW.<br />
<br />
3 students had M=0<br />
<br />
12 students had M=1<br />
<br />
9 students had M=2<br />
<br />
5 students had M=3<br />
<br />
4 students had M=4<br />
<br />
4 students had M=5<br />
<br />
1 student had M=6<br />
<br />
1 student had M=7<br />
<br />
2 students had M=8<br />
<br />
2 students had M=9<br />
<br />
We graphed grade vs morality (see <a href="https://www.cs.umd.edu/users/gasarch/BLOGPAPERS/moral.png">here</a>)<br />
<br />
The Pearson Correlation Coefficient is 0.51. So some linear<br />
<br />
The p-value is 0.0003 which means the prob that there is NO correlation is very low.<br />
<br />
My opinion:<br />
<br />
1) The 5 students with M at least 7 <i>all </i>did very well in the course.This seems significant.<br />
<br />
2) Aside from that there is not much correlation.<br />
<br />
3) If I tell my next semesters class ``<i>people who handed the HW in on tuesday did well in the class</i> <i>so you should do the same'</i>' that would not be quite right- do the good students hand thing in on time, or does handing things in on time make you a good student? I suspect the former.<br />
<br />
4) Am I surprised that so many students had such low M scores? Not even a little.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />http://blog.computationalcomplexity.org/2017/09/statistics-on-my-dead-cat-policy-is.htmlnoreply@blogger.com (GASARCH)11tag:blogger.com,1999:blog-3722233.post-3251704364847128500Mon, 04 Sep 2017 14:47:00 +00002017-09-04T10:47:12.870-04:00Rules and ExceptionsAs a mathematician nothing grates me more than the expression "The exception that proves the rule". Either we bake the exception into the rule (all primes are odd except two) or the exception in fact <a href="http://cdn8.openculture.com/wp-content/uploads/2015/04/shortest-math-paper.jpg">disproves the rule</a>.<br />
<br />
According to <a href="https://en.wikipedia.org/wiki/Exception_that_proves_the_rule">Wikipedia</a>, "the exception that proves the rule" has a legitimate meaning, a sign that says "No parking 3-6 PM" suggests that parking is allowed at other times. Usually though I'm seeing the expression used when one tries to make a point and wants to dismiss evidence to the contrary. The argument says that if exceptions are rare that gives even more evidence that the rule is true. As in yesterday's <a href="https://www.nytimes.com/2017/09/02/opinion/sunday/outlawing-war-kellogg-briand.html">New York Times</a><br />
<blockquote class="tr_bq">
The illegal annexation of Crimea by Russian in 2014 might seem to prove us wrong. But the seizure of Crimea is the exception that proves the rule, precisely because of how rare conquests are today.</blockquote>
Another example might be the <a href="https://en.wikipedia.org/wiki/Early_2014_North_American_cold_wave">cold wave</a> of 2014 which some say support the hypothesis of global warming because such cold waves are so rare these days.<br />
<br />
How about the death of Joshua Brown, when his Tesla on autopilot crashed into a truck. Does this give evidence that self-driving cars are unsafe, or in fact they are quite safe because such deaths are quite rare? That's the main issue I have with "the exception that proves the rule", it allows two people to take the same fact to draw distinctly opposite conclusions.http://blog.computationalcomplexity.org/2017/09/rules-and-exceptions.htmlnoreply@blogger.com (Lance Fortnow)8tag:blogger.com,1999:blog-3722233.post-5709989275400936523Thu, 31 Aug 2017 13:32:00 +00002017-08-31T11:49:09.855-04:00NOT So PowerfulNote: Thanks to Sasho and Badih Ghazi for pointing out that I had misread the Tardos paper. Approximating the Shannon graph capacity is an open problem. Grötschel, Lovász and Schrijver approximate a related function, the <a href="https://en.wikipedia.org/wiki/Lov%C3%A1sz_number">Lovász Theta function</a>, which also <a href="https://en.wikipedia.org/wiki/Lov%C3%A1sz_number#Lov.C3.A1sz_.22sandwich_theorem.22">has the properties</a> we need to get an exponential separation of monotone and non-monotone circuits.<br />
<br />
Also since I wrote this post, Norbert Blum has <a href="https://arxiv.org/abs/1708.03486">retracted his proof</a>.<br />
<br />
Below is the original post.<br />
<br />
<hr />
<br />
A monotone circuit has only AND and OR gates, no NOT gates. Monotone circuits can only produce monotone functions like clique or perfect matching, where adding an edge only makes a clique or matching more likely. Razborov in a famous 1985 paper showed that the clique problem does not have polynomial-size monotone circuits.<br />
<br />
I choose Razborov's monotone bound for clique as one of my <a href="http://bibbase.org/network/publication/fortnow-myfavoritetencomplexitytheoremsofthepastdecade-1994">Favorite Ten Complexity Theorems</a> (1985-1994 edition). In that section I wrote<br />
<blockquote class="tr_bq">
Initially, many thought that perhaps we could extend these [monotone] techniques into the general case. Now it seems that Razborov's theorem says much more about the weakness of monotone models than about the hardness of NP problems. Razborov showed that matching also does not have polynomial-size monotone circuits. However, we know that matching does have a polynomial-time algorithm and thus polynomial-size nonmonotone circuits. Tardos exhibited a monotone problem that has an exponential gap between its monotone and nonmonotone circuit complexity. </blockquote>
I have to confess I never actually read Éva Tardos' short <a href="https://doi.org/10.1007/BF02122563">paper</a> at the time but since it serves as <a href="https://cstheory.stackexchange.com/questions/38803/is-norbert-blums-2017-proof-that-p-ne-np-correct/38836#38836">Exhibit A</a> against Norbert Blum's recent <a href="https://arxiv.org/abs/1708.03486">P ≠ NP paper</a>, I thought I would take a look. The paper relies on the notion of the <a href="https://en.wikipedia.org/wiki/Shannon_capacity_of_a_graph">Shannon graph capacity</a>. If you have a k-letter alphabet you can express k<sup>n</sup> many words of length n. Suppose some pairs of letters were indistinguishable due to transmission issues. Consider an undirected graph G with edges between pairs of indistinguishable letters. The Shannon graph capacity is the value of c such that you can produce c<sup>n</sup> distinguishable words of length n for large n. The Shannon capacity of a 5-cycle <a href="https://en.wikipedia.org/wiki/Shannon_capacity_of_a_graph#Graph_models_of_communication_channels">turns out</a> to be the square root of 5. <a href="https://doi.org/10.1007/BF02579273">Grötschel, Lovász, Schrijver</a> use the ellipsoid method to approximate the Shannon capacity in polynomial time.<br />
<br />
The Shannon capacity is anti-monotone, it can only decrease or stay the same if we add edges to G. If G has an independent set of size k you can get k<sup>n</sup> distinguishable words just by using the letters of the independent set. If G is a union of k cliques, then the Shannon capacity is k by choosing one representation from each clique, since all letters in a clique are indistinguishable from each other.<br />
<br />
So we have the largest independent set is at most the Shannon capacity is at most the smallest clique cover.<br />
<br />
Let G' be the complement of a graph G, i.e. {u,v} is an edge of G' iff {u,v} is not an edge of G. Tardos' insight is to look at the function f(G) = the Shannon capacity of G'. Now f is monotone in G. f(G) is at least the largest independent set of G' which is the same as the largest clique in G. Likewise f(G) is bounded above by the smallest partition into independent sets which is the same as the chromatic number of G since all the nodes with the same color form an independent set. We can only approximate f(G) but by careful rounding we can get a monotone polynomial-time computable function (and thus polynomial-size AND-OR-NOT circuits) that sits between the clique size and the chromatic number.<br />
<br />
Finally Tardos notes that the techniques of Razborov and <a href="https://doi.org/10.1007/BF02579196">Alon-Boppana</a> show that any monotone function that sits between clique and chromatic number must have exponential-size monotone (AND-OR) circuits. The NOT gate is truly powerful, bringing the complexity down exponentially.http://blog.computationalcomplexity.org/2017/08/not-so-powerful.htmlnoreply@blogger.com (Lance Fortnow)2tag:blogger.com,1999:blog-3722233.post-4565358997401984776Mon, 28 Aug 2017 02:52:00 +00002017-08-27T22:52:48.462-04:00either pi is algebraic or some journals let in an incorrect paper!/the 15 most famous transcendental numbers<br />
Someone has published three papers claiming that<br />
<br />
π is 17 -sqrt(3) which is really =3.1435935394...<br />
<br />
Someone else has published eight papers claiming<br />
<br />
π is (14 - sqrt(2))/4 which is really 3.1464466094...<br />
<br />
The first result is closer, though I don't think this is a contest that either author can win.<br />
<br />
Either π is algebraic, which contradicts a well known theorem, or some journals accepted some papers with false proofs. I also wonder how someone could publish the same result 3 or 8 times.<br />
<br />
I could write more on this, but another blogger has done a great job, so I'll point to it: <a href="http://mathscholar.org/pi-and-the-collapse-of-peer-review">here</a><br />
<br />
DIFFERENT TOPIC (related?) What are the <i>15 most famous transcendental numbers</i>? While its a matter of opinion, there is an awesome website that claims to have the answer <a href="http://sprott.physics.wisc.edu/pickover/trans.html">here</a>. I"ll briefly comment on them. Note that some of them are conjectured to be trans but have not been proven to be. So should be called <i>12 most famous trans numbers and 3 famous numbers conjectured to be trans.</i> That is a bit long (and as short as it is only because I use `trans') so the original author is right to use the title used.<br />
<br />
1) pi YEAH (This is probably the only number on the list such that a government tried to legally declare its value, see <a href="https://en.wikipedia.org/wiki/Indiana_Pi_Bill">here</a> for the full story.)<br />
<br />
2) e YEAH<br />
<br />
3) Eulers contant γ which is the limit of (sum_{i=1}^n 1/i) - ln(n). I read a book on γ (see <a href="https://www.amazon.com/Gamma-Exploring-Constant-Princeton-Science/dp/0691141339/ref=cm_cr_arp_d_product_top?ie=UTF8">here</a>) which had interesting history and math in it, but not that much about γ . I'm not convinced the number is that interesting. Also, not known to be trans (the website does point this out)<br />
<br />
4) Catalan's number 1- 1/9 + 1/25 - 1/49 + 1/81 ... Not known to be trans but thought to be. I had never heard of it until reading the website so either (a) its not that famous, or (b) I am undereducated.<br />
<br />
5) Liouville's number 0.110001... (1 at the 1st, 2nd, 6th, 24th, 120th, etc - all n!- place, 0's elsewhere)<br />
This is a nice one since the proof that its trans is elementary. First number ever proven Trans. Proved by the man whose name is on the number.<br />
<br />
6) Chaitian's constant which is the prob that a random TM will halt. See <a href="https://en.wikipedia.org/wiki/Chaitin%27s_constant">here</a> for more rigor. Easy to show its not computable, which implies trans. It IS famous.<br />
<br />
7) Chapernowne's number which is 0.123456789 10 11 12 13 ... . Cute!<br />
<br />
8) recall that ζ(2) = 1 + 1/4 + 1/9 + 1/6 + ... = π<sup>2</sup>/6<br />
<br />
ζ(3) = 1 + 1/8 + 1/27 + 1/64 + ... known as Apery's constant, thought to be trans but not known.<br />
<br />
It comes up in Physics and in the analysis of random minimal spanning trees, see <a href="https://en.wikipedia.org/wiki/Ap%C3%A9ry%27s_constant">here</a> which may be why this sum is here rather than some other sums.<br />
<br />
9) ln(2). Not sure why this is any more famous than ln(3) or other such numbers<br />
<br />
10) 2<sup>sqrt(2)</sup> - In the year 1900 Hilbert proposed 23 problems for mathematicians to work on (see <a href="https://en.wikipedia.org/wiki/Hilbert%27s_problems">here</a> for the problems, and see <a href="https://www.cs.umd.edu/users/gasarch/BLOGPAPERS/hilbertprob.pdf">here</a> for a joint book review of two books about the problem, see <a href="https://en.wikipedia.org/wiki/Hilbert%27s_twenty-fourth_problem">here</a> for a 24th problem found in his notes much later). The 7th problem was to show that a<sup>b</sup> is trans when a is rational and b is irrational (except in trivial cases). It was proven by Gelfond and refined by Schneider (see <a href="https://en.wikipedia.org/wiki/Hilbert%27s_seventh_problem">here</a>). The number 2<sup>sqrt(2)</sup> is sometimes called <i>Hilbert's Number. </i>Not sure why its not called <i>the Gelfond-Schneider number</i>. Too many syllables?<br />
<br />
11) e<sup>π</sup> Didn't know this one. Now I do!<br />
<br />
12) π<sup>e</sup> (I had a post about comparing e<sup>π</sup> to π<sup>e</sup> <a href="http://blog.computationalcomplexity.org/2010/02/e-to-pi-vs-pi-to-e.html">here</a>.)<br />
<br />
13) Prouhet-Thue-Morse constant - see <a href="https://en.wikipedia.org/wiki/Prouhet%E2%80%93Thue%E2%80%93Morse_constant">here</a><br />
<br />
14) i^i. Delightful! Its real and trans! Is it easy to show that its real? I doubt its easy to show that its trans. Very few numbers are easy to show are trans, though its easy to show that most numbers are.<br />
<br />
15) Feigenbaum's constant- see <a href="https://en.wikipedia.org/wiki/Feigenbaum_constants">here</a><br />
<br />
Are there any Trans numbers of which you are quite fond that aren't on the list?<br />
<br />
If you proof any of the above algebraic then you can probably publish it 3 or 8 or i<sup>i</sup> times!<br />
<br />
I can imagine a crank trying to show π or maybe even e is algebraic. ζ(3) or the Feigenbaum's constant, not so much.<br />
<br />
<br />
<br />http://blog.computationalcomplexity.org/2017/08/either-pi-is-algebraic-or-some-journals.htmlnoreply@blogger.com (GASARCH)7tag:blogger.com,1999:blog-3722233.post-4053596751337150013Thu, 24 Aug 2017 13:12:00 +00002017-08-24T09:13:00.135-04:00Kurtz-Fest<div style="text-align: right;">
<a href="https://2.bp.blogspot.com/-F2QGhjWdWVw/WZ2ZkdrSVXI/AAAAAAABdZA/MNknN-qIfzYXkrw9YAGnvBV0OL3EEZ5EACLcBGAs/s1600/kurtz-stuart.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="1067" data-original-width="1600" height="212" src="https://2.bp.blogspot.com/-F2QGhjWdWVw/WZ2ZkdrSVXI/AAAAAAABdZA/MNknN-qIfzYXkrw9YAGnvBV0OL3EEZ5EACLcBGAs/s320/kurtz-stuart.jpg" width="320" /></a></div>
Stuart Kurtz turned 60 last October and his former students John Rogers and Stephen Fenner organized a celebration in his honor earlier this week at Fenner's institution, the University of South Carolina in Columbia.<br />
<br />
Stuart has been part of the CS department at the University of Chicago since before they had a CS department and I knew Stuart well as a co-author, mentor, boss and friend during my 14+ years at Chicago. I would have attended this weekend no matter the location but a total eclipse a short drive from Atlanta (which merely had 97% coverage) certainly was a nice bonus.<br />
<br />
Stuart Kurtz brought a logic background to computational complexity. He's played important roles in randomness, the structural properties of reductions, especially the <a href="http://blog.computationalcomplexity.org/2003/03/berman-hartmanis-isomorphism.html">Berman-Hartmanis isomorphism conjecture</a>, relativization, counting complexity and logics of programs. I gave a <a href="https://www.dropbox.com/s/n52ypew0u8j3uj2/Kurtz%20Fest%20Fortnow.pptx?dl=0">talk</a> about Stuart's work focusing on his ability to come up with the right definitions that help drive results. Stuart defined classes like Gap-P and SPP that have <a href="http://blog.computationalcomplexity.org/2002/10/complexity-class-of-week-spp-part-i.html">really</a> <a href="http://blog.computationalcomplexity.org/2002/11/complexity-class-of-week-spp-part-ii.html">changed</a> the way people think about counting complexity. He <a href="http://doi.org/10.1016/S0890-5401(03)00018-X">changed the way</a> I did oracle proofs, first trying to create the oracle first and then prove what happens as a consequence instead of the other way around. It was this approach, focusing on an oracle called sp-generic, that allowed us to give the <a href="http://doi.org/10.1137/S0097539793248305">first relativized world</a> where the Berman-Hartmanis conjecture held.http://blog.computationalcomplexity.org/2017/08/kurtz-fest-and-eclipse.htmlnoreply@blogger.com (Lance Fortnow)2tag:blogger.com,1999:blog-3722233.post-1572107864486986783Tue, 22 Aug 2017 12:33:00 +00002017-08-22T08:42:40.067-04:00The Crystal Blogaversity<i>A joint post from Lance and Bill</i><br />
<br />
This blog <a href="http://blog.computationalcomplexity.org/2002/08/this-is-my-complexity-web-log.html">started</a> fifteen years ago today as "My Computational Complexity Web Log". Bill came on <a href="http://blog.computationalcomplexity.org/2007/03/complexity-blog-lives.html">permanently</a> in 2007 after Lance retired from the blog, a retirement that didn't even last a year. We've had over 2500 posts and 6 million page views. We've highlighted great results, honored 100th birth anniversaries, mourned the passing of far too many colleagues and talked about the joys and challenges of being an academic and a theoretical computer scientist.<br />
<br />
During the time of this blog, Lance held jobs at four different institutions, several positions in the theoretical computer science community and watched his daughters grow up. Besides his wife, perhaps the only constant in his life is this blog, and no matter how busy things get he still aims to post once a week. Writing keeps him sane.<br />
<br />
Bill, who is somewhat of Luddite, has seen technology change so much around him that he needs something to stay the same. This blog has kept him sane. Or at least more sane.<br />
<br />
Computing has seen dramatic changes in the past fifteen years driven by cloud computing, big data and machine learning. Computing now drives society and we've only seen the tip of the iceberg so far. Precious few of these developments are grounded in theory and our community will have a large role to play in understanding what is and isn't possible in this brave new computational world.<br />
<br />
Education has changes as well. The number of people majoring in Computer Science has skyrocketed, crashed, and is now skyrocketing again. We teach large lectures with PowerPoint and other technologies for both good and ill. Some people get their degrees online for both good and ill. We comment on all of these developments for both good and ill.<br />
<br />
We're not done yet with the blog. We'll keep writing and hope you keep reading. To the next fifteen.http://blog.computationalcomplexity.org/2017/08/the-crystal-blogaversity.htmlnoreply@blogger.com (Lance Fortnow)4tag:blogger.com,1999:blog-3722233.post-2459612205111785606Thu, 17 Aug 2017 15:28:00 +00002017-08-17T11:28:37.412-04:00The World is Not for Me<i>I wanted to address diversity after the Google memo controversy but that shouldn't come from an old white man. I asked my daughter Molly, a college student trying to set her course, to give her thoughts.</i><br />
<br />
The world is not for me. It never has been, and it never will be. This truth is bleak, but unavoidable. The world does not belong to women.<br />
<br />
The possibilities for my life are not endless. The achievements in my sight are not mine to take. If I want them, I have to fight harder, prove more about myself, please people more, defy more first impressions. I’ll have to be smarter, stronger, more patient and more assertive. Every expectation of me has a mirror opposite, fracturing my success into a thing of paradoxes. I know this, and I’ve always known it, to some extent. As I get older, the more I learn and the more I educate myself, the more words I have to describe it.<br />
<br />
So you’ll forgive me for not being surprised that sexism exists, especially in such male-dominated fields as technology and computing. You’ll forgive me for calling it out by name, and trying to point it out to those I care about. You’ll forgive me for being scared of tech jobs, so built by and for white men and controlled by them that the likelihood of a woman making a difference is almost none. And you’ll forgive me for trying to speak my mind and demand what I deserve, instead of living up to the <i>natural </i>state of my more “agreeable” gender.<br />
<br />
I know this disparity is temporary. I know these fields could not have come nearly as far as they have come without the contributions of many extraordinary women who worked hard to push us into the future. I know that other fields that once believed women were simply incapable of participating are now thriving in the leadership of the very women who defied those odds. And I know, with all of my being, that the world moves forward, whether or not individuals choose to accept it.<br />
<br />
I’m so fortunate to live the life I do, and to have the opportunities I have. This is not lost on me. But neither is the understanding that this world was not built for me, and still won’t have been built for me even when the tech world is ruled by the intelligent women who should already be in charge of it. The existence of people who believe genders to be inherently different will always exist, always perpetuate the system that attaches lead weights to my limbs, padlocks to my mouth.<br />
<br />
But that doesn’t mean I’ll give up. It’s what women do, because it’s what we have to do, every day of our lives: we defy the odds. We overcome. The future includes us in it, as it always has, and it’s because of the women who didn’t give up. And I’ll be proud to say I was one of them.http://blog.computationalcomplexity.org/2017/08/i-wanted-to-address-diversity-after.htmlnoreply@blogger.com (Lance Fortnow)13tag:blogger.com,1999:blog-3722233.post-2693964145065276934Mon, 14 Aug 2017 01:45:00 +00002017-08-14T17:18:58.763-04:00What is unusual about this MIT grad student in Applied Math?(Thanks to Rachel Folowoshele for bringing this to my attention)<br />
<br />
John Urschel is a grad student in applied math at MIT. His webpage is <a href="https://math.mit.edu/~urschel/">here</a>.<br />
<br />
Some students go straight from ugrad to grad (I did that.)<br />
<br />
Others take a job of some sort and then after a few years go to grad school.<br />
<br />
That's what John did; however, his prior job was unusual among applied math grad students<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
He was in the NFL as a professional football player! See <a href="https://www.nytimes.com/2017/07/27/sports/football/john-urschel-baltimore-ravens-retires-nfl-cte-study.html">here</a> for more about the career change, though I'll say that the brain-problems that NFL players have (being hit on the head is not a good for your brain) was a major factor for doing this NOW rather than LATER.<br />
<br />
How unusual is this? Looking around the web I found lists of smart football players, and lists of football players with advanced degrees (these lists were NOT identical but there was some overlap) but the only other NFL player with a PhD in Math/CS/Applied math was<br />
<br />
Frank Ryan- see his wikipedia page <a href="https://en.wikipedia.org/wiki/Frank_Ryan_(American_football)">here</a>. He got his Phd WHILE playing football. He was a PhD student at Rice.<br />
<br />
I suspect that a professional athlete getting a PhD in Math or CS or Applied Math or Physics or... probably most things, is rare. Why is this? NOT because these people are dumber or anything of the sort, but because its HARD to do two things well, especially now that both math and football have gotten more complex. Its the same reason we don't have many Presidents with PhD's (Wilson was the only one) or Presidents who know math (see my post on presidents who knew math: <a href="http://blog.computationalcomplexity.org/2007/12/presidential-math.html">here</a>) or Pope's who are scientists (there was one around 1000 AD, see <a href="http://www.huffingtonpost.com/nancy-marie-brown/when-the-pope-was-a-scien_b_790366.html">here</a>).<br />
<br />
If you know of any professional athlete who has a PhD in some science or math, please leave a comment on such.<br />
<br />
(ADDED LATER- a commenter pointed out Angela Merkel who has a PhD in Physical Chemistry,<br />
is chancellor of Germany, and there is a musical about her, see <a href="https://www.youtube.com/watch?v=daxHBre2a5A">here</a>.)<br />
<br />
(ADDED LATER- some of the comments were for Olympic Athletes and hence not professional and another comment pointed this out. So I clarify: Olympic is fine too, I really meant serious athlete.)<br />
<br />http://blog.computationalcomplexity.org/2017/08/what-is-unusual-about-this-mit-grad.htmlnoreply@blogger.com (GASARCH)16tag:blogger.com,1999:blog-3722233.post-516225100338723884Thu, 10 Aug 2017 11:09:00 +00002017-08-10T12:38:35.482-04:00Wearable Tech and AttentionRemember the Bluetooth craze where it seemed half of all people walked around with a headset in their ear. Now you rarely do.<br />
<br />
Remember Google Glass. That didn't last long.<br />
<br />
I remember having a conversation with someone and all of sudden they would say something nonsensical and you'd realize they are on the phone talking to someone else. Just by wearing a Bluetooth headset you felt that they cared more about a potential caller than the conversation they were currently having with you.<br />
<br />
Google glass gave an even worse impression. Were they listening to you or checking their Twitter feed? [Aside: I now use "they" as a singular genderless pronoun without even thinking about it. I guess an old dog can learn new tricks.]<br />
<br />
When you get bored and pull out your phone to check emails or put on headphones to listen to music or a podcast, you give a signal that you don't want to be disturbed even if that isn't your intent. Wearing a Bluetooth headset or Google glasses gave that impression all the time, which is why the technology didn't stick.<br />
<br />
What about smart watches? You can certainly tell if someone has an Apple watch. But if they don't look at it you don't feel ignored. Some people think they can check their watch without the other person noticing. They do. I've been guilty of this myself.<br />
<br />
What happens when are brains are directly connected to the Internet? You'll never know if anyone is actually listening to you in person. Of course, at that point will there even be a good reason to get out of bed in the morning?http://blog.computationalcomplexity.org/2017/08/wearable-tech-and-attention.htmlnoreply@blogger.com (Lance Fortnow)3tag:blogger.com,1999:blog-3722233.post-4490556164978753871Mon, 07 Aug 2017 01:49:00 +00002017-08-06T23:00:11.791-04:00Should we care if a job candidate does not know the social and ethical implications of their work (Second Blog Post inspired by Rogaway's Moral Character Paper)Phillip Rogaway's article on the<br />
<br />
The Moral character of Cryptographic Work (see <a href="http://web.cs.ucdavis.edu/~rogaway/papers/moral.pdf">here</a>) <br />
<br />
brings up so many issues that it could be the topics for at least 5 blog posts. I've already done one <a href="http://blog.computationalcomplexity.org/2016/03/on-phillip-rogaways-moral-character-of.html">here</a>, and today I'll do another. As I said in the first post I urge you to read it even if you disagree with it, in fact, especially if you disagree with it. (Possible Paradox- you have to read it to determine if you disagree with it.)<br />
<br />
Today's issue:<br />
<br />
<i>Should a department take into account if someone understand the social and ethical issues with their work?</i><br />
<br />
1) I'll start with something less controversial. I've sometimes asked a job candidate `why do you work on X?' Bad answers:<br />
<br />
Because my adviser told me to.<br />
<br />
Because I could make progress on it.<br />
<br />
Because it was fun to work on.<br />
<br />
People should always know WHY they are working on what they are working on. What was the motivation of the original researchers is one thing they should know, even if the current motivation is different. If its a new problem then why is it worth studying?<br />
<br />
2) In private email to Dr. Rogaway he states that he just wants this to be ONE of the many issues having to do with job hiring (alas, it usually is not even ONE). As such, the thoughts below may not be quite right since they assume a bigger role. But if you want to make something a criteria, even a small one, we should think of the implications.<br />
<br />
3) In private email to Dr. Rogaway I speculated that we need to care more about this issue when interviewing someone in<i> security </i>then in (say) <i>Ramsey theory</i>. He reminded me of work done in <i>pure</i> <i>graph theory</i> funded by the DOD, that is about how to best disable a network (perhaps a social network talking too much about why the Iraq war is a terrible idea). Point taken- this is not just an issue in Security.<br />
<br />
4) What if someone is working on security, funded by the DOD, and is fully aware that the government wants to use her work to illegally wiretap people and is quite okay with that. To hold that against her seems like holding someone's politics against them which I assume all readers of this blog would find very unfair.. OR is it okay to hire her since she HAS thought through the issues. The fact that you disagree with her conclusion should be irrelevant.<br />
<br />
5) What if she says that the DOD, once they have the tech, will only wiretap bad people? (see <a href="https://www.youtube.com/watch?v=OrVLOvJFtzM">here</a>)<br />
<br />
6) Lets say that someone is working on cute crypto with pictures of Alice and Bob (perhaps Alice is Wonderland and Bob the Builder). Its good technical work and is well funded. It has NO social or ethical implications because it has NO practical value, and she knows it. Should this be held against her? More so than other branches of theory?<br />
<br />
7) People can be aware of the social and ethical issues and not care.<br />
<br />
8) The real dilemma: A really great job candidate in security who is brilliant. The work is top notch but has serious negative implications. The job candidate is clueless about that. But they can bring in<br />
grant money! Prestige! Grad Students! I don't have an answer here but its hard to know how much to weigh social and ethical awareness versus getting a bump in the US News and World Report Rankings!<br />
<br />
What does your dept do? What are your thoughts on this issue?<br />
<div>
<br /></div>
<br />
<div>
<br /></div>
http://blog.computationalcomplexity.org/2017/08/should-we-care-if-job-candidate-does.htmlnoreply@blogger.com (GASARCH)11tag:blogger.com,1999:blog-3722233.post-926482972311551134Thu, 03 Aug 2017 12:15:00 +00002017-08-06T10:01:24.726-04:00What Makes a Great DefinitionToo often we see bad definitions, a convoluted mess carefully crafted to make a theorem true. A student asked me though what makes for a great definition in theoretical computer science. The right definition can start a research area, where a bad definition can take research down the wrong path.<br />
<br />
Some goals of a definition:<br />
<ul>
<li>A great definition should <b>capture some phenomenon</b>, like computation (Turing machines), efficient computation (P), efficient quantum computation (BQP). Cryptography has produced some of the best (and worst) definitions to capture security concerns.</li>
<li>A great definition should be<b> simple</b>. Defining computability by a Turing machine--good. Definition computability by by the 1334 page <a href="http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2011/n3242.pdf">ISO/IEC 14882:2011 C++</a> standard--not so good.</li>
<li>A great definition should be <b>robust</b>. Small changes in the definition should have little, or better, no change in what fulfills the definition. That is what makes the P v NP problem so nice since both P and NP are robust to various different models of computing. Talking about the problems solvable by a 27-state Turing machine--not robust at all.</li>
<li>A great definition should be <b>logically consistent. </b>Defining a set as any definable collection <a href="https://en.wikipedia.org/wiki/Russell%27s_paradox">doesn't work</a>.</li>
<li>A great definition should be <b>easy to apply</b>. It should be easy to check that something fulfills the definition, ideally in a simply constructive way.</li>
</ul>
<div>
A great definition drives theorems not the other way around.</div>
<div>
<br /></div>
<div>
Sometimes you discover that a definition does not properly capture a phenomenon--then you should either change or discard your definition, or change your understanding of the phenomenon.</div>
<div>
<br /></div>
<div>
Let's go through an interesting example. In 1984, Goldwasser, Micali and Rackoff <a href="https://doi.org/10.1145/22145.22178">defined</a> $k$-bits of knowledge interactive proof systems. Did they have good definitions?</div>
<div>
<ul>
<li>The definition of interactive proof systems hits all the right points above and created a new area of complexity that we still study today. </li>
<li>Their notion of zero-(bits of) knowledge interactive proofs hits nearly the right points. Running one zero-knowledge protocol followed by another using the GMR definition might not keep zero-knowledge but there is an <a href="https://doi.org/10.1007/BF00195207">easy fix for that</a>. Zero-knowledge proof systems would end up transforming cryptography. </li>
<li>Their notion of k-bit knowledge didn't work at all. Not really robust and a protocol that output the factors of a number half the time leaked only 1-bit of knowledge by the GMR definition. They smartly dropped the k-bit definition in the <a href="https://doi.org/10.1137/0218012">journal version</a>.</li>
</ul>
<div>
Two great definitions trump one bad one and GMR rightly received, along with <a href="https://doi.org/10.1016/0022-0000(88)90028-1">Babai-Moran</a> who gave an alternative equivalent definition of interactive proofs, the <a href="https://www.sigact.org/Prizes/Godel/1993.html">first Godel Prize</a>.</div>
</div>
http://blog.computationalcomplexity.org/2017/08/what-makes-great-definition.htmlnoreply@blogger.com (Lance Fortnow)2tag:blogger.com,1999:blog-3722233.post-7490127885204936218Mon, 31 Jul 2017 12:02:00 +00002017-07-31T20:39:17.970-04:00Harvard punishes some social organizations. Why?Over at the blog<i> Bits and Pieces </i>my adviser Harry Lewis (is he still my adviser 32 years after I got my PhD? Yes) has written many posts about Harvard's decision to ban people who belong to same-sex organizations from being approved for Rhodes Fellowships and other things. He is against it. Not just that, he gives history, context, etc. While originally intended to stop some excesses of some male clubs, the ban also punishes all-female clubs. But that's not the only reason the punishment is idiotic..<br />
<br />
I could not possibly describe and argue against the policy as well as Harry Lewis can, (e.g., he never used the word<i> idiotic</i>) so I was going to write a post briefly describing the situation and then pointing to all of his posts.<br />
<br />
AH- but then Michael Mitzenmacher did that in his blog <i>My Biased Coin</i> (Hmmm- I think its <i>his biased</i> <i>coin)</i>.<br />
<br />
I could not possibly give a short description and point to Harry Lewis's posts as well as MM did.<br />
<br />
SO I point to MM's post and give some brief comments.<br />
<br />
MM's post is <a href="http://mybiasedcoin.blogspot.com/2017/07/current-harvard-oddness.html">here</a>. Warning- MM's post points to 16 Harry Lewis's posts. That is a lot to read but well worth it.<br />
<br />
My two cents (that would be a good blog name!):<br />
<br />
1) After MM's post HL posted again about the issue, this time pointing to several more articles on the issue and commenting on them. HL's post is <a href="http://harry-lewis.blogspot.com/2017/07/social-club-press-roundup.html">Here</a>. That is even more to read but well worth it.<br />
(UPDATE- After I posted this HL posted another post on this topic on his blog: <a href="http://harry-lewis.blogspot.com/2017/07/more-social-club-press.html">here</a>)<br />
<br />
2) While I have seen many arguments against the policy I have not seen a single argument for the policy. I don't mean that I have seen arguments and they were not good, I really have not seen <i>any</i> arguments good or bad. <br />
<br />
3) I would much rather have the debate be:<br />
<br />
<i>What are some clubs doing that is bad? If so then is there some policy that makes sense?</i><br />
<br />
rather than<br />
<br />
<i>What business is it of Harvard what off-campus clubs a student belongs to?</i>http://blog.computationalcomplexity.org/2017/07/harvard-punishes-some-social.htmlnoreply@blogger.com (GASARCH)1tag:blogger.com,1999:blog-3722233.post-7143613150702462712Fri, 28 Jul 2017 12:52:00 +00002017-07-28T08:55:31.316-04:00Peter Wegner (1932-2017)<div class="separator" style="clear: both; text-align: center;">
<a href="https://cs.brown.edu/media/uploads/zinnia/2017/07/27/wegnerjpg300x300_q85.jpg.300x300_q85.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="300" data-original-width="200" height="200" src="https://cs.brown.edu/media/uploads/zinnia/2017/07/27/wegnerjpg300x300_q85.jpg.300x300_q85.jpg" width="132" /></a></div>
Peter Wegner <a href="https://cs.brown.edu/news/2017/07/27/memoriam-peter-wegner-1932-2017/">passed away</a> yesterday morning at the age of 84. As a child he <a href="http://posts.cs.brown.edu/2016/05/31/peter-wegner-life-remarkable/">escaped Stalinist Russia and Nazi-occupied Austria</a> the latter via the Kindertransport to England. Wegner would go on to be an important computer scientist at Brown working on CS research and education.<br />
<br />
With Dina Goldin, Peter Wegner developed a notion of <a href="https://doi.org/10.1007/s11023-007-9083-1">interactive computation</a> and used it to argue for the incompleteness of the Church-Turing thesis. While I <a href="http://blog.computationalcomplexity.org/2006/07/principles-of-problem-solving-tcs.html">didn't agree</a> with this interpretation, I appreciated Wegner's efforts to understanding the basic nature of computing. Peter Wegner later organized an ACM Ubiquity Symposium <a href="http://ubiquity.acm.org/symposia2011.cfm?volume=2011">What is Computation?</a> where he sought many view on the question, including <a href="http://ubiquity.acm.org/article.cfm?id=1921573">my own</a>.<br />
<br />
Peter Wegner said "In computer science we work with possibilities and hope we’ll someday be able to solve them." Here's to all things possible.http://blog.computationalcomplexity.org/2017/07/peter-wegner-1932-2017.htmlnoreply@blogger.com (Lance Fortnow)2tag:blogger.com,1999:blog-3722233.post-4867928960085405983Thu, 27 Jul 2017 11:42:00 +00002017-07-27T07:42:28.522-04:00Lessons from NorwayFor the last two weeks, the wife and I took a vacation to beautiful Norway to see the fjords and the North Cape, effectively the northernmost point in Europe. It was a visit though to the <a href="http://www.norskolje.museum.no/en/">Norwegian Petroleum Museum</a> in Stavanger that inspired this post.<br />
<div>
<br /></div>
<div>
<div>
The discovery of oil in the waters off Norway in 1969 completely changed the Norwegian economy, changing the way of life from a difficult agriculture and fishing society to a more comfortable oil-based economy. The museum had a surprisingly good introductory movie "Oil Kid" describes the challenging relationship of a man with his father who drew a comfortable life as an oil worker. Oil may have made Norway complacent as it lags behind its Scandinavian neighbors in non-oil based <a href="https://techcrunch.com/2016/06/26/after-oil-norway-looks-to-startups-for-economic-growth/">technological innovation</a>.<br />
<br />
The Norwegian government declared that the oil belonged to the people and created a fund that now totals nearly a trillion US dollars, over $150,000 per Norwegian citizen. Nevertheless as the price of oil remains low, Norway risks challenges as a country reliant on its production.</div>
<div>
<br /></div>
<div>
Norway now aims to be energy-neutral in the near future with extensive hydropower and wind mills. Norway has the highest percentage of electric cars of any country. The tiny town of Eidfjord, population about 1000, has a Tesla charging station. Odd to see this from a major oil exporter.</div>
<div>
<br /></div>
<div>
As computer scientists we have "struck oil," also leading a revolutionary change to our economy with its winners and losers. In fifty years will we look back and regret what we have wrought? </div>
</div>
http://blog.computationalcomplexity.org/2017/07/lessons-from-norway.htmlnoreply@blogger.com (Lance Fortnow)1tag:blogger.com,1999:blog-3722233.post-8173620859734439994Sun, 23 Jul 2017 18:39:00 +00002017-07-23T14:39:46.532-04:00What are the top Computer science programs for women?What are the top Computer Science Programs for Women?<br />
<br />
How would one even answer the question?<br />
<br />
Some people did a study based on National Center for Education Statistics and Payscale. The results are <a href="https://studysoup.com/blog/education-2/top-computer-science-programs-for-women/">here</a>.<span id="goog_1120995172"></span><br />
<br />
1) While I believe the top X school listed are pretty good for women in computing I don't believe that (say) the Yth school is better than the (Y+1)th school for some values of X and all values of Y.<br />
<br />
2) I appreciate that they put in the work for this.<br />
<br />
3) Overall good news and bad news:<br />
<br />
The number of female professionals in computer science has fallen by 35% since 1990<br />
<br />
The number of women finishing a comp sci degree has increased by 75% in the last five years.<br />
<br />
4) Why do we care? If there are many talented people in group X who are being discouraged from going into field Y, but society needs more people in field Y then YES we should do something about that. Also, if a certain group of people is shut out then a group-think might occur.<br />
<br />
5) What to do? Organizations like <a href="https://girlswhocode.com/">Girls who code</a> are good. The younger they start the bettter.<br />
<br />
6) Is there a social stigma for women to go into computer science? I think the answer is yes. How can we break that stigma? Realize that the notion of a female lawyer or doctor at one time had a stigma but I don't think it does anymore. What did they do right? What are we doing wrong?<br />
<br />
7) Personal note:<br />
<br />
I have mentored 58 High School Students. 56 were male, 2 were female.<br />
<br />
I have mentored 45 ugrad students. 33 were male, 12 were female.<br />
<br />
I have supervised 17 Masters students. 15 were male, 2 were female<br />
<br />
I have supervised 7 PhD students, 6 were male, 1 was female.<br />
<br />
The HS students stats are the most startling (at least to me). I don't have much control on this one as HS students seek me out and they happen to mostly be male. Reading that over it sounds weak on my part.<br />
<br />http://blog.computationalcomplexity.org/2017/07/what-are-top-computer-science-programs.htmlnoreply@blogger.com (GASARCH)17tag:blogger.com,1999:blog-3722233.post-6592497690012323581Thu, 20 Jul 2017 21:47:00 +00002017-07-21T08:55:54.672-04:00I would call these Galois Games but I can'tHere is a game (Darling says I only blog about non-fun games. This post will NOT prove her wrong.)<br />
<br />
Let D be a domain, d ≥ 1 and 0 ≠ a<sub>0</sub> ∈ D. There are two players Wanda (for Wants root) and Nora (for No root). One of the players is Player I, the other Player II.<br />
<br />
(1) Player I and II alternate (with Player I going first) choosing the coefficients in D of a polynomial of degree d with the constant term preset to a<sub>0</sub>.<br />
<br />
(2) When they are done, if there is a root in D then Wanda wins, else Nora wins.<br />
<br />
There is a paper by Gasarch-Washington-Zbarsky <a href="https://arxiv.org/abs/1707.04793">here</a> where we determine who wins the game when D is Z,Q (these proofs are elementary), any finite extension of Q (this proof uses hard number theory), R, C (actually any algebraic closed field), and any finite field.<br />
<br />
How did I think of this game? There was a paper called <a href="https://arxiv.org/abs/1110.1137">Greedy Galois Games</a> (which I blogged about <a href="http://blog.computationalcomplexity.org/2013/08/what-are-galois-games.html">here</a>). When I saw the title I thought the game might be that players pick coefficients from Q and if the final polynomial has a solution in radicals then (say) Player I wins. That was not correct. They only use that Galois was a bad duelist. Even so, the paper INSPIRED me! Hence the paper above! The motivating problem is still open:<br />
<br />
<b>Open Question:</b> Let d be at least 5. Play the above game except that (1) the coefficients are out of Q, and (2) Wanda wins if the final poly is solvable by radicals, otherwise Nora wins. (Note that if d=1,2,3,4 then Wanda wins.) Who wins?<br />
<br />
If they had named their game Hamilton Game (since Alexander Hamilton lost a duel) I might have been inspired to come up with a game about quaternions or Hamiltonian cycles.<br />
<br />
POINT- take ideas for problems from any source, even an incorrect guess about a paper!<br />
<br />
<br />
<br />
<br />http://blog.computationalcomplexity.org/2017/07/i-would-call-these-galois-games-but-i.htmlnoreply@blogger.com (GASARCH)2tag:blogger.com,1999:blog-3722233.post-3414701886510230603Mon, 17 Jul 2017 13:26:00 +00002017-07-18T11:29:16.752-04:0089944 Hat Problems<br />
I've blogged about different hat problems a few times (see <a href="http://blog.computationalcomplexity.org/search?q=hats">here</a>). The question arises: How many hat problems are there? The answer is really infinite (literally) but I will list some parameters and bound them reasonably to get an upper bound. Some of the combinations don't make sense, but we'll live with that. (I am also working on a website of hat problem papers. Its nowhere near finished yet and maybe never will be, but its <a href="https://www.cs.umd.edu/users/gasarch/TOPICS/hats/hats.html">here</a> for your benefit. And for mine-- if there are some obvious papers I've omitted then comment or email me.)<br />
<br />
First off, what is a hat problem? Ignoring many parameters: There are n people and c different colors of hats and they are put on people's heads and the people have to guess what color hat they have on. They can see some or all of the other people. I'll mention one that has someone's name on it:<br />
<br />
Winkler's Hat Problem (Peter Winkler proposed it <a href="http://citeseerx.ist.psu.edu/viewdoc/download;jsessionid=F55E6F6A731D0AFD04FC39F81BDF7C8A?doi=10.1.1.102.8855&rep=rep1&type=pdf">here</a> along with some other hat problems and some non-hat problems that are also fun)<br />
<br />
<i>There are n people and 2 color hats. An adversary will put the hats no peoples heads. The people must guess simultaneously their hat color. Maximize how many get it right in the worst case.</i><br />
<i><br /></i>
<i>(ADDED LATER: While I have seen the above referred to as Winkler's Hat Problem, Winkler</i><br />
<i>himself told me that hs problem has the hats put on RANDOMLY, not by an adversary.)</i><br />
<i><br />
</i> Peter Winkler and later a paper by Ebert et al. (Not Ebert of Siskel and Ebert--- to bad, that would be awesome!) that I mention below seem to have popularized hat games somewhat. But this post is not about their history its about<br />
<br />
<i>how many hat games are there?</i><br />
<i><br />
</i> Here are some parameters I've seen for hat games. If you know of any others please comment!<br />
<br />
<br />
1) Is the number of hats finite, infinite (and assume AC), infinite (but don't assume AC). I could say that since there are infinitely many infinities this is an infinite number of parameters, but we'll stick to countable and say this is a 3-valued parameter. A paper on infinite number of hats is <a href="https://www.cs.umd.edu/users/gasarch/TOPICS/hats/infinite-hats-and-ac.pdf">here</a>.<br />
<br />
2) The two most common puzzles are to have the people either all see each other, or in a line where person i sees person j iff i ≤ j. This can be viewed as the people are on K<sub>n</sub> or L<sub>n</sub>. There have been some papers on cycles (see <a href="http://www.combinatorics.org/ojs/index.php/eljc/article/view/v24i1p37/pdf">here</a>, <a href="http://www.combinatorics.org/ojs/index.php/eljc/article/view/v24i1p45/pdf">here</a>), triangle-free graphs (see <a href="http://www.combinatorics.org/ojs/index.php/eljc/article/view/v23i1p48/pdf">here</a>), some directed graphs (see <a href="https://www.blogger.com/%C2%A0%C2%A0http://www.combinatorics.org/ojs/index.php/eljc/article/view/v19i1p30/pdf">here</a>), a PhD that studies the problem on cycles (see <a href="https://www.cs.umd.edu/users/gasarch/TOPICS/hats/graphsphd.pdf">here</a>), and a paper with several graphs (see <a href="https://www.blogger.com/%C2%A0https://www.cs.cornell.edu/~rdk/papers/Hats.pdf">here</a>). Formally this would be an infinite-valued parameter, but we'll take the number of classes of graphs that actually have been studied to be 4.<br />
<br />
3) Do the people all guess their hat at the same time OR is there some ordering OR in rounds 3-valued.<br />
<br />
4) Are people allowed to pass or not? (if they are then usually we demand that at least one does not pass). 2-valued. The paper by Ebert-Merkle-Vollmer which allowed passing got a lot of attention and brought hat problems to the general public. Its <a href="http://www.math.uni-heidelberg.de/logic/merkle/ps/SICOMP-autored.pdf">here</a>. A generalization of Ebert's version is <a href="http://theory.stanford.edu/~yuhch123/files/HatGuessing.pdf">here</a>. Ebert's game but on a line is studied <a href="http://www.combinatorics.org/ojs/index.php/eljc/article/view/v17i1r86/pdf">here</a><br />
<br />
5) Are the hats put on by an adversary who can hear your strategy (I've never seen a paper about an adversary who can't hear your strategy) or uniformly randomly or random with some known probability. The last case has been studied in several papers by Theo van Uem (see <a href="https://arxiv.org/pdf/1612.00276.pdf">here</a>, <a href="https://arxiv.org/ftp/arxiv/papers/1704/1704.04244.pdf">here</a>, <a href="https://arxiv.org/ftp/arxiv/papers/1612/1612.05924.pdf">here</a>). 3 valued<br />
<br />
6) The players strategy can be deterministic or randomized. 2-valued. Butler et. al's paper about deterministic strategies covers a lot of material: <a href="https://www.cs.cornell.edu/~rdk/papers/Hats.pdf">here</a>. 2 valued.<br />
<br />
7) What is the goal? To get as many right as possible all the time? To get the expected number right as large as possible (prob may be based on either the random placement of hats or the random strategy of the players). There are even more variations here such as you want for each color there is a guaranteed fraction that get it right (see <a href="http://madhu.seas.harvard.edu/papers/2005/auction-full.pdf">here</a>) 3-valued<br />
<br />
8) Is there some other information available. Examples I've seen: (a) at least one hat is RED, (b) for each color there is a bound on how many hats there are of that color, (c) the hats are natural numbes x,y, and x+y. (see <a href="https://arxiv.org/pdf/0710.2685.pdf">here</a>) (d) there are n+1 colors, n people, and each perosn has a different color (see <a href="http://www.tanyakhovanova.com/publications/ALineOfWizards.pdf">here</a>). Many values depending on the information given, but we'll just say 4-valued, the info above and no info.<br />
<br />
9) Can some other information be revealed first? I've seen a paper where first everyone who sees a RED hat raises their hand. 2-valued.<br />
<br />
10) Is a delay allowed? There are some puzzles where the people do reasoning about what others might deduce, so there is a delay in answers. 2-valued<br />
<br />
11) I've never seen this- but how about trying to make sure that everyone gets it WRONG. 2-valued<br />
<br />
12) I don't count this as a hat problem but some do: they want to find collectively information about all of the hats. Aspnes et al has 0-1 valued hats and wants to simul vote on the parity, see <a href="http://www.cs.yale.edu/homes/aspnes/papers/stoc91voting.pdf">here</a>. 2-valued.<br />
<br />
This puts an upper bound on the number of possible hat puzzles at<br />
<br />
3 x 4 x 3 x 2 x 3 x 2 x 3 x 4 x 2 x 2 x 2 x 2 = 89944.<br />
<br />
This figure is wrong for reasons for reasons that both argue higher and lower.<br />
<br />
a) Lower: MANY of these combinations do not work together. For example, if you have an adversary and a deterministic strategy you can't talk about doing well in the average case.<br />
<br />
b) Higher: For many of the above categories my number-of-values is low. For example you could look at hat games on many different graphs.<br />
<br />
c) Higher: there are other variants I have not listed. That's where YOU come in! If you know of a version I have not discussed then please comment or email it to me!<br />
<br />
<br />
<br />http://blog.computationalcomplexity.org/2017/07/89944-hat-problems.htmlnoreply@blogger.com (GASARCH)5tag:blogger.com,1999:blog-3722233.post-4396432625044196186Thu, 13 Jul 2017 19:50:00 +00002017-07-13T15:50:51.581-04:00Solutions to some Hat Problem AND some points of interest.In my last blog <a href="http://blog.computationalcomplexity.org/2017/07/two-hat-problems-you-may-or-may-not.html">here</a> I asked three (known) hat problems since they may be new to you (one of them I just learned last week) and I had a point to make about them. I have WRITTEN UP the proofs <a href="https://www.cs.umd.edu/users/gasarch/BLOGPAPERS/hats.pdf">here</a> since html is clumsy with math (or I'm clumsy with html-math), so this post is mostly about the points to make about these problems. I would urge you to read the writeup pointed to before reading the post.<br />
<br />
1) N people 1,...,N, two colors R,B, Hats put on RANDOMLY (no adversary).<br />
<br />
People are in a line and pe sees person j's hat iff i ≤ j .<br />
<n ...="" .="" 1="" 2="" and="" at="" attempt="" color="" does="" everyone="" gets="" hat="" in="" least="" maximize="" n.="" not="" one="" or="" order:="" p="" pass.="" pass="" person="" prob="" right="" say="" that="" the="" their="" then="" they="" to="" want="" we="" who="" will=""><br /></n>
<n ...="" .="" 1="" 2="" and="" at="" attempt="" color="" does="" everyone="" gets="" hat="" in="" least="" maximize="" n.="" not="" one="" or="" order:="" p="" pass.="" pass="" person="" prob="" right="" say="" that="" the="" their="" then="" they="" to="" want="" we="" who="" will="">There is a well known strategy where nobody passes which guarantees n-1 get it right (see <a href="http://blog.computationalcomplexity.org/2013/07/dump-your-tables-moral-of-my-story-that.html">here</a>), but that strategy has EVERYONE get it right 1/2 of the time. We want MORE than that. LOTS more.</n><br />
<n ...="" .="" 1="" 2="" and="" at="" attempt="" color="" does="" everyone="" gets="" hat="" in="" least="" maximize="" n.="" not="" one="" or="" order:="" p="" pass.="" pass="" person="" prob="" right="" say="" that="" the="" their="" then="" they="" to="" want="" we="" who="" will="">
<br />
The following strategy works: For i=1,2,..., N person i does the following: if nobody has said RED yet AND ALL of the hats i sees are BLUE then i says RED. Otherwise Red passes<br />
<br />
This fails on B^n. It works on everything else with the last R getting it right and everyone else passing. So the prob of getting it right is 1- 1/2^n.<br />
<br />
POINT: I originally didn't have one to make, but a commenter misread the problem (or I miswrote it) in an interesting way. My problem was: Hats put on randomly, players are deterministic. They thought it was Hats put on by an adversary but players can use a randomized strategy. That problem (which frankly is more intersting) has a similar solution to the above: the players get a random string of R,B of length n and treat that like I treat B^n above.<br />
<br />
2) omega people: 1,2,3,... and as above. We want to get all but a finite number of people get it right. See my writeup of it pointed to above. The proof I use uses the Axiom of choice and this is needed (see <a href="https://www.cs.umd.edu/users/gasarch/TOPICS/hats/infinite-hats-and-ac.pdf">here</a>).<br />
<br />
POINT: some of my students didn't like that the players need uncountable memory. How much does this bother me: not even a little. A fellow blogger thought this result was so non-intuitive that he now thinks the axiom of choice is wrong (see <a href="https://cornellmath.wordpress.com/2007/09/13/the-axiom-of-choice-is-wrong/">here</a>) Personally I am a lot more bothered by the Banach Tarski Paradox (see <a href="http://blog.computationalcomplexity.org/2011/04/what-did-banachs-wife-think-of-banach.html">here</a>), though that paradox has lead to what my wife calls either the best or the most obscure math joke ever: what is an anagram of Banach-Tarski? Answer: Banach-Tarski Banach-Tarski.<br />
<br />
3) omega people: 1,2,3,... and as above but now we want to get at most ONE wrong. You CAN do this! see the writeup.<br />
<br />
POINT: When I first learned problem (2) I assumed you could not get it down to a finite bound. And I was sure I could prove it, though I never got around to it, prob because I thought it was true and easy. Well, my turn to eat humble pie (an expression only said on TV and not in real live)--- you CAN do this with only one error. The problem where you have an infinite number of people, they all see each others hats, and they all shout at the same time- that one I am sure you can't do with at most 1 error. I might need to eat humble pie once again.<br />
<br />
4) n people, c colors, everyrone sees everyone else's hat, simul shouting, deterministic, and want to maximize how many get it right. OH- and adversarial.<br />
<br />
Can do it with floor(n/c) but can't to better. See writeup.<br />
<br />
POINT: The argument that you can't do better is a probabilistic argument! That's great! It may help bridge the gap between recreational and serious math (is there even a gap anymore?) that we use a Prob method on a fun hat problem! </n>http://blog.computationalcomplexity.org/2017/07/solutions-to-some-hat-problem-and-some.htmlnoreply@blogger.com (GASARCH)1tag:blogger.com,1999:blog-3722233.post-875604371584900743Sun, 09 Jul 2017 21:32:00 +00002017-07-10T13:45:13.425-04:00Two hat problems you may or may not have seen but I have a point to make about one of themHat problems are fun and often require clever solutions. I have posted about one type of hat problem <a href="http://blog.computationalcomplexity.org/2013/07/dump-your-tables-moral-of-my-story-that.html">here</a>.<span id="goog_836325510"></span><a href="https://www.blogger.com/"></a><span id="goog_836325511"></span><br />
<br />
In this post I ask three. For two of them I have a point to make which I will make when I post the answer later in the week. Feel free to post your thoughts and answers, BUT be warned that if you don't want to know the answer then don't look at the comments.<br />
<br />
1) N people stand in a line and are numbered 1,2,3,..,n. If i < j then person i can see person j's hat color.<br />
<br />
Hats are going to be put on the heads RANDOMLY- prob of RED or BLUE is 1/2. (so no adversary)<br />
<br />
The people, in order 1,2,3,..., n either say RED or BLUE or PASS.<br />
<br />
We want to maximize the probability that (1) someone does not say PASS, and (2) ALL who do not say PASS are correct.<br />
<br />
They can meet ahead of time to discuss strategy but after the hats are on ALL they can say<br />
is RED, BLUE, PASS and only when they are supposed to.<br />
<br />
(Also try with 3 colors, 4 colors, etc.)<br />
<br />
(ADDED LATER- some comments I got inspire a clarification and a new problem.<br />
<br />Clarify: NO adversary. The players are deterministic. So the prob of failure is based on the randomness of the hats. So you want to minimize the number of seq of R and B where the players mess up.<br />
<br />
Another problem: Their IS an adversary but the players are allowed to flip coins. Now the prob of failure is based on the players coin flips.<br />
)<br />
<br />
2) omega people in a line are numbered 1,2,3,... If < j then person i can see person j's hat color.<br />
<br />
An ADVERSARY is going to put hats on peoples heads RED or BLUE.<br />
<br />
The people in order 1,2,3,... either say RED or BLUE<br />
<br />
They can meet ahead of time and discuss strategy as in problem 1. The Adversary KNOWS the strategy<br />
<br />
a) Prove or Disprove: there is a protocol such that they always get all but a finite number of hats right<br />
<br />
b) Prove or Disprove: there is a protocol such that they always get all but at most ONE right.<br />
<br />
3) N people in a circle (so they see each others hats).<br />
<br />
An Adversary is going to put hats on peoples heads- there are c hat colors.<br />
<br />
The people AT THE SAME TIME shout out a hat color.<br />
<br />
Give a protocol that maximizes how many get it right (in the worst case). Show there is no better protocol.<br />
<br />
<br />
<br />
<br />
<br />
<br />http://blog.computationalcomplexity.org/2017/07/two-hat-problems-you-may-or-may-not.htmlnoreply@blogger.com (GASARCH)6tag:blogger.com,1999:blog-3722233.post-5070159997037600411Wed, 05 Jul 2017 12:09:00 +00002017-07-05T08:09:47.305-04:00The Complexity of Rubik's Cube<div class="separator" style="clear: both; text-align: center;">
<a href="https://1.bp.blogspot.com/--bJ1YimqiRo/WVpXOqymEaI/AAAAAAABb2w/t2Y2235Byb4FFQZ4-Arw2XMx_gCM9MAnACLcBGAs/s1600/rubiks.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="188" data-original-width="170" src="https://1.bp.blogspot.com/--bJ1YimqiRo/WVpXOqymEaI/AAAAAAABb2w/t2Y2235Byb4FFQZ4-Arw2XMx_gCM9MAnACLcBGAs/s1600/rubiks.jpg" /></a></div>
In my book I use Rubik's Cube as an example of a puzzle we can computationally solve efficiently (as opposed to <a href="http://blog.computationalcomplexity.org/2005/05/complexity-and-sudoku.html">Sudoku</a> or <a href="http://blog.computationalcomplexity.org/2003/03/rush-hour.html">Rush Hour</a>). How does this square with the new <a href="https://arxiv.org/abs/1706.06708">result</a> of Erik Demaine, Sarah Eisenstat and Mikhail Rudoy that finding the shortest solution is NP-complete? New Scientist now proclaims <a href="https://www.newscientist.com/article/2139268-its-not-you-solving-a-rubiks-cube-quickly-is-officially-hard/">It’s not you – solving a Rubik’s cube quickly is officially hard</a>. No, it's still you.<br />
<br />
To study the complexity of Rubik's cube we can't just fixate on the 3x3x3 cube with its finite state space but on the general NxNxN cube. (One could also generalize to 3-sided hypercubes in N dimensions but good luck constructing a 3x3x3x3x3 Rubik's cube.) For a given mixed-up NxNxN cube we can find in polynomial time a polynomial number of steps to return the cube to the original state. A mixed-up cube is just a member of the permutation group of the 6N<sup>2</sup> small squares and we want to find a sequence of generators (allowable rotations of the cube) that yield the mixed-up cube. Group theorists have come up with <a href="http://www.cmi.ac.in/~ramprasad/lecturenotes/algcomp/lecture4.pdf">very efficient algorithms</a> to find these sequences which we can apply in reverse to solve the cube.<br />
<br />
Group theory does not necessarily come up with the shortest possible sequence and <a href="http://www.cube20.org/">only in 2010</a> did we discover that solving the worst-case 3x3x3 cube, the so-called "God's Number", required 20 moves. A year later Demaine et. al <a href="https://arxiv.org/abs/1106.5736">showed</a> that the minimum sequence for an NxNxN cube is Θ(N<sup>2</sup>/log N).<br />
<br />
Two weeks ago Demain, Eisenstat and Rudoy <a href="https://arxiv.org/abs/1706.06708">posted their proof</a> that given a fixed NxNxN cube finding the shortest sequence in NP-complete. Their proof is combinatorial, showing that solving an NxNx1 cube is NP-complete and reducing to the NxNxN cube.<br />
<br />
So there you have it, solving a generalized Rubik's cube is easy but finding the shortest possible solution is hard. Despite Rubik's Cube achieving popularity during my nerdy high school days, I never had the patience to solve it, but that's just me.http://blog.computationalcomplexity.org/2017/07/the-complexity-of-rubiks-cube.htmlnoreply@blogger.com (Lance Fortnow)3tag:blogger.com,1999:blog-3722233.post-2635434720614687289Thu, 29 Jun 2017 14:09:00 +00002017-06-29T10:09:48.208-04:0050 Years of the Turing Award<div class="separator" style="clear: both; text-align: center;">
<a href="https://4.bp.blogspot.com/-40HMIPmxF_8/WVPDJXG08_I/AAAAAAABbzw/3vxn9IYHNl8hoYX9PFcZ1TcnuX44ZYBZgCKgBGAs/s1600/IMG_20170623_124232.jpg" imageanchor="1" style="clear: right; float: right; margin-bottom: 1em; margin-left: 1em;"><img border="0" data-original-height="1200" data-original-width="1600" height="150" src="https://4.bp.blogspot.com/-40HMIPmxF_8/WVPDJXG08_I/AAAAAAABbzw/3vxn9IYHNl8hoYX9PFcZ1TcnuX44ZYBZgCKgBGAs/s200/IMG_20170623_124232.jpg" width="200" /></a></div>
The ACM knows how to throw a party, a two-day <a href="https://www.acm.org/turing-award-50/conference">celebration</a> of the 50th anniversary of the Turing Award. Every recipient got a deck of <a href="https://twitter.com/fortnow/status/878280071366062080">Turing Award playing cards</a> and the ACM unveiled a new bust of Turing perfect for selfies.<br />
<br />
The conference featured a number of panels on different challenges of computer science from privacy to quantum. Deep Learning formed a common thread, not only did it have its own panel but the Moore's law panel talked about specialized hardware for learning and deep learning causes concern for the privacy and ethics panels. Even quantum computing used deep learning as an example of a technology that succeeded once the computing power was there.<br />
<br />
The deep learning panel focused on what it can't do, particularly semantics, abstraction and learning from a small or medium amount of data. Deep networks are a tool in the toolbox but we need more. My favorite line came from Stuart Russell worried about "Grad Student Descent", research focused on parameter tuning to optimize learning in different regimes, as opposed to developing truly new approaches. For the theory folks, some questions like how powerful are deep neural nets (circuit complexity) and whether we can just find the best program for some data (P v NP).<br />
<br />
The "Moore's Law is Really Dead" panel joked about the <a href="https://www.youtube.com/watch?v=npjOSLCR2hE">Monty Python parrot</a> (it's resting). For the future, post-CPU software will need to know about hardware, we'll have more specialized and programmable architectures and we'll have to rely on better algorithms for improvement (theory again). Butler Lampson said "The whole reason the web works is because it doesn't have to." I don't remember how that fit into the discussion but I do like the quote.<br />
<br />
The quantum panel acknowledged that we don't quite have the algorithms yet but we will soon have enough qbits to experiment and find ways that quantum can help.<br />
<br />
You can <a href="https://www.facebook.com/pg/AssociationForComputingMachinery/videos/">watch the panels</a> yourself, but the real fun comes from spending time with the leaders of the field, and not just theory but across computer science.http://blog.computationalcomplexity.org/2017/06/50-years-of-turing-award.htmlnoreply@blogger.com (Lance Fortnow)3