<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-19908808</id><updated>2012-01-24T11:37:39.854-05:00</updated><category term='geometry'/><category term='puzzles'/><category term='the infinite'/><category term='miscellaneous'/><category term='computability'/><category term='probability'/><category term='complexity'/><category term='crypto'/><category term='general math'/><category term='grad life'/><title type='text'>Andy's Math/CS page</title><subtitle type='html'>Sporadic notes on mathematical and non-mathematical topics, from a student of computational complexity.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>96</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-19908808.post-9087854085167604372</id><published>2011-09-28T12:35:00.000-04:00</published><updated>2011-09-28T12:33:40.947-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='complexity'/><category scheme='http://www.blogger.com/atom/ns#' term='geometry'/><title type='text'>A geometric-graphs offering</title><content type='html'>&lt;div&gt;&lt;div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Introduction&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;After a night of board games, I found myself thinking about the peculiarities of movement on discrete versions of the plane. This suggested a number of questions. As they would likely suffer neglect at my hands, I'm posting them here for others to enjoy---any ideas or references are very welcome.&lt;div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The basic structure that got me thinking was the &lt;i&gt;8-neighborhood (&lt;/i&gt;or &lt;i&gt;Moore) graph:&lt;/i&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/-0BmEIbJ7aH0/ToM3TWmmwQI/AAAAAAAAAEg/edzCUAU8s9I/s1600/8Neighbor.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img src="http://1.bp.blogspot.com/-0BmEIbJ7aH0/ToM3TWmmwQI/AAAAAAAAAEg/edzCUAU8s9I/s320/8Neighbor.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5657426362532020482" style="display: block; margin-top: 0px; margin-right: auto; margin-bottom: 10px; margin-left: auto; text-align: center; cursor: pointer; width: 320px; height: 317px; " /&gt;&lt;/a&gt;&lt;div&gt;&lt;div&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-style: normal; "&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-weight: normal; "&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/i&gt;&lt;/div&gt;&lt;div&gt;This graph (which we'll denote by $G_{8N}$) describes how a chess king moves on an infinite chessboard. It's often convenient for game designers, but there's something... &lt;i&gt;wrong&lt;/i&gt; about it: it &lt;i&gt;distorts distances&lt;/i&gt; in the plane.&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;To make this formal, let $G$ be a (finite or countably infinite) undirected graph. Let $d_G(u, v)$ denote the shortest-path distance in $G$ between vertices $u, v$.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;We say $F: V(G) \rightarrow \mathbf{R}^2$ is an &lt;i&gt;embedding&lt;/i&gt; of $G$ if $|| F(u) - F(v)||_2 \geq d_G(u, v)$ for all distinct vertices $u, v$. (This is just a normalization convention.) Define the &lt;i&gt;distortion&lt;/i&gt; of $F$ as the maximum (supremum) of&lt;/div&gt;&lt;div&gt;\[ \frac{|| F(u) - F(v) ||_2}{d_G(u, v)} , \quad{} u \neq v . \]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The study of low-distortion embeddings (which can be pursued in a more general setting) has been a highly-active TCS research topic, largely due to its role in designing efficient &lt;i&gt;approximation algorithms &lt;/i&gt;for NP-hard problems&lt;i&gt;.&lt;/i&gt; My initial focus here will be on embeddings for &lt;i&gt;periodic&lt;/i&gt; and &lt;i&gt;highly-symmetric&lt;/i&gt; graphs like $G_{8N}$.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;As an example, look at the usual embedding of the 8-neighborhood graph into the plane. This has a distortion of $\sqrt{2}$, witnessed by points along a diagonal.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Warm-up:&lt;/b&gt; Show that $\sqrt{2}$ is the minimum distortion of &lt;i&gt;any&lt;/i&gt; embedding of the 8-neighborhood graph $G_{8N}$.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Symmetries and Distortion&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now a basic observation here is that, when we started with a graph with a high degree of inherent symmetry, we found that its optimal (distortion-minimizing) embedding was also highly-symmetric. I would like to ask whether this is &lt;i&gt;always&lt;/i&gt; the case.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;For background, an &lt;i&gt;automorphism&lt;/i&gt; of $G$ is a bijective mapping $\phi$ from $V(G)$ to itself, such that $(u, v) \in E(G) \Leftrightarrow (\phi(u), \phi(v)) \in E(G)$.&lt;/div&gt;&lt;div&gt;Let's say that a graph $G$ has &lt;i&gt;2D symmetry&lt;/i&gt; if there's an embedding $F$ of $V(G)$ into the plane, and linearly independent vectors $\mathbf{p}, \mathbf{q} \in \mathbf{R}^2$, such that a translation of the plane by $\mathbf{p}$ or by $\mathbf{q}$ induces an automorphism of $G$ (in the obvious way). In this case we also say the embedding $F$ has 2D symmetry.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;So for example, with the usual embedding of $G_{8N}$, we can take $\mathbf{p} = (1, 0), \mathbf{q} = (0, 1)$.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Question 1:&lt;/b&gt; Suppose $G$ has 2D symmetry. Does this imply that there is a distortion-minimizing embedding of $G$ with 2D symmetry?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Say that $G$ is &lt;i&gt;transitive&lt;/i&gt; if "all points look the same:" there's an automorphism of $G$ mapping any vertex $u$ to any other desired vertex $v$. Similarly, say that an embedding $F$ of $G$ is transitive, if translating the plane by any vector of form $(F(u) - F(v))$ induces an automorphism of $G$. (The usual embedding of $G_{8N}$ is transitive.)&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Question 2: &lt;/b&gt;Suppose $G$ has 2D symmetry and is transitive. Is there a distortion-minimizing, transitive embedding of $G$ with 2D symmetry?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Question 3:&lt;/b&gt; Suppose $G$ has 2D symmetry, and is presented to us (in the natural way, by a finite description of a repeating "cell"). What is the complexity of determining the minimum distortion of any embedding of $G$? What about the case where $G$ is also transitive?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It seems clear that the answers to Questions 1 and 2 are highly relevant to Question 3.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;&lt;span class="Apple-style-span"  style="font-size:large;"&gt;Graph Metrics and Movement&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I want to shift focus to another type of question suggested by $G_{8N}$.  Let's back up a bit, and think about the familiar &lt;i&gt;4-neighborhood&lt;/i&gt; graph $G_{4N}$.  It's not hard to see that the minimum-distortion embedding of $G_{4N}$ &lt;i&gt;also&lt;/i&gt; has distortion $\sqrt{2}$. (You have to blow up the grid by a $\sqrt{2}$ factor to make the diagonals long enough.) Yet $G_{4N}$ seems considerably more &lt;i&gt;natural&lt;/i&gt; as a discrete representation of movement in the plane somehow. Why?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;I think the answer is that, with the usual embedding of $G_{4N}$, the graph distances $d_G(u, v)$ correspond to actual Euclidean travel-distances, under the restricted form of paths in which we confine ourselves to the line segments between vertices. (You can see why this metric is sometimes called "taxicab geometry.") By contrast, the usual embedding of $G_{8N}$ doesn't have this interpretation.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;However, consider the following system of paths connecting points in the plane:&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;a href="http://1.bp.blogspot.com/-93zb4fnzF0A/ToM94KrjZgI/AAAAAAAAAEo/xb9fwfjV964/s1600/squiggly.png" onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 320px; height: 172px;" src="http://1.bp.blogspot.com/-93zb4fnzF0A/ToM94KrjZgI/AAAAAAAAAEo/xb9fwfjV964/s320/squiggly.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5657433592056473090" /&gt;&lt;/a&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;If we restrict ourselves to these paths, and if we make those squiggles the right length, then shortest Euclidean travel-distances actually &lt;i&gt;do&lt;/i&gt; correspond to distances in the graph $G_{8N}$!  This is so, &lt;i&gt;even if&lt;/i&gt; we're allowed to switch paths at the crossover points.&lt;/div&gt;&lt;div&gt;So $G_{8N}$ is not totally weird as a discrete model of movement in the plane; it just corresponds to an odder restriction of movement.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;  &lt;/div&gt;&lt;div&gt;More generally, say that a graph $G$, with nonnegative edge-weights ("lengths"), is an &lt;i&gt;obstructed-plane graph, &lt;/i&gt;if there is an embedding of $G$ into $\mathbf{R}^2$ along with a set of "obstructions" (just a point-set in $\mathbf{R}^2$), such that shortest paths in $G$ correspond to shortest obstruction-avoiding paths in $\mathbf{R}^2$. &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Question 4: &lt;/b&gt;What is the complexity of deciding whether a given graph (finite, say) is an obstructed-plane graph?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It simplifies things a bit to realize that, in trying to find an obstructed-plane realization of a graph $G$, the obstructions may as well be all of the plane &lt;i&gt;except&lt;/i&gt; the intended shortest paths between all pairs of points.  Using this observation, we can at least show that our problem is in NP.  Is it NP-complete?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Any planar graph, with arbitrary nonnegative edge-weights, is clearly an obstructed-plane graph.  But we've seen that $G_{8N}$, a non-planar graph, is also an obstructed-plane graph.  (Quick---prove that $G_{8N}$ is non-planar!)  The essence of the problem is to find systems of paths in the plane which, though they may cross, do not introduce any undesired "short-cuts" between vertices.   &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Now suppose we draw $G$ in the plane, along with a collection of "intended" shortest paths between each vertices.  (That is, we will obstruct the rest of the plane, and hope that these paths are indeed shortest in what remains.)  We expect that the intended $u$-$v$ path is of Euclidean length $d_G(u, v)$.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;A simple observation is that in order to avoid short-cuts, all 4-tuples of distinct vertices $u, u', v, v'$ must obey the following property: &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;$\bullet$ If the "intended path" from $u$ to $v$ intersects the intended path from $u'$ to $v'$, then&lt;/div&gt;&lt;div&gt;\[  d_G(u, v)  + d_G(u', v')  \geq   d_G(u, u') + d_G(v, v')       \]&lt;/div&gt;&lt;div&gt;and&lt;/div&gt;&lt;div&gt;\[    d_G(u, v)  + d_G(u', v')  \geq   d_G(u, v') + d_G(u', v) .         \]&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;b&gt;Question 5:&lt;/b&gt; Is the necessary condition above also sufficient?&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;In a narrow sense, the answer to Question 5 is No: it's possible to draw a graph in this way and still introduce undesired short-cuts.  My real question is whether, from a graph drawing with the property above, we can lengthen and contract the lengths of segments, &lt;i&gt;without&lt;/i&gt; changing the topological structure of the drawing, in order to get the desired obstructed-plane realization.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;It may be foolish to hope for such a simple condition to be sufficient.  Also, an affirmative answer to Question 5 wouldn't seem to imply any new complexity upper bound for our problem (except perhaps to speed up the NP verification a bit).  I ask only because I find the question interesting, and wasn't able to cook up any counterexamples in my brief attempt.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-9087854085167604372?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/9087854085167604372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=9087854085167604372' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/9087854085167604372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/9087854085167604372'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2011/09/geometric-graphs-offering.html' title='A geometric-graphs offering'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://1.bp.blogspot.com/-0BmEIbJ7aH0/ToM3TWmmwQI/AAAAAAAAAEg/edzCUAU8s9I/s72-c/8Neighbor.png' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-6812022639293292087</id><published>2011-06-15T10:21:00.001-04:00</published><updated>2011-06-15T12:28:52.971-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='complexity'/><title type='text'>Joint computational complexity, and the "buy-one-get-one-free conjecture"</title><content type='html'>&lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia; min-height: 27.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Below is a simple-to-state open question, stemming from &lt;/span&gt;&lt;a href="http://arxiv.org/abs/0808.2662"&gt;&lt;span style="color:#002bee;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;this&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; paper of mine from CCC'09. First, I'll state the question; then I'll give some background, explaining how it's an instance of a more general and significant problem.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;The question&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Let's consider the standard two-party model of communication complexity. Given inputs &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;x&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; and &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;y &lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;to Alice and Bob respectively, suppose there are 3 functions the two parties are interested in evaluating on these inputs---let's call them &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;F(x, y), G(x, y), H(x, y).&lt;/span&gt;&lt;/i&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Question: &lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;is there a collection of total functions &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;F&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;G&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;H&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, and a positive value &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;T&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, such that:&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;(i) &lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;any one of &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;F&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;,&lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; G&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;,&lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; H&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; requires at least &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;T&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; bits of communication to compute;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;(ii)&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; any &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;two&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; of &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;F&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;,&lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; G&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;,&lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; H&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; can be computed in &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;(1.01 T)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; bits of communication, on a &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;common input&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;(x, y)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;(iii)&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; but, computing all three of &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;F&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;G&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;H&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; on a common input requires at least &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;(1.99 T)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; bits of communication.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;I believe such a collection exists. We can call this the &lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;'buy-one-get-one-free conjecture'&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;: Think of &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;T&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; as the individual 'price' of the 'items' &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;F&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;G&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;H&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;; we want to arrange a special 'deal' where the second item is essentially free, but one has to pay full-price for the third item.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Now if you think about it, what we're looking for is pretty strange.  The function &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;F&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; should be efficiently computable in at least two 'essentially different' ways---one of which also gives us the value of &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;G&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, and one of which gives &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;H&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;---yet there should be no efficient scheme to compute &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;F&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; that gives us &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;G&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; and &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;H&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; simultaneously. (This property seems easier to contrive when the inputs &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;x, y&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; are assumed to have a special, correlated form; I rule this out by insisting that &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;F, G, H&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; be &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;total&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; functions.)&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;The question makes equal sense when posed for other models of computation. In my &lt;/span&gt;&lt;a href="http://arxiv.org/abs/0808.2662"&gt;&lt;span style="color:#002bee;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;paper&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, I proved the corresponding conjecture in the decision tree model of computation, as a special case of a more general result--see below. Communication complexity could be a reasonable model to attack next.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Please note: &lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;While this conjecture may require lower-bounds expertise to resolve, I believe that anyone with a creative spark could make an important contribution, by coming up with a good set of &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;candidate functions&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;F, G, H&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;. Please feel encouraged to share any ideas you might have.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Background on the question&lt;/span&gt;&lt;/b&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Let &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;cc(F)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; denote the (deterministic) communication complexity of computing &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;F(x, y)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;. Next, let &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;cc(F, G)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; denote the communication complexity of computing &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;F(x, y) &lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;and &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;G(x, y)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;---on the &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;same&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; input-pair &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;(x, y)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;. We define &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;cc(F, H)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;,&lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; cc(G, H)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, and &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;cc(F, G, H)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; similarly.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Together, we think of these various quantities as summarizing the 'joint complexity' of the collection &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;F&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;G&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;H&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;. Of course, this notion can be extended to collections of &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;k &amp;gt; 3&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; functions; the joint complexity is summarized by giving the communication complexity of all &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;2^k&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; subsets of the collection. Let's let &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;JC&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; denote the function that takes as input a &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;k&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;-bit vector, and returns the complexity of computing the corresponding subcollection. So, in our 3-function example, we have&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;JC(1, 1, 0) = cc(F, G)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; and &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;JC(0, 0, 1) = cc(H)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;The question we want to ask is: what kinds of behavior are &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;possible&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; with the joint complexity, if we allow the functions &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;F&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;G&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;H&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, etc. to be chosen arbitrarily? In other words, what different types of 'efficiencies' can arise in a collection of computational tasks (in the communication model)?&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;A little thought reveals some obvious constraints:&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;1.&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; the joint complexity function &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;JC&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; must always be nonnegative and integral-valued, with &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;JC(&lt;/span&gt;&lt;/i&gt;&lt;b&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;0&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;) = 0&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;2. monotonicity: &lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Enlarging the subset of the functions to be computed cannot decrease the complexity. For example, we always have &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;cc(F, G) &amp;gt;= cc(F)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, which translates to J&lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;C(1, 1, 0) &amp;gt;= JC(1, 0, 0)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;3. subadditivity:&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; Taking the union of two subsets of functions to be computed cannot increase the complexity beyond the sum of the individual complexities of the subsets. For example, &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;cc(F, G, H) &amp;lt;= cc(F, G) + cc(H)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, since we can always compute &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;(F, G)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; in an optimal fashion first, then compute &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;H&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; optimally afterwards.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;(Technically, this assumes that in our model both players always know when a communication protocol halts, so that they can combine two protocols sequentially without any additional overhead. No big deal, though.)&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Now, a little further thought reveals that… well, there really &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;aren't&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; any other obvious, general constraints on the joint complexity! Let's call &lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;C&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; an &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Economic Cost Function (ECF)&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; if it obeys constraints 1-3. We are tempted to conjecture that perhaps &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;every&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; ECF is in fact equal to the joint complexity (in the communication model) of &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;some&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; particular collection of functions.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;There are two things wrong with this conjecture. First, it's false, as can be seen by a simple counterexample: namely, the "buy-one-get-one-free" example, with &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;T&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; set to 1. That's how I stumbled onto this example, and is one reason why I find it interesting.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;However, if we relax the problem, and just ask to realize some &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;scalar multiple&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; of &lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;C&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; as a joint complexity function, this counterexample loses its force.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;The second thing wrong with the conjecture (in its relaxed form) is that, even if true, it'd likely be impossible to prove. This is because determining the &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;exact&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; computational cost of even modestly-complicated tasks is just way too hard. So I propose a doubly-relaxed form of the conjecture: I conjecture that if &lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;C&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; is an ECF, then there is a joint complexity function that is a good &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;pointwise approximation&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; to some scalar multiple of &lt;/span&gt;&lt;b&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;C&lt;/span&gt;&lt;/i&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;. (Here we allow a &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;(1 +- eps) &lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;multiplicative error.)&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;In my &lt;/span&gt;&lt;a href="http://arxiv.org/abs/0808.2662"&gt;&lt;span style="color:#002bee;"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;paper&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;, I managed to prove the corresponding conjecture for the model of decision trees (aka deterministic query algorithms). Several interesting ingredients were needed for the proof.  &lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;Now, why do I believe the conjecture should also hold true for the communication model? In a nutshell, I think it should be possible to 'embed' tasks in the query model into the communication model, by a suitable distributed encoding of each bit, in such a way that the relative costs of all computational tasks are approximately preserved. If this could be shown, the result in the communication model would follow from my result for decision trees. (See the paper for more details.)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;We may not be ready for an attack on the general conjecture, however. In particular, we &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;seem&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; to require a much better understanding of so-called 'Direct Sum problems' in communication complexity. Thus, I offer the 'buy-one-get-one-free conjecture' as a simpler, more concrete problem on which we can hope to make progress sooner.&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Helvetica; min-height: 29.0px"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 24.0px Georgia"&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;In the decision tree model, my result allows us to realize an ECF of the 'buy-one-get-one-free' type as a joint complexity function; but I &lt;/span&gt;&lt;i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt;don't&lt;/span&gt;&lt;/i&gt;&lt;span class="Apple-style-span" style="font-size: large;"&gt; know of any method for this that's significantly simpler than my general construction.  Even finding such a simpler method in the decision tree model would be a very nice contribution, and might lead to new ideas for the more general problem.&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-6812022639293292087?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/6812022639293292087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=6812022639293292087' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/6812022639293292087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/6812022639293292087'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2011/06/joint-computational-complexity-and-buy_15.html' title='Joint computational complexity, and the &quot;buy-one-get-one-free conjecture&quot;'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-7908260004777934009</id><published>2011-05-09T10:53:00.000-04:00</published><updated>2011-05-09T11:43:50.602-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='complexity'/><title type='text'>An exciting new textbook, and a request</title><content type='html'>&lt;span class="Apple-style-span"   style="  border-collapse: collapse; font-family:arial, sans-serif;font-size:13px;"&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Today I'd like to put out an appeal to readers.  If you have a solid grasp of English and an interest in circuit complexity (no expertise required!), please consider helping proofread the forthcoming book "Boolean Function Complexity: Advances and Frontiers" by &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.thi.informatik.uni-frankfurt.de/~jukna/"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Stasys Jukna&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Stasys (whom I recently had the pleasure to meet at an enjoyable Dagstuhl &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.dagstuhl.de/en/program/calendar/semhp/?semnr=11121"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;seminar&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt; in Germany) is a talented researcher and a kind, gracious person; he's also worked tirelessly to produce high-quality textbooks for our community.  I'm a long-time fan of his &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.amazon.com/Extremal-Combinatorics-Applications-Computer-Science/dp/3540663134"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;"Extremal Combinatorics: With Applications in Computer Science"&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt; which contains many gems of combinatorial reasoning in complexity theory.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;His latest manuscript, to be published soon, promises to be a leading reference for circuit lower-bounds research.  Although I've only read parts, it clearly achieves both depth and breadth; I really think anyone in the field could learn something new and useful here.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;The main cause for concern is that Stasys (who hails from Lithuania) is not a native English speaker, and the text needs work in places to become grammatically correct and idiomatic.  Also, it seems a full-time copy-editor is not available for this project.  &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;So readers: by volunteering to proofread a chapter or two, you'll be doing a valuable service for present and future students of complexity theory.  Language editing is the essential thing--you can skim over the equations, so it really doesn't take that long. (Of course, mathematical feedback is also welcome.)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;The manuscript is available &lt;/span&gt;&lt;/span&gt;&lt;a href="http://www.thi.informatik.uni-frankfurt.de/~jukna/BFC-book/"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;here&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;; use the following login info:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span style="  border-collapse: collapse; "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;User:  friend&lt;br /&gt;Password: catchthecat&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;You can email Stasys your comments.  The text is long (500+ pages), so if you do or are planning to do some editing, please enter your name, the chapters you'll edit, and a timeframe in the comments below.  This will allow others to maximize our coverage of the draft.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span"  style="font-family:georgia;"&gt;Thanks in advance for your help!&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-7908260004777934009?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/7908260004777934009/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=7908260004777934009' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7908260004777934009'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7908260004777934009'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2011/05/exciting-new-textbook-and-request.html' title='An exciting new textbook, and a request'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-6454278364262544207</id><published>2010-12-10T00:38:00.000-05:00</published><updated>2010-12-10T11:45:43.240-05:00</updated><title type='text'>Harassment Policies for Theory Conferences</title><content type='html'>&lt;span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;span class="Apple-style-span"&gt;&lt;p class="MsoNormal" style="color: rgb(51, 51, 51); font-family: 'trebuchet ms', verdana, arial, sans-serif; "&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-family: Georgia, serif; color: black; "&gt;Following offline conversations and recent discussions on other blogs (hat-tip to Anna and &lt;a href="http://11011110.livejournal.com/210162.html"&gt;David&lt;/a&gt;), I want to promote the&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;color:black"&gt;&lt;a href="http://geekfeminism.org/2010/11/29/get-your-conference-anti-harassment-policy-here/"&gt;Geek Feminism Blog initiative&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="apple-converted-space"&gt;&lt;span style="font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;color:black"&gt; &lt;/span&gt;&lt;/span&gt;&lt;span class="apple-style-span"&gt;&lt;span style="font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;color:black"&gt;asking computing conferences to adopt explicit policies against sexual harassment. Bringing such policies to theory conferences that don't yet have them is an important step. (Note that this would mean putting them on conference websites and preparing conference staff. Just having some boilerplate document hidden somewhere on the IEEE or ACM websites is not enough.)&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="color: rgb(51, 51, 51); font-family: 'trebuchet ms', verdana, arial, sans-serif; "&gt;&lt;span style="font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;color:black"&gt;What is the value of such a policy? Geek Feminism provides a&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;a href="http://geekfeminism.wikia.com/index.php?title=Conference_anti-harassment_policy"&gt;policy template&lt;/a&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;whose intro spells it out well. Such a policy&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="color: rgb(51, 51, 51); font-family: 'trebuchet ms', verdana, arial, sans-serif; "&gt;&lt;i&gt;&lt;span style="font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;color:black"&gt;"sets expectations for behavior at the conference. Simply having an anti-harassment policy can prevent harassment all by itself...&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="color: rgb(51, 51, 51); font-family: 'trebuchet ms', verdana, arial, sans-serif; "&gt;&lt;i&gt;&lt;span style="font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;color:black"&gt;"...it encourages people to attend who have had bad experiences at other conferences...&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="color: rgb(51, 51, 51); font-family: 'trebuchet ms', verdana, arial, sans-serif; "&gt;&lt;i&gt;&lt;span style="font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;color:black"&gt;"...it gives conference staff instructions on how to handle harassment quickly, with the minimum amount of disruption or bad press for your conference."&lt;/span&gt;&lt;/i&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="color: rgb(51, 51, 51); font-family: 'trebuchet ms', verdana, arial, sans-serif; "&gt;&lt;span style="font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;color:black"&gt;Stating such a policy would cost nothing, and local conference staff could prepare for their roles using anti-harassment training materials, which abound on the web -- I invite others to suggest good ones.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="color: rgb(51, 51, 51); font-family: 'trebuchet ms', verdana, arial, sans-serif; "&gt;&lt;span style="font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;color:black"&gt;So why would we hesitate to adopt such policies? I will suggest three possible reasons, and explain why they're unconvincing.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="color: rgb(51, 51, 51); font-family: 'trebuchet ms', verdana, arial, sans-serif; "&gt;&lt;span style="font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;color:black"&gt;First, there is a certain tendency to deride anti-harassment training as "sensitivity training" and as stating the obvious. But whether or not most of us know how to treat others respectfully, responding to disrespectful treatment is another story. Conference staff need to know there are circumstances under which they can and should reprimand attendees or even eject them, and they need to mentally rehearse for these difficult tasks. Attendees need to know the staff are ready to help.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="color: rgb(51, 51, 51); font-family: 'trebuchet ms', verdana, arial, sans-serif; "&gt;&lt;span style="font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;color:black"&gt;Second, some might object that while harassment may be a major problem in other parts of the computing/tech world, it's less of a problem in our mature, enlightened theory community. Of course, this would be a self-serving belief without empirical support. I'm not aware of any systematic efforts to track harassment incidents at theory conferences, although Geek Feminism maintains&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;a href="http://geekfeminism.wikia.com/index.php?title=Timeline_of_incidents"&gt;wiki record&lt;/a&gt;&lt;span class="apple-converted-space"&gt; &lt;/span&gt;of incidents in computing/tech more broadly -- I hope theory conference-goers will find and use it or something similar.  &lt;/span&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Georgia, serif; "&gt;But if we can agree that sexual harassment is seriously wrong -- harmful to individuals and the community when it occurs -- surely we can take the time to state this publicly and prepare ourselves to deal with it, whatever its frequency.&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="color: rgb(51, 51, 51); font-family: 'trebuchet ms', verdana, arial, sans-serif; "&gt;&lt;span style="font-family:&amp;quot;Georgia&amp;quot;,&amp;quot;serif&amp;quot;;color:black"&gt;Third, might an anti-harassment policy inhibit our freedom of expression too much or make people afraid to interact? Let me turn this question around. Almost all universities and major employers have explicit anti-harassment policies (here's&lt;span class="apple-converted-space"&gt; &lt;/span&gt;&lt;a href="http://studentlife.mit.edu/mindandhandbook/policiesandprocedures/harassment"&gt;MIT's&lt;/a&gt;, for example). Most of us support these precautions and don't feel oppressed by the policies. Why should conferences, which are outgrowths of the academic system, be different? Do we believe there is some special spirit of lawlessness that we need to protect at conferences, and only at conferences?&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoNormal" style="color: rgb(51, 51, 51); font-family: 'trebuchet ms', verdana, arial, sans-serif; "&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 0); font-family: Georgia, serif; "&gt;Of course not. So I support the harassment-policy initiative, and encourage others to do so as well.&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-6454278364262544207?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/6454278364262544207/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=6454278364262544207' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/6454278364262544207'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/6454278364262544207'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2010/12/harassment-policies-for-theory_09.html' title='Harassment Policies for Theory Conferences'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-1974937762537878016</id><published>2010-11-04T13:38:00.000-04:00</published><updated>2010-11-07T22:10:47.605-05:00</updated><title type='text'>ECCC: what authors should know</title><content type='html'>Anyone interested in computational complexity should be aware of &lt;a href="http://www.eccc.uni-trier.de/"&gt;ECCC&lt;/a&gt;, the most important and widely-used online repository for complexity papers.  (Depending on your specific interests, various sections of &lt;a href="http://arxiv.org/"&gt;arxiv&lt;/a&gt;, along with the &lt;a href="http://eprint.iacr.org/"&gt;Cryptology eprint Archive&lt;/a&gt;, may be equally important to follow.)&lt;br /&gt;&lt;br /&gt;Unfortunately, the technical side of ECCC's submission process is arguably broken, and seems to trip up many if not most authors.  Here are the issues I'm aware of:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1: no preview function.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Unlike arxiv, ECCC offers Latex support for on-site abstracts, so you can have as many funky symbols as you want.  Good thing?  No, because the site offers no way to preview what the compiled math will look like.  This results in bizarre spacing effects and compile errors.  (The most frequent problem, I think, is authors trying to use their own custom macros in the abstract, or commands from outside the Latex fragment supported by the site.) &lt;br /&gt;&lt;br /&gt;Nor is it possible to preview what your document will look like (assuming it's accepted).  This brings us to the second point:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2: hyperrefs are broken.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;Many authors these days like to use internal hyperlinks in their document (provided by the hyperref package in Latex).  This way, in case the reader forgets what Lemma 14.5 said, there's a link to it every time it's invoked.  ECCC is happy to accept hyperref'd papers, and when they appear on the site, they'll have the same appearance you've chosen to give them.  Unfortunately, in most cases the damn things &lt;span style="font-style: italic;"&gt;won't do anything&lt;/span&gt; when you click on them.&lt;br /&gt;&lt;br /&gt;Faulkner wanted to print &lt;span style="font-style: italic;"&gt;The Sound and the Fury&lt;/span&gt; &lt;span style="text-decoration: underline;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;in multi-colored ink.  I happen to like the look of colorful hyperrefs, even broken ones, but I still feel like a fool when they're all over a paper of mine.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3: keywords are nearly useless.&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;There is so little standardization in the use of keywords, and they're handled so rigidly, that clicking on them is often a waste of time.  For example, the keywords 'algorithmic meta-theorems' and 'algorithmic meta theorems' bring up one paper each -- two lonely souls separated by a hyphen.  (The search tool and the browse-able list of keywords are somewhat more useful, but still probably less so than googling.)  Mistyped keywords are another danger.  I've also seen author names that, when clicked, bring up a proper subset of that author's work for no apparent reason.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;Why does this matter?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;I think all this constitutes a serious problem.  But one possible objection to my view is that authors can always post revisions to their papers -- fixing abstracts, documents, and keywords in one stroke.&lt;br /&gt;&lt;br /&gt;This might be an OK solution, except for the empirical fact that almost nobody does this (myself included).  I think, and others have also opined, that this is because &lt;span style="font-weight: bold;"&gt;people are afraid to revise.&lt;/span&gt;  Presumably, they fear there's a widespread perception that &lt;span style="font-weight: bold;"&gt;posting revisions = mistakes or sloppiness&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Whether or not this perception is actually widespread, we should stand visibly against it, to loosen the grip of pointless anxieties and to improve the quality of available papers.  A more reasonable attitude is that having early access to preprints is a good thing, but that such papers will almost always have imperfections.  Revising a paper within a few weeks or months of its release ought to be &lt;span style="font-weight: bold;"&gt;a sign of conscientious authors, not sloppy ones.  &lt;/span&gt;This holds doubly in the context of a messed-up submission system.&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;/span&gt;Of course, there is such a thing as too many revisions, and it is possible to post a paper too early in the editing process.  Where that line should be drawn is a tough topic that deserves its own discussion.&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;What's the solution?&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;We can and should expect more from ECCC.  Specifically, a preview function for abstracts and documents would be a key improvement.  But at the least, there should be a &lt;span style="font-weight: bold;"&gt;clear list of warnings&lt;/span&gt; to authors about common submission errors.&lt;br /&gt;&lt;br /&gt;The web administrators are aware of these issues, and have been for some time; but we as users can each do our part to communicate the importance and urgency of fixing these problems.  This is especially true of users on the site's scientific board.&lt;br /&gt;&lt;br /&gt;In the meantime, what should you do if your submission doesn't turn out the way you expected?  Last time this happened to me, I contacted a web admin, a friendly guy who was able to fix part of the problem for me, without resorting to the dreaded revision step.  This might work for you as well.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-1974937762537878016?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/1974937762537878016/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=1974937762537878016' title='16 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1974937762537878016'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1974937762537878016'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2010/11/eccc-what-authors-should-know.html' title='ECCC: what authors should know'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>16</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-7301869883766789992</id><published>2010-07-21T19:27:00.000-04:00</published><updated>2010-07-21T21:08:53.088-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><title type='text'>Injective polynomials</title><content type='html'>From a &lt;a href="http://arxiv.org/abs/0902.3961"&gt;paper&lt;/a&gt; of MIT's &lt;a href="http://www-math.mit.edu/%7Epoonen/"&gt;Bjorn Poonen&lt;/a&gt;, I learned of an amazingly simple open problem.  I'll just quote the paper (here &lt;span style="font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;Q&lt;/span&gt;&lt;/span&gt; denotes the rational numbers):&lt;br /&gt;&lt;br /&gt;"Harvey Friedman asked whether there exists a polynomial &lt;span style="font-style: italic;"&gt;f(x, y) &lt;/span&gt;in &lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;Q&lt;/span&gt;(x, y)&lt;/span&gt; such that the induced map &lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;Q&lt;/span&gt; &lt;/span&gt;x&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt; Q &lt;/span&gt;--&gt;&lt;span style="font-weight: bold;"&gt; Q&lt;/span&gt;&lt;/span&gt; is injective.  Heuristics suggest that most sufficiently complicated polynomials should do the trick.  Don Zagier has speculated that a polynomial as simple as &lt;span style="font-style: italic;"&gt;x^7 + 3y^7&lt;/span&gt; might be an example.  But it seems very difficult to prove that &lt;span style="font-style: italic;"&gt;any&lt;/span&gt; polynomial works.  Both Friedman's question and Zagier's speculation are at least a decade old... but it seems that there has been essentially no progress on the question so far."&lt;br /&gt;&lt;br /&gt;Poonen shows that a certain other, more widely-studied hypothesis implies that such a polynomial exists.  Of course, such a polynomial does not exist if we replace &lt;span style="font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;Q&lt;/span&gt;&lt;/span&gt; by &lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;R&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;, the reals. In fact any injection &lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;R&lt;/span&gt;  &lt;/span&gt;x&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt; R &lt;/span&gt;--&gt;&lt;span style="font-weight: bold;"&gt; R &lt;/span&gt;&lt;/span&gt;must be (very) discontinuous.&lt;br /&gt;&lt;br /&gt;Suppose an injective polynomial &lt;span style="font-style: italic;"&gt;f &lt;/span&gt;could be identified, answering Friedman's question; it might then be interesting to look at `recovery procedures' to produce &lt;span style="font-style: italic;"&gt;x, y&lt;/span&gt; given &lt;span style="font-style: italic;"&gt;f(x, y)&lt;/span&gt;.  We can't hope for &lt;span style="font-style: italic;"&gt;x, y&lt;/span&gt; to be determined as polynomials in&lt;span style="font-style: italic;"&gt; f(x, y)&lt;/span&gt;, but maybe an explicit, fast-converging power series or some similar recipe could be found.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Finally, all of this should be compared with the study of injective polynomials from the Euclidean plane to &lt;i&gt;itself&lt;/i&gt;; this is the subject of the famous &lt;i&gt;Jacobian Conjecture&lt;/i&gt;.  See Dick Lipton's excellent &lt;a href="http://rjlipton.wordpress.com/2010/07/17/an-amazing-paper/"&gt;post&lt;/a&gt; for more information.&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-7301869883766789992?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/7301869883766789992/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=7301869883766789992' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7301869883766789992'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7301869883766789992'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2010/07/injective-polynomials.html' title='Injective polynomials'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-4237820042997243818</id><published>2009-08-10T11:29:00.000-04:00</published><updated>2009-08-10T11:30:35.792-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><title type='text'>Wit and Wisdom from Kolmogorov</title><content type='html'>I just learned about a result of Kolmogorov from the '50s that ought to interest TCS fans. Consider circuits operating on real-variable inputs, built from the following gates:&lt;br /&gt;&lt;br /&gt;-sum gates, of unbounded fanin;&lt;br /&gt;-arbitrary continuous functions of a single variable.&lt;br /&gt;&lt;br /&gt;How expressive are such circuits?  Kolmogorov informs us that they can compute &lt;span style="font-style: italic;"&gt;any continuous function &lt;/span&gt;&lt;span style=""&gt;on &lt;span class="Apple-style-span" style="font-style: italic;"&gt;n&lt;/span&gt; variables&lt;/span&gt;.  Wow!  In fact, one can achieve this with poly(&lt;span class="Apple-style-span" style="font-style: italic;"&gt;n&lt;/span&gt;)-sized, constant-depth formulas alternating between sums and univariate continuous functions (two layers of each type, with the final output being a sum).&lt;br /&gt;&lt;br /&gt;Note that sums can also be computed in a tree of fanin-two sums, so this theorem (whose proof I've not yet seen) tells us that fanin-two continuous operations capture continuous functions in the same way that fanin-two Boolean operations capture Boolean computation (actually, even more strongly in light of the poly-size aspect).&lt;br /&gt;&lt;br /&gt;This result (strengthening earlier forms found by Kolmogorov and by his student Arnol'd) may, or may not, negatively answer one of &lt;a href="http://en.wikipedia.org/wiki/Hilbert%27s_problems"&gt;Hilbert's problems&lt;/a&gt;, the thirteenth--it's not entirely clear even to the experts what Hilbert had intended to ask. But a fun source to learn about this material is a &lt;a href="http://www.google.com/url?sa=t&amp;amp;source=web&amp;amp;ct=res&amp;amp;cd=4&amp;amp;url=http%3A%2F%2Fwww.iop.org%2FEJ%2Farticle%2F0036-0279%2F59%2F1%2FR03%2FRMS_59_1_R03.pdf&amp;amp;ei=22d3SszPF-STtgfpi9mWCQ&amp;amp;usg=AFQjCNFmrpGNLkAr8aj-Gl7j_ChqP-Ms2A"&gt;survey/memoir&lt;/a&gt; written by A. G. Vitushkin, a former student of Kolmogorov.  &lt;span style="font-weight: bold;"&gt;[a gated document, unfortunately...] &lt;/span&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;The freewheeling article starts off with Hilbert's problem, but also contains interesting anecdotes about Kolmogorov and the academic scene he presided over in Moscow. Towards the end we get some amusing partisan invective against Claude Shannon, who, scandalously, "entirely stopped his research at an early stage and still kept his position of professor at the Massachusetts Institute of Technology". Vitushkin (who passed away in 2004) apparently bore a grudge over the insufficient recognition of Soviet contributions to information theory. My favorite story relates a not-so-successful visit by Shannon to meet Kolmogorov and features a deft mathematical put-down:&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;"Kolmogorov was fluent in French and German and read English well, but his spoken English was not very good. Shannon, with some sympathy, expressed his regret that they could not understand each other well. Kolmogorov replied that there were five international languages, he could speak three of them, and, if his interlocutor were also able to speak three languages, then they would have no problems."&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-4237820042997243818?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/4237820042997243818/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=4237820042997243818' title='22 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4237820042997243818'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4237820042997243818'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2009/08/wit-and-wisdom-from-kolmogorov_10.html' title='Wit and Wisdom from Kolmogorov'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>22</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-4019522297328202846</id><published>2009-06-25T15:14:00.000-04:00</published><updated>2009-06-25T15:17:09.932-04:00</updated><title type='text'>Going to CCC09?</title><content type='html'>I posted this request on Bill and Lance's blog, but I'll ask again here: anyone want to share a room in Paris for CCC09?  I should've asked earlier, of course; still, if you're interested, post a comment or email me: adrucker at mit dot edu.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-4019522297328202846?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/4019522297328202846/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=4019522297328202846' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4019522297328202846'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4019522297328202846'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2009/06/going-to-ccc09.html' title='Going to CCC09?'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-5016404257375005779</id><published>2009-05-20T10:22:00.000-04:00</published><updated>2009-05-20T10:23:05.710-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><title type='text'>Additive combinatorics: a request for information</title><content type='html'>Given a subset &lt;span style="font-style: italic;"&gt;A&lt;/span&gt; of the integers mod &lt;span style="font-style: italic;"&gt;N&lt;/span&gt;, we can ask, how many 4-element `patterns' appear in &lt;span style="font-style: italic;"&gt;A&lt;/span&gt;?  A pattern is an equivalence class of size-4 subsets of &lt;span style="font-style: italic;"&gt;A&lt;/span&gt;, where two 4-sets &lt;span style="font-style: italic;"&gt;S&lt;/span&gt;, &lt;span style="font-style: italic;"&gt;S'&lt;/span&gt; are considered the same pattern if &lt;span style="font-style: italic;"&gt;S = S' + j&lt;/span&gt; (mod &lt;span style="font-style: italic;"&gt;N&lt;/span&gt;)  for some &lt;span style="font-style: italic;"&gt;j&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Clearly the number of patterns is at most &lt;span style="font-style: italic;"&gt;|A|&lt;/span&gt;-choose-4;  but it can be much less: if &lt;span style="font-style: italic;"&gt;A&lt;/span&gt; is a consecutive block, or more generally an arithmetic progression, the number of patterns is on the order of &lt;span style="font-style: italic;"&gt;|A|^3&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;So my question is: if the number of patterns is `much less' then &lt;span style="font-style: italic;"&gt;|A|^4&lt;/span&gt;, what nice structure do we necessarily find in &lt;span style="font-style: italic;"&gt;A&lt;/span&gt;?&lt;br /&gt;&lt;br /&gt;I believe that similar questions for 2-patterns have satisfactory answers: then the hypothesis is just that the difference-set &lt;span style="font-style: italic;"&gt;(A - A)&lt;/span&gt; is small. In this case I believe A is 'close' to a (generalized) arithmetic progression, although actually I'm having trouble finding the relevant theorem here too (most references focus on sumsets &lt;span style="font-style: italic;"&gt;(A + A)&lt;/span&gt;, for which &lt;a href="http://en.wikipedia.org/wiki/Freiman%27s_theorem"&gt;Frieman's Theorem&lt;/a&gt; applies).&lt;br /&gt;&lt;br /&gt;Thanks in advance for any pointers!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-5016404257375005779?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/5016404257375005779/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=5016404257375005779' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/5016404257375005779'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/5016404257375005779'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2009/05/additive-combinatorics-request-for_20.html' title='Additive combinatorics: a request for information'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-1606607225883034986</id><published>2009-03-24T15:45:00.000-04:00</published><updated>2010-12-13T13:42:54.179-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><title type='text'>Algebraic and Transcendental</title><content type='html'>A number is called &lt;span style="font-style: italic;"&gt;algebraic &lt;/span&gt;if it is the root of a nonzero polynomial with integral coefficients (or, equivalently, rational coefficients); otherwise it is &lt;span style="font-style: italic;"&gt;transcendental.&lt;/span&gt;  &lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Item:&lt;/span&gt; there exists a nonintegral &lt;span style="font-style: italic;"&gt;c&lt;/span&gt; &gt; 1 such that &lt;span style="font-style: italic;"&gt;c^n&lt;/span&gt; 'converges to the integers': that is, for any &lt;span style="font-style: italic;"&gt;eps&lt;/span&gt; &gt; 0 there's an &lt;span style="font-style: italic;"&gt;N &gt; 0&lt;/span&gt; such that &lt;span style="font-style: italic;"&gt;c^n&lt;/span&gt; is within &lt;span style="font-style: italic;"&gt;eps&lt;/span&gt; of some integer, for all &lt;span style="font-style: italic;"&gt;n &gt; N.  &lt;/span&gt;(I think the golden mean was an example, but I can't find  or remember the reference book at the moment.)&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;Item: &lt;/span&gt;it is apparently open whether any such number can be transcendental.&lt;br /&gt;&lt;br /&gt;***&lt;br /&gt;&lt;br /&gt;Next up, two questions of my own on algebraic numbers.  Possibly easy, possibly silly, but I don't know the answers.&lt;br /&gt;&lt;br /&gt;Define the &lt;span style="font-style: italic;"&gt;interleave&lt;/span&gt; of two numbers &lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;br /&gt;b =&lt;/span&gt; &lt;span style="font-style: italic;"&gt;0.b_1b_2b_3... &lt;/span&gt;and &lt;span style="font-style: italic;"&gt;c = 0.c_1c_2c_3...&lt;/span&gt;&lt;br /&gt;(both in [0, 1], and using the 'correct' binary expansions) as&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;b@c = 0.b_1c_1b_2c_2...&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1)&lt;/span&gt;  Suppose &lt;span style="font-style: italic;"&gt;b, c&lt;/span&gt; are algebraic.  Must &lt;span style="font-style: italic;"&gt;b@c&lt;/span&gt; be algebraic?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2)&lt;/span&gt;  The other direction.  Suppose &lt;span style="font-style: italic;"&gt;b@c&lt;/span&gt; is algebraic.  Must &lt;span style="font-style: italic;"&gt;b, c&lt;/span&gt; be algebraic?&lt;br /&gt;&lt;br /&gt;In both cases, I am inclined towards doubt.&lt;br /&gt;&lt;br /&gt;***&lt;br /&gt;&lt;br /&gt;Final thoughts (and these are observations others have made as well)... computational complexity theory seems to have certain things in common with transcendental number theory:&lt;br /&gt;-an interest in impossibility/inexpressibility results;&lt;br /&gt;&lt;br /&gt;-markedly slow progress on seemingly basic&lt;br /&gt;questions--is &lt;span style="font-style: italic;"&gt;(pi + e)&lt;/span&gt; irrational?  does &lt;span style="font-style: italic;"&gt;P = NP?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;-attempts to use statistical and otherwise 'constructive' properties as sieves to distinguish simple objects from complicated ones.&lt;br /&gt;&lt;br /&gt;So, could complexity theorists benefit from interacting and learning from transcendental number theorists?  If nothing else, looking back on their long historical march might teach us patience and an appreciation for incremental progress.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-1606607225883034986?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/1606607225883034986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=1606607225883034986' title='20 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1606607225883034986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1606607225883034986'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2009/03/algebraic-and-transcendental.html' title='Algebraic and Transcendental'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>20</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-4289865868591859707</id><published>2008-12-03T17:53:00.000-05:00</published><updated>2008-12-03T18:12:47.432-05:00</updated><title type='text'>A Rather Elegant Solution</title><content type='html'>So I'm co-writing a survey paper for a course project, and struggling with the conflicting demands of completeness and brevity.  As if charmed, while taking a break I happen upon a '99 paper called &lt;a href="http://www.maths.uq.edu.au/%7Euqowarna/pubs/Bailey50.pdf"&gt;"50 years of Bailey's Lemma"&lt;/a&gt; by S. Warnaar whose abstract really resonates:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;"Half a century ago, The Proceedings of the London Mathematical Society published W. N. Bailey’s influential paper &lt;/span&gt;&lt;span style="font-style: italic;font-size:85%;" &gt;Identities of the Rogers–Ramanujan type&lt;/span&gt;&lt;span style="font-size:85%;"&gt;... To celebrate the occasion of the lemma’s fiftieth birthday we present a history of Bailey’s lemma in 5 chapters...&lt;br /&gt;Due to size limitations of this paper the higher rank [42, 40, 43, 41, 14, 60] and trinomial [11, 59, 19] generalizations of the Bailey lemma will be treated at the lemma’s centennial in 2049."&lt;br /&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-4289865868591859707?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/4289865868591859707/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=4289865868591859707' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4289865868591859707'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4289865868591859707'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2008/12/rather-elegant-solution.html' title='A Rather Elegant Solution'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-4732517512568740372</id><published>2008-10-31T10:36:00.001-04:00</published><updated>2011-06-22T14:59:20.026-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='probability'/><title type='text'>Excitement and Probability</title><content type='html'>Elections, sporting events, and other competitions can be exciting.  But there is also a sense in which they are &lt;span style="font-style: italic;"&gt;almost always dull&lt;/span&gt;, and this can be proved rigorously.  Allow me to explain.&lt;br /&gt;&lt;br /&gt;(What follows is an idea I hatched at UCSD and described to Russell Impagliazzo, who had, it turned out, discovered it earlier with some collaborators, for very different reasons.  I wouldn't be surprised if it had been observed by others as well.  The proof given here is similar to my original one, but closer to the more elegant one Russell showed me, and I'll cite the paper when I find it.)&lt;br /&gt;&lt;br /&gt;I want to suggest that a competition is dull to watch if one side is always heavily favored to win (regardless of whether it's the side we support), or if the two sides muddle along in a dead heat until some single deciding event happens.  More generally, I'd like to suggest that excitement occurs only when there is a &lt;span style="font-style: italic;"&gt;shift&lt;/span&gt; in our subjective probabilities of the two (let's say just two) outcomes.&lt;br /&gt;&lt;br /&gt;Without defending this suggestion, I'll build a model around it.  If anyone is upset that this notion of excitement doesn't include the smell of popcorn, the seventh-inning stretch, or any substantive modelling of the competition itself, there's no need to read any further.&lt;br /&gt;&lt;br /&gt;Assume we are a rational Bayesian spectator watching a competition unfold, and that we receive a regular, discrete sequence of update information \(X_1, X_2, ... X_n\) about a competition (these update variables could be bits, real numbers, etc.).  Let $p_0, p_1, ... p_n$ be our subjective probabilities of 'victory' (fixing an outcome we prefer between the two) at each stage, where $p_t$ is a random variable conditioning on all the information $X_1, ... X_t$ we've received at time $t$.&lt;br /&gt;&lt;br /&gt;For $t &amp;gt; 0$, let's define the &lt;span style="font-style: italic;"&gt;excitement at time &lt;/span&gt;&lt;span&gt;$t$&lt;/span&gt; as $EXC_t = |p_{t} - p_{t - 1}|$.  This random variable measures the 'jolt' we presume we'll get by the revision of our subjective probabilities on the $t$th update.&lt;br /&gt;&lt;br /&gt;Define the total excitement $EXC$ as the sum of all $EXC_t$ 's.  Now, we only want to watch this competition in the first place if the &lt;i&gt;expected&lt;/i&gt; total excitement is high; so it's natural to ask, how high can it be?&lt;br /&gt;&lt;br /&gt;We needn't assume that our method for updating our subjective probability corresponds to the 'true' probabilities implied by the best possible understanding of the data.  But let's assume it conforms at least internally to Bayesian norms: in particular, we should have $E[p_{t + 1} | p_{t} = p] = p$.&lt;br /&gt;&lt;br /&gt;An immediate corollary of this assumption, which will be useful, is that &lt;div&gt;&lt;span&gt;\[E[p_t p_{t + 1}] = \sum_p  Prob[p_t = p]\cdot p E[p_{t + 1}|p_t = p]\]&lt;br /&gt;\[= \sum_p Prob[p_t = p]\cdot p^2 = E[p_t^2].\]&lt;/span&gt;&lt;br /&gt;OK, now rather than look at the expected total excitement, let's look at the expected sum of squared excitements, an often-useful trick which allows us to get rid of those annoying absolute value signs:&lt;br /&gt;&lt;span&gt;\[E[EXC_1^2 +EXC_2^2 + \ldots + EXC_{n }^2]\]&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;\[= E[(p_1 - p_0)^2 + \ldots + (p_n - p_{n - 1})^2   ]  \]&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;\[= E[p_0^2 + p_n^2 +  2\left(p_1^2 + \ldots + p_{n - 1}^2\right) \]&lt;/span&gt;&lt;/div&gt;&lt;div&gt;\[  \quad{}-  2\left(p_1 p_0  + p_2 p_1 + \ldots + p_n p_{n - 1} \right) ]  \]&lt;/div&gt;&lt;div&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;\[= E[p_0^2] + E[p_n^2]  + 2(E[p_1^2] + \ldots + E[p_{n - 1}^2)] \]&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span&gt;\[  \quad{} -  2(E[p_0^2]  + \ldots + E[p_{n - 1}^2]  )\]&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;(using linearity of expectation and our previous corollary).   Now we get a bunch of cancellation, leaving us with&lt;/div&gt;&lt;div&gt;\[= E[p_n^2] - E[p_0^2].\]&lt;br /&gt;&lt;/div&gt;&lt;div&gt;This is at most 1.  So if we measured excitement at each step by squaring the shift in subjective probabilities, we'd only expect a constant amount of excitement, no matter how long the game!&lt;br /&gt;&lt;br /&gt;Now, rather crudely, if  $Y \geq 0$ and $E[Y] \leq 1$ then $E[\sqrt{Y}] \leq 2$.  We also have the general '$\ell_1$ vs $\ell_2$' inequality&lt;br /&gt;\[|Y_1| + ... + |Y_n| \leq \sqrt{ n \cdot (Y_1^2 + ... + Y_n^2)} .\]&lt;/div&gt;&lt;div&gt;Using both of these,  we conclude that&lt;br /&gt;\[E[EXC_1 + \ldots + EXC_n]  \leq E\left[\sqrt{n \cdot \left(EXC_1^2 + \ldots + EXC_n^2\right)} \right] \leq 2 \cdot \sqrt{n} .\]&lt;br /&gt;Thus we expect at most $2 \sqrt{n}$ total excitement, for an expected 'amortized excitement' of at most $2/\sqrt{n} = o(1)$.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Watch $n$&lt;/span&gt; innings, for only $O(\sqrt{n})$ excitement?  Give me  break!  If $&lt;span&gt;n$&lt;/span&gt; is large, it's better to stay home--no matter what the game.&lt;br /&gt;&lt;br /&gt;I would love to see this theory tested against prediction markets like &lt;a href="http://www.intrade.com/"&gt;Intrade&lt;/a&gt;, which are argued to give a running snapshot of our collective subjective probability of various events.  Are the histories as 'low-excitement' as our argument predicts?  Even lower?  (Nothing we've said rules it out, although one can exhibit simple games which have expected excitement on the order of $\sqrt{n}$.)&lt;br /&gt;&lt;br /&gt;And if the histories exhibit more excitement than we'd predict (some sign of collective irrationality, perhaps), is there a systematic way to take advantage of this in the associated betting market?  Food for thought. I'd be grateful if anyone knew where to get a record of Intrade's raw day-by-day numbers.&lt;br /&gt;&lt;br /&gt;Finally, nothing said above rules out individual games playing out with high excitement, on the order of $n$, but it does say that such outcomes should be infrequent.  I believe a more careful martingale approach would show an exponentially small possibility of such large deviations (Russell said their original proof used Azuma's inequality, which would probably suffice).&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-4732517512568740372?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/4732517512568740372/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=4732517512568740372' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4732517512568740372'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4732517512568740372'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2008/10/excitement-and-probability.html' title='Excitement and Probability'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-7496602774237656148</id><published>2008-10-24T14:08:00.000-04:00</published><updated>2008-10-24T18:05:36.115-04:00</updated><title type='text'>NO on Prop 8</title><content type='html'>If you are straight, would you join a club that disallowed gay people?  Or keep your membership in a club that stopped admitting them?  Would you feel distinguished by your membership?  To the contrary, I think most people would feel embarrassed and cheapened by it.&lt;br /&gt;&lt;br /&gt;That's why &lt;span style="font-style:italic;"&gt;everyone&lt;/span&gt; who is or hopes to get married in California (or anywhere, really) should feel alarmed about &lt;a href="http://en.wikipedia.org/wiki/California_Proposition_8_(2008)"&gt;Proposition 8&lt;/a&gt;, why everyone whose tax dollars fund the Marriage Club should feel affronted by this attempt to make it an exclusionary one (by amending the state constitution).  Even though we also fund the similar and inclusive Civil-Union Club next door (at least, until the next wacky voter initiative comes along), who can ignore the fence-builders' zeal for insisting on this petty distinction for heterosexual couples, or fail to grasp its underlying message?&lt;br /&gt;&lt;br /&gt;Nothing in the existing laws force clergy of any religion to give ceremonies or `recognize' marriages they don't accept.  There remains, in fact, plenty of space in private life to speak and practice intolerance, but we can't let it be done in the name of all Californians.&lt;br /&gt;&lt;br /&gt;For thoughtful posts on the subject, see e.g. &lt;a href="http://lucatrevisan.wordpress.com/2008/10/21/save-the-california-constitution/"&gt;Luca's&lt;/a&gt;, &lt;a href="http://ben.casnocha.com/2008/10/prop-8-on-calif.html#comments"&gt;Ben Casnocha's&lt;/a&gt;, and the No on Prop 8 &lt;a href="http://www.noonprop8.com/"&gt;website&lt;/a&gt;.  They are outspent by the opposition and need help to run TV spots up thru the election, to sway what seems like a very volatile public opinion on this issue.&lt;br /&gt;For an amazing photo-essay on California's ever-expanding diversity, and a powerful argument for mutual acceptance and respect, check out the book &lt;a href="http://www.underthedragon.com/"&gt;Under the Dragon&lt;/a&gt;. (Hat-tip to Chaya!)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-7496602774237656148?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/7496602774237656148/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=7496602774237656148' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7496602774237656148'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7496602774237656148'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2008/10/no-on-prop-8.html' title='NO on Prop 8'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-7830663712508622560</id><published>2008-09-14T13:23:00.000-04:00</published><updated>2008-09-25T09:24:56.491-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='miscellaneous'/><title type='text'>David Foster Wallace</title><content type='html'>About a week ago, at great risk to my studies, I gave in to temptation and checked out &lt;a href="http://en.wikipedia.org/wiki/Infinite_Jest"&gt;'Infinite Jest'&lt;/a&gt; from the library.  Last night, ~300 pages into rereading this wonderful novel, I learned that &lt;a href="http://en.wikipedia.org/wiki/David_Foster_Wallace"&gt;David Foster Wallace&lt;/a&gt;, its author, has died in an apparent suicide.&lt;br /&gt;&lt;br /&gt;I never met DFW, and know little about his personal life--probably as he wished it--although he seems to have been widely regarded as a kind and generous person.  I also never connected too closely with his short fiction and journalistic writing, although I read most of it eagerly.  My relationship to DFW centered on `Infinite Jest' (1996), an immense book that captivated me when I discovered it in high school.&lt;br /&gt;&lt;br /&gt;Briefly, IJ consists of about 1000 pages of chronologically free-form and narratively heterogeneous episodes from the lives of several characters, generally connected either to the Enfield Tennis Academy of metro Boston or to the nearby Ennet House, a drug rehabilitation center.  It is supplemented with ~200 pages of footnotes--a generous helping of asides, extra scenes, and background info (it's set in the slight future, culminating around 2008, better known as the Year of the Depend Adult Undergarment in the era of Subsidised Time).&lt;br /&gt;&lt;br /&gt;IJ is at once: &lt;br /&gt;&lt;br /&gt;-a lush entertainment, addictive in ways I can't fully explain;&lt;br /&gt;&lt;br /&gt;-a barrage of observation, alternately expansive and minute, in which the struggle for readers and characters alike is not so much to find meaning as to hold on to it in the face of various compulsions and distractions, to exercise discernment in a world of spectacular banalities and banal truths;&lt;br /&gt;&lt;br /&gt;-a compendium of contemporary striving and suffering, in turns putting up for scrutiny: pleasure and addiction, competitive pursuit, narcissism and dismorphic thinking, irony/withdrawal as survival strategies in a surreal political climate... and more, all in memorably original fashion;&lt;br /&gt;&lt;br /&gt;-a genuinely moving book, never dominated by its theses or formal experiments, with deeply rendered characters who, despite their glaring and costly mistakes along the way, become friends you wish would hang around for another 1000 pages.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It's a huge loss to learn that David Foster Wallace won't publish a follow-up to IJ.  It's a blow to learn that the person who produced such a sustained meditation on suffering (and our resources to overcome it) has taken his own life.  It's a sadness to know that the spirit that breathed into those pages has passed.&lt;br /&gt;&lt;br /&gt;What's left is his remarkable work, and his readership, which I hope will continue to grow.  Pick up 'Infinite Jest' today!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Update:&lt;/span&gt; &lt;a href="http://www.aldaily.com/"&gt;Arts &amp; Letters Daily&lt;/a&gt; has collected a number of DFW retrospectives (see 'Essays and Opinion').  This site, by the way, is an excellent aggregator of new and noteworthy online writing.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-7830663712508622560?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/7830663712508622560/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=7830663712508622560' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7830663712508622560'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7830663712508622560'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2008/09/david-foster-wallace.html' title='David Foster Wallace'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-1732295815295460703</id><published>2008-07-10T17:50:00.000-04:00</published><updated>2008-07-10T18:18:12.314-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='complexity'/><title type='text'>Heh...</title><content type='html'>Funny &lt;a href="http://www.requestcomics.com/images/strips/26.jpg"&gt;web comic&lt;/a&gt; touching on complexity theory.  &lt;br /&gt;&lt;br /&gt;From &lt;a href="http://www.requestcomics.com/"&gt;Request Comics.&lt;/a&gt;  Handed across the room by Madhu to Brendan, who showed it to me.&lt;br /&gt;&lt;br /&gt;Earlier I'd seen another, slightly more reverent, &lt;a href="http://theory.cs.uchicago.edu/merlin/"&gt;comics treatment&lt;/a&gt; of Interactive Proofs, by Larry Gonick of 'Cartoon History of the Universe' fame.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;To briefly discuss the Request Comics scenario: suppose an alien claims to play perfect chess (in all positions) on an n-by-n board; is it possible to efficiently test this in a poly(n)-length randomized interaction?  &lt;br /&gt;&lt;br /&gt;If there's only one alien, this might be too hard, since the 'correct' generalization of Chess is EXPTIME-complete.  If we instead play a PSPACE-complete game like Hex (or Chess with a truncated game length of poly(n)), things change: Shamir's Theorem tells us how a Verifier can be convinced that any particular board set-up is a win.&lt;br /&gt;&lt;br /&gt;But this is not the same as Prover convincing Verifier that Prover plays perfectly!  However, additional ideas can help.  Feigenbaum and Fortnow &lt;a href="http://citeseer.ist.psu.edu/24505.html"&gt;showed &lt;/a&gt;that every PSPACE-complete language L has a worst-case-to-average case reduction to some sampleable distribution D on instances.  &lt;br /&gt;&lt;br /&gt;This means there exists a randomized algorithm A^B using a black-box subroutine B, such that for all problem instances x, and for all possible black-boxes B that correctly answer queries of form 'is y in L?' with high probability when y is drawn according to distribution D,&lt;br /&gt;&lt;br /&gt;A^B(x) accepts with high prob. if x is in L,  and rejects w.h.p. if x is not in L.&lt;br /&gt;&lt;br /&gt;Thus for the Prover to convince Verifier that Prover is 'effectively able' to solve L in the worst case (and L may encode how to play perfect Hex), it's enough to prove that Prover can decide L w.h.p. over D.  Since D is sampleable, Verifier may draw a sample y from D, and the two can run an interactive proof for L on it (or L-complement, if Prover claims y isn't in L).  Repeat to increase soundness.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-1732295815295460703?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/1732295815295460703/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=1732295815295460703' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1732295815295460703'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1732295815295460703'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2008/07/heh.html' title='Heh...'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-6156820751556283692</id><published>2008-05-23T12:53:00.000-04:00</published><updated>2008-05-23T13:08:17.787-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><title type='text'>A Must-See Site</title><content type='html'>It's called &lt;a href="http://www.theoremoftheday.org/"&gt;Theorem of the Day&lt;/a&gt;.  I just found it, so I can't judge how accurate the frequency claim is, but Robin Whitty has stacked up an impressive collection of short, illustrated introductions to major theorems.  I like his taste... two that were news to me and I especially liked in my first sampling: &lt;a href="http://myweb.lsbu.ac.uk/~whittyr/MathSci/TheoremOfTheDay/Analysis/Nevanlinna5/TotDNevanlinna5.pdf"&gt;Nevanlinna's Five-Value Theorem&lt;/a&gt; and &lt;a href="http://myweb.lsbu.ac.uk/~whittyr/MathSci/TheoremOfTheDay/GeometryAndTrigonometry/ATST/TotDATST.pdf"&gt;The Analyst's Traveling Salesman Problem&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Sign Robin's guestbook, spread the word, and recommend a theorem of CS theory!  (I see at least 3 already, if you count unsolvability of Diophantine equations.)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-6156820751556283692?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/6156820751556283692/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=6156820751556283692' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/6156820751556283692'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/6156820751556283692'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2008/05/must-see-site.html' title='A Must-See Site'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-1200567893229304987</id><published>2008-05-15T14:43:00.000-04:00</published><updated>2008-05-15T15:12:26.307-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><title type='text'>Random bits</title><content type='html'>This morning I was delighted to learn that Alan Baker, the Swarthmore professor whose Philosophy of Science class I took senior year, recently won the US Shogi championships--read his account &lt;a href="http://www.swarthmore.edu/x19080.xml"&gt;here&lt;/a&gt;.  Congrats, Prof. Baker!&lt;br /&gt;I never learned Shogi, although Go--another Asian board game--was a big part of my youth and probably a decisive factor in my eventual interest in math/CS.&lt;br /&gt;&lt;br /&gt;In other news, I am coauthor on a paper, &lt;a href="http://eccc.hpi-web.de/eccc-reports/2008/TR08-051/index.html"&gt;'The Power of Unentanglement'&lt;/a&gt;, recently released on ECCC (and headed for CCC '08), jointly with Scott Aaronson, Salman Beigi, Bill Fefferman, and Peter Shor.  It's about multiple-prover, single-round, quantum interactive proofs, and I encourage those whose cup of tea that is to take a look.&lt;br /&gt;&lt;br /&gt;This is my first appearance in a conference paper, but not quite my first time in print--it happened once before, by accident.  As a freshman in college, I asked my Linear Algebra professor, Steven Maurer, a question on an online class discussion board.  Here it is, in the breathless and overwrought prose of my teenage years:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"This question has been haunting me, and I know I shouldn't expect definite answers. But how do mathematicians know when a theory is more or less done? Is it when they've reached a systematic classification theorem or a computational method for the objects they were looking for?  Do  they typically begin with ambitions as to the capabilities they'd like to achieve? I suppose there's nuanced interaction here, for instance, in seeking theoretical comprehension of vector spaces we find that these spaces can be characterized by possibly finite 'basis' sets. Does this  lead us to want to construct algorithmically these new ensembles whose existence we weren't aware of to begin with? Or, pessimistically, do the results just start petering out, either because the 'interesting' ones are exhausted or because as we push out into theorem-space it becomes too wild and wooly to reward our efforts? Are there more compelling things to discover about vector spaces in general, or do we need to start scrutinizing specific vector spaces for neat quirks--or introduce additional structure into our axioms (or definitions): dot products, angles, magnitudes, etc.? &lt;br /&gt;&lt;br /&gt;Also, how strong or detailed is the typical mathematician's sense of the openness or settledness of the various theories? And is there an alternative hypothesis I'm missing? "&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Steve gave a thoughtful reply, years passed, and then a similar topic came up in coversation between himself and the mathematician and popular math writer Philip J. Davis.  The conversation sparked an essay by Davis in which he quoted Maurer and I (with permission), the essay recently became part of a philosophy-of-math book (&lt;a href="http://www.amazon.com/Mathematics-Common-Sense-Creative-Tension/dp/1568812701"&gt;'Mathematics and Common Sense: A Case of Creative Tension'&lt;/a&gt;), and I got mailed a free copy--sweet!  Once again, I recommend the book to anyone who enjoys that kind of thing.  The essay is &lt;a href="http://64.233.169.104/search?q=cache:f25l0qiOq-YJ:people.ex.ac.uk/PErnest/pome19/Davis%2520-%2520When%2520is%2520a%2520Problem%2520Solved.doc+maurer+drucker+problem+solved&amp;hl=en&amp;ct=clnk&amp;cd=1&amp;gl=us&amp;client=iceweasel-a"&gt;online&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-1200567893229304987?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/1200567893229304987/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=1200567893229304987' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1200567893229304987'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1200567893229304987'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2008/05/random-bits.html' title='Random bits'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-8028785311549327459</id><published>2008-05-10T23:26:00.000-04:00</published><updated>2008-05-13T19:39:16.001-04:00</updated><title type='text'>Free on Friday?</title><content type='html'>You should come to &lt;a href="http://www.johnnyds.com/"&gt;Johnny D's&lt;/a&gt; in Davis Square and hear &lt;a href="http://www.nostaticband.com/"&gt;No Static,&lt;/a&gt; a 9-or-10-piece Steely Dan tribute band (standard preemptive clarification: Steely Dan is the band name, not a person).  &lt;br /&gt;&lt;br /&gt;No Static plays regularly in the area--I saw them in the fall and they were excellent, channeling the Dan's recordings with amazing care and fidelity.&lt;br /&gt;&lt;br /&gt;Like most great artists, Steely Dan affords a unique perspective on the world, one best imbibed by listening to multiple albums in their weird entirety.  This is exactly No Static's approach, so if you don't know Steely Dan, or have only heard a few catchy radio numbers, here's your chance to get hooked.  Hope to see you there!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-8028785311549327459?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/8028785311549327459/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=8028785311549327459' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/8028785311549327459'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/8028785311549327459'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2008/05/free-on-friday.html' title='Free on Friday?'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-3461807339876779003</id><published>2008-05-01T14:02:00.000-04:00</published><updated>2008-05-01T16:33:59.171-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='complexity'/><title type='text'>Complexity Calisthenics (Part I)</title><content type='html'>Today I want to describe and recommend a paper I quite enjoyed: &lt;a href="http://citeseer.ist.psu.edu/mansour02computational.html"&gt;The Computational Complexity of Universal Hashing&lt;/a&gt; by Mansour, Nisan, and Tiwari (henceforth MNT).  I think that this paper, while not overly demanding technically, is likely to stretch readers' brains in several interesting directions at once.&lt;br /&gt;&lt;br /&gt;As a motivation, consider the following question, which has vexed some of us since the third grade: &lt;span style="font-style:italic;"&gt;why is multiplication so hard?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The algorithm we learn in school takes time quadratic in the bit-length of the input numbers.  This is far from optimal, and inspired work over the years has brought the running time ever-closer to the conjecturally-optimal n log n; Martin Furer published a &lt;a href="http://www.cse.psu.edu/~furer/Papers/mult.pdf"&gt;breakthrough&lt;/a&gt; in STOC 2007, and there may have been improvements since then.  But compare this with addition, which can easily be performed with linear time and logarithmic space (simultaneously).  Could we hope for anything similar?  (I don't believe that any of the fast multiplication algorithms run in sublinear space, although I could be mistaken.  &lt;a href="http://en.wikipedia.org/wiki/Computational_complexity_of_mathematical_operations"&gt;Here&lt;/a&gt; is Wiki's summary of existing algorithms for arithmetic.)&lt;br /&gt;&lt;br /&gt;As MNT observe, the question is made especially interesting when we observed that multiplication could be just as easily achieved in linear time/logspace... &lt;span style="font-style:italic;"&gt;if&lt;/span&gt; we were willing to accept a different representation for our integer inputs!  Namely, if we're given the prime factorizations of the inputs, we simply add corresponding exponents to determine the product.  There are two hitches, though: first, we'd have to accept the promise that the prime factorizations given really do involve primes (it's not at all clear that we'd have the time/space to check this, even with the recent advances in primality testing); second, and more germane to our discussion, &lt;span style="font-style:italic;"&gt;addition&lt;/span&gt; just got much harder!&lt;br /&gt;&lt;br /&gt;The situation is similar over finite fields of prime order (&lt;span style="font-style:italic;"&gt;Z_p&lt;/span&gt;): in standard representation, addition is easy and multiplication is less so, while if we represent numbers as powers of a fixed &lt;a href="http://en.wikipedia.org/wiki/Primitive_root_modulo_n"&gt;primitive root&lt;/a&gt;, the reverse becomes true.  This suggests a woeful but intriguing possibility: perhaps no matter &lt;span style="font-style:italic;"&gt;how&lt;/span&gt; we represent numbers, one of the two operations must be computationally complex, even though we have latitude to 'trade off' between &lt;span style="font-style:italic;"&gt;+&lt;/span&gt; and &lt;span style="font-style:italic;"&gt;*&lt;/span&gt;.  So we are invited to consider&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Mental Stretch #1&lt;/span&gt;: Can we prove 'representation-independent' complexity lower bounds?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Stretch #2&lt;/span&gt;: Can we prove such lower bounds in the form of tradeoffs between two component problems, as seems necessary here?&lt;br /&gt;&lt;br /&gt;In the setting of finite-field arithmetic, MNT answer 'yes' to both problems.  The lower bounds they give, however, are not expressed simply in terms of time usage or space usage, but instead as the &lt;span style="font-style:italic;"&gt;product&lt;/span&gt; of these two measures.  Thus we have&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Stretch #3&lt;/span&gt;: Prove 'time-space tradeoffs' for computational problems.&lt;br /&gt;&lt;br /&gt;To be clear, all three of these 'stretches' had been made in various forms in work prior to MNT; I'm just using their paper as a good example.&lt;br /&gt;&lt;br /&gt;The combination of these three elements certainly makes the task seem daunting.  But MNT have convinced me, and I hope to suggest to you, that with the right ideas it's not so hard.  As the paper title indicates, their point of departure is Universal Hashing (UH)--an algorithmic technique in which finite fields have already proved useful.  &lt;span style="font-style:italic;"&gt;Use upper bounds to prove lower bounds.&lt;/span&gt;  We can call this another Stretch, or call it wisdom of the ages, but it deserves to be stated.&lt;br /&gt;&lt;br /&gt;So what is UH?  Fix a domain &lt;span style="font-style:italic;"&gt;D&lt;/span&gt; and a range &lt;span style="font-style:italic;"&gt;R&lt;/span&gt;.  a (finite) family &lt;span style="font-style:italic;"&gt;H&lt;/span&gt; of functions from &lt;span style="font-style:italic;"&gt;D&lt;/span&gt; to &lt;span style="font-style:italic;"&gt;R&lt;/span&gt; is called a Universal Hash Family (UHF) if the following holds: &lt;br /&gt;&lt;br /&gt;For every pair of distinct elements &lt;span style="font-style:italic;"&gt;d, d'&lt;/span&gt; in &lt;span style="font-style:italic;"&gt;D&lt;/span&gt;, &lt;br /&gt;&lt;br /&gt;and for every pair of (not necessarily distinct) elements &lt;span style="font-style:italic;"&gt;r, r'&lt;/span&gt; in &lt;span style="font-style:italic;"&gt;R&lt;/span&gt;,&lt;br /&gt;&lt;br /&gt;if we pick a function &lt;span style="font-style:italic;"&gt;h&lt;/span&gt; at random from &lt;span style="font-style:italic;"&gt;H&lt;/span&gt;,&lt;br /&gt;&lt;br /&gt;Prob&lt;span style="font-style:italic;"&gt;[h(d) = r,  h(d') = r' ]  =  1/|R|^2&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;In other words, the randomly chosen &lt;span style="font-style:italic;"&gt;h&lt;/span&gt; behaves just like a truly random function from &lt;span style="font-style:italic;"&gt;D&lt;/span&gt; to &lt;span style="font-style:italic;"&gt;R&lt;/span&gt; when we restrict attention to any two domain elements.  (In typical applications we hope to save time and randomness, since &lt;span style="font-style:italic;"&gt;H&lt;/span&gt; may be much smaller than the space of all functions.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is what MNT do: they prove that implementing &lt;span style="font-style:italic;"&gt;any&lt;/span&gt; UHF necessitates a complexity lower bound in the form of a time-space product.  (To 'implement' a UHF &lt;span style="font-style:italic;"&gt;H&lt;/span&gt; is to compute the function &lt;span style="font-style:italic;"&gt;f_H(h, x) = h(x)&lt;/span&gt;.)  &lt;br /&gt;&lt;br /&gt;This is in fact the main message of the paper, but they obtain our desired application to &lt;span style="font-style:italic;"&gt;+&lt;/span&gt; and &lt;span style="font-style:italic;"&gt;*&lt;/span&gt; as a corollary, by citing the well known fact that, fixing a prime field &lt;span style="font-style:italic;"&gt;Z_p = D = R&lt;/span&gt;,&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;H = {h_{a, b}(&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt;) = a*&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt; + b  mod p}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;is a UHF, where &lt;span style="font-style:italic;"&gt;a, b&lt;/span&gt; range over all field elements.  (Left as an easy exercise.)&lt;br /&gt;&lt;br /&gt;Note the gain from this perspective: implementing a UHF is a 'representation-invariant' property of a function, so Stretch 1 becomes possible.  Moreover, Stretch 2 now makes more sense: it is only jointly that &lt;span style="font-style:italic;"&gt;+&lt;/span&gt; and &lt;span style="font-style:italic;"&gt;*&lt;/span&gt; define a UHF, so whatever complexity measure &lt;span style="font-style:italic;"&gt;M&lt;/span&gt; we lower-bound for UHFs implies only a tradeoff between &lt;span style="font-style:italic;"&gt;+&lt;/span&gt; and &lt;span style="font-style:italic;"&gt;*&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;It remains only to sketch the proof of time-space tradeoffs for UHFs, which in fact is a manageable argument along classic lines (the basic form of the argument is attributed to earlier work by Borodin and Cook).  The upshot for us will be that for any program computing (any representation of) &lt;span style="font-style:italic;"&gt;f(a, b, x) = a*x + b&lt;/span&gt; over an n-digit prime modulus, if &lt;span style="font-style:italic;"&gt;T&lt;/span&gt; denotes worst-case time usage and &lt;span style="font-style:italic;"&gt;S&lt;/span&gt; worst-case space, &lt;span style="font-style:italic;"&gt;T*S = Omega(n^2)&lt;/span&gt;.  Very nice! (Although what this actually implies about the larger of the &lt;span style="font-style:italic;"&gt;individual&lt;/span&gt; time-space products of &lt;span style="font-style:italic;"&gt;+&lt;/span&gt; and &lt;span style="font-style:italic;"&gt;*&lt;/span&gt; under this representation is not clear to me at the moment.)&lt;br /&gt;&lt;br /&gt;Let's adjourn for today... wouldn't want to pull a muscle.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-3461807339876779003?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/3461807339876779003/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=3461807339876779003' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/3461807339876779003'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/3461807339876779003'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2008/05/complexity-calisthenics-part-i.html' title='Complexity Calisthenics (Part I)'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-5186903159901195030</id><published>2008-04-16T19:50:00.000-04:00</published><updated>2008-04-16T20:54:50.287-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='grad life'/><title type='text'>A simple plan to improve your graduate program</title><content type='html'>It's just this: Food is key.  We need more food.  (In what follows, I'm speaking not just for MIT theory students, but for all students everywhere.)&lt;br /&gt;&lt;br /&gt;Cancel the subscription to 'Journal of Timed Networked Multithreaded Aqueous Automata', and a few others.  You've just saved about $20,000. &lt;br /&gt;&lt;br /&gt;Use the money to provide copious snacks for students and faculty.  Weekly receptions help, but really we're hungry all the time.  To elaborate on that point: &lt;br /&gt;&lt;br /&gt;-The student center is a tiresome 5-10 minutes away.  &lt;br /&gt;&lt;br /&gt;-Graduate students are low on cash.  We work strange hours that discourage grocery shopping (and may not own a car).  Some of us are newly weaned from the meal plans of our undergrad days, and we're only slowly learning to provide for ourselves.  The food around here is expensive.&lt;br /&gt;&lt;br /&gt;If department budget is truly an issue, there is another way, practiced with admirable success by UC San Diego's CSE department: recruit grad student volunteers to maintain a stocked snack-room, with foods purchased cheaply in bulk and paid for on the honor system.  Of course, a snack-room should also be a social space.&lt;br /&gt;&lt;br /&gt;Candy and tasty treats help, but it's too easy to over-rely on them and come crashing down.  At some point we all wish there were less of these around the office.  Consider in their stead:&lt;br /&gt;&lt;br /&gt;-bagels&lt;br /&gt;-raisins&lt;br /&gt;-apples and bananas&lt;br /&gt;-peanuts and peanut butter&lt;br /&gt;&lt;br /&gt;...all cheap, real-tasting, and calorific.&lt;br /&gt;&lt;br /&gt;That's it!  An easy, cost-effective intervention that will keep students and faculty working happily in their offices on their next theorem or patentable device.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-5186903159901195030?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/5186903159901195030/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=5186903159901195030' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/5186903159901195030'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/5186903159901195030'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2008/04/simple-plan-to-improve-your-graduate.html' title='A simple plan to improve your graduate program'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-8597169660067038809</id><published>2008-04-04T22:23:00.000-04:00</published><updated>2008-04-04T22:33:02.634-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><title type='text'>Some babies grow in a peculiar way</title><content type='html'>Today I bumped into an order of growth I hadn't seen before, and thought I'd share it for a modest bit of mental aerobics.&lt;br /&gt;&lt;br /&gt;Readers may well have seen functions of form &lt;br /&gt;&lt;br /&gt;f(n) = (log n)^c,&lt;br /&gt;&lt;br /&gt;known as 'polylogarithmic'.  These are important in, e.g., query complexity, where we like the number of queries to be much smaller than the input size n when possible.  Also emerging from such studies are the 'quasipolynomial' functions, of form&lt;br /&gt;&lt;br /&gt;g(n) = 2^{(log n)^c}.&lt;br /&gt;&lt;br /&gt;As a warmup--how fast do these things grow?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;OK, now the main course tonight is the following:&lt;br /&gt;&lt;br /&gt;h(n) = 2^{2^{(log log n)^c}}.&lt;br /&gt;&lt;br /&gt;What do you make of these?  And what questions need answering before we understand such a growth rate 'well enough'?  I'm unsure and would love to hear your thoughts.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-8597169660067038809?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/8597169660067038809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=8597169660067038809' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/8597169660067038809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/8597169660067038809'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2008/04/some-babies-grow-in-peculiar-way.html' title='Some babies grow in a peculiar way'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-4706468474963281369</id><published>2008-03-21T14:30:00.000-04:00</published><updated>2008-03-24T23:31:46.380-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='computability'/><title type='text'>News, and some Number Theory</title><content type='html'>Time for a personal update: I'm enjoying myself greatly here in Cambridge, and was recently admitted as a transfer student to MIT's EECS department.  The move has both personal and academic advantages for me, but let me emphasize that I think UCSD has a lot to offer prospective students, and in addition is home to many cool people whom I miss...  I would be happy to offer advice about either school.&lt;br /&gt;&lt;br /&gt;When I started writing here as an undergrad, I knew very few people in the worlds of TCS and Complexity, and the blog was a way of reaching out to a community I wanted to join.  Now, thanks in part to blogging (thru which I met Scott, my advisor), I'm immersed in that community at a school with a large, vibrant Theory group.  This is to say that, though writing here still interests me, it no longer answers an urgent personal need, and I am most likely to post new material in response to a request for specific topics or post types.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Today I was perusing a favorite book of mine, 'Gems of Theoretical Computer Science' by U. Schoning &amp; R. Pruim.  One chapter partially treats the undecidability of determining whether systems of Diophantine equations (polynomial equations where solutions are required to be integral) have a solution.  This was one of Hilbert's problems from 1900, solved in 1971 and full of deep math. &lt;br /&gt;&lt;br /&gt;The authors pose the following exercise: show that the version where variables must take nonnegative values, is reducible to the integer version.  (And vice-versa; also the rational-values version is reducible to the integral version; the converse appears to be open...)&lt;br /&gt;&lt;br /&gt;Think about it...&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;The reduction they give:  Given a set of polynomial equations  {P_i(X_1, ... X_k)}, we want to determine if they're simultaneously satisfiable with nonnegative values.  Introduce, for each j &lt;= k, the variables Y_{j, 1}, Y_{j, 2}, Y_{j, 3}, Y_{j_4}.&lt;br /&gt;&lt;br /&gt;Now add to the system, for each j &lt;= k, the constraint that &lt;br /&gt;&lt;br /&gt;X_j = Y_{j, 1}^2 + Y_{j, 2}^2 + Y_{j, 3}^2 + Y_{j_4}^2.&lt;br /&gt;&lt;br /&gt;Claim: the new system is satisfiable over the integers iff the original one is satisfiable over the nonnegative integers!  The proof, of course, is an easy consequence of Lagrange's Theorem that every nonnegative integer is the sum of 4 integer squares.&lt;br /&gt;&lt;br /&gt;So, my question is, could a reduction be found that doesn't rely on Lagrange's Theorem?  Or its weaker variants where the constant 4 is replaced with some constant c &gt; 4.  Or maybe for some constant c, the proof is really so simple that I will be satisfied that we are performing this reduction with the cheapest tools.&lt;br /&gt;&lt;br /&gt;If our plan in the reduction is to constrain the original variables in a form analogous to the above, namely&lt;br /&gt;&lt;br /&gt;X_j = Q_j(Y, Z, ...),&lt;br /&gt;&lt;br /&gt;where Y, Z, ... are new integral variables, is there any way around proving a version of Lagrange's Theorem?  Generally we show that polynomials are identically nonnegative by expressing them as a sum of one or more squares, e.g., &lt;br /&gt;&lt;br /&gt;Y^2 + Z^2 - 2YZ = (Y - Z)^2.&lt;br /&gt;&lt;br /&gt;Using this template, we'd be reliant on Lagrange.  However, in his thesis, Minkowski conjectured that there exist nonnegative real polynomials *not* so expressible, and this was proved by Hilbert.  A simple example I found online is&lt;br /&gt;&lt;br /&gt;Q(X, Y, Z) = X^4*Y^2 + Y^4*Z^2 + Z^4*Y^2  - 3X^2*Y^2*Z^2,&lt;br /&gt;&lt;br /&gt;and another counterexample is derived systematically in the classy and useful inequalities book 'The Cauchy-Schwartz Master Class' by J.M. Steele.   (Artin proved, however, that every poly that's identically nonnegative, is expressible as the sum of finitely many *rational* functions squared.)&lt;br /&gt;&lt;br /&gt;Could it be that one of these creatures is easier to use in the reduction (both to prove it's nonnegative, and ranges over all nonnegative values)?  Somehow I doubt it.  Anyways, I just wanted to point to an instance where a reduction one would expect to be straightforward seems to require fairly nontrivial understanding of the problem domain.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-4706468474963281369?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/4706468474963281369/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=4706468474963281369' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4706468474963281369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4706468474963281369'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2008/03/news-and-some-number-theory.html' title='News, and some Number Theory'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-3452396220135662238</id><published>2008-03-07T16:43:00.000-05:00</published><updated>2008-03-07T18:14:06.772-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='probability'/><category scheme='http://www.blogger.com/atom/ns#' term='geometry'/><title type='text'>Beasts of Probability and Plane Geometry</title><content type='html'>Say you're trying to predict whether some event &lt;span style="font-style:italic;"&gt;E&lt;/span&gt; occurs or not.  There is another collection of events &lt;span style="font-style:italic;"&gt;I_1, I_2, ... I_k&lt;/span&gt;, which are positive predictors of &lt;span style="font-style:italic;"&gt;E&lt;/span&gt;: for every &lt;span style="font-style:italic;"&gt;j, E&lt;/span&gt; occurs with probability at least &lt;span style="font-style:italic;"&gt;.99&lt;/span&gt; conditioning on the event that &lt;span style="font-style:italic;"&gt;I_j&lt;/span&gt; occurs.&lt;br /&gt;&lt;br /&gt;Can we lower-bound the probability that &lt;span style="font-style:italic;"&gt;E&lt;/span&gt; occurs conditioning on the event that *at least one* &lt;span style="font-style:italic;"&gt;I_j&lt;/span&gt; occurs?&lt;br /&gt;&lt;br /&gt;(Think about it before reading on.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here's a simple example of what can go wrong: let the underlying probability space be a sequence of &lt;span style="font-style:italic;"&gt;n&lt;/span&gt; unbiased coin flips.  Let &lt;span style="font-style:italic;"&gt;E&lt;/span&gt; be the event that at least &lt;span style="font-style:italic;"&gt;2/3&lt;/span&gt; of the flips come up heads.  For each subset &lt;span style="font-style:italic;"&gt;S&lt;/span&gt; of &lt;span style="font-style:italic;"&gt;{1, 2, ... n}&lt;/span&gt; of size exactly &lt;br /&gt;&lt;span style="font-style:italic;"&gt;.4n&lt;/span&gt;, let &lt;span style="font-style:italic;"&gt;I_S&lt;/span&gt; be the event that all the coin flips indexed by &lt;span style="font-style:italic;"&gt;S&lt;/span&gt; come up heads.&lt;br /&gt;&lt;br /&gt;If &lt;span style="font-style:italic;"&gt;n&lt;/span&gt; is large enough, we have that &lt;br /&gt;&lt;br /&gt;i) &lt;span style="font-style:italic;"&gt;E&lt;/span&gt; is almost surely false, yet&lt;br /&gt;&lt;br /&gt;ii) Almost surely, some &lt;span style="font-style:italic;"&gt;I_S&lt;/span&gt; is satisfied--even though&lt;br /&gt;&lt;br /&gt;iii) Conditioning on any fixed event &lt;span style="font-style:italic;"&gt;I_S, E&lt;/span&gt; becomes almost surely true (since we then expect half of the remaining flips to come up heads, yielding about a .4 + .5*.6 = .7 fraction of heads total).&lt;br /&gt;&lt;br /&gt;One can also modify this example to make conditioning on the union of the &lt;span style="font-style:italic;"&gt;I_j&lt;/span&gt;'s actually &lt;span style="font-style:italic;"&gt;decrease&lt;/span&gt; the probability that &lt;span style="font-style:italic;"&gt;E&lt;/span&gt; occurs.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;This kind of conclusion seems somewhat pathological and inconvenient, so it's natural to look for restrictions that prevent it from arising.  The simplest would be to restrict the number, &lt;span style="font-style:italic;"&gt;k&lt;/span&gt;, of predictor variables: for the above hypotheses, we have that the probability of &lt;span style="font-style:italic;"&gt;E&lt;/span&gt; conditioning on the union of the &lt;span style="font-style:italic;"&gt;I_j&lt;/span&gt;'s is at least&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;.99 / (1 + .01(k - 1))&lt;/span&gt;.  &lt;br /&gt;&lt;br /&gt;(to see this, think about the worst possible case, which resembles a 'sunflower' in probability space.)&lt;br /&gt;&lt;br /&gt;A more interesting direction is to restrict the structure of the predictor events within probability space.  For instance, suppose that the probability space is a uniformly drawn point from the unit interval, &lt;span style="font-style:italic;"&gt;E&lt;/span&gt; is some arbitrary subset of the interval, and each &lt;span style="font-style:italic;"&gt;I_j&lt;/span&gt; is the indicator variable for some fixed subinterval.  Then, regardless of the number of &lt;span style="font-style:italic;"&gt;I_j&lt;/span&gt;, we can conclude that &lt;span style="font-style:italic;"&gt;E &lt;/span&gt;occurs with high probability conditioning on the union of I_j's; not quite &lt;span style="font-style:italic;"&gt;.99&lt;/span&gt;, but close.  See my closely related &lt;a href="http://andysresearch.blogspot.com/2007/07/tricky-vote.html"&gt;earlier post&lt;/a&gt; for details.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;It is natural to try to extend this result to higher dimensions, and for predictor indicator-sets given by axis-parallel rectangles this succeeds by an induction (although the effect gets exponentially weaker with the dimension).  Similar results hold if the sets are required to be 'fat' convex bodies, in which case an argument much like the 1-dimensional one works.&lt;br /&gt;&lt;br /&gt;However, allowing rotated rectangles destroys the effect even in two dimensions.  Here's one interpretation: consider the unit square as a city, and take the set &lt;span style="font-style:italic;"&gt;S&lt;/span&gt; to be the set of Democratic households.&lt;br /&gt;&lt;br /&gt;In pathological cases, it's possible to find a covering of the square by overlapping convex 'precincts', such that&lt;br /&gt;&lt;br /&gt;i) in each precinct, 99% of the households are Democratic, yet&lt;br /&gt;&lt;br /&gt;ii) overall, 99% of houses are Republican!&lt;br /&gt;&lt;br /&gt;Such sets seem truly bizarre.  For a long time I was convinced they couldn't exist, but after failing to prove this, I finally tracked down a construction in a Harmonic Analysis textbook by &lt;a href="http://en.wikipedia.org/wiki/Elias_M._Stein"&gt;Elias Stein&lt;/a&gt; (who, besides seeming impressive in his own right, was PhD advisor to Fields Medalists &lt;a href="http://en.wikipedia.org/wiki/Charles_Fefferman"&gt;Charles Fefferman&lt;/a&gt; and &lt;a href="http://terrytao.wordpress.com/"&gt;Terence Tao&lt;/a&gt;).  These sets, whose construction resembles a kind of hydra spawning ever more and tinier heads, are related to the more well-known Besicovitch/Kakeya sets.  One can even achieve a kind of fantastical limit, in the following theorem for which Stein provides a reference:&lt;br /&gt;&lt;br /&gt;There exists a subset &lt;span style="font-style:italic;"&gt;S&lt;/span&gt; of measure zero in the unit square, such that for every point &lt;span style="font-style:italic;"&gt;x&lt;/span&gt; on the square, there exists a line &lt;span style="font-style:italic;"&gt;L&lt;/span&gt; thru &lt;span style="font-style:italic;"&gt;x&lt;/span&gt;, such that &lt;span style="font-style:italic;"&gt;S&lt;/span&gt; contains all of &lt;span style="font-style:italic;"&gt;L&lt;/span&gt; except, possibly, &lt;span style="font-style:italic;"&gt;x&lt;/span&gt; itself!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-3452396220135662238?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/3452396220135662238/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=3452396220135662238' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/3452396220135662238'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/3452396220135662238'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2008/03/beasts-of-probability-and-plane.html' title='Beasts of Probability and Plane Geometry'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-7037671464078653209</id><published>2007-12-24T23:34:00.000-05:00</published><updated>2007-12-25T11:16:46.075-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='geometry'/><title type='text'>That's a Wrap</title><content type='html'>I had some gift-giving duties to attend to today... halfway into the wrapping phase, my mind wandered in a predictable direction:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Given a set of rectangular box dimensions, what is the smallest amount of paper that will wrap the box?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;One would assume we want to cut out a rectangle of wrapping paper, since otherwise we get annoying scraps (and also the problem is mathematically trivial if we can cut a cross-type shape).&lt;br /&gt;&lt;br /&gt;I haven't had any time to toy with this problem, but I had a feeling one particular MIT dude might have... and I was right.  True to form, Erik Demaine delivers a whole &lt;a href="http://erikdemaine.org/wrapping/"&gt;page&lt;/a&gt; about various wrapping problems he's explored with colleagues.&lt;br /&gt;&lt;br /&gt;To anyone reading who teaches a programming course, I would suggest that a fun algorithms assignment could be spun out problems of the above type.  If the program outputted folding instructions too, so much the better.&lt;br /&gt;&lt;br /&gt;Happy holidays, all!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-7037671464078653209?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/7037671464078653209/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=7037671464078653209' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7037671464078653209'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7037671464078653209'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/12/thats-wrap.html' title='That&apos;s a Wrap'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-481322462006598511</id><published>2007-12-17T15:13:00.001-05:00</published><updated>2007-12-17T18:46:20.671-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><category scheme='http://www.blogger.com/atom/ns#' term='the infinite'/><title type='text'>Cardinal Rules</title><content type='html'>&lt;span style="font-weight:bold;"&gt;1.&lt;/span&gt;  Pick your favorite countable set &lt;span style="font-style:italic;"&gt;S&lt;/span&gt;.  Let &lt;span style="font-style:italic;"&gt;F&lt;/span&gt; be a 'nested' family of distinct subsets of &lt;span style="font-style:italic;"&gt;S&lt;/span&gt;; that is, if &lt;span style="font-style:italic;"&gt;A, B&lt;/span&gt; are members of &lt;span style="font-style:italic;"&gt;F&lt;/span&gt;, then either &lt;span style="font-style:italic;"&gt;A&lt;/span&gt; is contained in &lt;span style="font-style:italic;"&gt;B&lt;/span&gt; or &lt;span style="font-style:italic;"&gt;B&lt;/span&gt; is contained in &lt;span style="font-style:italic;"&gt;A&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Then clearly F can be at most countable... right?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;A puzzle from Bollobas' recent &lt;a href="http://andysresearch.blogspot.com/2007/10/another-heads-up-for-puzzlers.html"&gt;book&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;2.&lt;/span&gt;  Given a collection &lt;span style="font-style:italic;"&gt;C&lt;/span&gt; of functions from &lt;span style="font-style:italic;"&gt;N = {1, 2, 3, ...}&lt;/span&gt; to &lt;span style="font-style:italic;"&gt;N&lt;/span&gt;, say that &lt;span style="font-style:italic;"&gt;C&lt;/span&gt; is &lt;span style="font-style:italic;"&gt;unbounded&lt;/span&gt; if for any function &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; (in &lt;span style="font-style:italic;"&gt;C&lt;/span&gt; or not), there exists a function &lt;span style="font-style:italic;"&gt;g&lt;/span&gt; in &lt;span style="font-style:italic;"&gt;C&lt;/span&gt; such that &lt;span style="font-style:italic;"&gt;g(i) &gt; f(i)&lt;/span&gt; for infinitely many &lt;span style="font-style:italic;"&gt;i&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Clearly the class &lt;span style="font-style:italic;"&gt;C&lt;/span&gt; of &lt;span style="font-style:italic;"&gt;all&lt;/span&gt; functions from &lt;span style="font-style:italic;"&gt;N&lt;/span&gt; to &lt;span style="font-style:italic;"&gt;N&lt;/span&gt; is unbounded.  Also, standard diagonalization techniques tell us that no countable collection &lt;span style="font-style:italic;"&gt;C&lt;/span&gt; can be unbounded (exercise).&lt;br /&gt;&lt;br /&gt;The question then becomes: what is the smallest cardinality of any unbounded collection &lt;span style="font-style:italic;"&gt;C&lt;/span&gt;?  Assuming the &lt;a href="http://en.wikipedia.org/wiki/Continuum_hypothesis"&gt;Continuum Hypothesis&lt;/a&gt; is false, where does the threshold lie?&lt;br /&gt;&lt;br /&gt;Fortunately or unfortunately, there seems to be little we can say about this issue within the standard axioms of set theory.  Assuming CH is false, the threshold could be as low as the first uncountable cardinal, or as large as the continuum, or in between--this I learned from Jech's encyclopedic book &lt;a href="http://www.amazon.com/Set-Theory-Thomas-Jech/dp/3540440852/ref=pd_sim_b_2_img"&gt;Set Theory&lt;/a&gt;.  There are many questions of this flavor, where the key construction (in our case, constructing a 'bounding function' for a given 'small' collection &lt;span style="font-style:italic;"&gt;C&lt;/span&gt;) is easy to do in the countable setting, but essentially impossible to analyze when there are uncountably many requirements floating around.  &lt;br /&gt;&lt;br /&gt;The need to satisfy uncountable collections of requirements in a construction is so common that new axioms for set theory are put forward expressly to assert the possibility of doing so (under some restrictions that make the axioms plausible); 'Martin's Axiom' is an especially widely used axiom of this type.  Kunen's &lt;a href="http://www.amazon.com/Theory-Studies-Logic-Foundations-Mathematics/dp/0444868399/ref=pd_bbs_sr_1?ie=UTF8&amp;s=books&amp;qid=1197924132&amp;sr=1-1"&gt;book&lt;/a&gt; on set theory seems like a good reference for MA (though I'm just starting to learn about it).&lt;br /&gt;&lt;br /&gt;Of course, the Continuum Hypothesis itself makes it easier to satisfy collections of requirements of size smaller than continuum, since such requirements are then at most countable!  This leads to some bizarre constructions, the possibility of many of which stands or falls with the CH itself.  The excellent book &lt;a href="http://www.amazon.com/Problems-Theorems-Classical-Problem-Mathematics/dp/038730293X"&gt;Problems and Theorems in Classical Set Theory&lt;/a&gt; gives many of these, and Bill Gasarch recently &lt;a href="http://weblog.fortnow.com/2007/11/it-was-stupid-question-or.html#comments"&gt;exposited&lt;/a&gt; one such application in Euclidean Ramsey theory.  On the other hand, Martin's Axiom, which is independent of CH, allows set theorists to prove many interesting results while remaining more 'agnostic' about cardinality issues.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I think that set theory is a blast, and that its logical structure resonates with issues in computer science.  But I'm far from expert on the subject, so if I've said anything inaccurate please let me know.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-481322462006598511?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/481322462006598511/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=481322462006598511' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/481322462006598511'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/481322462006598511'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/12/cardinal-rules.html' title='Cardinal Rules'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-101684156063749406</id><published>2007-12-12T19:21:00.000-05:00</published><updated>2007-12-12T20:01:50.232-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><category scheme='http://www.blogger.com/atom/ns#' term='probability'/><category scheme='http://www.blogger.com/atom/ns#' term='complexity'/><title type='text'>So a Puzzle Walks into a Bar...</title><content type='html'>In the Boston area, two American values--higher education and beer--converge in a big way.  Possibly as a result of this convergence, it's a good bet that on any night of the week, there's a bar where you can watch or participate in a trivia contest.  (Or so friends tell me.)&lt;br /&gt;&lt;br /&gt;These contests have two features that make them interesting from this blog's perspective.  First, there's apparently a company that sends its quizmasters all over town, and presumably supplies them with fun questions.  So let's assume that the questions are drawn from some fixed distribution &lt;span style="font-style:italic;"&gt;D&lt;/span&gt;, unknown in advance.&lt;br /&gt;&lt;br /&gt;Second, these are &lt;span style="font-style:italic;"&gt;team&lt;/span&gt; games.  So now--let's say you've got n trivia-loving friends, and you're trying to form a team of &lt;span style="font-style:italic;"&gt;k &lt; n&lt;/span&gt; of them to maximize your chances of winning.  &lt;span style="font-style:italic;"&gt;k&lt;/span&gt; might grow with &lt;span style="font-style:italic;"&gt;n&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;To help you choose, you can take your friends out for drinks and watch the contests for a few weeks or months before deciding on your team.  You can record who out of your friends answered which questions correctly as they watched.  (For simplicity, let's say that if someone answers correctly, they &lt;span style="font-style:italic;"&gt;know&lt;/span&gt; they're right, and if they don't know the answer they keep their mouths shut.)  But you can only afford &lt;span style="font-style:italic;"&gt;poly(n)&lt;/span&gt; of these expensive outings before you decide your team and start trying to rake in gift certificates or stuffed bears or whatever.&lt;br /&gt;&lt;br /&gt;So--what are your prospects in general for determining the best team?  &lt;br /&gt;&lt;br /&gt;(i.e., we're looking for algorithms that, for any group of friends and any D, perform well with high probability.)&lt;br /&gt;&lt;br /&gt;If one has only been exposed to computational problems in which all the necessary information is presented as a single input, a problem like this can be disconcerting.  There appears to be both a computational and a statistical puzzle to solve, simultaneously.  (If the computational aspect doesn't seem challenging, keep in mind: your friends' various knowledge-bases may be similar, disjoint, or anywhere crazily in between...)&lt;br /&gt;&lt;br /&gt;My challenge to readers is to think about how this problem fits into algorithms/complexity theory.  Not necessarily to solve it--I've found it touches on published research, and I will give references in a future post--but to relate it to what you've seen before.  I'm hoping this might be a good warm-up to thinking about ideas from computational learning theory which I also have been wanting to exposit.&lt;br /&gt;&lt;br /&gt;I should note that even slight tweaks on this problem could lead to questions I haven't thought about, but which I encourage others to (e.g., what if player ability is affected by drinking?).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-101684156063749406?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/101684156063749406/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=101684156063749406' title='9 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/101684156063749406'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/101684156063749406'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/12/so-puzzle-walks-into-bar.html' title='So a Puzzle Walks into a Bar...'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>9</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-3593067325504377027</id><published>2007-12-11T15:12:00.000-05:00</published><updated>2007-12-11T15:47:20.121-05:00</updated><title type='text'>Quick Links</title><content type='html'>First, a plug: Aaron Roth, a grad student at CMU is keeping up a cool, informative TCS &lt;a href="http://aaronsadventures.blogspot.com/"&gt;blog&lt;/a&gt; that deserves to be on the map.  Check it out, especially if you want an insider's perspective on the rapidly growing area broadly referred to as 'algorithmic game theory'.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Bill Gasarch has been posting a number of nice puzzles lately.  A couple have served as direct illustrations of ideas I've tried to exposit here, so I thought I'd point to them as follow-ups.  In both cases I tried to describe the connection within the comments section.&lt;br /&gt;&lt;br /&gt;1) For readers who followed my two posts on statistical distance, Bill gave a &lt;a href="http://weblog.fortnow.com/2007/12/crypto-problem-inspired-by-politness.html#comments"&gt;CS puzzle&lt;/a&gt; (about the possibility of 'zero-knowledge distributed consensus') that is exemplary for the use of reasoning about distance between distributions.&lt;br /&gt;&lt;br /&gt;2) Bill &lt;a href="http://weblog.fortnow.com/2007/12/ill-define-question-inspired-by-that-hs.html#comments"&gt;described&lt;/a&gt; variants on Van der Waerden's Theorem, one of the classic results that presaged ideas of Ramsey Theory.  He asked about the relation between Van der Waerden's Theorem for the natural numbers and its immediate extension to the real numbers.  In particular, is the latter simpler?  In the comments, I describe how the idea of compactness in logic, exposited &lt;a href="http://andysresearch.blogspot.com/2006/11/with-this-post-i-hope-to-do-little-to.html"&gt;here&lt;/a&gt; a while back, can be used to derive VDW's theorem from its real-number version.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-3593067325504377027?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/3593067325504377027/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=3593067325504377027' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/3593067325504377027'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/3593067325504377027'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/12/quick-links.html' title='Quick Links'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-7776578379735684550</id><published>2007-12-01T15:35:00.000-05:00</published><updated>2007-12-01T16:48:23.358-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><title type='text'>New TOC Aggregator!  And, a Puzzle.</title><content type='html'>Getcher daily Theory dose &lt;a href="http://feedworld.net/toc/"&gt;here&lt;/a&gt;, courtesy of Arvind Narayanan.  It collects content from many of the best TCS blogs online... and somehow mine made it on there too.&lt;br /&gt;&lt;br /&gt;In other news... recently a friend named William Torres (ordinarily more musical than mathematical) asked me an intriguing question:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Can you rotate a rigid, hollow sphere in space, holding its center fixed (but possibly varying the axis of rotation), in such a way that every point moves the same nonzero total amount?&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Note that we're not referring to a point's net displacement; in fact, the net motion of the sphere will always correspond to a rotation about some axis (you shouldn't necessarily find this obvious... see &lt;a href="http://en.wikipedia.org/wiki/Rotation_group"&gt;wiki&lt;/a&gt;), hence two points will always have zero net displacement.  What we're interested in is equalizing the path lengths of points' trajectories--how much 'exercise' they get.  Of course, the amount should be finite.&lt;br /&gt;&lt;br /&gt;I don't know the answer to William's question, but this doesn't mean it's hard.  As a warm-up, see if you can prove the following (which I think I can show):  It is possible for each point on Earth (understood as a sphere) for each point to have the same nonzero average wind speed over a 24-hour period (where wind is understood as a continuous vector field on the sphere, with vectors tangent to the sphere's surface, and varying continuously over time).&lt;br /&gt;&lt;br /&gt;This contrasts with Brouwer's classical &lt;a href="http://en.wikipedia.org/wiki/Hairy_ball_theorem"&gt;'Hairy Ball Theorem'&lt;/a&gt;, which states that at any given time, the wind speed will be zero at two or more points on Earth.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-7776578379735684550?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/7776578379735684550/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=7776578379735684550' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7776578379735684550'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7776578379735684550'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/12/new-toc-aggregator-and-puzzle.html' title='New TOC Aggregator!  And, a Puzzle.'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-2463145648836843366</id><published>2007-11-08T14:03:00.000-05:00</published><updated>2007-11-08T18:14:40.356-05:00</updated><title type='text'>Limits of Transcendence: Our Failure to Protect Prisoners</title><content type='html'>One thing I'd long been planning to post about is just how positive a role math has played in my own life.  Since I came to enjoy it (relatively late--around senior year in high school), I have become: less restless; less materialistic; clearer and more self-reliant in my thinking; able to think longer and more fruitfully about all kinds of things, with nothing but a pen and paper.&lt;br /&gt;&lt;br /&gt;All of these beneficial effects constitute, to my mind, a 'practical application' for math that warrants mentioning in the same breath as its uses in science and technology.  In particular, I always thought these virtues seemed especially well-suited to empower and improve the constrained lives of prisoners.  I know of one example--&lt;a href="http://www-groups.dcs.st-and.ac.uk/~history/Biographies/Turan.html"&gt;Paul Turan&lt;/a&gt; seems to have invented extremal graph theory in a Hungarian labor camp during WWII--but Turan was admittedly already a professional mathematician.  Of course math isn't for everyone, but I would be very interested to know whether it's been taught specifically for enjoyment in prisons, and with what results.&lt;br /&gt;&lt;br /&gt;It's an exciting idea to me, and I hope it excites others.  However, it'd be irresponsible and dishonest to pursue it without acknowledging math's limits as a life practice.  Coping with boredom is one thing, but, speaking personally, my mathematical thinking goes to pieces when I'm in acute distress or suffering.  There's a limit to what we should reasonably expect to transcend through math, just as with art, religion, meditation, and other such 'soft' techniques... which brings me to what actually prompted this post: news from California that makes me ashamed of the state of affairs in my home state.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;According to &lt;a href="http://www.prnewswire.com/cgi-bin/stories.pl?ACCT=104&amp;STORY=/www/story/10-15-2007/0004682327&amp;EDATE="&gt;this article&lt;/a&gt; (see also this &lt;a href="http://www.nytimes.com/2007/10/19/opinion/19fri4.html?_r=1&amp;oref=slogin"&gt;Times editorial&lt;/a&gt;), Gov. Schwarzenegger recently vetoed a bill that would allow nonprofits to distribute condoms in prisons. (He claimed it would conflict with the law against sexual contact between inmates.)  It seems he did something similar two years ago.  There are some condom distributions in CA prisons, and Schwarzenegger authorized one new, small-scale pilot program, but he derailed the state legislature's decision to make such distributions a statewide reality.&lt;br /&gt;&lt;br /&gt;I hope the cruelty and stupidity of this decision speak for themselves, but I'll make a few comments to encourage further thought, because a decision this bad needs to be understood as well as denounced.  To try and make (partial) sense of his decision, let me suggest that, in policymaking and debate around HIV/AIDS and other sexually transmitted infections, there are various gradations of the position that would block direct public health initiatives.  &lt;br /&gt;&lt;br /&gt;First, there are those who simply disapprove of a particular behavior, be it pre- or extramarital sex, same-gender sex, sex in prisons, or intravenous drug use.  It doesn't necessarily lead them to disregard other social issues or form a blanket policy statement.&lt;br /&gt;&lt;br /&gt;Then there are those who, through a combination of wishful thinking and manipulation, reach the idea that the health threat posed by risky behaviors might itself be the best deterrent against these behaviors, superior from a moral &lt;span style="font-style:italic;"&gt;and&lt;/span&gt; public health perspective to interventions that would make those behaviors safer (condom distributions, needle exchanges, HPV vaccinations, etc).  They accept arguments to this effect without sufficient critical thought, and neglect contrary evidence.&lt;br /&gt;&lt;br /&gt;Then there are those who publicly espouse this best-of-both-worlds notion, but whose prolonged refusal to engage with the evidence leads one to suspect that either &lt;span style="font-style:italic;"&gt;(a)&lt;/span&gt; they no longer feel compassion for victims of infection from their designated 'deviant' population groups, or &lt;span style="font-style:italic;"&gt;(b)&lt;/span&gt; they feel that infection's (supposed) role in discrediting and deterring 'deviant' behavior outweighs its human costs (so, in a sense, they &lt;span style="font-style:italic;"&gt;ally themselves&lt;/span&gt; with the epidemic).&lt;br /&gt;&lt;br /&gt;Finally, at the far end you have those who feel only contempt for 'deviants', and openly exult in public health crises which they see as just punishment.&lt;br /&gt;&lt;br /&gt;But can we explain Schwarzenegger's behavior as occupying a point along this spectrum?  I'm not so sure.  As soon as incarceration comes into play, the debate seems to get much more complex (i.e., crazier).  Are these notions of morality and deterrence even operative in the (supposedly kinda-socially-liberal) Governor's decision?  Is he offering a feeble cover for the prison industry from the already-widespread recognition that, in many cases, they fail to protect their inmates from sexual coercion? (For a discussion of the state of available statistics on prison rape see &lt;a href="http://www.hrw.org/reports/2001/prison/report1.html"&gt;this Human Rights Watch page&lt;/a&gt;.)  Or is he merely bowing to the time-honored tradition of abusing prisoners?&lt;br /&gt;&lt;br /&gt;I would love to hear what others think, because I can't decide the issue myself.  All that's clear to me is that he's taken citizens in a position of enforced vulnerability, who are contracting HIV at &lt;a href="http://www.medicalnewstoday.com/articles/49988.php"&gt;eight times&lt;/a&gt; the rate outside prison, and cut off one of the most important means of protecting them.  (I don't believe the state was even asked to &lt;span style="font-style:italic;"&gt;pay&lt;/span&gt; for the condoms....!)&lt;br /&gt;&lt;br /&gt;Meanwhile--Governor Schwarzenegger, withdraw your veto!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-2463145648836843366?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/2463145648836843366/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=2463145648836843366' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/2463145648836843366'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/2463145648836843366'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/11/limits-of-transcendance-and-our-failure.html' title='Limits of Transcendence: Our Failure to Protect Prisoners'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-2103400202051567382</id><published>2007-11-06T18:21:00.000-05:00</published><updated>2007-11-06T19:35:37.668-05:00</updated><title type='text'>Goofball DNA-Bonanza</title><content type='html'>Since this blog's readership is, I'm guessing, essentially a (very-)proper subset of the readership of &lt;a href="http://www.scottaaronson.com/blog/"&gt;Shtetl-Optimized&lt;/a&gt;, you may be familiar with his &lt;a href="http://scottaaronson.com/blog/?p=287"&gt;recent musings and observations&lt;/a&gt; on DNA rewriting rules (to which I refer readers before looking further at my post).  I've been finding this stuff a fun alternative to my usual research (the last time I got this worked up over DNA might've been when I heard about &lt;a href="http://www.grg.org/OHSUmonkey.htm"&gt;ANDi the monkey&lt;/a&gt;), and have come up with three simple results in the past couple of days.  The latest is a bit too long for Scott's comments section, so I wrote it up in LaTex and am putting it &lt;a href="http://people.csail.mit.edu/andyd/dnacode.pdf"&gt;here&lt;/a&gt;.  &lt;br /&gt;&lt;br /&gt;I encourage all readers to generate, pose, and/or answer additional questions on related themes!  Collaborative online research is lots of fun in my experience, and something I'm considering trying to do more of with this blog.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Let me explain the third result after reviewing the other two.  But before I begin, I want to emphasize that I make no claims as to the biological realism of any of the models under consideration, though I'm happy to try to work out results in more realistic models if they still seem like interesting puzzles.  &lt;br /&gt;&lt;br /&gt;First, I showed that, in synthesizing a string &lt;span style="font-style:italic;"&gt;x&lt;/span&gt; via Scott's model of DNA rewrite rules, the substring-reversal rule can be eliminated at the cost of increasing by constant factors the number of steps and the size of intermediate strings.&lt;br /&gt;&lt;br /&gt;Then, I showed that a factor-2 increase in steps allows one to hold the intermediate string to within a factor 2 of the final string length at all times.  This result, by constrast, holds whether one is trying to synthesize &lt;span style="font-style:italic;"&gt;x&lt;/span&gt; de novo or to transform some other string &lt;span style="font-style:italic;"&gt;x'&lt;/span&gt; into &lt;span style="font-style:italic;"&gt;x&lt;/span&gt; (although I only wrote up the first case, the other is essentially the same analysis).  In the process, I was especially pleased to introduce an analytical tool called 'garbage monsters'; Scott and I hope the terminology will catch on in mainstream biology.&lt;br /&gt;&lt;br /&gt;The &lt;a href="http://people.csail.mit.edu/andyd/dnacode.pdf"&gt;newest result&lt;/a&gt; is the following: suppose you want to implement an error-correcting code &lt;span style="font-style:italic;"&gt;x --&gt; C(x)&lt;/span&gt; via DNA rewrite rules, where the choices of operations made can depend on &lt;span style="font-style:italic;"&gt;x&lt;/span&gt;; then unfortunately, something on the order of &lt;span style="font-style:italic;"&gt;n/(lg n)&lt;/span&gt; operations are needed in the encoding process to ensure that the code is actually robust.  A matching upper bound can be easily extracted from Scott's observations in his comments section, and it's a dispiriting bound because for that price, you could synthesize &lt;span style="font-style:italic;"&gt;C(x)&lt;/span&gt; without even manipulating the string &lt;span style="font-style:italic;"&gt;x&lt;/span&gt; that you're given! (A similar, simpler result holds for the decoding process, but I haven't written this up.)&lt;br /&gt;&lt;br /&gt;For completeness, I'll reproduce my sketch proofs for the first two results below... but first let me note that monkeys &lt;a href="http://www.nytimes.com/2007/11/06/science/06tier.html?em&amp;ex=1194498000&amp;en=c15bbb924188a5d6&amp;ei=5087%0A"&gt;continue to make news&lt;/a&gt; (thanks again, Chaya!).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;***First Result, Comment 21 on &lt;a href="http://scottaaronson.com/blog/?p=287"&gt;Scott's post&lt;/a&gt;***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;"So how powerful is the reversal operation, really?&lt;br /&gt;&lt;br /&gt;Suppose we can produce string x in k applications of operations (1)-(4). I claim we can do it in 4k + 1 operations, without reversals. (Of course, this will show that the Lempel-Ziv approach is also a constant-factor approximation in our setting.)&lt;br /&gt;&lt;br /&gt;First, note that, if you can produce x in k steps with (1)-(4), you can also produce x^R, i.e. the reversal of x, in k steps with (1)-(4), by ‘flipping’ each operation.&lt;br /&gt;&lt;br /&gt;Second, note that you can produce x.x^R, their concatenation, in 2k steps by running both productions in parallel, interleaving steps on the two halves. If the i’th step in the original production of x was s, then the 2i’th step in the new production will be s.s^R.&lt;br /&gt;&lt;br /&gt;Now, in this ‘joint’ production we eliminate reversals as follows: say in the production of x, at the i’th stage we wish to move from&lt;br /&gt;&lt;br /&gt;s = a.b.c to s’ = a.b^R.c …&lt;br /&gt;&lt;br /&gt;well, in the joint production, at stage 2i we’ve got the string&lt;br /&gt;&lt;br /&gt;a.b.c.c^R.b^R.a^R&lt;br /&gt;&lt;br /&gt;By two copy and two deletion operations, we reach&lt;br /&gt;&lt;br /&gt;a.b^R.c.c^R.b.a^R,&lt;br /&gt;&lt;br /&gt;as needed to advance both sides’ progress.&lt;br /&gt;&lt;br /&gt;Finally, when the joint production’s finished, delete the right-hand side to yield x. That’s 4k + 1 steps."&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;***Second Result, Comments 30-31 on &lt;a href="http://scottaaronson.com/blog/?p=287"&gt;Scott's post&lt;/a&gt;***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;"I believe I can show that, if we’re producing a string x of length n, we can keep the intermediate strings to length at most 2n, while incurring at most a factor-2 blowup in the number of steps used.&lt;br /&gt;&lt;br /&gt;As Scott suggested to me in conversation, let’s keep track of which symbols in the intermediate workstring will and won’t make it into the final string x without deletion. If they won’t, call them ‘nonterminals’. (If a symbol will be replicated, and at least one of its descendants will be included in the final string, it’s not considered a nonterminal.)&lt;br /&gt;&lt;br /&gt;First note that, if in a production of x there appears at some stage a block of consecutive nonterminals, we can modify the production so that they are treated as a ‘unit’ in subsequent steps, i.e. no string operation takes an endpoint that’s properly inside the block. They get shuffled around together and eventually destroyed together. The production’s length is not affected.&lt;br /&gt;&lt;br /&gt;In a stage of such a production, for analysis purposes, we call a maximal block of nonterminals a ‘garbage monster’. Each time a new garbage monster is created (and many may be created by a single copy operation–even if there were no nonterminals in the original substring), we give it an unused, goofy monster name.&lt;br /&gt;&lt;br /&gt;When string manipulations cause two garbage monsters to become adjacent, we combine them under one of their two names (and say that that one ‘eats’ the other one).&lt;br /&gt;&lt;br /&gt;Key claim: in our modified type of production, at most one garbage monster gets eaten or destroyed at every step! Draw some pictures to see if you agree.&lt;br /&gt;&lt;br /&gt;Now, with this fact in hand, we can modify the production again and argue it gives what we want.&lt;br /&gt;Here’s the strategy: given a production of x of the type we described, modify the production so that between each step, we stop and delete all garbage monsters, one deletion per monster.&lt;br /&gt;&lt;br /&gt;This is a bit wasteful since some of these might’ve been eaten by other garbage monsters; but if our production had k steps to begin with, only at most k monsters got eaten total, and all garbage monsters must die somehow, so we only add at most k new steps.&lt;br /&gt;&lt;br /&gt;Finally, observe that the string is culled to length at most n after every new round of ‘executions’, and since the workstring’s length is at most doubled by any string operation, its length is bounded by 2n throughout."&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-2103400202051567382?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/2103400202051567382/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=2103400202051567382' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/2103400202051567382'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/2103400202051567382'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/11/goofball-dna-bonanza.html' title='Goofball DNA-Bonanza'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-5634695710635764340</id><published>2007-10-27T16:31:00.000-04:00</published><updated>2007-10-28T13:04:48.380-04:00</updated><title type='text'>The Scientific Canon (I)</title><content type='html'>What is the scientific canon?  A pantheon of immortal brilliance?  A self-serving narrative of the dominant paradigm?  A paean to dead white males?&lt;br /&gt;&lt;br /&gt;Let me suggest a simpler, working definition: you know you've made it into the scientific canon when your name is writ large on the main building at MIT, stately-like, with any U's written as V's.&lt;br /&gt;&lt;br /&gt;There's quite a procession of them, and I was struck by how many of their names were unknown to me.  If I know at least half of the names in the latest Theory conference, shouldn't I also know who's made a lasting impression on science as a whole?  Well, readers, here's part one of the list; how do you fare?  &lt;br /&gt;&lt;br /&gt;If anyone wants to chime in about interesting people on the list, please feel welcome.  The names appear in blocks, as indicated, with certain key names especially large, and there is definitely some amount of thematic/historical grouping... what can you observe?  There's a slight possibility some names are misspelled, since a few were well-hidden by tall trees.  &lt;br /&gt;&lt;br /&gt;Finally, I should note that some of these people might not, strictly speaking, be considered scientists.  But, I've set my criterion--they're up on the wall, so into the canon they go.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;BLACK  *  RUMFORD  *  JOVLE  *  CLAVSIVS&lt;br /&gt;&lt;br /&gt;CARNOT  *  TELFORD  *  STEPHENSON&lt;br /&gt;&lt;br /&gt;DE LESSEPS  *  RANKINE  *  EADS&lt;br /&gt;&lt;br /&gt;  &lt;b&gt;            COPERNICVS  &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GVERICKE  *  TORRICELLI  *  CHLADNI&lt;br /&gt;&lt;br /&gt;HVYGENS  *  YOVNG  *  ARAGO  *  FRESNEL&lt;br /&gt;&lt;br /&gt;LAGVERRE  *  KIRCHHOFF  *  ROWLAND&lt;br /&gt;&lt;br /&gt;&lt;b&gt;               DARWIN  &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;ICTINVS  *  PHIDIAS  *  VITRVVIVS  *  GIOTTO&lt;br /&gt;&lt;br /&gt;           ANTHEMIVS  *  DE COVCY  &lt;br /&gt;&lt;br /&gt;BRUNELLESCHI  *  WREN  *  BVLFINCH&lt;br /&gt;&lt;br /&gt;         &lt;b&gt;    LEONARDO DA VINCI  &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GVTENBERG  *  WATT  *  ARKWRIGHT&lt;br /&gt;&lt;br /&gt;WHITNEY  *  PERKINS  *  FVLTON  *  FAIRBAIRN&lt;br /&gt;&lt;br /&gt;FROVDE  *  OTTO DE LAVAL  *  WRIGHT&lt;br /&gt;&lt;br /&gt;              &lt;b&gt;   ARCHIMEDES  &lt;/b&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;GILBERT  *  COVLOMB  *  VOLTA  *  OERSTED&lt;br /&gt;&lt;br /&gt;AMPERE  *  OHM  *  HENRY  *  MAXWELL&lt;br /&gt;&lt;br /&gt;MORSE  *  SIEMENS  *  GRAMME  *  HERTZ&lt;br /&gt;&lt;br /&gt;                  &lt;b&gt; FARADAY &lt;/b&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-5634695710635764340?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/5634695710635764340/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=5634695710635764340' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/5634695710635764340'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/5634695710635764340'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/10/scientific-canon-i.html' title='The Scientific Canon (I)'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-8387894527080901244</id><published>2007-10-22T16:47:00.000-04:00</published><updated>2007-10-23T23:04:32.944-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><title type='text'>More Wordplay</title><content type='html'>Call a word 'orderly' if its letters are in alphabetical &lt;span style="font-style:italic;"&gt;or&lt;/span&gt; reverse-alphabetical order.  Consecutive appearances of the same letter is OK.&lt;br /&gt;&lt;br /&gt;-Find a famous mathematician whose name is orderly.&lt;br /&gt;&lt;br /&gt;-Now find a complexity theorist.&lt;br /&gt;&lt;br /&gt;-How long an orderly word can you find?&lt;br /&gt;&lt;br /&gt;-Have any other challenges for the rest of us?  A CS research problem related to orderliness?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In a different but still-wordy vein, &lt;a href="http://www.freerice.com/"&gt;Free Rice&lt;/a&gt; is a fun site, where you donate rice to the UN by testing your vocabulary.  The words get impressively obscure as you score more correct (multiple-choice) guesses, much more so than, e.g. the also-recommended &lt;a href="http://dictionary.reference.com/wordoftheday/"&gt;Word of the Day&lt;/a&gt; page, and once you're arguing with friends about what 'carronade' means it's a good bet that you're not fighting poverty in the most effective way possible, but I still recommend it.  What this quiz underscores for me is how much verbal knowledge we hold at the very edge of awareness and competence.  (Hat tip to Chaya for the link.)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-8387894527080901244?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/8387894527080901244/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=8387894527080901244' title='13 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/8387894527080901244'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/8387894527080901244'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/10/more-wordplay.html' title='More Wordplay'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>13</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-7404795217481515484</id><published>2007-10-19T19:15:00.001-04:00</published><updated>2007-10-19T19:15:29.103-04:00</updated><title type='text'>Space is a Lonely Place</title><content type='html'>Puzzle time again--this time a dressed-up version of a problem in Claude George's book &lt;a href="http://www.bestwebbuys.com/Exercises_in_Integration-ISBN_0387960600.html?isrc=b-search"&gt;'Exercises in Integration'&lt;/a&gt;--not as boring as it might sound!&lt;br /&gt;&lt;br /&gt;The year is 2100.  &lt;a href="http://www.seti.org/about-us/index.php"&gt;SETI&lt;/a&gt;, having failed to make contact with any extraterrestrials, is facing termination.  They haven't lost faith, but everyone else on Earth is pretty tired of them, so they decide to spend their remaining budget by blasting themselves off into space--a reconnaissance mission of no return.&lt;br /&gt;&lt;br /&gt;The SETI folks are interested in coming near as many potentially-inhabited star systems as possible.  They've watched 'Biodome' a few times, and they're pretty sure they can get their spaceship to support human life indefinitely.  But fuel is limited to their blast-off needs, so they have to plan on following a straight-line path at constant velocity thru space (which is 3-dimensional, or 2 if you like, Euclidean, and devoid of gravity or other impedances--stars can be passed thru, e.g.).&lt;br /&gt;&lt;br /&gt;A star-system is defined as the billion miles surrounding a star, within which SETI figures they'll have a good shot at communication with any planets in the system.  In the first version of the problem, they also assume, somewhat optimistically, that candidate stars do not move and that candidate star-systems occupy a nonzero asymptotic fraction of the universe's volume.  E.g., for any &lt;span style="font-style:italic;"&gt;N&lt;/span&gt;, if we draw a ball of radius N around the Earth, at least .001 of its volume lies in some candidate star system.&lt;br /&gt;&lt;br /&gt;Here's SETI making contact with 3 star systems:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_88neJExG8YQ/Rxk4CB_BF4I/AAAAAAAAACA/jVW9aKFkrwk/s1600-h/SETI.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_88neJExG8YQ/Rxk4CB_BF4I/AAAAAAAAACA/jVW9aKFkrwk/s400/SETI.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5123187658654291842" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Problem 1:&lt;/span&gt; Can the crew plot a straight-line course that will put them in contact with infinitely many candidate star-systems?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Problem 2:&lt;/span&gt; What if their navigation equipment forces their initial bearing to be a rational angle?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Problem 3:&lt;/span&gt; There's all sorts of potential crazy variants: do the stars move?  How fast?  Adaptively or non-adaptively?  But I've already wasted enough time on this problem, so dear readers, I leave it to you.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-7404795217481515484?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/7404795217481515484/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=7404795217481515484' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7404795217481515484'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7404795217481515484'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/10/space-is-lonely-place.html' title='Space is a Lonely Place'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_88neJExG8YQ/Rxk4CB_BF4I/AAAAAAAAACA/jVW9aKFkrwk/s72-c/SETI.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-6196863603285036799</id><published>2007-10-10T10:34:00.000-04:00</published><updated>2007-12-02T18:31:10.482-05:00</updated><title type='text'>Is This Right?  Is This Legal?</title><content type='html'>This post may not approach the heights of quandary Scott has been &lt;a href="http://scottaaronson.com/blog/?p=277"&gt;facing lately&lt;/a&gt;, but I think it's worth discussing.&lt;br /&gt;&lt;br /&gt;I typed in 'Computational Complexity' on amazon.com to get the reference info for Christos H. Papadimitriou's textbook of the same name. &lt;a href="http://www.amazon.com/Computational-Complexity-Cram101-Textbook-Outlines/dp/1428814094/ref=pd_bbs_sr_1/104-5270006-6287942?ie=UTF8&amp;s=books&amp;qid=1192026435&amp;sr=1-1"&gt;Here's&lt;/a&gt; what I got instead.&lt;br /&gt;&lt;br /&gt;It's a 'Cram101' production, an outline of Papadimitriou's textbook.  His last name appears on the cover, but not his first name or classy middle initial, suggesting he had nothing to do with it.&lt;br /&gt;&lt;br /&gt;So, is this right?  Does such an outline contribute enough to warrant its own copyright, or does it infringe on Papadimitriou's?&lt;br /&gt;&lt;br /&gt;One might argue from the precedent of 'Cliffs Notes' for novels, but there are some obvious differences.  Cliffs Notes summarize, but do not reproduce, the artistry or enjoyability of novels, whereas cram101 presumably makes a direct substitution: their skimpier expository writing, modeled directly on Papadimitriou's careful exposition.  Cliffs Notes add a modicum of clarification, criticism, thematic discussion, etc., whereas it's not clear what if anything Cram101 adds (please note that I haven't looked inside, and am prepared to reconsider the issue if the publisher or anyone else wants to show me the book).&lt;br /&gt;&lt;br /&gt;I have heard it expressed that Papadimitriou's book is hard reading, but there are other, more elementary textbooks out there&lt;br /&gt;covering much of the same content.  The things in the text that are not in most TOC books (extensive logic and some necessarily hard advanced topics like Razborov's Theorem) are probably not going to be tested heavily in class, other than familiarity with the theorem statements--and you can get that easily enough from the textbook.&lt;br /&gt;&lt;br /&gt;So I'm guessing the motivation and main selling point for this book is its much lower price compared to the original text.  I can sympathize--I spent more than a semester ducking into Cody's Books to read from 'Computational Complexity''s sumptuous, glossy pages before my parents bought it for me as a high-school graduation present.  Expensive textbooks (and journals) hurt science just as they hurt the college students who are forced to buy them, and outlines like Cram101's are a by-product.  (Let me add that a) I don't blame Christos for his book's price, b) it was for me a life-changing book, worth its price many times over and still one of my favorite books.)  &lt;br /&gt;&lt;br /&gt;Still, Cram101's costs are low partly because they are  free-riding on Christos' considerable labors.  Is a discussion of the larger academic publishing industry really necessary in this case?  Again I ask--is this right?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;As an independent point, I think amazon's presentation of the product is slightly duplicitous: though it does point out this is not&lt;br /&gt;the textbook, it lists 'Papadimitriou' as the author, and it gives reviews of the textbook in place of reviews of the outline.  Also, Christos' book comes up much lower in the search results.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Update 12/02:&lt;/span&gt; After being alerted to the Cram101 phenomenon, Christos said he'd see what he could do about it.  Now I see that some changes have been made on the amazon page: &lt;br /&gt;&lt;br /&gt;i) Papadimitriou is no longer linked to as the author;&lt;br /&gt;&lt;br /&gt;ii) The title header has been changed--now it is prefaced as 'Outlines &amp; Highlights for' C.C.;&lt;br /&gt;&lt;br /&gt;iii) It now comes up below Papadimitriou's book in searches (though this may have more to do with sales-rank than intentional policy).&lt;br /&gt;&lt;br /&gt;These are all positive steps.  On the other hand, one still might wish that&lt;br /&gt;&lt;br /&gt;i) Comments on Papadimitriou's book weren't displayed with this one, as they still are;&lt;br /&gt;&lt;br /&gt;ii) amazon would have the sense to stop selling a book that is not only of questionable legality, but that multiple readers have characterized as a scam that doesn't even deliver the plagiarized content it promises.  At the very least they could comment on their decision to sell it, offer customers a look inside this book, etc.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-6196863603285036799?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/6196863603285036799/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=6196863603285036799' title='18 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/6196863603285036799'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/6196863603285036799'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/10/is-this-right-is-this-legal.html' title='Is This Right?  Is This Legal?'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>18</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-6019735568981585480</id><published>2007-10-09T14:02:00.000-04:00</published><updated>2007-10-09T16:46:10.909-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><title type='text'>Random Freaky Facts</title><content type='html'>While it may not be at all apparent, I've been somewhat particular about the types of posts I make to this blog.  I've realized, however, that there should be no real harm in loosening up, and it'd probably increase my post frequency.  So today, let me report two theorems that caught my eye in recent weeks.  If I had to find a common theme, it'd be: finding interesting constraints in seemingly very unconstrained settings.&lt;br /&gt;&lt;br /&gt;1)  Let &lt;span style="font-style:italic;"&gt;G&lt;/span&gt; be an infinite (undirected, simple) graph.  Let the 'density' &lt;span style="font-style:italic;"&gt;d(H)&lt;/span&gt; of a finite subgraph &lt;span style="font-style:italic;"&gt;H&lt;/span&gt; of &lt;span style="font-style:italic;"&gt;G&lt;/span&gt; be the fraction of pairs of vertices &lt;span style="font-style:italic;"&gt;(u, v)&lt;/span&gt; from &lt;span style="font-style:italic;"&gt;H&lt;/span&gt; that are connected by an edge.  Let the 'upper density' &lt;span style="font-style:italic;"&gt;d*(G)&lt;/span&gt; of &lt;span style="font-style:italic;"&gt;G&lt;/span&gt; be the greatest number &lt;span style="font-style:italic;"&gt;p&lt;/span&gt; such that we can find arbitrarily large finite subgraphs &lt;span style="font-style:italic;"&gt;H&lt;/span&gt;, with &lt;span style="font-style:italic;"&gt;d(H)&lt;/span&gt; as close as desired to &lt;span style="font-style:italic;"&gt;p&lt;/span&gt;.  &lt;br /&gt;&lt;br /&gt;(i.e. for all &lt;span style="font-style:italic;"&gt;n, epsilon&lt;/span&gt; there exists an &lt;span style="font-style:italic;"&gt;H&lt;/span&gt; with &lt;span style="font-style:italic;"&gt;|H| &gt; n, d(H) &gt; p - epsilon&lt;/span&gt;.)&lt;br /&gt;&lt;br /&gt;Then, bizarrely, &lt;span style="font-style:italic;"&gt;d*(H)&lt;/span&gt; must be one of the following numbers:  &lt;span style="font-style:italic;"&gt;{0, 1,   1/2,  2/3,  3/4,  4/5,  5/6, ...}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This result follows from the 'Erdos-Stone Structure Theory', generalizing Turan's Theorem in extremal graph theory.  It is presented, in context, in Bollobas' excellent textbook 'Modern Graph Theory'.  Basically, the idea is that, if &lt;span style="font-style:italic;"&gt;H&lt;/span&gt; is large enough and of density greater than, e.g., &lt;span style="font-style:italic;"&gt;5/6 + epsilon&lt;/span&gt;, it must contain a particular subgraph &lt;span style="font-style:italic;"&gt;H'&lt;/span&gt;, of density 6/7.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2)  Let &lt;span style="font-style:italic;"&gt;X&lt;/span&gt; be a probability distribution over &lt;span style="font-style:italic;"&gt;R^d&lt;/span&gt;.  Choose &lt;span style="font-style:italic;"&gt;d+1&lt;/span&gt; points independently, each distributed as &lt;span style="font-style:italic;"&gt;X&lt;/span&gt;.  Then the probability &lt;span style="font-style:italic;"&gt;p&lt;/span&gt; that their convex hull contains the origin, cannot exceed &lt;span style="font-style:italic;"&gt;(1/2)^d&lt;/span&gt;.  &lt;br /&gt;&lt;br /&gt;Wild!&lt;br /&gt;&lt;br /&gt;Unfortunately, I forget where I saw this last one, or who it's due to, but if I find out I'll attribute it here.  I'm, uh, 90% sure I've got the numbers in the statement correct.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-6019735568981585480?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/6019735568981585480/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=6019735568981585480' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/6019735568981585480'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/6019735568981585480'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/10/random-freaky-facts.html' title='Random Freaky Facts'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-5997971209149908933</id><published>2007-10-05T14:02:00.001-04:00</published><updated>2007-10-05T15:03:49.240-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><title type='text'>Another Heads-Up for Puzzlers</title><content type='html'>Two puzzle collections (both drawing on diverse sources) caught my eye recently.  The first is &lt;a href="http://www.amazon.com/Art-Mathematics-Coffee-Time-Memphis/dp/0521693950/ref=sr_1_1/104-5270006-6287942?ie=UTF8&amp;s=books&amp;qid=1191610710&amp;sr=1-1"&gt;'The Art of Mathematics: Coffee Time in Memphis'&lt;/a&gt;, by the famous mathematician Bela Bollobas.  It's got a number of gems, for instance: is it possible to 'load' two dice, i.e. skew their faces' probabilities, possibly in distinct ways, such that when both are rolled the resulting distribution is uniform on {2, 3, ... 11, 12}? &lt;br /&gt;The book is definitely worth looking at, but, perhaps as a function of its ambition to teach some important (and cool) math along the way, it is rather difficult on the whole, and ridiculously so in some cases (one of his 'puzzles' is to disprove the Borsuk conjecture, a problem that had been open for something like 60 years. Granted, there is a hints section, but come on...).  The Amazon page lets you browse a number of the more approachable puzzles, so check it out.&lt;br /&gt;&lt;br /&gt;The second is &lt;a href="http://www.amazon.com/Mathematical-Mind-Benders-Peter-Winkler/dp/1568813368"&gt;'Mathematical Mind-Benders'&lt;/a&gt;, Peter Winkler's much-anticipated sequel to the instant classic &lt;a href="http://www.amazon.com/Mathematical-Puzzles-Connoisseurs-Peter-Winkler/dp/1568812019/ref=pd_bxgy_b_img_b/104-5270006-6287942"&gt;'Mathematical Puzzles: A Connoisseur's Collection'&lt;/a&gt;.  I haven't spent enough time on the new one to see how it stacks up to its predecessor, but it definitely contains some beguiling problems.  Many are 'old friends' of the puzzle genre (bugs, prisoners, hats, etc.), but remade and fiendishly harder--think of the fight with Super Shredder at the end of 'Turtles II'... &lt;br /&gt;&lt;br /&gt;However, while Winkler's books are also quite hard, they generally involve much less 'higher math' than Bollobas', which is really written for readers interested in mathematics proper.  Another emphasis of Winkler's new book is on surprise answers, as in the following two puzzles from the first, warm-up chapter:&lt;br /&gt;&lt;br /&gt;-A pencil has a regular pentagon as its cross-section, and its maker's logo on one face.  If the pencil is rolled on a table, what is the probability that it comes to rest with the logo facing up?&lt;br /&gt;&lt;br /&gt;-You have 15 bags.  How many marbles do you need to produce an arrangement where each bag contains a different number of marbles?&lt;br /&gt;&lt;br /&gt;Winkler also unveils a neat word puzzle called 'the HIPE game', something he co-invented as a teenager.  One player comes up with a string of letters and challenges the other players to find a word containing it (as a block of adjacent letters): for instance, can you place HIPE in a word?  Of course, the problem poser should actually have a word in mind...  &lt;br /&gt;&lt;br /&gt;Some other challenges he gives: BG, CM, FC, FW... and the book has many more (and harder).  I'm normally pretty decent at word games, but this one is killing me so far.&lt;br /&gt;&lt;br /&gt;Thanks, Bollobas and Winkler!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-5997971209149908933?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/5997971209149908933/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=5997971209149908933' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/5997971209149908933'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/5997971209149908933'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/10/another-heads-up-for-puzzlers.html' title='Another Heads-Up for Puzzlers'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-7383763841184359429</id><published>2007-09-26T14:49:00.000-04:00</published><updated>2007-09-26T15:30:12.153-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><category scheme='http://www.blogger.com/atom/ns#' term='geometry'/><title type='text'>In Plane Sight</title><content type='html'>Flatland is in tumult after a spate of triangle-on-triangle violence, and the prevailing attitude is one of utter paranoia.  The triangles, which can see out of each of their three vertices, are so mistrustful that they will not tolerate the presence another triangle unless they can see each of the other's vertices, and, moreover, see it with each of their own eyes.  Triangles are assumed to be disjoint and opaque.&lt;br /&gt;&lt;br /&gt;It is your job to help as many triangles as possible congregate, in a fashion acceptable to all participants, to promote dialogue and peace.  Find yourself a pen, paper, and a bag of Doritos, and consider:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Problem:&lt;/span&gt; Can three equilateral triangles of equal size be placed in a 'acceptable' arrangement?  (If yes, what is the upper limit, if any?)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Notes:&lt;/span&gt; &lt;br /&gt;&lt;br /&gt;-I do know the answer, but it took me awhile.  I've never really understood triangles...&lt;br /&gt;&lt;br /&gt;-I haven't read Abbott's 'Flatland' since maybe age 12, so I have no idea how faithful this scenario is, or whether related visibility issues were explored in the book.  As far as I know this puzzle has not been posed elsewhere, but I do recall there being at least one interesting visibility puzzle in Engel's book &lt;a href="http://www.amazon.com/Problem-Solving-Strategies-Problem-Books-Mathematics/dp/0387982191"&gt;'Problem Solving Strategies'&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;-Notice how I refrained from saying 'acute paranoia'... it wasn't easy, but I think I'm a better person for having done so.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-7383763841184359429?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/7383763841184359429/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=7383763841184359429' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7383763841184359429'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7383763841184359429'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/09/in-plane-sight.html' title='In Plane Sight'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-2475749875077467074</id><published>2007-09-16T22:35:00.000-04:00</published><updated>2007-09-16T23:32:09.975-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><title type='text'>Information is not a Substance</title><content type='html'>I wanted to share a cool idea from the young field of 'network coding', which explores techniques for efficiently disseminating information over networks like the web.  I believe it originated in &lt;a href="http://www.math.uni-bielefeld.de/ahlswede/homepage/public/155.pdf"&gt;this&lt;/a&gt; seminal paper, which I learned about indirectly by reading Michael Mitzenmacher's very interesting research blog &lt;a href="http://mybiasedcoin.blogspot.com/2007/08/network-coding-open-problems.html"&gt;My Biased Coin&lt;/a&gt; (which reflects his professional activity in network coding and is a good source; ref. #7 on this link is a good first article to read).&lt;br /&gt;&lt;br /&gt;Consider the following directed network:&lt;br /&gt;&lt;br /&gt;&lt;a href="http://bp0.blogger.com/_88neJExG8YQ/Ru3sJFttwhI/AAAAAAAAAB4/PZXmImSsSOE/s1600-h/A1.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_88neJExG8YQ/Ru3sJFttwhI/AAAAAAAAAB4/PZXmImSsSOE/s400/A1.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5111000793032278546" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Here, each of the three top nodes have a stream of data they need to communicate to the node of corresponding color on the bottom.  Each edge shown can transmit a bit per second in the direction indicated, and the purple nodes in the middle are willing to assist in communication.  &lt;br /&gt;&lt;br /&gt;The perverse structure of this network seems to pose a problem: each node on top has two pink edges which are headed towards the wrong parties on the bottom.  Since bottom nodes cannot themselves communicate, the pink edges appear useless.  It would seem that all information flow must happen thru the black edges, whose bottleneck would allow only one party to get a bit across each second.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;WRONG!&lt;/strong&gt; (puzzle: stop reading and figure out a better strategy.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here's the idea: Say the top nodes want to send bits &lt;em&gt;x, y, z&lt;/em&gt; respectively on a round.  They send their bit on their every available edge.  The top purple node receives all of them and computes their XOR, that is, &lt;em&gt;x + y + z&lt;/em&gt;  (mod 2).  It sends it to bottom-purple node, which then broadcasts it to the three receivers.&lt;br /&gt;&lt;br /&gt;Then, for instance, bottom-red receives &lt;em&gt;y, z,&lt;/em&gt; and &lt;em&gt;x + y + z&lt;/em&gt;, so it can add up all the bits it receives to get &lt;em&gt;y + z + (x + y + z) = x&lt;/em&gt;, just what it wanted.  Similarly for the other nodes.  Repeating this process, the network transmits at three times the rate we were led to expect by our faulty initial reasoning (a line of thought which restricted us to the best so-called 'multicommodity flow' on the network).  &lt;br /&gt;&lt;br /&gt;If these were roads, and we were sending formed substances to their destinations, our first approach would be valid.  But information is not a substance--it obeys zany laws of its own, and can at times be merged, fractionalized, and delocalized in unexpected and useful ways (often involving that mischievous XOR).  Better understanding the information capacity of networks more complex than the one above is a fascinating and important research frontier--so keep following Mitzenmacher's blog!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-2475749875077467074?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/2475749875077467074/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=2475749875077467074' title='14 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/2475749875077467074'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/2475749875077467074'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/09/information-is-not-substance.html' title='Information is not a Substance'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_88neJExG8YQ/Ru3sJFttwhI/AAAAAAAAAB4/PZXmImSsSOE/s72-c/A1.bmp' height='72' width='72'/><thr:total>14</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-5551531302329027597</id><published>2007-09-14T11:15:00.000-04:00</published><updated>2007-09-14T11:58:56.077-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><title type='text'>Be Rational</title><content type='html'>Today, enjoy a home-baked puzzle in real analysis--a somewhat old-fashioned subject that I can't help but love (much like &lt;a href="http://andysresearch.blogspot.com/2006/10/in-praise-of-automata.html"&gt;automata theory&lt;/a&gt;).  &lt;br /&gt;&lt;br /&gt;We know that &lt;span style="font-style:italic;"&gt;pi = 3.1415...&lt;/span&gt; is transcendental, i.e., it is not a zero of any nontrivial univariate polynomial with rational coefficients.  Is it possible we could generalize this result?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Part I.&lt;/span&gt;  Is there a continuous function &lt;span style="font-style:italic;"&gt;f: &lt;span style="font-weight:bold;"&gt;R&lt;/span&gt; --&gt; &lt;span style="font-weight:bold;"&gt;R&lt;/span&gt;&lt;/span&gt;, such that&lt;br /&gt;&lt;br /&gt;a) &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; takes rational numbers to rational numbers,&lt;br /&gt;&lt;br /&gt;b) &lt;span style="font-style:italic;"&gt;f(x)&lt;/span&gt; is zero if and only if &lt;span style="font-style:italic;"&gt;x = pi&lt;/span&gt;?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Part II.&lt;/span&gt; If you think no such &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; exists, then for which values (in place of pi) does such an &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; exist?  &lt;br /&gt;On the other hand, if &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; as in Part I does exist (I reveal nothing!), can it be made infinitely differentiable?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;For those new to real analysis, 'weird' objects like the desired &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; above generally have to be created gradually, through an iterative process in which we take care of different requirements at different stages.  We try to argue that 'in the limit', the object we converge to has the desired properties. (Does this sound like computability theory?  The two should be studied together as they have strong kinships, notably the link between diagonalization/finite extension methods and the Baire Category Theorem.)&lt;br /&gt;&lt;br /&gt;Passing to the limit can be subtler than it first appears; for example, a pointwise limit of continuous functions need not be continuous.  &lt;a href="http://web01.shu.edu/projects/reals/funseq/uconv.html"&gt;Here&lt;/a&gt; is a pretty good fast online introduction to some central ideas in studying limits of functions.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-5551531302329027597?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/5551531302329027597/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=5551531302329027597' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/5551531302329027597'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/5551531302329027597'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/09/be-rational.html' title='Be Rational'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-4147044725750549124</id><published>2007-09-09T21:44:00.000-04:00</published><updated>2007-09-09T22:09:53.252-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='probability'/><title type='text'>Correlation Reversal</title><content type='html'>In an earlier &lt;a href="http://andysresearch.blogspot.com/2007/05/flooding-and-kleitmans-theorem.html"&gt;post&lt;/a&gt;, we discussed Kleitman's Theorem, which tells us that monotone events are nonnegatively correlated.  So, for example, if we generate a random graph &lt;em&gt;G&lt;/em&gt;, including each edge with probability 1/2, and we condition on the event that &lt;em&gt;G&lt;/em&gt; is nonplanar, that can only make it more likely that &lt;em&gt;G&lt;/em&gt; is Hamiltonian, not less.&lt;br /&gt;&lt;br /&gt;There's a further wrinkle we could add to make things more interesting.  By a &lt;em&gt;witness&lt;/em&gt; for the event &lt;em&gt;f(x) = 1&lt;/em&gt; on a particular bitstring &lt;em&gt;x&lt;/em&gt;, we mean a subset of the bits of &lt;em&gt;x&lt;/em&gt; that force &lt;em&gt;f(x) = 1&lt;/em&gt;.  (This event could have multiple, overlapping or disjoint, witnesses.)&lt;br /&gt;&lt;br /&gt;Let &lt;em&gt;f, g&lt;/em&gt; be monotone Boolean functions, and consider the event we'll call &lt;em&gt;f^^g&lt;/em&gt;, the event (over uniformly chosen &lt;em&gt;x&lt;/em&gt;)that &lt;em&gt;f(x), g(x)&lt;/em&gt; are both 1 and that, moreover, we can find disjoint witnesses for these two conditions.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Problem:&lt;/strong&gt;  Is &lt;em&gt;P(f^^g)&lt;/em&gt; greater or less than &lt;em&gt;P(f = 1)*P(g = 1)&lt;/em&gt;?&lt;br /&gt;&lt;br /&gt;On the one hand, &lt;em&gt;f&lt;/em&gt; and &lt;em&gt;g&lt;/em&gt; `help each other' to be 1, by Kleitman's Theorem.  On the other hand, the disjoint-witness requirement seems to undercut their ability to positively influence each other.  Which tendency wins out?&lt;br /&gt;&lt;br /&gt;I'll tell you: &lt;em&gt;P(f^^g) &lt;= P(f = 1)*P(g = 1)&lt;/em&gt;.  The latter tendency prevails, although ironically enough, Kleitman's Theorem can actually be used to show this!  It's a not-too-hard exercise in conditioning, which I recommend to the interested reader.&lt;br /&gt;&lt;br /&gt;Here's the kicker, though: the inequality above is actually true for arbitrary &lt;em&gt;f, g&lt;/em&gt;, not just monotone ones!  This result, however, took a decade of work to prove; it was conjectured by van den Berg and Kesten, and proved by Reimer in 1994; see &lt;a href="http://citeseer.ist.psu.edu/184073.html"&gt;this&lt;/a&gt; article.  Reimer's Inequality appears fruitful in probabilistic analysis, including in theoretical CS, see &lt;a href="http://www-math.mit.edu/~csmyth/Papers/conf.ps"&gt;this&lt;/a&gt; article (which I have yet to read).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-4147044725750549124?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/4147044725750549124/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=4147044725750549124' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4147044725750549124'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4147044725750549124'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/09/correlation-reversal.html' title='Correlation Reversal'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-7666655490469832794</id><published>2007-09-08T16:12:00.000-04:00</published><updated>2007-09-08T17:11:29.270-04:00</updated><title type='text'>On the Move</title><content type='html'>Time for a personal update: this week I began a stay as a visiting student at MIT's CS and AI Lab (CSAIL)--a very exciting place to be for a young would-be theorist.  For this privilege I have friend, fellow blogger, and new MIT prof Scott Aaronson to thank--thanks, Scott!&lt;br /&gt;&lt;br /&gt;While here, I'd absolutely love to meet, get to know, trade ideas or collaborate with any Boston/Cambridge readers.  Drop a line or come by my office, 32-G630.  I'd also welcome advice on where to eat, how to furnish an apartment on the cheap, how to stop getting lost constantly around town and campus, and all that good stuff.&lt;br /&gt;&lt;br /&gt;Speaking of getting lost, a small PSA: did you know that in a long random walk on a finite undirected graph, you can expect to appear at any given node with frequency proportional to its degree?  A node's location and degree of centrality in the graph are ultimately irrelevant.  Equivalently, every edge gets traversed with the same limiting frequency, and with equal frequency in either direction.&lt;br /&gt;&lt;br /&gt;Despite its simplicity, this was an eye-popper for me as an undergrad, and my favorite result in our probability seminar, along with the theorem that the harmonic series 1 + 1/2 + 1/3 + ...  converges with probability 1 when each term is instead given a random sign.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-7666655490469832794?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/7666655490469832794/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=7666655490469832794' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7666655490469832794'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7666655490469832794'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/09/on-move.html' title='On the Move'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-7662106015170581191</id><published>2007-08-27T15:43:00.000-04:00</published><updated>2007-09-27T13:38:37.801-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><category scheme='http://www.blogger.com/atom/ns#' term='geometry'/><title type='text'>Loopy Thinking</title><content type='html'>Earlier I &lt;a href="http://andysresearch.blogspot.com/2007/04/where-does-convexity-come-from_22.html"&gt;posted&lt;/a&gt; on the 'backwards orientation' in mathematics, aimed at finding new characterizations or 'origin stories' for familiar objects.  Here is an exercise in this kind of math, hopefully amusing.&lt;br /&gt;&lt;br /&gt;We'll consider the class of simple, rectifiable closed curves in the plane, that is, non-self-intersecting continuous 'loops' in &lt;span style="font-weight:bold;"&gt;R&lt;/span&gt;^2 to whose segments a definite finite arc-length can always be assigned.&lt;br /&gt;&lt;br /&gt;Given two points &lt;span style="font-style:italic;"&gt;x, y&lt;/span&gt; on such a curve &lt;span style="font-style:italic;"&gt;C&lt;/span&gt;, let &lt;span style="font-style:italic;"&gt;d_C(x, y)&lt;/span&gt; denote the distance along the curve from &lt;span style="font-style:italic;"&gt;x&lt;/span&gt; to &lt;span style="font-style:italic;"&gt;y&lt;/span&gt; (in whichever direction is shorter).  On the other hand, let &lt;span style="font-style:italic;"&gt;d(x, y)&lt;/span&gt; denote regular Euclidean distance.&lt;br /&gt;&lt;br /&gt;We say that a curve &lt;span style="font-style:italic;"&gt;respects distances&lt;/span&gt; if, for all &lt;span style="font-style:italic;"&gt;u, v, x, y&lt;/span&gt; on &lt;span style="font-style:italic;"&gt;C&lt;/span&gt;, we have &lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;d_C(u, v) &lt; d_C(x, y)&lt;/span&gt; if and only if &lt;span style="font-style:italic;"&gt;d(u, v) &lt; d(x, y)&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Now, a circle respects distances in this sense; do any other curves in our class?  &lt;br /&gt;&lt;br /&gt;Would your answer change if we used a weaker notion of respecting distances?  Namely, for all &lt;span style="font-style:italic;"&gt;x, y, z&lt;/span&gt; in &lt;span style="font-style:italic;"&gt;C&lt;/span&gt;, &lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;d_C(x, y) &lt; d_C(x, z)&lt;/span&gt; iff &lt;span style="font-style:italic;"&gt;d(x, y) &lt; d(x, z)&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Bonus problem: the analogous question for rectifiable-path-connected, closed plane sets with nonempty interior.  Convex bodies respect distances; do any others?  (Recall that we &lt;a href="http://andysresearch.blogspot.com/2007/04/where-does-convexity-come-from_22.html"&gt;previously&lt;/a&gt; discussed a very different kind of characterization of convexity.)&lt;br /&gt;It may help to know that between any two points in such a set, there exists a path of minimum length (see Kolmogorov &amp; Fomin's &lt;a href="http://www.amazon.com/Elements-Theory-Functions-Functional-Analysis/dp/0486406830"&gt;book&lt;/a&gt; on functional analysis, Sect. 20, Thm 3.).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-7662106015170581191?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/7662106015170581191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=7662106015170581191' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7662106015170581191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7662106015170581191'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/08/loopy-thinking.html' title='Loopy Thinking'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-4928711761828738813</id><published>2007-08-25T12:08:00.000-04:00</published><updated>2007-08-27T01:55:18.939-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='probability'/><title type='text'>More on Couplings</title><content type='html'>&lt;a href="http://andysresearch.blogspot.com/2007/08/another-public-service-announcement.html"&gt;Last time&lt;/a&gt; I described how couplings can be used to establish 'closeness' of two random variables.  In fact, the results I stated imply that couplings can &lt;span style="font-style:italic;"&gt;always&lt;/span&gt; be constructed when RVs are close.  That still begs the question of whether couplings are a practical method of analysis for important RVs.  Well, they definitely are, although to judge the full extent of it you'd have to ask a probabilist.  &lt;br /&gt;&lt;br /&gt;Beyond their direct usefulness, however, I think couplings also illustrate a  broader idea: that to reason effectively about a probability distribution, it often pays to find new ways of 'generating' that distribution to better highlight certain features.  This is something I learned to do by example in my classes, but always with lingering doubts as to the legitimacy of such reasoning and without an explicit awareness of the method and its generality. (Have readers had similar experiences?)&lt;br /&gt;&lt;br /&gt;Here's a very simple example--the simplest--as a warm-up.  Let &lt;span style="font-style:italic;"&gt;X, Y&lt;/span&gt; be 0/1 random variables, with probabilities &lt;span style="font-style:italic;"&gt;p, q&lt;/span&gt; respectively of getting a 1.  Say &lt;span style="font-style:italic;"&gt;p &lt;  q&lt;/span&gt; and the two numbers are 'close'.  &lt;br /&gt;&lt;br /&gt;Even though it is immediate from the definition of statistical distance that &lt;span style="font-style:italic;"&gt;X, Y&lt;/span&gt; are close as RVs (which does not mean they are correlated!), let's see this in a second way by 'coupling' the variables.&lt;br /&gt;&lt;br /&gt;Let &lt;span style="font-style:italic;"&gt;T&lt;/span&gt; be a uniformly chosen real number in the unit interval.  Then we can build a pair of coupled RVs by defining &lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;X' = 1&lt;/span&gt; iff &lt;span style="font-style:italic;"&gt;T &gt; 1 - p&lt;/span&gt;, &lt;span style="font-style:italic;"&gt;Y' = 1&lt;/span&gt; iff &lt;span style="font-style:italic;"&gt;T &gt; 1 - q&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Clearly &lt;span style="font-style:italic;"&gt;X', Y'&lt;/span&gt; are individually identically distributed to &lt;span style="font-style:italic;"&gt;X, Y&lt;/span&gt; respectively.  (We said nothing about the joint distribution of &lt;span style="font-style:italic;"&gt;X, Y&lt;/span&gt;, so it is irrelevant and distracting to ask if they are really 'the same' RVs as &lt;span style="font-style:italic;"&gt;X', Y'&lt;/span&gt;.  This is the kind of question that used to hang me up.)  Moreover, &lt;span style="font-style:italic;"&gt;X' = Y'&lt;/span&gt; unless &lt;span style="font-style:italic;"&gt;T&lt;/span&gt; lies in the interval &lt;span style="font-style:italic;"&gt;[p, q]&lt;/span&gt; (which occurs with prob. &lt;span style="font-style:italic;"&gt;p - q&lt;/span&gt;).  This shows &lt;span style="font-style:italic;"&gt;X, Y&lt;/span&gt; are close via the coupling characterization of statistical distance.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Hope that was clear; here's another simple example.&lt;br /&gt;&lt;br /&gt;Let &lt;span style="font-style:italic;"&gt;m &gt; n &gt; 0&lt;/span&gt; be natural numbers, &lt;span style="font-style:italic;"&gt;m&lt;/span&gt; even.  Fill an urn with &lt;span style="font-style:italic;"&gt;m&lt;/span&gt; balls, half red, half blue.  Draw &lt;span style="font-style:italic;"&gt;n&lt;/span&gt; balls at random without replacement, and record the sequence of red and blue outcomes as a length-&lt;span style="font-style:italic;"&gt;n&lt;/span&gt; bitstring &lt;span style="font-style:italic;"&gt;X_n&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Compare &lt;span style="font-style:italic;"&gt;X_n&lt;/span&gt; with &lt;span style="font-style:italic;"&gt;U_n&lt;/span&gt;, the uniform distribution on &lt;span style="font-style:italic;"&gt;{0, 1}^n&lt;/span&gt;; fixing &lt;span style="font-style:italic;"&gt;m&lt;/span&gt;, how large can &lt;span style="font-style:italic;"&gt;n&lt;/span&gt; be before the RVs cease to be close?  &lt;br /&gt;&lt;br /&gt;First, note the extreme cases: &lt;br /&gt;&lt;br /&gt;-if &lt;span style="font-style:italic;"&gt;n = 1&lt;/span&gt; the RVs are identical; &lt;br /&gt;&lt;br /&gt;-if &lt;span style="font-style:italic;"&gt;n = m&lt;/span&gt; then they have a statistical distance on the order of &lt;span style="font-style:italic;"&gt;1 - 1/sqrt(n)&lt;/span&gt;, since then &lt;span style="font-style:italic;"&gt;X_n&lt;/span&gt; always has a Hamming weight of &lt;span style="font-style:italic;"&gt;m/2&lt;/span&gt; while &lt;span style="font-style:italic;"&gt;U_n&lt;/span&gt; usually doesn't (so, we can construct a succesful distinguisher--recall the other characterizations of statistical distance from the last post).&lt;br /&gt;&lt;br /&gt;Let's use coupling to examine an intermediate case: we will show that if &lt;span style="font-style:italic;"&gt;n &lt;&lt; sqrt(m)&lt;/span&gt;, the RVs remain close.  First, note that &lt;span style="font-style:italic;"&gt;U_n&lt;/span&gt; can be generated by sampling balls with replacement.  Let's sample with replacement &lt;span style="font-style:italic;"&gt;n&lt;/span&gt; times to generate &lt;span style="font-style:italic;"&gt;U_n&lt;/span&gt;, but now each time 'marking' the ball we draw before throwing it back in the urn.  The marks don't affect the outcome of &lt;span style="font-style:italic;"&gt;U_n&lt;/span&gt;.  &lt;br /&gt;&lt;br /&gt;To generate &lt;span style="font-style:italic;"&gt;X_n&lt;/span&gt; in a coupled fashion, use the same sequence of draws, except that we ignore draws that bring up a marked ball, and we perform additional draws if needed until we record &lt;span style="font-style:italic;"&gt;n&lt;/span&gt; outcomes.&lt;br /&gt;&lt;br /&gt;Standard 'birthday paradox' reasoning assures us that if &lt;span style="font-style:italic;"&gt;n &lt;&lt; sqrt(m)&lt;/span&gt;, then with high probability no marked ball is ever drawn, hence the two coupled RVs are identical, as needed.&lt;br /&gt;&lt;br /&gt;What is the critical value of &lt;span style="font-style:italic;"&gt;n&lt;/span&gt; for which &lt;span style="font-style:italic;"&gt;X_n, U_n&lt;/span&gt; 'part ways' and become distinguishable?  Is it &lt;span style="font-style:italic;"&gt;O(sqrt(m))&lt;/span&gt;, or much larger?  I could say more, but I still don't understand the issue as fully as I'd like, so I'll leave it as a (hopefully tantalizing) question for readers.&lt;br /&gt;&lt;br /&gt;Next time: couplings applied to convergence of random walks on graphs.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-4928711761828738813?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/4928711761828738813/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=4928711761828738813' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4928711761828738813'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4928711761828738813'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/08/more-on-couplings.html' title='More on Couplings'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-190682251721434594</id><published>2007-08-08T14:16:00.000-04:00</published><updated>2007-08-27T01:40:57.631-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='probability'/><title type='text'>Another Public Service Announcement</title><content type='html'>We've all heard that randomness and probability are becoming more and more important in computer science.  A number of good references exist for learning the basic techniques of probabilistic analysis.  Many of these techniques are radically simple and incredibly powerful, even for solving problems where probability does not seem to play a role (such as design or optimization problems where what is wanted is a highly 'uniform' or 'balanced' structure, e.g. in exhibiting Ramsey graphs, expanders/extractors, low-discrepancy sets, etc.).  As such they are a very good investment.  One can go very far, for instance, granted only familiarity with the meaning and some applications of the following simple concepts:&lt;br /&gt;&lt;br /&gt;-linearity of expectation&lt;br /&gt;&lt;br /&gt;-the second moment (a.k.a. variance) method&lt;br /&gt;&lt;br /&gt;-union bounds&lt;br /&gt;&lt;br /&gt;-Chernoff-style deviation bounds&lt;br /&gt;&lt;br /&gt;As I've said in the past, &lt;a href="http://www.amazon.ca/Probabilistic-Method-Noga-Alon/dp/0471370460"&gt;The Probabilistic Method&lt;/a&gt; by Alon and Spencer is the most delightful way to develop an appreciation for this stuff.  I have blogged before on some of these ideas, and will happily do so again, but today I want to discuss an aspect of probabilistic analysis that receives somewhat less thorough discussion in the references I've consulted.&lt;br /&gt;&lt;br /&gt;Namely: given two random variables &lt;span style="font-style:italic;"&gt;X, Y&lt;/span&gt;, how should we quantify their similarity or difference?  As an example of a case where such a question might be important, suppose we have a randomized algorithm that correctly solves some problem with high probability if given access to fair coin flips, but we don't have a 'perfect' source of random bits; we want to find conditions under which an imperfect or pseudorandom source will be 'close enough' to the uniform distribution to play the role of the algorithm's random bits, without destroying its correctness.&lt;br /&gt;&lt;br /&gt;Is there one 'right' notion of similarity, or do we need multiple notions depending on application?  The answer is, 'both'.  There is a very widely useful quantity, called the 'statistical distance', which is effective in many cases, but to recognize these cases it is important to have several perspectives on the matter.  &lt;br /&gt;&lt;br /&gt;I will present the definition and three variants.  I encourage readers to submit any others, and also to point me to official nomenclature and references for the variants (I'm working from memory).&lt;br /&gt;&lt;br /&gt;Let &lt;span style="font-style:italic;"&gt;X, Y&lt;/span&gt; be random variables.  Let's say they take on (real-number) values from the finite set &lt;span style="font-style:italic;"&gt;{a_1, a_2, ... a_n}&lt;/span&gt;, just to keep the discussion nice and safe.  Suppose &lt;span style="font-style:italic;"&gt;X, Y&lt;/span&gt; take on value &lt;span style="font-style:italic;"&gt;a_i&lt;/span&gt; with probabilities &lt;span style="font-style:italic;"&gt;p_i, q_i&lt;/span&gt; respectively.&lt;br /&gt;&lt;br /&gt;The 'statistical distance' &lt;span style="font-style:italic;"&gt;d(X, Y)&lt;/span&gt; is then defined as&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;d(X, Y) = &lt;/span&gt;.5 * (Sum from i=1 to i= n:  |p_i - q_i|).&lt;br /&gt;&lt;br /&gt;(That's an absolute value in there.)&lt;br /&gt;&lt;br /&gt;Also denoted &lt;span style="font-style:italic;"&gt;||X - Y||&lt;/span&gt;, the statistical distance should not be confused with the L_1 distance, which is just twice the statistical distance when applied to probability vectors.&lt;br /&gt;&lt;br /&gt;Readers should verify the following: &lt;span style="font-style:italic;"&gt;d(X, Y)&lt;/span&gt; is a &lt;a href="http://en.wikipedia.org/wiki/Metric_space"&gt;metric&lt;/a&gt;, taking values between 0 and 1.  &lt;span style="font-style:italic;"&gt;d(X, Y) = 0&lt;/span&gt; if and only if &lt;span style="font-style:italic;"&gt;X, Y&lt;/span&gt; are identically distributed, and &lt;span style="font-style:italic;"&gt;d(X, Y) = 1&lt;/span&gt; if and only if &lt;span style="font-style:italic;"&gt;X, Y&lt;/span&gt; never take on the same values.&lt;br /&gt;&lt;br /&gt;Now consider the three following questions we could ask about &lt;span style="font-style:italic;"&gt;X&lt;/span&gt; and &lt;span style="font-style:italic;"&gt;Y&lt;/span&gt;:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;1) Say we want to build a 'distinguisher' to tell apart the two variables: that is, a function &lt;span style="font-style:italic;"&gt;A: {a_1, ... a_n} --&gt; {0, 1}&lt;/span&gt; that maximizes the quantity &lt;br /&gt;&lt;span style="font-style:italic;"&gt;|P[A(X) = 1] - P[A(Y) = 1]|&lt;/span&gt;.   (I believe this is the 'distinguishing probability' of &lt;span style="font-style:italic;"&gt;A&lt;/span&gt;, but don't quote me.) Call &lt;span style="font-style:italic;"&gt;Q1(X, Y)&lt;/span&gt; the maximum quantity achievable in this way.&lt;br /&gt;&lt;br /&gt;(Note that we could allow &lt;span style="font-style:italic;"&gt;A&lt;/span&gt; to use additional randomness; it wouldn't affect the value &lt;span style="font-style:italic;"&gt;Q1&lt;/span&gt;.  This is important in applications.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;2) Now say a friend secretly chooses one of the two variables &lt;span style="font-style:italic;"&gt;X&lt;/span&gt; or &lt;span style="font-style:italic;"&gt;Y&lt;/span&gt;, each with probability 1/2.  She then takes a random sample from the chosen variable and presents it to us.  We are asked to guess which sample it came from, and we wish to find a rule that'll maximize our probability of guessing right.  &lt;br /&gt;Let &lt;span style="font-style:italic;"&gt;Q2(X, Y)&lt;/span&gt; denote the maximum achievable probablity of correctness (which again is unaffected by the use of randomness in guessing).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;3) Finally, say we wish to design a random variable &lt;span style="font-style:italic;"&gt;Z = (Z_1, Z_2)&lt;/span&gt;, outputting a pair of real values.  We require that &lt;span style="font-style:italic;"&gt;Z_1&lt;/span&gt; be distributed identically to &lt;span style="font-style:italic;"&gt;X&lt;/span&gt; &lt;br /&gt;(i.e. &lt;span style="font-style:italic;"&gt;d(X, Z_1) = 0&lt;/span&gt;), and that &lt;span style="font-style:italic;"&gt;Z_2&lt;/span&gt; be distributed identically to &lt;span style="font-style:italic;"&gt;Y&lt;/span&gt;, but we do not require independence.  Our goal is design the pair &lt;span style="font-style:italic;"&gt;(Z_1, Z_2)&lt;/span&gt; (called a 'coupling' of &lt;span style="font-style:italic;"&gt;X&lt;/span&gt; and &lt;span style="font-style:italic;"&gt;Y&lt;/span&gt;) to maximize the probability that &lt;span style="font-style:italic;"&gt;Z_1 = Z_2&lt;/span&gt;.  Denote by &lt;span style="font-style:italic;"&gt;Q3(X, Y)&lt;/span&gt; this maximum achievable probability.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now, it is a pleasant fact that all of Q1, Q2, Q3 are completely determined by the value &lt;span style="font-style:italic;"&gt;d(X, Y)&lt;/span&gt;, and conversely, they also each determine &lt;span style="font-style:italic;"&gt;d(X, Y)&lt;/span&gt; (and each other).  Moreover, the quantities are all &lt;span style="font-style:italic;"&gt;linearly&lt;/span&gt; related, so if you forget the precise relationships (as I invariably do, which motivated this post), they're easy to rederive by considering the extreme cases and interpolating.  For the record, here are the relationships:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Q1(X, Y) = d(X, Y)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Q2(X, Y) = .5 + .5 * d(X, Y)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Q3(X, Y) = 1 - d(X, Y)&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I recommend verifying these facts once or twice and then taking them for granted.  Note that the first two (of which Q1 is more frequently used) are measures of distance, while &lt;span style="font-style:italic;"&gt;Q3&lt;/span&gt; is a measure of similarity.  Both perspectives come in handy.  &lt;br /&gt;&lt;br /&gt;Note too that, while &lt;span style="font-style:italic;"&gt;d(X, Y)&lt;/span&gt; is defined by an equation, &lt;span style="font-style:italic;"&gt;Q1-Q3&lt;/span&gt; are defined by an ability to &lt;span style="font-style:italic;"&gt;do&lt;/span&gt; something; &lt;span style="font-style:italic;"&gt;Q1-Q2&lt;/span&gt; in particular are framed around an agent's ability to distinguish between cases, and it is natural that computer scientists often prefer to take such a view.&lt;br /&gt;&lt;br /&gt;In future posts, I hope to elaborate somewhat on these perspectives (couplings in particular, which are probably the most interesting).&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-190682251721434594?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/190682251721434594/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=190682251721434594' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/190682251721434594'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/190682251721434594'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/08/another-public-service-announcement.html' title='Another Public Service Announcement'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-6710490141469664630</id><published>2007-07-15T18:38:00.000-04:00</published><updated>2007-09-27T12:47:30.066-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><title type='text'>A Tricky Vote</title><content type='html'>An election is being held to select one of two candidates, &lt;span style="font-style:italic;"&gt;A&lt;/span&gt; or &lt;span style="font-style:italic;"&gt;B&lt;/span&gt;.  &lt;span style="font-style:italic;"&gt;n&lt;/span&gt; voters turn out in a long, orderly line.  A motley crew of pollsters show up to predict the turnout, but none is diligent enough to survey the entire line, or savvy enough to conduct a proper statistical sample.  Instead, each pollster arbitrarily selects some single interval of the line and queries everyone in that interval.  The intervals may be of various sizes, and they may overlap.  &lt;br /&gt;&lt;br /&gt;After comparing their haphazard data, the pollsters notice that candidate &lt;span style="font-style:italic;"&gt;A&lt;/span&gt;, the presumptive favorite, has more than two-thirds support in every survey interval.&lt;br /&gt;&lt;br /&gt;Assume the process is 'nice' in the following senses:&lt;br /&gt;&lt;br /&gt;-Everyone truthfully reveals their intentions to the pollsters, and intentions don't change;&lt;br /&gt;-Everyone in line eventually votes (once) for their intended candidate, and votes are faithfully counted;&lt;br /&gt;-No one changes position in the line.&lt;br /&gt;&lt;br /&gt;Also assume that everyone is surveyed at least once.&lt;br /&gt;&lt;br /&gt;Can you conclude that candidate &lt;span style="font-style:italic;"&gt;A&lt;/span&gt; is the winner?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Note that 2/3 is the lowest threshold one could hope for: for consider 4 voters, with prefereces going &lt;span style="font-style:italic;"&gt;B A A B&lt;/span&gt;, and with 2 survey intervals consisting of the first three and last three voters respectively; then &lt;span style="font-style:italic;"&gt;A&lt;/span&gt; has exactly 2/3 support in each, yet the outcome is a tie.&lt;br /&gt;&lt;br /&gt;If this problem gives you trouble, try solving it first with 'two thirds' replaced by 'ninety-nine percent'.&lt;br /&gt;&lt;br /&gt;I enjoy questions like this one, that try to deduce 'global' conditions from a collection of 'local' observations.  With the advent of &lt;a href="http://andysresearch.blogspot.com/2007/01/going-live.html"&gt;'property testing'&lt;/a&gt; in computer science, they have become increasingly important to the field.  I hope to make further posts on the subject soon, and possibly also discuss generalizations of the above problem (Does anyone know if/where it's been studied before?)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Update, 9/27:&lt;/span&gt; I've since learned that this problem falls in well-trod territory of functional and harmonic analysis; specifically, the (affirmative) answer to this problem essentially states that a certain 'maximal operator' over a function space is 'bounded'.  The solution techniques described by David and myself in the comments are standard and fall under the rubric of 'covering theorems', the most basic one being due to Vitali.  I'll try to blog more soon on what I've learned about this problem, which gets very interesting in 2 dimensions...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-6710490141469664630?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/6710490141469664630/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=6710490141469664630' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/6710490141469664630'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/6710490141469664630'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/07/tricky-vote.html' title='A Tricky Vote'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-4055891388411238801</id><published>2007-07-09T15:26:00.000-04:00</published><updated>2007-07-14T18:28:42.917-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><title type='text'>Guardian Angel Decoding</title><content type='html'>In the conventional setting of error-correcting codes (ECCs), there are three parties: Sender, Receiver, and Adversary.  Sender wants to send a message &lt;span style="font-style:italic;"&gt;m&lt;/span&gt; to Receiver; problem is, Adversary may intercept the message string and modify as many as &lt;span style="font-style:italic;"&gt;e &gt; 0&lt;/span&gt; symbols before Receiver gets the message.&lt;br /&gt;&lt;br /&gt;The idea of an error-correcting code is to encode the message &lt;span style="font-style:italic;"&gt;m&lt;/span&gt; in a redundant fashion as some 'codeword' &lt;span style="font-style:italic;"&gt;C(m)&lt;/span&gt;, so that even after as many as &lt;span style="font-style:italic;"&gt;e&lt;/span&gt; errors are introduced, the original message &lt;span style="font-style:italic;"&gt;m&lt;/span&gt; is uniquely recoverable.&lt;br /&gt;&lt;br /&gt;For a simple example (not representative of the sophistication of more powerful codes), say Sender wants to transmit a single bit of information, and &lt;span style="font-style:italic;"&gt;e = 1&lt;/span&gt;.  Then we could have &lt;span style="font-style:italic;"&gt;C(0) = 000&lt;/span&gt;, &lt;span style="font-style:italic;"&gt;C(1) = 111&lt;/span&gt;, and Receiver can correctly recover the message bit by taking the majority vote of the 3 bits received.&lt;br /&gt;&lt;br /&gt;For a much more comprehensive introduction of ECCs from a TCS perspective, see e.g. &lt;a href="http://citeseer.ist.psu.edu/rd/0%2C468281%2C1%2C0.25%2CDownload/http://citeseer.ist.psu.edu/cache/papers/cs/25248/http:zSzzSz18.52.0.92zSz~madhuzSzcodingzSzlect6x4.pdf/sudan01crash.pdf"&gt;this&lt;/a&gt; survey by Sudan, or &lt;a href="http://www.cs.berkeley.edu/~luca/pubs/codingsurvey.pdf"&gt;this&lt;/a&gt; one by Trevisan. &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Now here's a slightly whimsical idea: suppose we add a fourth party to the scene, a Guardian Angel allied with Sender and Receiver.  The Guardian Angel watches Sender encode the message; though it cannot completely stop the Adversary from making its modifications to the codeword, it can step in to prevent as many as &lt;span style="font-style:italic;"&gt;d &lt; e&lt;/span&gt; of these modifications.  These 'saves' are performed all at once, after the Adversary reveals its intended modifications, and the Angel can choose which sites to protect; it cannot make new modifications of its own.&lt;br /&gt;&lt;br /&gt;Clearly the Guardian Angel is a boon.  Consider an ECC in the standard setting (no Angel) with an encoding/decoding system that successfully recovers messages even after as many as &lt;span style="font-style:italic;"&gt;e&lt;/span&gt; errors are introduced; the same protocol can recover the message with as many as &lt;span style="font-style:italic;"&gt;e + d&lt;/span&gt; errors, with the help of a 'lazy Angel' who arbitrarily selects &lt;span style="font-style:italic;"&gt;d&lt;/span&gt; of the adversary's errors and corrects them.&lt;br /&gt;&lt;br /&gt;So here's the question: is this as good as it gets?  Or can the Angel act more cleverly to help Sender and Receiver succeed in the presence of even more errors?  &lt;br /&gt;&lt;br /&gt;Note that we might want to change the encoding/decoding protocol itself, to optimize for the Angel's presence.  For example, suppose &lt;span style="font-style:italic;"&gt;d = 1&lt;/span&gt;; then we can successfully transmit a single bit in the presence of any number of errors, by simply having the Angel encode the intended bit in the parity of the message sent (convince yourself this works).  The challenge is to use the Angel effectively while preserving the information rate and other positive properties of our ECC, as much as possible.&lt;br /&gt;&lt;br /&gt;This is meant as a puzzle, but a somewhat open-ended one (in particular, one that ought to be investigated in the context of specific ECCs) that feeds into active research in coding theory.  I'm hoping it will stimulate readers to rediscover some of the important notions in the area.  I'll give hints and/or literature pointers sometime soon.&lt;br /&gt;&lt;br /&gt;***&lt;br /&gt;&lt;br /&gt;...Ok, here goes:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Hint:&lt;/span&gt; 'List Decoding' is a concept which has seen a lot of applications recently.  Its starting point is the realization that, if we are willing to not always uniquely recover the codeword after errors are introduced, but instead narrow down the possibilities to a 'short' list of candidate messages, we can, for many natural codes, tolerate many more errors.  For instance, with a binary alphabet, we cannot achieve unique decoding for nontrivial codes beyond the threshold of a .25 fraction of errors.  On the other hand, if we allow list decoding (say, returning a &lt;span style="font-style:italic;"&gt;poly(n)&lt;/span&gt;-sized list of candidate messages given a corrupted codeword of length &lt;span style="font-style:italic;"&gt;O(n)&lt;/span&gt;), then we can tolerate almost a .5 fraction of errors.&lt;br /&gt;&lt;br /&gt;For more discussion and references, see &lt;a href="http://weblog.fortnow.com/2004/09/favorite-theorems-list-decoding.html"&gt;this&lt;/a&gt; post of Lance's.&lt;br /&gt;&lt;br /&gt;So: does list decodability of a code imply unique decodability with the help of a Guardian Angel, perhaps an Angel making only a relatively small number of 'saves'?  And if the list decoding procedure is computationally efficient, can the Guardian Angel and its associated decoder be efficient as well?&lt;br /&gt;&lt;br /&gt;***&lt;br /&gt;&lt;br /&gt;For a more thoroughly whimsical puzzle scenario, check out Conway's &lt;a href="http://en.wikipedia.org/wiki/Angel_problem"&gt;Angel Problem&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-4055891388411238801?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/4055891388411238801/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=4055891388411238801' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4055891388411238801'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4055891388411238801'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/07/guardian-angel-decoding.html' title='Guardian Angel Decoding'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-5372503014074988534</id><published>2007-06-21T22:19:00.001-04:00</published><updated>2007-06-24T16:52:56.724-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='complexity'/><title type='text'>Paths to Discovery: The Valiant-Vazirani Theorem</title><content type='html'>This post aims to give a plausible reconstruction of the discovery process behind the &lt;a href="http://en.wikipedia.org/wiki/Valiant-Vazirani_theorem"&gt;Valiant-Vazirani Theorem&lt;/a&gt;, a beautiful and important result in complexity theory.  If you haven't heard of this before, don't worry, read on.  This theorem's discovery path, which I'll render as an internal dialogue (not portraying Valiant or Vazirani themselves), illustrates well, I think, some characteristic patterns of complexity research.&lt;br /&gt;&lt;br /&gt;***&lt;br /&gt;&lt;br /&gt;So today is the day... I will prove P = NP via a supremely clever algorithm for Boolean Satisfiability!  Let me just arrange my pencils and paper, have a snack, and... let's go!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;[Tries, fails; gets another snack; putters.]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Alright, this is hopeless.  What is a possible source of the difficulty?  &lt;br /&gt;&lt;br /&gt;Maybe when algorithms are building up partial satisfying assignments, in different stages they stumble upon fragments of different satisfying assignments, and get caught up trying to combine them in a 'Frankenstein' assignment that doesn't work.&lt;br /&gt;&lt;br /&gt;For instance, say we have a formula expressing that the 6 variables all take a common value.  Then &lt;span style="font-style:italic;"&gt;000***&lt;/span&gt; and &lt;span style="font-style:italic;"&gt;***111&lt;/span&gt; are fragments of satisfying assignments, but they don't combine successfully.&lt;br /&gt;&lt;br /&gt;Is there a specific way to overcome this difficulty, to spot-check fragments for mutual compatibility?  Well, that sounds as hard as the original problem.&lt;br /&gt;&lt;br /&gt;But what if this problem didn't arise?  Maybe I could find satisfying assignments under the restrictive assumption that the formulae I'm given have at most one solution.  Such an algorithm would still be useful (e.g. for finding prime factorizations)--and, I'll add, impressive... OK, time for round 2!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;[Tries, fails]&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Damn, useless!  Ah well, it's a hard problem.  'A' for effort, now how about some more chips and salsa?  &lt;br /&gt;&lt;br /&gt;NO!  Keep it together.  What did your predecessors do when they failed to solve SAT?  Did they throw up their hands and walk away?  Or did they invent a sophisticated justification for their own failure?  The latter: NP-completeness.  They're feeling pretty smug about their 'failure' now... can we do something like that?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Well, ideally, we'd show that solving this restricted problem is JUST as hard as solving general SAT.  How would we show this?  The general reduction method would be--make sure I've got the directions straight...&lt;br /&gt;&lt;br /&gt;We want to find a polynomial-time computable function &lt;span style="font-style:italic;"&gt;R&lt;/span&gt; mapping formulas to formulas, such that:&lt;br /&gt;&lt;br /&gt;-If &lt;span style="font-style:italic;"&gt;P&lt;/span&gt; is satisfiable, &lt;span style="font-style:italic;"&gt;R(P)&lt;/span&gt; has exactly one satisfying assignment;&lt;br /&gt;&lt;br /&gt;-If &lt;span style="font-style:italic;"&gt;P&lt;/span&gt; is unsatisfiable, so is &lt;span style="font-style:italic;"&gt;R(P)&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Then, if we had an algorithm &lt;span style="font-style:italic;"&gt;A&lt;/span&gt; for our restricted SAT problem, and we wanted to determine the satisfiability of a general formula &lt;span style="font-style:italic;"&gt;P&lt;/span&gt;, we'd just compute &lt;span style="font-style:italic;"&gt;A(R(P))&lt;/span&gt; to get the answer.&lt;br /&gt;&lt;br /&gt;But how would such a reduction work?  Deciding which assignment to preserve seems like a tall order, granted that we don't even know an efficient way to find &lt;span style="font-style:italic;"&gt;any&lt;/span&gt; assignment.  If we fashioned the formula &lt;span style="font-style:italic;"&gt;R(P)&lt;/span&gt; as a more constrained version of &lt;span style="font-style:italic;"&gt;P&lt;/span&gt;, the danger is that we'd snuff out &lt;span style="font-style:italic;"&gt;all&lt;/span&gt; satisfying assignments.  On the other hand, what other technique could we possibly use to build &lt;span style="font-style:italic;"&gt;R(P)&lt;/span&gt;?  We can't allow in spurious new satisfying assignments that have nothing to do with those of &lt;span style="font-style:italic;"&gt;P&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Let's stick with the idea of making &lt;span style="font-style:italic;"&gt;R(P)&lt;/span&gt; a more restrictive version of &lt;span style="font-style:italic;"&gt;P&lt;/span&gt;, but let's abstract from our problem a bit.  We need to stop being tempted by the desire for information that would be useful in the reduction, but is itself NP-hard to compute.  Instead of a boolean formula with potentially analyzable structure, suppose we are faced with an arbitrary, 'black-box' 0/1-valued function &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; on a domain of size &lt;span style="font-style:italic;"&gt;m = 2^n&lt;/span&gt;.  We want to modify &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; in a way that 'kills' all but one of its 1-values.  Can we succeed in this setting?&lt;br /&gt;&lt;br /&gt;One way to kill 1-values is to create a function &lt;span style="font-style:italic;"&gt;g(&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt;) = f(&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt;)*h(&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt;)&lt;/span&gt;, where &lt;span style="font-style:italic;"&gt;h(&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt;)&lt;/span&gt; another 0/1-valued function.  Then &lt;span style="font-style:italic;"&gt;g&lt;/span&gt; is indeed a restricted version of &lt;span style="font-style:italic;"&gt;f&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;If we choose &lt;span style="font-style:italic;"&gt;h(&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt;) = 1&lt;/span&gt;, &lt;span style="font-style:italic;"&gt;g = f&lt;/span&gt; and we make no progress.  If we choose &lt;span style="font-style:italic;"&gt;h(&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt;) = 0&lt;/span&gt;, &lt;span style="font-style:italic;"&gt;g = 0&lt;/span&gt; and we have erased the information we need.  We need some happy medium, but we don't have the resources to analyze &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; in any meaningful way while producing &lt;span style="font-style:italic;"&gt;h&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Thus, the idea of letting &lt;span style="font-style:italic;"&gt;h(&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt;)&lt;/span&gt; be a &lt;span style="font-style:italic;"&gt;random&lt;/span&gt; function is almost forced on us!  Let's try it.  (Note that at this point we are more or less committing to a reduction with some probability of error... oh well.)&lt;br /&gt;&lt;br /&gt;Oops, there's a problem: suppose that &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; has many 1-values.  Then the probability that &lt;span style="font-style:italic;"&gt;g&lt;/span&gt; has at most one 1-value is very low.  We could instead let &lt;span style="font-style:italic;"&gt;g(&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt;) = f(&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt;)*h[1](&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt;)*...*h[j](&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt;)&lt;/span&gt;, for a larger number of random functions, but this would almost surely kill all the 1-values of &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; if there were few to begin with.&lt;br /&gt;&lt;br /&gt;Luckily, the range of sensible choices for &lt;span style="font-style:italic;"&gt;j&lt;/span&gt; isn't too large: if &lt;span style="font-style:italic;"&gt;j &gt;&gt; n&lt;/span&gt;, then almost surely all 1-values of &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; are killed off.  So let's just plan on guessing the 'right' value of &lt;span style="font-style:italic;"&gt;j&lt;/span&gt; for the &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; we are given.&lt;br /&gt;&lt;br /&gt;Does this approach do what we want it to?  Is there with fair probability some &lt;span style="font-style:italic;"&gt;j&lt;/span&gt; where &lt;span style="font-style:italic;"&gt;g(x) = f(x)*h[1](x)*...*h[j](&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt;)&lt;/span&gt; has only a single 1-value?  Let's think of multiplying by the &lt;span style="font-style:italic;"&gt;h[i]&lt;/span&gt;'s sequentially--with each stage, each 1-value in the 'population' is independently 'killed' with probability 1/2.  It seems not unlikely that at some stage exactly one remains (call this event 'Isolation').  &lt;span style="font-weight:bold;"&gt;[Try verifying this.]&lt;/span&gt;  And since we can guess the right &lt;span style="font-style:italic;"&gt;j&lt;/span&gt; with at least an inverse-polynomial probability, if we repeat the experiment a &lt;span style="font-style:italic;"&gt;poly(n)&lt;/span&gt; number of times, we should succeed in Isolation at least once with high probability--assuming &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; has &lt;span style="font-style:italic;"&gt;any&lt;/span&gt; 1-values, of course.  &lt;br /&gt;&lt;br /&gt;There is one hurdle: choosing even a single truly random function &lt;span style="font-style:italic;"&gt;h&lt;/span&gt; on &lt;span style="font-style:italic;"&gt;n&lt;/span&gt; bits is computationally expensive, since almost certainly this &lt;span style="font-style:italic;"&gt;h&lt;/span&gt; takes around &lt;span style="font-style:italic;"&gt;2^n&lt;/span&gt; bits even to describe.  We can't afford this.  Is there some smaller stand-in for this sample space, that is 'random enough' for our purposes?  Maybe 'pairwise independence' of the values of &lt;span style="font-style:italic;"&gt;h&lt;/span&gt; is enough (this is the condition that, for any &lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt; != &lt;span style="font-weight:bold;"&gt;y&lt;/span&gt;&lt;/span&gt;, the values &lt;span style="font-style:italic;"&gt;h(&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt;), h(&lt;span style="font-weight:bold;"&gt;y&lt;/span&gt;)&lt;/span&gt; are independent of each other)... &lt;span style="font-weight:bold;"&gt;[Show that, indeed, this is true: Isolation occurs for some &lt;span style="font-style:italic;"&gt;j&lt;/span&gt; with probability at least 1/8.]&lt;/span&gt;  &lt;br /&gt;&lt;br /&gt;If so, each random function &lt;span style="font-style:italic;"&gt;h[i](&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt;)&lt;/span&gt; can be replaced by the much more concisely represented function &lt;span style="font-style:italic;"&gt;(&lt;span style="font-weight:bold;"&gt;a&lt;/span&gt;*&lt;span style="font-weight:bold;"&gt;x&lt;/span&gt; - b)&lt;/span&gt;, where a is a random n-vector and b a random bit.  These can be added (in conjunctive form) to the formula representation of &lt;span style="font-style:italic;"&gt;f&lt;/span&gt;, allowing us to work within the original problem framework.&lt;br /&gt;&lt;br /&gt;Let's review the technique: given our formula &lt;span style="font-style:italic;"&gt;f&lt;/span&gt;, we repeatedly produce functions of form &lt;span style="font-style:italic;"&gt;g = f*h[1]...*h[j]&lt;/span&gt;, where &lt;span style="font-style:italic;"&gt;j&lt;/span&gt; is random and the &lt;span style="font-style:italic;"&gt;h[i]&lt;/span&gt; are mutually independent and individually pairwise independent over their domain.  If &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; has a 1-value, then each &lt;span style="font-style:italic;"&gt;g&lt;/span&gt; has exactly 1 1-value with non-negligible probability, so if we repeat many times, with high probability we achieve Isolation at least once, and our assumed algorithm for finding unique satisfying SAT assignments finds a solution to this &lt;span style="font-style:italic;"&gt;g&lt;/span&gt;, which is also a satisfying assignment to &lt;span style="font-style:italic;"&gt;f&lt;/span&gt;.  If we don't find such an assignment, chances are &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; was unsatisfiable to begin with.&lt;br /&gt;&lt;br /&gt;***&lt;br /&gt;&lt;br /&gt;(I left some of the final steps as exercises both because they're nifty, manageable puzzles, and because they're not distinctively complexity-theoretic.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What are the methodological ideas illustrated here?  Let's see:&lt;br /&gt;&lt;br /&gt;-Don't single-mindedly pursue goals (like showing &lt;span style="font-style:italic;"&gt;P = NP&lt;/span&gt;); look for more modest achievements (like finding unique satisfying assignments), that attempt to remove some important perceived difficulties (here, 'interference' between multiple satisfying assignments).&lt;br /&gt;&lt;br /&gt;-Sometimes seemingly modest goals, like this one, are essentially as difficult as the original problem.  Keep this in mind, and be explained not just to report success, but also to explain failure.&lt;br /&gt;&lt;br /&gt;-Try stripping away problem details that one doesn't know how to exploit effectively (here, by 'forgetting' the logical structure of the input formula).&lt;br /&gt;&lt;br /&gt;-When you don't know what to do, try acting randomly.  Be prepared to sacrifice in the process: here, our reduction can't prove that producing unique assignments is hard from the assumption &lt;span style="font-style:italic;"&gt;P != NP&lt;/span&gt;; we must resort to the assumption &lt;span style="font-style:italic;"&gt;RP != NP&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;-Limited randomness is often almost as effective as full randomness, and much cheaper.  &lt;span style="font-style:italic;"&gt;k&lt;/span&gt;-wise independence (and, in other settings, almost-independence) are one such example; 'min-entropy' is another.  On the other hand, it can be conceptually simpler to initially design algorithms with full randomness in mind (as we did), then inspect the analysis to see the extent to which derandomization is possible.  In fact, more randomness-efficient versions of the V-V Theorem do exist (I will try to track down the papers).&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I'm thinking about a 'Paths to Discovery' sequel on hardness-of-learning results, another area (also bearing the mark of Les Valiant) where the theorems are ultimately simple, but the challenge is determining the right form and target of the reduction.  Any feedback, or other suggestions?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-5372503014074988534?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/5372503014074988534/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=5372503014074988534' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/5372503014074988534'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/5372503014074988534'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/06/paths-to-discovery-valiant-vazirani.html' title='Paths to Discovery: The Valiant-Vazirani Theorem'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-2533479770025698509</id><published>2007-05-30T18:21:00.000-04:00</published><updated>2009-03-06T11:29:09.155-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><category scheme='http://www.blogger.com/atom/ns#' term='probability'/><title type='text'>Flooding and Kleitman's Theorem</title><content type='html'>In their classic, and highly entertaining, &lt;a href="http://www.amazon.com/Probabilistic-Wiley-Interscience-Discrete-Mathematics-Optimization/dp/0471370460"&gt;survey book&lt;/a&gt; on probabilistic methods in combinatorics, Alon and Spencer pose the following question: suppose we generate a random graph on &lt;span style="font-style: italic;"&gt;n&lt;/span&gt; vertices, independently including each edge with probability 1/2.  Suppose we do not look at the graph right away, but are informed that the graph we got contains a Hamiltonian path, that is, a path visiting each vertex exactly once.&lt;br /&gt;&lt;br /&gt;Does this knowledge make it more or less likely that the graph is nonplanar?&lt;br /&gt;&lt;br /&gt;Of course, it should make it more likely.  Please stop and verify that this ought to be true.  Can you prove it?&lt;br /&gt;&lt;br /&gt;Results that prove facts like this are called 'correlation inequalities', and the simplest one that applies here is called Kleitman's Theorem.  (In Alon and Spencer, Kleitman's Theorem is derived from more general results, but I encourage you to try to prove it directly.)&lt;br /&gt;&lt;br /&gt;Say a subset &lt;span style="font-style: italic;"&gt;A&lt;/span&gt; of the Boolean cube is &lt;span style="font-style: italic;"&gt;monotone&lt;/span&gt; if, whenever &lt;span style="font-style: italic;"&gt;x&lt;/span&gt; is in &lt;span style="font-style: italic;"&gt;A&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;y &gt;= x&lt;/span&gt; (bitwise domination), then &lt;span style="font-style: italic;"&gt;y&lt;/span&gt; is in &lt;span style="font-style: italic;"&gt;A&lt;/span&gt; too.  We may also say that &lt;span style="font-style: italic;"&gt;A&lt;/span&gt; is 'upwards closed'.&lt;br /&gt;&lt;br /&gt;Kleitman's Theorem states that, given two monotone subsets &lt;span style="font-style: italic;"&gt;A, B&lt;/span&gt; of the Boolean cube, if we pick a random cube element &lt;span style="font-style: italic;"&gt;z&lt;/span&gt;, the chance of &lt;span style="font-style: italic;"&gt;z&lt;/span&gt; being in &lt;span style="font-style: italic;"&gt;B&lt;/span&gt; cannot decrease if we condition on the event that &lt;span style="font-style: italic;"&gt;z&lt;/span&gt; is in &lt;span style="font-style: italic;"&gt;A&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;So, in the example, let the bits of the cube represent the presence/absence of edges in a graph of fixed size. Let &lt;span style="font-style: italic;"&gt;A&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;B&lt;/span&gt; be the properties of Hamiltonicity and nonplanarity, respectively.  Then Kleitman yields the intuitive fact we were looking for.&lt;br /&gt;&lt;br /&gt;***&lt;br /&gt;&lt;br /&gt;Now I am going to describe how Kleitman's result solves the &lt;a href="http://andysresearch.blogspot.com/2007/05/not-social-commentary.html"&gt;previous flooded-city puzzle&lt;/a&gt; I posed last time.  In fact, trying to reprove Kleitman's Theorem was what led me to pose the flooding puzzle in the first place, although I now tend to think of Kleitman's as the logically prior result. &lt;br /&gt;&lt;br /&gt;To do this requires an easy generalization of Kleitman's Theorem, where we replace the boolean cube in the statement with &lt;span style="font-style: italic;"&gt;{0, 1, ... m}^n&lt;/span&gt;.  So, e.g., vector &lt;span style="font-style: italic;"&gt;(3, 4, 5)&lt;/span&gt; dominates &lt;span style="font-style: italic;"&gt;(3, 3, 4)&lt;/span&gt;, but is incomparable with &lt;span style="font-style: italic;"&gt;(4, 0, 0)&lt;/span&gt;.  In fact, we'll only need this result for &lt;span style="font-style: italic;"&gt;n = 2&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Create a bipartite graph &lt;span style="font-style: italic;"&gt;U x F&lt;/span&gt;, with unflooded houses on the left and flooded houses on the right.  Add an edge from an unflooded house &lt;span style="font-style: italic;"&gt;h&lt;/span&gt; to a flooded house &lt;span style="font-style: italic;"&gt;h'&lt;/span&gt; if there exists an &lt;span style="font-style: italic;"&gt;h&lt;/span&gt;-to-&lt;span style="font-style: italic;"&gt;h'&lt;/span&gt; path with all steps running north or east.&lt;br /&gt;&lt;br /&gt;Given a set &lt;span style="font-style: italic;"&gt;S&lt;/span&gt; of unflooded houses, let &lt;span style="font-style: italic;"&gt;N(S)&lt;/span&gt; denote the flooded houses adjacent to some house of &lt;span style="font-style: italic;"&gt;S&lt;/span&gt; in the bipartite graph.&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_88neJExG8YQ/Rl91nmPf5OI/AAAAAAAAABo/5KCKe7XPOac/s1600-h/flood2.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp2.blogger.com/_88neJExG8YQ/Rl91nmPf5OI/AAAAAAAAABo/5KCKe7XPOac/s400/flood2.jpg" alt="" id="BLOGGER_PHOTO_ID_5070901028583367906" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;In the example above, the green-circled houses are &lt;span style="font-style: italic;"&gt;S&lt;/span&gt; and the orange-circled flooded houses are &lt;span style="font-style: italic;"&gt;N(S)&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Each unflooded house contains a unit amount of water to be delivered, while each flooded house needs an amount &lt;span style="font-style: italic;"&gt;|U|/|F|&lt;/span&gt; of water delivered, which can only be delivered from a house that is adjacent in the graph we defined.  Then, by a version of &lt;a href="http://en.wikipedia.org/wiki/Marriage_theorem"&gt;Hall's Theorem&lt;/a&gt;, not difficult to derive from the original formulation, the delivery plan we seek exists if and only if for every subset &lt;span style="font-style: italic;"&gt;S&lt;/span&gt; of &lt;span style="font-style: italic;"&gt;U&lt;/span&gt;, the total water-need of &lt;span style="font-style: italic;"&gt;N(S)&lt;/span&gt; meets or exceeds the amount of water available from &lt;span style="font-style: italic;"&gt;S&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Suppose that the desired allocation does not exist.  Then by Hall's Theorem, there exists some subset &lt;span style="font-style: italic;"&gt;S&lt;/span&gt; of &lt;span style="font-style: italic;"&gt;U&lt;/span&gt; such that the water supplied by &lt;span style="font-style: italic;"&gt;S&lt;/span&gt; exceeds the need of &lt;span style="font-style: italic;"&gt;N(S)&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;We take such an &lt;span style="font-style: italic;"&gt;S&lt;/span&gt; and iteratively add into &lt;span style="font-style: italic;"&gt;S&lt;/span&gt; all the unflooded north- and east-neighbors of houses in &lt;span style="font-style: italic;"&gt;S&lt;/span&gt;.  This doesn't increase the size of &lt;span style="font-style: italic;"&gt;N(S)&lt;/span&gt;, but it does increase the amount of water supplied by &lt;span style="font-style: italic;"&gt;S&lt;/span&gt;, so the resulting modified &lt;span style="font-style: italic;"&gt;S&lt;/span&gt; is still a witness to the impossibility of our desired allocation. &lt;br /&gt;&lt;br /&gt;We repeat this until the union of &lt;span style="font-style: italic;"&gt;S&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;N(S)&lt;/span&gt; is upwards-closed.  Call the resulting set &lt;span style="font-style: italic;"&gt;S'&lt;/span&gt;.  Since &lt;span style="font-style: italic;"&gt;S'&lt;/span&gt; supplies more water than &lt;span style="font-style: italic;"&gt;N(S')&lt;/span&gt; demands, the ratio &lt;span style="font-style: italic;"&gt;|S'|/|N(S')|&lt;/span&gt; exceeds &lt;span style="font-style: italic;"&gt;|U|/|F|&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;If &lt;span style="font-style: italic;"&gt;S&lt;/span&gt; were as in the example above, &lt;span style="font-style: italic;"&gt;S'&lt;/span&gt; would be the purple-circled set of houses below:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_88neJExG8YQ/Rl91cGPf5NI/AAAAAAAAABg/oecggqhlY-I/s1600-h/flood3.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://bp0.blogger.com/_88neJExG8YQ/Rl91cGPf5NI/AAAAAAAAABg/oecggqhlY-I/s400/flood3.jpg" alt="" id="BLOGGER_PHOTO_ID_5070900831014872274" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This means that, if we pick a house at random from within the union of &lt;span style="font-style: italic;"&gt;S'&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;N(S')&lt;/span&gt;, we are less likely to get a flooded house than if we picked a house uniformly at random from the whole city.  This means that, in picking uniformly from the whole city, the (upwards-closed) event of getting a flooded house is &lt;span style="font-style: italic;"&gt;negatively correlated&lt;/span&gt; with the upwards-closed event of getting a house from the union of &lt;span style="font-style: italic;"&gt;S'&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;N(S')&lt;/span&gt;--a contradiction to the generalized Kleitman's Theorem.&lt;br /&gt;&lt;br /&gt;We conclude that the desired delivery plan exists, and can be found in polynomial time using known algorithms for bipartite matching.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-2533479770025698509?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/2533479770025698509/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=2533479770025698509' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/2533479770025698509'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/2533479770025698509'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/05/flooding-and-kleitmans-theorem.html' title='Flooding and Kleitman&apos;s Theorem'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_88neJExG8YQ/Rl91nmPf5OI/AAAAAAAAABo/5KCKe7XPOac/s72-c/flood2.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-9133429281244292065</id><published>2007-05-23T22:45:00.000-04:00</published><updated>2007-05-23T23:13:08.370-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><title type='text'>Not Social Commentary</title><content type='html'>There's been some unfortunate flooding in Grid City:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_88neJExG8YQ/RlT8f-v0SuI/AAAAAAAAABY/ohYoTRFfFZQ/s1600-h/flood.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_88neJExG8YQ/RlT8f-v0SuI/AAAAAAAAABY/ohYoTRFfFZQ/s400/flood.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5067953107048352482" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;The water swept in from the Northeast, so if any house is currently flooded, and it has neighbors to the North or East, it's a safe bet they're flooded too.  (Other than this fact, and the grid layout, you should disregard the specifics of the map given.)&lt;br /&gt;&lt;br /&gt;The water is low and flooded houses are still livable, but they need tap water.  In a show of social cohesion befitting Grid City, each non-flooded household immediately donates 50 gallons of water to the effort.  The goal is to distribute this water evenly among the flooded houses, and there is no shortage of volunteers to help.  Also, quantities of water can be poured and combined or subdivided with precision.&lt;br /&gt;&lt;br /&gt;But water is heavy and, let us say, has to be carried around on foot, so some plan is needed.  An ideal of efficiency would be that water is never carried in the South or West directions.&lt;br /&gt;&lt;br /&gt;Can both objectives be met simultaneously?&lt;br /&gt;&lt;br /&gt;***&lt;br /&gt;&lt;br /&gt;In the next post, I'll explain how this puzzle came up and my solution.  But I'm curious to hear other approaches first, if you care to try.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-9133429281244292065?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/9133429281244292065/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=9133429281244292065' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/9133429281244292065'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/9133429281244292065'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/05/not-social-commentary.html' title='Not Social Commentary'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp1.blogger.com/_88neJExG8YQ/RlT8f-v0SuI/AAAAAAAAABY/ohYoTRFfFZQ/s72-c/flood.jpg' height='72' width='72'/><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-418123656640038755</id><published>2007-05-16T23:41:00.001-04:00</published><updated>2007-08-08T16:07:28.390-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><category scheme='http://www.blogger.com/atom/ns#' term='computability'/><title type='text'>Dogs in the Mineshaft</title><content type='html'>A couple posts ago I described some shenanigans with cats in a binary tree.  &lt;br /&gt;But that was just the front yard.  The back yard is worse: it contains the opening of an old mineshaft that descends infinitely far into the earth's depths.&lt;br /&gt;&lt;br /&gt;Well, there's some funky smell down there that dogs just have to investigate.  So, every day, some finite number of dogs may enter or go further down the (unbranching) shaft.  They never go back upwards.  Here's the scene:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp3.blogger.com/_88neJExG8YQ/RkvOiuv0StI/AAAAAAAAABM/wXr8mNmg_oM/s1600-h/dogshaft.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp3.blogger.com/_88neJExG8YQ/RkvOiuv0StI/AAAAAAAAABM/wXr8mNmg_oM/s400/dogshaft.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5065369301967719122" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;As before, you've got angry owners on your hands.  You refuse to close off the shaft (it's too nifty) but again you're willing to try and ensure that any individual dog descends only finitely far into the shaft.  Your tool this time: it turns out that after enjoying a good steak, a dog will curl up and fall asleep indefinitely.  &lt;br /&gt;&lt;br /&gt;The difficulty is that, before eating any steak you give it, the dog may carry it arbitrarily far further down the tunnel.  If it passes sleeping dogs, they may be awakened by the steak aroma, and resume their descent.&lt;br /&gt;&lt;br /&gt;Money, time, and steaks are no object, and you can outrun the dogs, who won't smell the steaks if they're sealed in your coat pocket.  Can you keep your promise to the owners?&lt;br /&gt;&lt;br /&gt;To get you started, consider a simple but unsuccessful strategy of giving a steak to every dog every day.  The problem is that some dog &lt;span style="font-style:italic;"&gt;D&lt;/span&gt; may have a sequence of 'accomplice' dogs: every time &lt;span style="font-style:italic;"&gt;D&lt;/span&gt; falls asleep, a new accomplice will run into the tunnel and hang out above &lt;span style="font-style:italic;"&gt;D&lt;/span&gt; in the shaft.  When you give the accomplice a steak, it'll scamper past &lt;span style="font-style:italic;"&gt;D&lt;/span&gt;, who'll rouse and go further.  In fact, it may happen that &lt;span style="font-style:italic;"&gt;every&lt;/span&gt; dog goes infinitely far down the tunnel!&lt;br /&gt;&lt;br /&gt;Another simple idea is to give a steak every day to the dog furthest down the tunnel, if that dog is not already asleep.  This avoids ever waking up sleeping dogs (assuming that the previous day's steak has had its effect; if not we can just wait longer), but it falls victim to a 'rear-guard' attack: a dog that trails constantly just above/behind the current leader.&lt;br /&gt;&lt;br /&gt;***&lt;br /&gt;&lt;br /&gt;This is a challenging puzzle (unless there's a glitch in the set-up, which I've checked over).  But it's well worth thinking about, because the solution strategy--the 'finite injury' or 'priority' method of Friedberg and Muchnik--revolutionized computability theory.  Some would say it marked the end of its comprehensibility to outside observers, but I'm optimistic that is not the case.  The ingenious strategy is lovely, simple, and, fingers crossed, easier to see in a puzzle setting.  I will discuss the solution in a future post, so stay tuned.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Update:&lt;/span&gt; Scratch that, Gareth Rees has solved the puzzle and clearly explained the solution for us, in the comments section of &lt;a href="http://andysresearch.blogspot.com/2007/05/trees-and-infinity-part-iii.html"&gt;'Trees and Infinity, part III'&lt;/a&gt;.  I may still talk more in the future about its significance to computability.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-418123656640038755?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/418123656640038755/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=418123656640038755' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/418123656640038755'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/418123656640038755'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/05/dogs-in-mineshaft_16.html' title='Dogs in the Mineshaft'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp3.blogger.com/_88neJExG8YQ/RkvOiuv0StI/AAAAAAAAABM/wXr8mNmg_oM/s72-c/dogshaft.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-1275948919287184162</id><published>2007-05-14T20:14:00.000-04:00</published><updated>2007-05-15T17:18:32.012-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><title type='text'>Feed Me</title><content type='html'>A note to readers: I now have an RSS feed, accessible on the right toolbar ('Atom').  When used with appropriate software/sites (I have feeds on my homepage at My Yahoo), this will let you know when I've put up a new post--useful for a blog like this, where posts come strictly at random intervals.  As always, I encourage feedback, which will bring more-frequent and more closely-tailored posts.&lt;br /&gt;&lt;br /&gt;I try not to do throwaway posts, so how can I salvage this one? Hmm... a puzzle suggests itself:&lt;br /&gt;&lt;br /&gt;Modern undergraduate that you are, you're watching bootleg 'Scrubs' episodes on your laptop.  This goes on for three hours or so.  Meanwhile, your site-feeds page occasionally updates to display someone's new blog post.  When your favored blogs post, the content hits your feed within 10 minutes, but the precise delay is nondeterministic--could be 0, 10, or anything in between.&lt;br /&gt;&lt;br /&gt;You register the order in which the feed updates come in.  Now: is there an efficient method to calculate the number of 'true orders' in which the bloggers could have made their updates?&lt;br /&gt;&lt;br /&gt;For example: say updates &lt;span style="font-style:italic;"&gt;A, B, C&lt;/span&gt; came at 12:30, 12:35, and 12:41 respectively.  Then this is consistent with the true-orders &lt;span style="font-style:italic;"&gt;ABC, BAC, ACB&lt;/span&gt;, but not with, e.g. &lt;span style="font-style:italic;"&gt;CAB&lt;/span&gt;.  Thus the answer here is 3 ways.&lt;br /&gt;&lt;br /&gt;Good luck!  Does your method work if each individual blogger has their own (known) interval of possible delays?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Clarification:&lt;/span&gt; I haven't solved this problem.  It might be #P-complete, and the proof of this might be very technical.  It seems related to work on counting linear extensions of posets (which is #P-complete in general), discussed by Suresh &lt;a href="http://geomblog.blogspot.com/2007/03/order-polytopes.html"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-1275948919287184162?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/1275948919287184162/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=1275948919287184162' title='15 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1275948919287184162'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1275948919287184162'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/05/feed-me.html' title='Feed Me'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>15</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-2394482332763377582</id><published>2007-05-14T16:13:00.000-04:00</published><updated>2007-09-27T13:38:37.802-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><category scheme='http://www.blogger.com/atom/ns#' term='geometry'/><title type='text'>The 'Sack of Potatoes' Theorem</title><content type='html'>Tired of packing &lt;a href="http://en.wikipedia.org/wiki/Ham_sandwich_theorem"&gt;ham sandwiches&lt;/a&gt; for lunch every day?  Have some spuds for a change.&lt;br /&gt;&lt;br /&gt;You've got a countable collection &lt;span style="font-style:italic;"&gt;A_1, A_2, A_3, ... &lt;/span&gt; of potatoes.  A potato is a convex body of diameter at most 1.&lt;br /&gt;&lt;br /&gt;(That is: if &lt;span style="font-style:italic;"&gt;p, q&lt;/span&gt; are points in a potato &lt;span style="font-style:italic;"&gt;P&lt;/span&gt;, &lt;span style="font-style:italic;"&gt;P&lt;/span&gt; also contains the entire line segment between them; furthermore, &lt;span style="font-style:italic;"&gt;p, q&lt;/span&gt; are at a distance at most 1 from each other.)&lt;br /&gt;&lt;br /&gt;Furthermore, most of these spuds are incredibly dinky: the total volume of the entire collection is at most some finite value &lt;span style="font-style:italic;"&gt;v&lt;/span&gt;, say, 4 cubic inches.  You'd really like to eat them all.  &lt;br /&gt;&lt;br /&gt;Trouble is, mashing or cutting them up beforehand would ruin their freshness.  You want to bring them all to work whole in your lunchbox.&lt;br /&gt;&lt;br /&gt;Prove that these spuds can be packed into a box of finite dimensions.  In fact, such dimensions can be computed solely in terms of &lt;span style="font-style:italic;"&gt;v&lt;/span&gt;, independent of the precise shape of the potatoes.  &lt;br /&gt;&lt;br /&gt;***&lt;br /&gt;&lt;br /&gt;How to get started on a puzzle like this?  One should try to find a sequence of reductions to simplify the problem.  So, first, suppose we could do it for rectangular potatoes.  Show how to pack a single potato of volume &lt;span style="font-style:italic;"&gt;c&lt;/span&gt; into a box of volume at most a constant multiple of &lt;span style="font-style:italic;"&gt;c&lt;/span&gt;, also with bounded diameter.  Then, if you can pack these boxes (which have finite total volume), you've packed the potatoes they contain.&lt;br /&gt;&lt;br /&gt;I solved the 2-D case, but haven't yet worked on 3-D or &lt;span style="font-style:italic;"&gt;n&lt;/span&gt; dimensions (where it is also true).  I read about this result in a charming volume: &lt;a href="http://www-groups.dcs.st-and.ac.uk/~history/HistTopics/Scottish_Book.html"&gt;The Scottish Book&lt;/a&gt;, a collection of research problems (some simple, some still open) compiled by high-caliber, and very imaginative, mathematicians, including Ulam, Banach, and Mazur, who met regularly in the 'Scottish Coffee House', confusingly located in Lwow, Poland, during the '30s.  Their book of problems was kept there by the management and notes the prizes--'A bottle of wine', etc.--offered for various solutions.  It's definitely worth looking over, both for its diverse contents and for the image of mathematical community it offers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-2394482332763377582?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/2394482332763377582/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=2394482332763377582' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/2394482332763377582'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/2394482332763377582'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/05/sack-of-potatoes-theorem.html' title='The &apos;Sack of Potatoes&apos; Theorem'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-8182311926441801860</id><published>2007-05-08T23:28:00.000-04:00</published><updated>2008-06-11T16:35:54.583-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><category scheme='http://www.blogger.com/atom/ns#' term='computability'/><title type='text'>Trees and Infinity, part III</title><content type='html'>&lt;a href="http://www.garethrees.org/2007/05/20/enumeratin.jpg "&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;width: 400px;" src="http://www.garethrees.org/2007/05/20/enumeratin.jpg " border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(Hat tip to Gareth--my first fan art!)&lt;br /&gt;&lt;br /&gt;Today, a computability theory-inspired quickie puzzle.  Can you face down the infinite in its many guises?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Cats in a Tree&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Some GMO-contaminated sludge washed onto your property during the latest freak weather event.  A few weeks later, a mysterious tree has sprouted on the lawn, and its progress is astounding--every day, a new layer of binary growth appears:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_88neJExG8YQ/RkEY_UJQ27I/AAAAAAAAABE/HdAu9HTNopA/s1600-h/cattree1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_88neJExG8YQ/RkEY_UJQ27I/AAAAAAAAABE/HdAu9HTNopA/s400/cattree1.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5062354932159536050" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;This would be peachy, but there's a problem: your neighborhood suffers from a plague of cats.  Mangy, poorly drawn, tree-climbing cats:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_88neJExG8YQ/RkEYvkJQ26I/AAAAAAAAAA8/CWGPZAaJNP8/s1600-h/cattree2.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_88neJExG8YQ/RkEYvkJQ26I/AAAAAAAAAA8/CWGPZAaJNP8/s400/cattree2.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5062354661576596386" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;On any given day, some (finite) number of cats may start climbing the tree, or continue their climb from a previous day.  What they don't know how to do is come down, not even a single level.&lt;br /&gt;The cats all have irate, protective owners.  They want you to cut down this cat sinkhole at once (after rescuing their pets).  But you're not going for that--you want the world's largest tree, with unending growth.&lt;br /&gt;&lt;br /&gt;Here's the compromise you'd like to offer the owners: a guarantee that every cat &lt;span style="font-style:italic;"&gt;C&lt;/span&gt; will eventually be prevented from climbing above some level &lt;span style="font-style:italic;"&gt;n&lt;/span&gt; (which may depend on &lt;span style="font-style:italic;"&gt;C&lt;/span&gt;).&lt;br /&gt;&lt;br /&gt;To achieve this, you have the following means: on any day, you can climb to any number of nodes of the tree and strip the bark there, preventing further growth above the stripped nodes.&lt;br /&gt;Of course, stripping the root node would stop the cats.  The challenge, again, is to achieve unending growth as well (though not necessarily the full binary tree).  &lt;br /&gt;&lt;br /&gt;Good luck!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;***&lt;br /&gt;&lt;br /&gt;This puzzle models the theorem that there exists an infinite recursive tree with no infinite recursive path.  (Interestingly, however, no recursive tree &lt;span style="font-style:italic;"&gt;T&lt;/span&gt; can have the Halting problem computable with the aid of an arbitrarily chosen infinite path from &lt;span style="font-style:italic;"&gt;T&lt;/span&gt;.  Promise problems are subtle...)&lt;br /&gt;&lt;br /&gt;Can the whole theory of computability be 'sweetened up' this way, like the Flintstones vitamins I gobbled up in my youth?  Here's a proposal: once students understand programs' capacity to simulate other programs and other computational models, dovetail search procedures, and other 'infrastructural' techniques, it may be preferable to actively 'forget' the computational statement of a problem one aims to prove.  &lt;br /&gt;So, in the above puzzle, the cats correspond to different simulated programs in an enumeration, but we are so profoundly unable to predict in advance the behavior of these programs that it might be better to think of the situation adversarially--hence, mischievous cats who do just as they please.&lt;br /&gt;Of course, one could also make a case for the aid to visualization, and possibly generalization, given by the metaphoric puzzle format, but here I mean specifically to ask whether metaphors might help students develop a stronger familiarity with the black-box methodology of computer science.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://andysresearch.blogspot.com/2007/05/dogs-in-mineshaft_16.html"&gt;Next time&lt;/a&gt;: the Finite Injury method!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-8182311926441801860?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/8182311926441801860/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=8182311926441801860' title='33 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/8182311926441801860'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/8182311926441801860'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/05/trees-and-infinity-part-iii.html' title='Trees and Infinity, part III'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_88neJExG8YQ/RkEY_UJQ27I/AAAAAAAAABE/HdAu9HTNopA/s72-c/cattree1.jpg' height='72' width='72'/><thr:total>33</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-3617301675100765845</id><published>2007-05-03T21:57:00.001-04:00</published><updated>2007-05-03T22:40:47.076-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><title type='text'>The Antichain King</title><content type='html'>Some readers should be familiar with the classic &lt;a href="http://en.wikipedia.org/wiki/Kruskal%E2%80%93Katona_theorem"&gt;Kruskal-Katona Theorem&lt;/a&gt;.   Well, legend came to life today... Gyula O. H. Katona (of the Renyi Institute in Hungary) just came to our department and gave a talk about his main area of expertise, extremal set theory.&lt;br /&gt;&lt;br /&gt;&lt;a href="http://planetmath.org/encyclopedia/SpernersTheorem.html"&gt;Sperner's Theorem&lt;/a&gt; was the result that launched this now-sprawling field.  It addresses the following question: How large a family of subsets &lt;span style="font-style:italic;"&gt;{S_1, ... S_m}&lt;/span&gt; of &lt;span style="font-style:italic;"&gt;{1, 2, ... n}&lt;/span&gt; can we find, such that no &lt;span style="font-style:italic;"&gt;S_i&lt;/span&gt; contains another &lt;span style="font-style:italic;"&gt;S_j&lt;/span&gt;? (Such a family is called an &lt;span style="font-style:italic;"&gt;antichain&lt;/span&gt; in the lattice of subsets of &lt;span style="font-style:italic;"&gt;{1, 2, ... n}&lt;/span&gt; partially ordered by set inclusion.)&lt;br /&gt;&lt;br /&gt;Sperner states that the collection of all sets of size (floor-of-) &lt;span style="font-style:italic;"&gt;n/2&lt;/span&gt; gives the biggest such antichain you could hope for.  It's clear that this set is a &lt;span style="font-style:italic;"&gt;maximal&lt;/span&gt; antichain (can't be augmented); the claim is that it's also globally optimal.&lt;br /&gt;&lt;br /&gt;Katona mentioned some nice applications of Sperner's Theorem.  Here's a cute one: given a set of real numbers all greater than 1, use Sperner's Theorem to bound the number of subset sums taking on a value in any interval &lt;span style="font-style:italic;"&gt;[x, x+1)&lt;/span&gt;, &lt;span style="font-style:italic;"&gt;x&lt;/span&gt; a positive real.  This bounds the concentration of the random variable that outputs a randomly chosen subset-sum.&lt;br /&gt;&lt;br /&gt;He mentioned many generalizations as well.  Sperner's Theorem can be viewed as a statement about the number of sets necessary to guarantee an ordered pair, but we can ask about guaranteeing ordered triples, diamonds, or any poset &lt;span style="font-style:italic;"&gt;P&lt;/span&gt; for that matter.  He and colleagues have results of this form, and he conjectures that for any poset &lt;span style="font-style:italic;"&gt;P&lt;/span&gt;, there exists a constant &lt;span style="font-style:italic;"&gt;c&lt;/span&gt; depending only on &lt;span style="font-style:italic;"&gt;P&lt;/span&gt; such that, for all &lt;span style="font-style:italic;"&gt;n&lt;/span&gt;, there exists a maximum &lt;span style="font-style:italic;"&gt;P&lt;/span&gt;-excluding family of subsets of &lt;span style="font-style:italic;"&gt;{1, 2, ... n}&lt;/span&gt;, such that all sets in the family have size in the range &lt;span style="font-style:italic;"&gt;(n/2 - c(P), n/2 + c(P))&lt;/span&gt;.  So, the structure of optimality in Sperner's result could extend way further (Erdos proved a result of this type for all chains &lt;span style="font-style:italic;"&gt;P&lt;/span&gt;).&lt;br /&gt;&lt;br /&gt;Finally, Katona mentioned the 'group testing' problem that first drew him into this whole web of intrigue:  &lt;br /&gt;&lt;br /&gt;Given &lt;span style="font-style:italic;"&gt;n, r&lt;/span&gt;, there are &lt;span style="font-style:italic;"&gt;n&lt;/span&gt; boxes, &lt;span style="font-style:italic;"&gt;r &lt; n&lt;/span&gt; of which contain (say) radioactive material.  We can in one step test any subset of the boxes for presence of radioactivity (but get no sense of how many radioactive boxes are in the group, just 'some' or 'none').  How many tests are necessary to determine the &lt;span style="font-style:italic;"&gt;r&lt;/span&gt; hot boxes?&lt;br /&gt;&lt;br /&gt;Sperner theory is relevant to the nonadaptive-query case.  &lt;br /&gt;&lt;br /&gt;Well?  Can you see such an elegantly posed question and not try your hand at it?  Thanks, Professor Katona!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-3617301675100765845?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/3617301675100765845/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=3617301675100765845' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/3617301675100765845'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/3617301675100765845'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/05/antichain-king_03.html' title='The Antichain King'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-8665213842637243079</id><published>2007-04-22T17:59:00.001-04:00</published><updated>2007-09-27T13:38:37.802-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='geometry'/><title type='text'>Where Does Convexity Come From?</title><content type='html'>I sometimes find it useful to distinguish between 'forwards' and 'backwards' orientations in mathematics.  Given some object or family &lt;span style="font-style:italic;"&gt;X&lt;/span&gt;, we can (in the 'forwards' direction) see what the existence of &lt;span style="font-style:italic;"&gt;X&lt;/span&gt; entails--what kind of &lt;span style="font-style:italic;"&gt;X&lt;/span&gt; there are, what more complex objects we can build out of &lt;span style="font-style:italic;"&gt;X&lt;/span&gt;, etc.&lt;br /&gt;&lt;br /&gt;In the backwards direction, we try to tell an 'origin story' about &lt;span style="font-style:italic;"&gt;X&lt;/span&gt;.  What is the question for which &lt;span style="font-style:italic;"&gt;X&lt;/span&gt; is the answer?  What is the process of which &lt;span style="font-style:italic;"&gt;X&lt;/span&gt; is the result?  There's usually no unique answer, and working in this direction gives a measure of creative freedom.&lt;br /&gt;&lt;br /&gt;One important subset of backwards-focused activity is finding 'variational characterizations' of concepts.  This means looking for &lt;span style="font-style:italic;"&gt;maximization&lt;/span&gt; (or minimization) processes underlying the formation of the objects &lt;span style="font-style:italic;"&gt;X&lt;/span&gt;.  So, e.g., spheres at first sight seem like the most boring objects in geometry--they're easy to describe, they look the same from every direction, etc.--but the fact that they enclose volume with maximal efficiency is profound, and leads quickly to even deeper math when you look at &lt;a href="http://mathworld.wolfram.com/DoubleBubble.html"&gt;double bubbles&lt;/a&gt;, &lt;a href="http://mathworld.wolfram.com/KelvinsConjecture.html"&gt;tilings of space&lt;/a&gt;, and so on.  Nature often 'tries' to minimize certain potential functions, and social agents try to maximize various perceived benefits, so whatever your area of interest, variational characterization may be an important way of making sense of observed patterns.&lt;br /&gt;&lt;br /&gt;Here's a simple example.  Why should we study convexity?  I'll give a variational characterization from an economic perspective, which gives an origin story for a broad class of convex functions.&lt;br /&gt;&lt;br /&gt;***&lt;br /&gt;&lt;br /&gt;Peggy and Otto are friends, with different attitudes about nutrition.  Peggy thinks it's all about the protein; Otto is buzzed over Omega-3 oils.  (They read different magazines.)  &lt;br /&gt;In the first flush of enthusiasm for their new health ideas, protein and Omega-3's are the only food variables they care about.&lt;br /&gt;&lt;br /&gt;This raises an issue whenever they buy food together: who gets what part of the food item?  Ideally, they'd separate out the two key ingredients in a centrifuge, but for now, food items should be assumed to have, in each region, local 'densities' of the two nutrients that are nonseparable.  The best the friends can do is break the food into tiny bits, estimate the protein and Omega-3 in each, and use this information to decide on an allocation.&lt;br /&gt;&lt;br /&gt;We're not sure what's 'fair', exactly, but we can describe the 'frontier' of best possible trade-offs between Peggy and Otto's perceived benefits.  Given a food item, define a function &lt;span style="font-style:italic;"&gt;f(x)&lt;/span&gt; to be the maximum amount of Omega-3 that can be consumed by Otto, subject to the constraint that Peggy gets at least an &lt;span style="font-style:italic;"&gt;x&lt;/span&gt; amount of protein.  &lt;br /&gt;&lt;br /&gt;Then &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; maps nonnegative reals to nonnegative reals.  Moreover, it's &lt;span style="font-style:italic;"&gt;convex down&lt;/span&gt; on the region where it's positive, that is, its underside is a convex body:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp0.blogger.com/_88neJExG8YQ/RivYULU3kaI/AAAAAAAAAAw/w5PMoTNMljk/s1600-h/Convex.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp0.blogger.com/_88neJExG8YQ/RivYULU3kaI/AAAAAAAAAAw/w5PMoTNMljk/s400/Convex.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5056372847802814882" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Why?  Intuitively, we arrange the crumbs of the food item in increasing order of their protein-to-Omega-3 content ratio.  As we begin giving Peggy more and more protein, we initially can do it most 'cost-effectively' by feeding her the crumbs for which this ratio is highest, but as we go on we are forced to give up more and more Omega-3 for each marginal unit of protein.&lt;br /&gt;&lt;br /&gt;I leave it to hard-core readers to fill in details about exactly when this logic can be made rigorous; I have in mind continuous additive set measures over a compact set, and by 'maximum' I mean 'supremum'.  However, I regard this result as 'morally true' (a phrase I adopted from Prof. Thomas Hunter at Swarthmore), that is, true with 'reasonable' assumptions and relatively robust to changes in the model.&lt;br /&gt;&lt;br /&gt;What's more, the converse is also true: given &lt;span style="font-style:italic;"&gt;any&lt;/span&gt; such function &lt;span style="font-style:italic;"&gt;f(x)&lt;/span&gt; (nonnegative-to-nonnegative, convex down on its bounded support), I can make you a food item such that &lt;span style="font-style:italic;"&gt;f(x)&lt;/span&gt; represents the set of optimal trade-offs between protein and Omega-3's.  &lt;br /&gt;($19.95 shipping and handling.  Warning: product may taste like a soggy brick.)&lt;br /&gt;&lt;br /&gt;So there you have it: a variational characterization of convexity, a 'recipe' if you will, with additive measures and optimization as the basic ingredients.  Since many results in theoretical economics assume convexity of various types, recipes like this one (which is not new, but amounts to folklore as far as I can tell) are an important part of the 'pre-theory' of the discipline, motivating and making plausible such assumptions.  Challenges to the use of these assumptions, then, should critically engage the pre-theory, for instance, by identifying cases, in both production and consumption of goods, where interaction between inputs makes additivity unrealistic.  In the case at hand, of course, we know that the two friends are both wrong--nutritional 'value' is not an additive function of food consumed, as e.g. fats and protein are both necessary. (It's not even clear that nutrition should be considered a real-valued function, since there are multiple health/fitness goals one might be interested in.)&lt;br /&gt;&lt;br /&gt;***&lt;br /&gt;&lt;br /&gt;I'll end with a question to the readers: I am interested in the origin stories of probability distributions, and have from time to time skimmed over the literature regarding the trendiest distributions of them all, the power laws.  I know there are a multitude of settings that give rise to them.  So which ones should I study, and from which references?  &lt;br /&gt;I have no single criterion in mind, but am receptive to any of the following: rigor, interest, plausibility, generality, simplicity.  I am also interested in critical analyses of the apparent power-law 'gold rush' in complexity studies.  Thanks!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-8665213842637243079?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/8665213842637243079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=8665213842637243079' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/8665213842637243079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/8665213842637243079'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/04/where-does-convexity-come-from_22.html' title='Where Does Convexity Come From?'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp0.blogger.com/_88neJExG8YQ/RivYULU3kaI/AAAAAAAAAAw/w5PMoTNMljk/s72-c/Convex.jpg' height='72' width='72'/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-5287613293925346136</id><published>2007-04-22T01:45:00.000-04:00</published><updated>2007-09-27T13:38:37.803-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='geometry'/><title type='text'>Out of My Depth</title><content type='html'>You are in a pitch-black room.  But don't be alarmed.  &lt;br /&gt;&lt;br /&gt;Someone is pouring liquid at a slow, uniform speed into a thin, transparent vessel; it is pooling at the bottom.  The fluid itself is dark, but when in direct contact with the atmosphere it glows purple.  So what you see is precisely the evolving shape of the fluid's surface.  It seems that you stand to learn something: the shape of the inside of the vessel will be gradually revealed in cross-sections.  &lt;br /&gt;&lt;br /&gt;But wait--this seems to rely on the assumption that the vessel itself is not moving.  Suppose, instead, that the vessel is almost perfectly weightless, and may roll as the heavy liquid's center of gravity shifts.&lt;br /&gt;&lt;br /&gt;Can you reconstruct the vessel's shape in this case?&lt;br /&gt;&lt;br /&gt;I'm curious to know, but probably underequipped to solve this question, which was the result of a momentary hallucination during a long concert.  There are some potential messy issues with cusps, and questions of whether the vessel is open at the top, etc., to which I advise that one assumes whatever makes the problem interesting or tractable.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-5287613293925346136?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/5287613293925346136/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=5287613293925346136' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/5287613293925346136'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/5287613293925346136'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/04/out-of-my-depth.html' title='Out of My Depth'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-2633785921954538111</id><published>2007-04-15T01:39:00.001-04:00</published><updated>2007-04-15T02:25:42.592-04:00</updated><title type='text'>Money Colliding at High Speeds</title><content type='html'>Are there any gamers among my vast readership?  Here is a simple auction-based card game I once toyed with; I'm curious what others think, and how it might be souped up for greater replay value.&lt;br /&gt;&lt;br /&gt;For two or three players.  Each receives all 13 cards in a suit, which they hold privately; the remaining suit (diamonds) is shuffled and put face down.  On each round, a diamond card is flipped face up; players simultaneously submit a 'bid' card from their suit.  The highest bid gets the diamond (ties can be handled in one of several ways, suit yourselves), and all bid cards used get discarded.&lt;br /&gt;&lt;br /&gt;To score when all diamonds have been auctioned: each player gets &lt;span style="font-style:italic;"&gt;m&lt;/span&gt; points for the  &lt;span style="font-style:italic;"&gt;m&lt;/span&gt; of diamonds, 11 for the jack, etc.&lt;br /&gt;&lt;br /&gt;This game can reach a maniacal level of second-guessing--exciting, but perhaps too little in the way of underlying strategy and calculation.  It is easy to show that no deterministic strategy is 'undominated' (i.e. there is always a victorious counter-strategy); but I don't see that any simple randomized strategy is undominated either.&lt;br /&gt;&lt;br /&gt;Suggestions?  Pointers to successful auction games already on the market?  I'd look into them myself, but then half of my attraction to the auction genre is that I'm a cheapskate.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-2633785921954538111?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/2633785921954538111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=2633785921954538111' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/2633785921954538111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/2633785921954538111'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/04/money-colliding-at-high-speeds_14.html' title='Money Colliding at High Speeds'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-89406047389004542</id><published>2007-04-13T18:45:00.000-04:00</published><updated>2007-04-13T23:15:17.274-04:00</updated><title type='text'>Math and MarketThink</title><content type='html'>I recently stumbled upon a book that made me really happy.  It's called &lt;a href="http://www.web.net/~tslee/"&gt;'No One Makes You Shop At Wal-Mart: The Surprising Deceptions of Individual Choice'&lt;/a&gt;, by Tom Slee (who has a very nice blog going as well, called &lt;a href="http://whimsley.typepad.com/"&gt;Whimsley&lt;/a&gt;).  This is a clearly written, engaging treatment of classic game-theoretic situations as encountered in consumer decision-making.  It outlines what I think are some of the simplest and most powerful ways to challenge the thesis that consumers can reliably 'vote with their dollars' to promote the goods, services, social structures, and way of life that they most value.&lt;br /&gt;&lt;br /&gt;I say 'challenge', not 'refute'.  Slee takes a patient approach, showing readers how to construct simple economic models and reason about their consequences.  The models, in fact, are deliberately oversimplified in order to isolate patterns and identify their potential recurrence in a variety of situations.&lt;br /&gt;&lt;br /&gt;Slee's title example is a schematic fable of the rise of big outlet stores on the fringes of town: Wal-Mart comes in, underprices the smaller and economically interdependent downtown stores; consumers, who value access to a vibrant downtown, nevertheless 'selfishly' shop at Wal-Mart when it suits them, relying the patronage of others (upon which they 'free-ride') will keep downtown afloat.  Downtown declines, and consumers are (potentially) all made worse off as a result.&lt;br /&gt;&lt;br /&gt;This little story alone is (as Slee recognizes) hardly an indictment of Wal-Mart.  But it is an internally consistent model that is no  &lt;em&gt;more&lt;/em&gt; schematic than the implicit model of commerce (which Slee calls 'MarketThink') underlying much economic discourse.  It puts failure of 'market democracy' on the table as a thinkable, plausible outcome; as such it can shift the terms of debate and orient more empirically-grounded investigation.&lt;br /&gt;&lt;br /&gt;As I see it, unregulated free markets, and crude forms of MarketThink, have at least two serious weaknesses:  &lt;br /&gt;1) they fail to adequately address concerns about equity and the welfare of the worst-off;&lt;br /&gt;2) they fail to give adequate provision of public goods (like clean air and water, nature, community development, etc.), and they overproduce public 'bads' (like traffic), with similar potential problems involving fashion goods, network goods, and other goods proeducing 'externalities' of various types.&lt;br /&gt;&lt;br /&gt;The claims of the disadvantaged upon public conscience and policy in the US have, on the whole, come a long way in the past century; but as no objective measure of human welfare has been widely accepted, their foothold within economic theory remains tenuous.  GDP, 'consumer surplus', and other measurable constructs--generally biased towards markets and equity-insensitive--serve as dominant proxies for human welfare.  Problem 1) poses a serious challenge, in discourse as well as on the ground.&lt;br /&gt;&lt;br /&gt;On the other hand, problem 2) (which is Slee's focus) has (to an extent not realized by many people) long been recognized and taken seriously by economic theorists.  The 'Welfare Theorems' inspired by the writings of Adam Smith, which undergird the general confidence in markets by neoclassical economic theorists, explicitly assume away the possibility of goods whose production and consumption directly affect anyone except buyer and seller. (They also make a certain technical assumption, involving convexity, that is meaningfully restrictive and worth pondering--another post, maybe.)  Economists have acknowledged real-world violations of these assumptions, and proposed various remedies (often market-based), at least since Pigou in the '30s.  Game theory has expanded and clarified these debates (as Slee shows, while also showing how little in the way of 'hard math' is really involved to make the basic points).&lt;br /&gt;&lt;br /&gt;Still, the Welfare Theorems form the 'core message' of most introductory econ texts I have perused or studied from, and the Invisible Hand is the most pervasive idea (often implicit) in popular discussions of markets.  Further, I believe that many critics of market absolutism have, in their suspicion of economics, insufficiently tapped the Prisoner's Dilemma and related ideas of game theory, which combine &lt;br /&gt;&lt;br /&gt;-simplicity; &lt;br /&gt;-generality; &lt;br /&gt;-memorability;&lt;br /&gt;&lt;br /&gt;-establishment credentials and currency within the discourse of economics, without being dependent either on the crudest assumptions (e.g. "money's all that matters") popularly and incorrectly attributed to that field, &lt;em&gt;or&lt;/em&gt; on assumptions and concepts foreign to it;&lt;br /&gt;&lt;br /&gt;-considerable integrity and truth.&lt;br /&gt;&lt;br /&gt;This is not to say game theory doesn't have shortcomings--it does.  Nor is it to say that game theory points the way to any clear solutions to the dilemmas it diagnoses, or that any rival to market liberalism can definitively solve them.  Again, Slee's book doesn't aim to describe a master theory, or match theory to observation, or save the world.  Instead it illustrates that mathematics can help us think (and argue) about social reality without laying claim to full knowledge, denying the world's complexity, or suppressing and devaluing the unmeasurable.  This alone is enough to make me hope &lt;a href="http://www.web.net/~tslee/"&gt;'No One Makes You Shop At Wal-Mart'&lt;/a&gt; gets widely read.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-89406047389004542?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/89406047389004542/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=89406047389004542' title='7 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/89406047389004542'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/89406047389004542'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/04/math-and-marketthink.html' title='Math and MarketThink'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>7</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-7586617012352145398</id><published>2007-04-08T23:51:00.000-04:00</published><updated>2007-04-11T23:21:45.153-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><title type='text'>Math for Little People</title><content type='html'>I'm 22.  There's a part of me that's asking: "Why haven't you proved any great theorems yet?"  But I can't beat myself up too much over this--with Republicans in the White House, and with so much HBO magic happening lately, the odds are stacked against me.&lt;br /&gt;&lt;br /&gt;But there's a different kind of math anxiety creeping up: one of these days, I might have kids.  Those kids are going to be curious about the world around them, and they're going to look to me for answers--at least when their mother isn't around.&lt;br /&gt;&lt;br /&gt;For the most part, I'll be happy to fend them off with a mix of idle speculation and propaganda.  But... what if they ask why honeycombs have six sides?  &lt;br /&gt;&lt;br /&gt;What if they want to know why scooting towards the middle of the see-saw makes you go up?  What if they ask why the rubber chain-links on the swing don't ever come apart, if they're not 'connected'?  Could I in good conscience give sloppy answers to questions I know involve beautiful math?&lt;br /&gt;&lt;br /&gt;I know the Feds wouldn't come and take them away; I know the kids won't be too disappointed; I know their appetite for rigorous proof will come slowly, if at all.  But could I live with myself?  No, I've got to get a better grasp of the 'basic facts' of life in our spatial world before I help bring someone new along, if only for my own sake. &lt;br /&gt;&lt;br /&gt;But what are these?  It's up for grabs, but here's the category I've had in mind mostly: qualitative features of structures, arrangements, and movement, observable by 'medium-sized' agents like children, and generated by/consistent with a naive 'block-world' understanding of matter and physical law (not referring to the AI environment of that name, but in a similar spirit).  This is the conceptual space in which I've lived most of my life (and thought about discrete math and computer science), and if it's good enough for me it's good enough for my kids.  Molecules and lightning bolts I won't sweat so much, but Block World I want to get right.&lt;br /&gt;&lt;br /&gt;So then... how to pick out, think about, and explain its most important facts?  &lt;br /&gt;&lt;br /&gt;Some of them are, I think, topological, as I've alluded with the swing example.  But kids won't swallow homotopy theory any more than they'll eat lima beans, even if I can still remember it by then.  Anyways, there's a potential save here: Block World is basically discrete, so the space of 'topological' deformations of objects is much smaller and more well-behaved (I've already &lt;a href="http://andysresearch.blogspot.com/2006_04_01_archive.html"&gt;posted&lt;/a&gt; on discretization in topology).&lt;br /&gt;&lt;br /&gt;A good place to start would be the Jordan Curve Theorem, famed for its difficulty in spite of its surface obviousness: what could be clearer than the fact that a non-self-intersecting loop in the plane divides the plane into two components, 'inside' and 'outside'?&lt;br /&gt;&lt;br /&gt;As one discrete formulation, consider the loop as a path on the grid, where each step in any direction is of even length.  Then it appears that the inside is path-connected, also by grid paths (without the even-length restriction), and separated from the outside.  For example:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_88neJExG8YQ/Rhm4eiB5lYI/AAAAAAAAAAo/uOsvrDmglTY/s1600-h/JCT.bmp"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_88neJExG8YQ/Rhm4eiB5lYI/AAAAAAAAAAo/uOsvrDmglTY/s400/JCT.bmp" border="0" alt=""id="BLOGGER_PHOTO_ID_5051271291743081858" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;I think this problem is excellent fodder for thought, and I would encourage anyone who's been scared away by the Theorem in the past to work on it in this friendlier setting.&lt;br /&gt;&lt;br /&gt;No hints, though--would your kids respect you?&lt;br /&gt;&lt;br /&gt;(Clarification for concerned parties: there are no children on the horizon; I do believe in responsible parenting; and I don't get HBO, although I do swear by &lt;span style="font-style:italic;"&gt;Curb Your Enthusiasm&lt;/span&gt;.)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-7586617012352145398?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/7586617012352145398/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=7586617012352145398' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7586617012352145398'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/7586617012352145398'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/04/math-for-little-people.html' title='Math for Little People'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_88neJExG8YQ/Rhm4eiB5lYI/AAAAAAAAAAo/uOsvrDmglTY/s72-c/JCT.bmp' height='72' width='72'/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-6740166893950335767</id><published>2007-04-05T14:36:00.000-04:00</published><updated>2007-04-05T15:00:11.532-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='complexity'/><title type='text'>Assignment Testing and PCPs</title><content type='html'>Would anyone like to improve their understanding of the &lt;a href="http://en.wikipedia.org/wiki/PCP_theorem"&gt;PCP Theorem&lt;/a&gt;?  This is, in my opinion, the most amazing result in all of computer science, and with the recent work of Irit Dinur its proof should be within reach of a much larger audience.  However, there is still considerable complexity involved.&lt;br /&gt;&lt;br /&gt;I recently finished writing an expository paper called &lt;a href="http://www-cse.ucsd.edu/~adrucker/at3.pdf"&gt;Building Assignment Testers&lt;/a&gt; that presents one key step in Dinur's proof, the step which is most algebraic and most indebted to previous PCP constructions.  In my paper I state the PCP Theorem, build and analyze 'assignment testers', and explain why this step is also sufficient to give a weaker version of the PCP Theorem, in which the proof string supplied by the prover is not required to be polynomially bounded.&lt;br /&gt;&lt;br /&gt;Several good references are available already, but in the paper I explain why I hope my work represents an expository advance.  Essentially, I aim to make clearer how assignment testing can be viewed as a natural composition of simple statistical tests, and how these tests can be first analyzed in isolation, then combined by a general lemma.&lt;br /&gt;&lt;br /&gt;For anyone who saw and enjoyed my &lt;a href="http://andysresearch.blogspot.com/2007/01/going-live.html"&gt;talk&lt;/a&gt; on Property Testing, or read the Powerpoint, Assignment Testers are an important and very interesting application of the testing paradigm--a natural next step for study.&lt;br /&gt;&lt;br /&gt;Enjoy the paper! Of course, I welcome questions and comments.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-6740166893950335767?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/6740166893950335767/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=6740166893950335767' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/6740166893950335767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/6740166893950335767'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/04/assignment-testing-and-pcps.html' title='Assignment Testing and PCPs'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-3841096089983380514</id><published>2007-03-27T12:32:00.000-04:00</published><updated>2007-03-27T13:01:36.449-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='complexity'/><title type='text'>Public Service Announcement</title><content type='html'>I'd like to share a heuristic for problem solving in mathematics.  It is easy to state and apply, and seems very useful, but many students I've talked with or tutored seem either not to have learned to use it, or not to have recognized its role in their thinking.&lt;br /&gt;&lt;br /&gt;Here it is:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;When attempting to prove a statement, try to find a logically equivalent statement (e.g. the contrapositive) whose hypothesis and conclusion are more 'constructive'.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;What do I mean by 'constructive' statements?  Ones which assert the existence of objects, preferably small, easy-to-exhibit ones.  By constrast, universal statements, often asserting the nonexistence of certain objects, are 'nonconstructive'.&lt;br /&gt;&lt;br /&gt;Here's an example:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Claim:&lt;/b&gt; &lt;i&gt;A connected metric space with more than one point is uncountable.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;If you're familiar with these terms (wiki them), it should be clear that hypothesis and conclusion are both nonconstructive.  Thus, try to prove the contrapositive instead:&lt;br /&gt;&lt;br /&gt;&lt;i&gt;A countable metric space with more than one point is disconnected.&lt;/i&gt;&lt;br /&gt;&lt;br /&gt;This way, we start with an enumeration of points and try to construct a separation.&lt;br /&gt;&lt;br /&gt;This strategy is related to 'proof by contradiction', but I'm trying to give some sense of &lt;i&gt;when&lt;/i&gt; such strategies are likely to succeed.  An example from complexity theory, where this heuristic is close to the heart of our existing methodologies:&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Karp-Lipton Theorem:&lt;/b&gt; If the Polynomial Hierarchy is infinite, then NP does not have polynomial-sized circuits.&lt;br /&gt;&lt;br /&gt;This form of the statement gives the 'lesson' that we want to take home: one plausible complexity hypothesis implies a further kind of complexity.  But the proof (like most complexity proofs) is constructive, showing how one kind of simplicity (small circuits for NP) implies another (a PH collapse).&lt;br /&gt;&lt;br /&gt;Finally, a beloved classic, arguably prophetic of diagonalization: the infinitude of the prime numbers.  This time we find a more constructive equivalent statement that is not quite a contrapositive: 'given a finite list of primes, there exists a prime not on the list'.  Then we show a simple algorithm to produce such a missing prime (and if you haven't seen this, I strongly encourage you to try.)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-3841096089983380514?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/3841096089983380514/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=3841096089983380514' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/3841096089983380514'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/3841096089983380514'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/03/public-service-announcement.html' title='Public Service Announcement'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-3393652212983347658</id><published>2007-03-26T10:01:00.000-04:00</published><updated>2007-04-05T15:02:52.401-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='complexity'/><title type='text'>NOOOO!!!!!!!!</title><content type='html'>All good things must end (in polynomially-bounded time, naturally).  Today, sadly, brings the announced retirement of one of my favorite blogs, &lt;a href="http://weblog.fortnow.com"&gt;Computational Complexity&lt;/a&gt; by Lance Fortnow.  &lt;br /&gt;&lt;br /&gt;Lance's blog didn't introduce me to the field (that honor goes to my high school graduation present, Papadimitriou's &lt;a href="http://www.amazon.com/Computational-Complexity-Christos-H-Papadimitriou/dp/0201530821"&gt;textbook&lt;/a&gt;), but it did much to orient me to current research, conceptual trends in complexity, and the culture and institutions behind the theory.  Having gone to a small liberal arts college without much in the way of CS theory, this was invaluable.&lt;br /&gt;&lt;br /&gt;Lance's four decades of &lt;a href="http://weblog.fortnow.com/2006/12/favorite-theorems-second-decade-recap.html"&gt;Favorite Theorems&lt;/a&gt; in complexity are a great read, and his early posts build complexity literacy with a &lt;a href="http://weblog.fortnow.com/archive/2002_08_25_archive.html#80792612"&gt;Complexity Classes of the Week&lt;/a&gt; feature.  Along the way, of course, we got Lance's perspective on life, &lt;a href="http://weblog.fortnow.com/2006/06/two-body-problem.html"&gt;love&lt;/a&gt; (in a profession rife with geographic insecurity and perceived nerdiness), and &lt;a href="http://weblog.fortnow.com/2006/07/bouncing-little-french-girl.html"&gt;truly appalling food&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;Thanks Lance!  Your posts will be missed.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Update:&lt;/span&gt; The blog is back, with frequent guest-poster Bill Gasarch taking over for Lance.  Cool!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-3393652212983347658?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/3393652212983347658/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=3393652212983347658' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/3393652212983347658'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/3393652212983347658'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/03/noooo.html' title='NOOOO!!!!!!!!'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-8186712399023879906</id><published>2007-02-26T20:38:00.000-05:00</published><updated>2007-02-27T03:57:01.390-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><title type='text'>The Vulcan in Me</title><content type='html'>Readers, here is a puzzle adventure in naive physics and topology.  The author respectfully denies being a Trekkie.  Enjoy!&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;***&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I graduated last in my class at Starfleet Academy.  Not much of a story, so don't ask.  Anyway, you probably know what came next: it was either find a civilian job or go guard some worthless corner of deep space.&lt;br /&gt;&lt;br /&gt;But I'm not exactly sociable, so I took the assignment with no hesitation.  Sure enough, it was a real plum: I was put in charge of two monitoring stations (practically bathroom-sized, one of which I controlled remotely) orbiting neighboring stars, with nothing else even close.&lt;br /&gt;&lt;br /&gt;For two years, there was nothing but silence as I idled there, chuckling at my fate and deepening my acquaintance with some bootlegged Romulan ale.  Then, finally, something happened.  I got an alert:  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;"Reports of extremely massive unidentified vessel, may be in your sensor range.  Report: are gravitational readings consistent with null hypothesis (no vessel)?"&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I almost panicked.  I hadn't checked the sensors in ages, and I didn't even begin to remember how to interpret the readings--how did gravity work again?  If I asked I'd definitely be canned.  I fumbled through my old Academy lecture notes, struggling to penetrate the chicken-scratch handwriting and the alien sex doodles everywhere.  Here is what I was able to recover:&lt;br /&gt;&lt;br /&gt;1) Newton's laws govern the universe; quantum mechanics and other such exotic junk were conclusively disproved in 2247.&lt;br /&gt;&lt;br /&gt;2) The world contains massive point-particles; the gravitational field at a point in space is the vector sum of its gravitational attractions to all point-masses.  Beyond a critical range and below a critical mass, these attractions can be assumed zero.  (so I could discard the mass of myself, the two monitoring stations, and everything beyond the two stars and, maybe, this weird vessel... all of which I could model as point-masses.)&lt;br /&gt;&lt;br /&gt;3) The gravitational attraction &lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;v&lt;/span&gt;&lt;/span&gt; to a mass &lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;m&lt;/span&gt;&lt;/span&gt; felt by a point &lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;p&lt;/span&gt;&lt;/span&gt; in space is a vector pointing from &lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;p&lt;/span&gt;&lt;/span&gt; in the direction of &lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;m&lt;/span&gt;&lt;/span&gt;, with magnitude &lt;span style="font-style:italic;"&gt;w*f(d)&lt;/span&gt;, where &lt;span style="font-style:italic;"&gt;w&lt;/span&gt; is the mass of &lt;span style="font-style:italic;"&gt;&lt;span style="font-weight:bold;"&gt;m&lt;/span&gt;&lt;/span&gt;, &lt;span style="font-style:italic;"&gt;d&lt;/span&gt; is the distance from &lt;span style="font-weight:bold;"&gt;&lt;span style="font-style:italic;"&gt;p&lt;/span&gt;&lt;/span&gt; to &lt;span style="font-weight:bold;"&gt;m&lt;span style="font-style:italic;"&gt;&lt;/span&gt;&lt;/span&gt;, and &lt;span style="font-style:italic;"&gt;f&lt;/span&gt; is a function given by...&lt;br /&gt;&lt;br /&gt;...but I couldn't make out the formula for &lt;span style="font-style:italic;"&gt;f&lt;/span&gt;; it was totally obscured by a lascivious Ferengi.&lt;br /&gt;&lt;br /&gt;Still, I'm not as thick as you think.  I reasoned that this much is true: &lt;br /&gt;&lt;br /&gt;4) &lt;span style="font-style:italic;"&gt;f&lt;/span&gt;, the function governing the magnitude of the attraction, must be continuous, positive, and decreasing on the positive real numbers, tending to infinity as &lt;span style="font-style:italic;"&gt;d&lt;/span&gt; goes to zero, and tending to zero as &lt;span style="font-style:italic;"&gt;d&lt;/span&gt; approaches infinity.  That is, it looks something like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp2.blogger.com/_88neJExG8YQ/ReOaRmjXgAI/AAAAAAAAAAM/p6a1bWXhIvo/s1600-h/gravity+fcn.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp2.blogger.com/_88neJExG8YQ/ReOaRmjXgAI/AAAAAAAAAAM/p6a1bWXhIvo/s320/gravity+fcn.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5036038435527688194" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Now, the readings from my two stations looked something like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://bp1.blogger.com/_88neJExG8YQ/ReOcFWjXgBI/AAAAAAAAAAU/Tp-tOKAnMG8/s1600-h/station+readings.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://bp1.blogger.com/_88neJExG8YQ/ReOcFWjXgBI/AAAAAAAAAAU/Tp-tOKAnMG8/s400/station+readings.jpg" border="0" alt=""id="BLOGGER_PHOTO_ID_5036040424097546258" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;(&lt;span style="font-style:italic;"&gt;s[1], s[2]&lt;/span&gt; are the two stations, and &lt;span style="font-style:italic;"&gt;v[1], v[2]&lt;/span&gt; are the two gravitational field readings.)&lt;br /&gt;&lt;br /&gt;The picture's not much to go by--the vectors didn't all lie in a plane together, and I can't swear by the magnitudes I drew.  The thing to notice is that &lt;span style="font-style:italic;"&gt;a, b&lt;/span&gt; were obtuse--of that I'm sure.&lt;br /&gt;&lt;br /&gt;Recall that there were definitely two stars kicking around in the vicinity.  Don't ask me how massive they are; it was on record somewhere, but I was too frazzled to even look up the numbers.  Also, my windows were frosted over and I had no way of getting a bead on the stars' position.  The question was, could some placement of those two masses have generated the gravitational field readings?&lt;br /&gt;&lt;br /&gt;What can I say... I may be lazy, but I'm also one-eighth Vulcan, and my genes chose that do-or-die moment to kick in.  I confidently delivered my report: &lt;span style="font-style:italic;"&gt;"Readings consistent with null hypothesis."&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Well, they never found that vessel; still, doing my duty with flair like that was a high point for me, despite my usual tendency to shirk.  But two more years have passed, and all this booze has given the Vulcan in me a sore beating.&lt;br /&gt;&lt;br /&gt;So help me remember--how the hell did I know what to say?&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-8186712399023879906?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/8186712399023879906/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=8186712399023879906' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/8186712399023879906'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/8186712399023879906'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/02/vulcan-in-me.html' title='The Vulcan in Me'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://bp2.blogger.com/_88neJExG8YQ/ReOaRmjXgAI/AAAAAAAAAAM/p6a1bWXhIvo/s72-c/gravity+fcn.jpg' height='72' width='72'/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-4997669786649967422</id><published>2007-02-24T19:58:00.000-05:00</published><updated>2007-02-24T20:38:56.160-05:00</updated><title type='text'>Define 'Rope'</title><content type='html'>Random food for thought:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;You want to climb to the top of a very tall hanging rope (never mind what's up there).  You expect to get tired along the way, too tired to continually grip with your hands. How do you do it?&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;Gadgets, harnesses, etc. are permissible. I don't have any magically clever solution in mind, only some crude, untested thoughts that for the safety of impressionable youth I'll keep to myself.  Also, I asked a friend who says this is a solved problem in rock-climbing circles.&lt;br /&gt;&lt;br /&gt;What interested me as I thought about this is how the requirements and mental verification process resembled algorithms work.  The climber wants to loop thru a basic routine to create progress ("climb-a-bit"), with a safety invariant ("securely fastened") assumed at the beginning of the routine and reestablished at the end.  Efficiency-type considerations also come in play--the amount of rope around the climber's body and the complexity of its arrangement and manipulations should stay bounded.&lt;br /&gt;&lt;br /&gt;I've never done engineering, and maybe these analogies are pervasive enough that my observation would seem vacuous to someone in-the-know.  Still, it's nice to dabble in problems that have conceptual affinities with math I study without necessarily being reducible to math.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-4997669786649967422?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/4997669786649967422/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=4997669786649967422' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4997669786649967422'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/4997669786649967422'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/02/define-rope.html' title='Define &apos;Rope&apos;'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-283047867872234912</id><published>2007-02-15T22:42:00.000-05:00</published><updated>2007-03-05T01:41:20.492-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><title type='text'>What is the Poincare Inequality, Really?</title><content type='html'>This post is a cry for help.&lt;br /&gt;&lt;br /&gt;OK, it's more of a request for information.  First, let me explain what I know, which I hope will be enough to be an informative post about graph expansion in its own right.&lt;br /&gt;&lt;br /&gt;I've been reading off and on about Fourier analysis of Boolean functions for awhile, and recently in the context of Property Testing towards giving the talk I posted, where it is really the elegant way of analyzing the linearity test.  Afterwards I was doing some random online course exercises, and stumbled on a good one &lt;a href="http://www.cs.cmu.edu/~odonnell/boolean-analysis/homework1.pdf"&gt;here&lt;/a&gt;, by Ryan O'Donnell.&lt;br /&gt;&lt;br /&gt;Here's a proof for exercise 1, whose statement I'll rephrase:&lt;br /&gt;&lt;br /&gt;&lt;em&gt;'Poincare Inequality':&lt;/em&gt; Let &lt;em&gt;(A, B)&lt;/em&gt; be a partition of the Boolean &lt;em&gt;n&lt;/em&gt;-cube into two sets.  Let &lt;em&gt;p&lt;/em&gt; be the fraction of the cube's edges  going between &lt;em&gt;A&lt;/em&gt; and &lt;em&gt;B&lt;/em&gt; (vertices are connected by an edge if at Hamming distance 1).  Then,&lt;br /&gt;&lt;br /&gt;&lt;em&gt;p &gt;= 2|A|*|B|/(n*2^{2n})&lt;/em&gt;.&lt;br /&gt;&lt;br /&gt;First, what does this say?  If the cube were a 'totally random' graph, and &lt;em&gt;A, B&lt;/em&gt; were a 'totally random' partition of the vertices, we'd expect a &lt;em&gt;2|A|*|B|/2^{2n} &lt;/em&gt; fraction of the edges to go between &lt;em&gt;A&lt;/em&gt; and &lt;em&gt;B&lt;/em&gt;.  &lt;br /&gt;&lt;br /&gt;So, while ill-chosen partitions of the cube can induce sparser cuts than randomly chosen partitions of random graphs, Poincare says these can only be sparser by at most a factor of &lt;span style="font-style:italic;"&gt;n&lt;/span&gt;.  In this sense, the cube is robustly interconnected; not on a par with strong expanders, but to a nontrivial extent.  An example that shows the inequality can be approximately tight is to let &lt;span style="font-style:italic;"&gt;A&lt;/span&gt; be the vectors with first coordinate &lt;span style="font-style:italic;"&gt;0&lt;/span&gt;.  &lt;br /&gt;(Note: this is the 'extremal example' for &lt;span style="font-style:italic;"&gt;edge expansion&lt;/span&gt; on the cube, whereas letting &lt;span style="font-style:italic;"&gt;A&lt;/span&gt; be the set of vectors with Hamming weight at most &lt;span style="font-style:italic;"&gt;k&lt;/span&gt; gives extremal examples for 'vertex expansion'... for more on the latter, see my June 2006 post.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Proof:&lt;/strong&gt; Pick &lt;em&gt;x, y&lt;/em&gt; uniformly at random from the cube.  The probability &lt;em&gt;q&lt;/em&gt; that one is in &lt;em&gt;A&lt;/em&gt;,the other in &lt;em&gt;B&lt;/em&gt; (we don't care which one is in &lt;em&gt;A&lt;/em&gt;) is exactly &lt;em&gt;2|A|*|B|/2^{2n}&lt;/em&gt;.&lt;br /&gt;&lt;br /&gt;On the other hand, choose also a random monotone path &lt;em&gt;P&lt;/em&gt; between &lt;em&gt;x&lt;/em&gt; and &lt;em&gt;y&lt;/em&gt;.  The probability that &lt;em&gt;x, y&lt;/em&gt; lie in these distinct sets is at most the probability that at least one of the edges on &lt;em&gt;P&lt;/em&gt; goes between &lt;em&gt;A&lt;/em&gt; and &lt;em&gt;B&lt;/em&gt; (call this a 'mixed edge'), since the first event implies the second.&lt;br /&gt;&lt;br /&gt;The path has edge length at most &lt;em&gt;n&lt;/em&gt;, and each individual edge that appears is uniformly randomly distributed over all edges of the cube (though there is dependence in the joint distribution), so there is a mixed edge with probability at most &lt;em&gt;n*p&lt;/em&gt;--here we are using the union bound.&lt;br /&gt;&lt;br /&gt;So &lt;em&gt;q = 2|A|*|B|/2^{2n} &lt;= n*p&lt;/em&gt;, or&lt;br /&gt;&lt;br /&gt;&lt;em&gt;p &lt;= 2|A|*|B|/(n*2^{2n})&lt;/em&gt;.  &lt;strong&gt;QED.&lt;/strong&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;What was interesting about this proof for me was that I had used the same idea once before, to show a seemingly different type of result to the extent that&lt;br /&gt;&lt;br /&gt;"If an &lt;span style="font-style:italic;"&gt;n&lt;/span&gt;-by-&lt;span style="font-style:italic;"&gt;n 0/1&lt;/span&gt; matrix is 'reasonably balanced' between &lt;span style="font-style:italic;"&gt;0&lt;/span&gt;s and &lt;span style="font-style:italic;"&gt;1&lt;/span&gt;s, it has either 'many' only-slightly-less-balanced rows, or 'many' only-slightly-less-balanced columns."&lt;br /&gt;&lt;br /&gt;(It's easy to see you must allow this choice of rows-or-columns in the statement.)&lt;br /&gt;&lt;br /&gt;Looking back at that proof, which was just the one I described but now with length-2 paths instead of length-&lt;span style="font-style:italic;"&gt;n&lt;/span&gt; ones and &lt;span style="font-style:italic;"&gt;n&lt;/span&gt;-element hyperedges in place of edges, I realized that result too was 'about' (hyper-)graph expansion.  The proof technique also could apply to cases where the edges along the random path are not uniformly distributed, but merely almost-uniform.&lt;br /&gt;&lt;br /&gt;I also know, however, that Poincare was working in a very different mathematical milieu, one which, while aware of the importance of isoperimetric inequalities (as this sort of thing can be considered, and the most famous historical example of which being the result that circles have minimal perimeter among planar figures of a given area), was not to my knowledge pursuing expander graphs per se.  So what was the larger 'story' of which Poincare's Inequality originally played a part?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Update:&lt;/span&gt; My question about the inequality still stands; however, I've found work in the literature that puts my &lt;span style="font-style:italic;"&gt;proof&lt;/span&gt; of the inequality in perspective.  The argument looks to be a simple variant of something called the 'canonical paths' technique, that has successfully shown the good expansion properties (or the weighted version, 'conductance') for much more complex structures; Jerrum and Sinclair are two prominent names in this area, and Jerrum wrote an excellent chapter in 'Probabilistic Methods for Algorithmic Discrete Mathematics' which has been getting me up to speed in this area.  I hope to post more about this soon.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-283047867872234912?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/283047867872234912/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=283047867872234912' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/283047867872234912'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/283047867872234912'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/02/what-is-poincare-inequality-really_15.html' title='What is the Poincare Inequality, Really?'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-2526978238995613943</id><published>2007-02-15T20:37:00.000-05:00</published><updated>2007-02-15T20:52:37.592-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><title type='text'>More Parity Puzzles</title><content type='html'>...because I'm odd that way.  Both are in the same 'can-do' spirit of the last one, yet neither use quite the same techniques; still simple.&lt;br /&gt;Guaranteed correct, 'cause they're not mine, but lifted from the problem sets I'll credit.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;1.&lt;/strong&gt; Two delegations &lt;em&gt;A&lt;/em&gt; and &lt;em&gt;B&lt;/em&gt;, with the same number of delegates, arrived at a conference. Some of the delegates knew each other already. Prove that there is a non-empty subset &lt;em&gt;A'&lt;/em&gt; of &lt;em&gt;A&lt;/em&gt; such that either each member in &lt;em&gt;B&lt;/em&gt; knew an odd number of members from &lt;em&gt;A'&lt;/em&gt;, or each member of &lt;em&gt;B&lt;/em&gt; knew an even number of members from &lt;em&gt;A'&lt;/em&gt;.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;2.&lt;/strong&gt; Given a finite set &lt;em&gt;X&lt;/em&gt; of positive integers and a subset &lt;em&gt;A&lt;/em&gt; of &lt;em&gt;X&lt;/em&gt;, there exists a subset &lt;em&gt;B&lt;/em&gt; of &lt;em&gt;X&lt;/em&gt;, such that &lt;em&gt;A&lt;/em&gt; are precisely the elements of &lt;em&gt;X&lt;/em&gt; that divide by an odd number of elements of &lt;em&gt;B&lt;/em&gt;.&lt;br /&gt;&lt;br /&gt;(Hint: not a number theory puzzle.)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;First is from the 1996 Kurschak Competition (Hungarian), via the Kalva site (see sidebar).  Second is from the book '102 Combinatorial Problems' by Andreescu and Feng.  Enjoy!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-2526978238995613943?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/2526978238995613943/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=2526978238995613943' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/2526978238995613943'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/2526978238995613943'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/02/more-parity-puzzles.html' title='More Parity Puzzles'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-1803437552619668288</id><published>2007-02-06T20:24:00.000-05:00</published><updated>2007-02-08T17:19:51.733-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><title type='text'>For the Dim Bulbs</title><content type='html'>After the &lt;em&gt;(n+1)&lt;/em&gt;st Sangria spill on your dirty shag rug, and after learning on good authority that wasabi green is officially hip, you've resolved: it's home improvement time.  &lt;br /&gt;&lt;br /&gt;You rustle up a few pals and get to work, and a few hundred dollars later the place is looking like less of a dive, but in a moment of belated clarity you realise that only one thing needed to be changed to cement its 'cool' status:&lt;br /&gt;&lt;br /&gt;just install 'The Clapper' in every room in the house.&lt;br /&gt;&lt;br /&gt;For those too young to remember the Clapper heyday, this device controls the on/off switch to a lighting source, and toggles its position when you clap in the audible range--which, for added value and amusement, tends to extend at least into adjacent rooms.  For our purposes, let's say the device's range is exactly its host room and those directly adjacent.  So, say you've got one light source per room, each with a Clapper, in a house which, like any good house, is actually just an &lt;em&gt;m&lt;/em&gt;-node undirected graph.  &lt;br /&gt;&lt;br /&gt;Now, for your grand house-rewarming party, you invite all your friends over, wait until their thinking skills are nice and clouded, and issue a challenge: &lt;em&gt;clap the house into a fully-lit state.&lt;/em&gt;&lt;br /&gt;&lt;br /&gt;In fact, no matter what your house's structure, this challenge can always be met, as long as lights are initially off!  Can you prove it? &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I came up with this result a few years ago after playing a computer solitaire game, which presented this problem for a 5-by-5 square grid (don't recall if there were diagonal connections... anyone have a weblink?).  Thought I was pretty clever, but then I saw it given as a problem in an old math journal, I think an AMS one (I'll post a ref if I ever find it).  No fancy tools needed to solve this fairly simple puzzle, although of course some linear algebra would help.&lt;br /&gt;&lt;br /&gt;&lt;s&gt;&lt;strong&gt;Extra Credit:&lt;/strong&gt; Now the lights all have &lt;em&gt;k &gt; 2&lt;/em&gt; brightness settings, which you cycle thru with claps.  Prove it's possible to get them all to the brightest setting&lt;/s&gt;.  Extra credit, think of a less hasty and more true generalization.&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Extra Extra Credit:&lt;/strong&gt; Now some of the lights are off/bright, while some are off/dim/bright.  Now it's no longer always possible to get all lights bright simultaneously.  In fact, I'm guessing it's NP-complete to maximize the number of bright lights, but haven't proved this.  What's the story?&lt;br /&gt;&lt;br /&gt;Oh, and the wasabi-green tip came to my attention (briefly!)in a recent New Yorker.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-1803437552619668288?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/1803437552619668288/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=1803437552619668288' title='11 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1803437552619668288'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1803437552619668288'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/02/for-dim-bulbs.html' title='For the Dim Bulbs'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>11</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-1020623443642577792</id><published>2007-02-04T21:30:00.000-05:00</published><updated>2007-02-04T22:13:14.260-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><category scheme='http://www.blogger.com/atom/ns#' term='complexity'/><title type='text'>SATisfaction guaranteed</title><content type='html'>Or some such lame pun... Folks, this post is yet another puzzle.  It should be pretty easy for anyone who knows a certain famous combinatorial Lemma (which I'll name in the comments section).  To everyone else, this is a chance to rediscover that lemma, and do a little more besides; I think that, approached with pluck, it should be solvable--but not easy.&lt;br /&gt;&lt;br /&gt;The puzzle is to give an efficient algorithm to decide satisfiability (and to produce satisfying assignments when possible) of a restricted class of boolean formulae.  They are going to be &lt;span style="font-style:italic;"&gt;k&lt;/span&gt;-CNFs, that is, a big AND of many ORs, each OR of &lt;span style="font-style:italic;"&gt;k&lt;/span&gt; variables from &lt;span style="font-style:italic;"&gt;{x[i]}&lt;/span&gt; or their negations &lt;span style="font-style:italic;"&gt;{~x[i]}&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;As stands this is NP-complete, even for &lt;span style="font-style:italic;"&gt;k = 3&lt;/span&gt;.  Here is the extra restriction on instances: for every subset &lt;span style="font-style:italic;"&gt;S&lt;/span&gt; of &lt;span style="font-style:italic;"&gt;k&lt;/span&gt; variables, there is an OR clause &lt;span style="font-style:italic;"&gt;C[S]&lt;/span&gt; which contains each variable from &lt;span style="font-style:italic;"&gt;S&lt;/span&gt; exactly once, possibly negated, and no other variables.  (So, these SAT instances are fairly 'saturated' with constraints.)&lt;br /&gt;&lt;br /&gt;For example, the property that a bit-vector contains at most &lt;span style="font-style:italic;"&gt;k-1&lt;/span&gt; ones can be written this way: for each variable-set &lt;span style="font-style:italic;"&gt;S = {x[i_1], ... x[i_k]}&lt;/span&gt; of size &lt;span style="font-style:italic;"&gt;k&lt;/span&gt;, we include the constraint&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;C[S] := (~x[i_1] OR  ~x[i_2]  OR ... OR  ~x[i_k])&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;That's the problem statement--get to it!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-1020623443642577792?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/1020623443642577792/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=1020623443642577792' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1020623443642577792'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1020623443642577792'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/02/satisfaction-guaranteed.html' title='SATisfaction guaranteed'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-939719447873093486</id><published>2007-02-01T21:29:00.001-05:00</published><updated>2007-02-01T21:29:45.312-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><title type='text'>Where Are The Puzzles?</title><content type='html'>I am not a number theorist--far from it.  It's not just that I suspect I wouldn't be very good (though there's that): while I admire its beauty, depth, and growing applicability, on a basic level I don't 'buy in' to the scenarios it presents--they don't seem real and urgent in the way theoretical CS problems do (and I say this despite being almost equally far in my tastes from 'applied' math).&lt;br /&gt;&lt;br /&gt;But I don't want to rag on number theory, or give a polemic in favor of my field.  I want to point out a sense in which number theorists seem to have it really, really good, and ask whether TCS people could ever work themselves into a similar position.&lt;br /&gt;&lt;br /&gt;Number theorists live in a towering palace of puzzles.  I don't think any other branch of math, not even Euclidean geometry, has produced such a wealth of problems.  A meaningful diversity, too, in terms of range of difficulty, types of thinking and visualization involved, degree of importance/frivolity, etc.  This has several benefits to the field: &lt;br /&gt;&lt;br /&gt;i) supports more researchers, and researchers of varying abilities and approaches;&lt;br /&gt;&lt;br /&gt;ii) gives researchers ways to blow off steam or build their confidence before tackling 'serious' or technical problems in number theory;&lt;br /&gt;&lt;br /&gt;iii) provides more 'sparks' for theoretical development and conceptual connections;&lt;br /&gt;&lt;br /&gt;iv) gives young mathematicians plenty of opportunities to cut their teeth (the Olympiad system  seems to produce 18-year-old number theorists of demoniacal skill);&lt;br /&gt;&lt;br /&gt;v) provides good ways to advertise the field to the public and entice in new young talent.&lt;br /&gt;&lt;br /&gt;Feel free to chime in with other possible benefits--or maybe you think puzzles are a detriment (I've heard this expressed); if so I'd also love to hear from you.  &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I'm not anxious to hammer down what a puzzle is, or the exact role they play in scientific fields (others have tried); but I would like to get a better sense, in the specific case of TCS, of where the puzzles are or why they are fewer in number (I'm not saying there are none).  Towards that end I'd like to first point out what may be a salient feature in number theory's success: it possesses at least one powerful &lt;span style="font-style:italic;"&gt;generative syntax&lt;/span&gt; for puzzle-posing: namely&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;Find solutions to&lt;/span&gt; F(x, y, z, ...) = 0,&lt;br /&gt;&lt;br /&gt;where &lt;span style="font-style:italic;"&gt;x, y, z&lt;/span&gt; are integral and &lt;span style="font-style:italic;"&gt;F&lt;/span&gt; is a polynomial, exponential function, etc.  You can just start inventing small equations, and before too long you'll come across one whose solution set is not at all obviously describable, and worth puzzling over.&lt;br /&gt;&lt;br /&gt;Now, complexity theorists have a pat explanation why this is so: solving Diophantine equations is in general undecidable, maybe even hard on average under natural distributions (?).  But, though amazing and true, I think it's a sham explanation.  Diophantine equations somehow manage to be (for number theorists at least) &lt;span style="font-style:italic;"&gt;interesting on average, meaningful on average&lt;/span&gt;, and actually pertinent to the life of the field.  (number theorists--am I wrong?)&lt;br /&gt;&lt;br /&gt;So where in CS is there a generative scheme of comparable fertility?  Are there inherent reasons why CS as we know it could not support such a scheme?  Is CS too 'technical', too 'conceptual' to support that kind of free play?  Or is it simply too young a field to have yielded up its riches?   What do readers think?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I don't want to suggest that there aren't good puzzles and puzzle-schemas kicking around CS (contests, too, though weighted towards programming); there was a period when "prove X is NP-complete" was virtually my mission statement (though it gets old, I gotta say... and we should also admit that some of the best puzzles in any field are likely to be ones that don't fit any familiar scheme).  You should also check out the impressive efforts of Stanford grad student Willy Wu, who has a cool collection of riddles, many about CS, and a long-running &lt;a href="http://www.ocf.berkeley.edu/~wwu/riddles/medium.shtml"&gt;forum&lt;/a&gt; devoted to posing, solving, and discussing them.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-939719447873093486?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/939719447873093486/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=939719447873093486' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/939719447873093486'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/939719447873093486'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/02/where-are-puzzles.html' title='Where Are The Puzzles?'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-1127713866049696305</id><published>2007-01-28T21:58:00.000-05:00</published><updated>2007-02-04T20:33:04.831-05:00</updated><title type='text'>Going Live</title><content type='html'>Coming soon: irrefutable evidence that I exist in the physical world!  To anyone in the San Diego area, I am giving a talk this Wednesday:&lt;br /&gt;&lt;br /&gt;(&lt;span style="font-weight:bold;"&gt;Update: &lt;/span&gt; the talk has been delivered, and the powerpoint is &lt;a href="http://www-cse.ucsd.edu/~adrucker/PropTesting.ppt"&gt;here&lt;/a&gt;.  Pdf version is &lt;a href="http://shreevatsa.googlepages.com/PropTesting.pdf"&gt;here&lt;/a&gt;, thanks to the mysterious S...)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Property Testing&lt;/span&gt;-- A talk by Andy Drucker&lt;br /&gt;&lt;br /&gt;Property testing is a recently developed algorithmic&lt;br /&gt;paradigm inspired by the need for fast (even&lt;br /&gt;constant-time!) approximate solutions to problems with&lt;br /&gt;very large data sets.  I will introduce the field,&lt;br /&gt;give representative examples of testing algorithms and&lt;br /&gt;their analysis, and describe lower bounds for the model.&lt;br /&gt;&lt;br /&gt;At UCSD, in 4109 EBU3b (CSE building).  I will link to my powerpoint when it's complete, should be essentially self-contained.&lt;br /&gt;&lt;br /&gt;Despite its bland label, property testing is a fascinating area, and I am looking forward to sharing some of what I've learned about it--so be there!&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Addendum:&lt;/span&gt; Here is the modest wisdom I have gained from this experience:&lt;br /&gt;&lt;br /&gt;i) Don't put too much information on one slide.&lt;br /&gt;&lt;br /&gt;ii) Do a practice run--it really helps, and in this case, also made me realize point i).&lt;br /&gt;&lt;br /&gt;iii) Don't be afraid to focus on simple results in a talk.&lt;br /&gt;&lt;br /&gt;iv) If you are preparing a talk partly to help learn a subject (as I was), you should realistically expect to learn more about public speaking and pedagogy.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-1127713866049696305?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/1127713866049696305/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=1127713866049696305' title='6 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1127713866049696305'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1127713866049696305'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/01/going-live.html' title='Going Live'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>6</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-8450161469668889984</id><published>2007-01-18T14:52:00.000-05:00</published><updated>2007-01-18T16:08:02.433-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><category scheme='http://www.blogger.com/atom/ns#' term='computability'/><category scheme='http://www.blogger.com/atom/ns#' term='complexity'/><title type='text'>PPuzzle</title><content type='html'>Today I'd like to present an exercise about &lt;span style="font-weight:bold;"&gt;PP&lt;/span&gt; and related complexity classes, requiring only basic familiarity with reductions in complexity theory.  The result involved has almost certainly been discovered before, and I'd appreciate any references.&lt;br /&gt;&lt;br /&gt;But first, why do I present so many exercises and puzzles?  It's not just to skimp on exposition;  it's because, for me anyway, doing puzzles is a joyful activity and the best way to really learn a field.  When I pose a puzzle, you have my promise that the solution is both interesting and not too complicated, unless I say otherwise.  I will give a sense of the basic background you need, so e.g. I won't ask you to reinvent the probabilistic method (as Kuhn says, puzzles are within and relative to a paradigm, whatever that means).&lt;br /&gt;&lt;br /&gt;If theoretical computer science wants to compete with other areas of math in enticing and effectively training young problem-solvers, it needs to have a better sense of what its puzzles are.  I hope to say more about this soon.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Here is a computational problem, which I'll call CONTEST:&lt;br /&gt;&lt;br /&gt;**********************************************&lt;br /&gt;GIVEN: A boolean circuit &lt;span style="font-style:italic;"&gt;C&lt;/span&gt; on &lt;span style="font-style:italic;"&gt;n&lt;/span&gt; input bits, outputting a single bit;&lt;br /&gt;&lt;br /&gt;DECIDE: is there a &lt;span style="font-style:italic;"&gt;z&lt;/span&gt; in &lt;span style="font-style:italic;"&gt;{0, 1}^n&lt;/span&gt; such that at least half of the outputs &lt;span style="font-style:italic;"&gt;{C(y): y &lt;= z&lt;/span&gt; in the lexicographic ordering&lt;span style="font-style:italic;"&gt;}&lt;/span&gt; are 1's?&lt;br /&gt;**********************************************&lt;br /&gt;&lt;br /&gt;In other words (and supposing for illustration &lt;span style="font-style:italic;"&gt;n = 4&lt;/span&gt;), if the outputs &lt;span style="font-style:italic;"&gt;{C(0000), C(0001), C(0010), ... C(1111)}&lt;/span&gt; give votes for candidates 0 and 1, in the order in which they were received, was candidate 1 ever ahead or tied in the running tally?  (i.e., does candidate 1 make a 'contest' of it?)&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Problem 1:&lt;/span&gt; Show that CONTEST is hard for &lt;span style="font-weight:bold;"&gt;PP&lt;/span&gt;, whose standard complete problem is the following:&lt;br /&gt;&lt;br /&gt;**********************************************&lt;br /&gt;GIVEN: A boolean circuit &lt;span style="font-style:italic;"&gt;C(x)&lt;/span&gt; on &lt;span style="font-style:italic;"&gt;n&lt;/span&gt; input bits, outputting a single bit;&lt;br /&gt;&lt;br /&gt;DECIDE: Are at least half of &lt;span style="font-style:italic;"&gt;C&lt;/span&gt;'s outputs 1's?&lt;br /&gt;**********************************************&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Problem 2:&lt;/span&gt; Show that CONTEST is in the class NP*(PP), whose standard complete problem is the following problem:&lt;br /&gt;&lt;br /&gt;**********************************************&lt;br /&gt;GIVEN: A boolean circuit &lt;span style="font-style:italic;"&gt;C(x, y)&lt;/span&gt; on &lt;span style="font-style:italic;"&gt;2n&lt;/span&gt; input bits (&lt;span style="font-style:italic;"&gt;|x| = |y| = n&lt;/span&gt;), outputting a single bit;&lt;br /&gt;&lt;br /&gt;DECIDE: is there an &lt;span style="font-style:italic;"&gt;x&lt;/span&gt; in &lt;span style="font-style:italic;"&gt;{0, 1}^n&lt;/span&gt; such that at least half of the outputs &lt;span style="font-style:italic;"&gt;{C(x, y): |y| = n }&lt;/span&gt; are 1's?&lt;br /&gt;**********************************************&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Problem 3:&lt;/span&gt; CONTEST is complete for either &lt;span style="font-weight:bold;"&gt;PP&lt;/span&gt; or &lt;span style="font-weight:bold;"&gt;NP(PP)&lt;/span&gt;; which one?&lt;br /&gt;The proof is simple and, I think, amusing.&lt;br /&gt;&lt;br /&gt;For those who've been bit by the computability bug (as I've been recently, witness some previous posts), there are many related problems:&lt;br /&gt;&lt;br /&gt;GIVEN: A polynomial-time machine &lt;span style="font-style:italic;"&gt;M&lt;/span&gt; outputting 0's and 1's, viewed as a sequence.&lt;br /&gt;&lt;br /&gt;DECIDE: a) Do 1's ever outnumber 0's in an initial segment of the sequence?&lt;br /&gt;&lt;br /&gt;b) Do 1's outnumber 0's infinitely often?&lt;br /&gt;&lt;br /&gt;c) Does the sequence &lt;span style="font-style:italic;"&gt;a_n = &lt;/span&gt; (number of 1's up to length &lt;span style="font-style:italic;"&gt;n &lt;/span&gt;) - (number of 0's up to length &lt;span style="font-style:italic;"&gt;n&lt;/span&gt;) diverge properly to positive infinity?&lt;br /&gt;&lt;br /&gt;These decision problems are listed in increasing order of unsolvability, and their exact complexity can be pretty readily determined using the &lt;span style="font-style:italic;"&gt;k&lt;/span&gt;-round game characterization of level &lt;span style="font-style:italic;"&gt;k&lt;/span&gt; of the Arithmetic Hierarchy that I mentioned in the post 'Trees and Infinity II'.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-8450161469668889984?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/8450161469668889984/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=8450161469668889984' title='10 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/8450161469668889984'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/8450161469668889984'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/01/ppuzzle.html' title='PPuzzle'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>10</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-3394141255573293111</id><published>2007-01-13T20:43:00.000-05:00</published><updated>2007-09-27T13:38:37.803-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='geometry'/><title type='text'>The Spirit of Modern Math: from Compactness to VC Dimension</title><content type='html'>&lt;em&gt;Helly's Theorem&lt;/em&gt; was, I think, the first geometry result I ever loved.  It was my first exposure to 'combinatorial geometry', a body of results with much looser hypotheses and exploring more large-scale scenarios than classical geometry.&lt;br /&gt;(If you can find it, definitely check out the out-of-print problem book 'Combinatorial Geometry in the Plane' by Hadwiger &amp; Debrunner, or ask me for sample problems.)&lt;br /&gt;&lt;br /&gt;Here is the theorem: &lt;em&gt;Suppose a finite collection &lt;/em&gt;C &lt;em&gt;of convex sets in the plane is such that any 3 of them has a nonempty intersection; then there is a point common to every set in &lt;/em&gt;C.&lt;br /&gt;&lt;br /&gt;There is a simple proof by induction on the number of sets in &lt;em&gt;C&lt;/em&gt;, which directly implies a polynomial-time algorithm for finding the point claimed to exist, given only a list of points &lt;em&gt;{p[i, j, k]}&lt;/em&gt;, where &lt;em&gt;p[i, j, k]&lt;/em&gt; is common to sets &lt;em&gt;i, j,&lt;/em&gt; and &lt;em&gt;k&lt;/em&gt; and we range over all such triples.  It'd be interesting to know the exact complexity for this search problem--is there an outright formula for the common point?--but I haven't given it much thought, although the problem is definitely amenable to parallel processing.&lt;br /&gt;&lt;br /&gt;Many more general results are available.  From the general perspective, the 2-dimensional version of Helly's Theorem above states that the 'Helly number' of &lt;strong&gt;R^2&lt;/strong&gt; is 3.  Helly also proved in the same fashion that the Helly number of &lt;strong&gt;R^n&lt;/strong&gt; is &lt;em&gt;n + 1&lt;/em&gt;.  There is a result for infinite collections of sets, too, which I invite you to think about.&lt;br /&gt;&lt;br /&gt;Think of a convex set in terms of its membership function; Helly's Theorem says that if any 3 of a finite set of these functions are simultaneously satisfiable, then they are all simultaneously satisfiable.  This might sound familiar: recall the Compactness Theorem of Propositional Logic (see my 'Trees and Infinity' post), regarding simultaneous satisfiability of finite Boolean functions; Helly's Theorem says that something even stronger holds for convex membership functions, even though they have an infinite domain.&lt;br /&gt;&lt;br /&gt;So we find that, even though the finite-domain condition seemed to play an essential role in our proof of the Compactness Theorem, there is a powerful thread of truth running beyond that theorem's scope.  It was an important step to formalize abstract properties like compactness and Helly numbers on the basis of more concrete theorems, and then to seek out zones of applicability beyond the ones theorists were originally interested in.  This spirit of generalization is part of the greatness of modern mathematics, although it can certainly be taken to extremes.&lt;br /&gt;&lt;br /&gt;Note that the Helly property of families of collections of functions(simultaneous satisfiability of any size-&lt;em&gt;k&lt;/em&gt; set of functions from a collection implies simultaneous satisfiability of the whole collection), and the weaker compactness property (simultaneous satisfiability of any finite set of functions from a collection implies simultaneous satisfiability of the whole collection) are more useful than natural.  They're a mouthful to formulate, and they don't necessarily correspond to what we think 'ought to happen' most of the time, but whenever we're interested in satisfying a bunch of conditions at once in a construction (which is frequent throughout math), Helly and compactness properties can prove invaluable.  Furthermore, they apply surprisingly often (especially compactness).  This well justifies the study, in real analysis and topology courses, of compact metric and topological spaces, even though the definitions bewilder many students.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;In future posts I hope to say more another great (and more recent) concept that also arose out of generalization and is also more useful than natural: the VC dimension.  Interestingly, VC dimension (don't worry about the definition for now) can be seen as a probabilistic analogue of the Helly property.  Let me explain.&lt;br /&gt;&lt;br /&gt;Suppose you've got a finite collection &lt;em&gt;C&lt;/em&gt; of sets, and each set &lt;em&gt;S[i]&lt;/em&gt; is big enough (relative to some probability distribution) that a randomly drawn element lies in &lt;em&gt;S[i]&lt;/em&gt; with probability &lt;em&gt;p &gt; 0&lt;/em&gt;.  Then if we draw a large number of elements, each individual &lt;em&gt;S[i]&lt;/em&gt; is hit at least once with a very high probability &lt;em&gt;1 - e&lt;/em&gt;; then, using the union bound, &lt;em&gt;every&lt;/em&gt; set gets hit at least once with probability at least &lt;em&gt;1 - |C|*e&lt;/em&gt;, and if we get the numbers right this will still be 'large enough' (&lt;em&gt;m = O(log(|C|)/p)&lt;/em&gt; will do).  &lt;br /&gt;&lt;br /&gt;The idea sketched above is the core of the conventional probabilistic method in combinatorics.  In applying the union bound, it seems to rely crucially on &lt;em&gt;|C|&lt;/em&gt; being finite.  However, this is not the case.  A much more relaxed condition on &lt;em&gt;C&lt;/em&gt;--that its VC dimension be finite--will also gain us the same conclusion, albeit with some differences in quantitative strength.&lt;br /&gt;&lt;br /&gt;I am grateful to Professor Sanjoy Dasgupta of UCSD for teaching a wonderful course in Learning Theory that much improved my understanding of VC dimension.  He showed us a very slick, sophisticated proof of the result about VC dimension I alluded to.  However, I am still looking for a truly simple proof, and would happily accept suboptimal quantitative strength in order to be able to share this amazing phenomenon with a wider and more pressed-for-time audience.  If anyone has references or ideas on this, please let me know.&lt;br /&gt;&lt;br /&gt;For those familiar with the VC concept, I invite you to show that set/function families can have a finite VC dimension without compactness, and compactness (even the Helly property) without finite VC dimension.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-3394141255573293111?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/3394141255573293111/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=3394141255573293111' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/3394141255573293111'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/3394141255573293111'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2007/01/spirit-of-modern-math-from-compactness.html' title='The Spirit of Modern Math: from Compactness to VC Dimension'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-1618655929565705958</id><published>2006-12-27T14:45:00.000-05:00</published><updated>2007-01-01T15:43:57.149-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><title type='text'>Fun with Censorship: the Finite Case</title><content type='html'>This post was inspired by Elad Verbin's insights and question about the 'Damn Good Puzzle'.  See that post's comments section for the buildup.&lt;br/&gt;&lt;br/&gt;Here is a finite version of the censor puzzle (which readers should review for the scenario):&lt;br/&gt;&lt;br/&gt;Given &lt;i&gt;k &gt; 0, &lt;/i&gt;there is an &lt;i&gt;N&lt;/i&gt; (independent of the alphabet and allowed/forbidden word classification system), such that  any text of length &lt;i&gt;N&lt;/i&gt; has a parsing into &lt;i&gt;k&lt;/i&gt; words, with all but possibly the first and last words sharing a classification.&lt;br/&gt;&lt;br/&gt;Elad's comments suggested this theorem and implied the bound &lt;i&gt;N &lt;= R(k, k) + 1&lt;/i&gt;&lt;i&gt;, &lt;br/&gt;&lt;/i&gt;where &lt;i&gt;R(k, k)&lt;/i&gt; is the &lt;i&gt;k&lt;/i&gt;th &lt;a href="http://en.wikipedia.org/wiki/Ramsey's_theorem"&gt;Ramsey number&lt;/a&gt;.  But &lt;i&gt;R(k, k)&lt;/i&gt; is super-exponential in &lt;i&gt;k&lt;/i&gt;.  &lt;br/&gt;In this post I will show how to get a quadratic upper bound.&lt;br/&gt;&lt;br/&gt;Following Elad, given a text &lt;i&gt;s_1, ... s_n&lt;/i&gt; of length &lt;i&gt;n &lt;/i&gt;we define a graph coloring on the complete graph on vertices 0, 1, ... &lt;i&gt;n.&lt;/i&gt;  Edge &lt;i&gt;(i, j)&lt;/i&gt; with &lt;i&gt;j &gt; i&lt;/i&gt; is colored red if the word &lt;i&gt;s_{i+1} ... s_j&lt;/i&gt; is allowed, otherwise, it's blue.  Now, if we can guarantee there exists a monochromatic path of length &lt;i&gt;k&lt;/i&gt; in the graph, such that the path is ascending on vertex labels (call this an &lt;i&gt;ascending path&lt;/i&gt;), it will naturally induce a parsing into at least &lt;i&gt;k &lt;/i&gt;words (possibly &lt;i&gt;k+1 &lt;/i&gt;or &lt;i&gt;k+2&lt;/i&gt;&lt;i&gt;,&lt;/i&gt; depending on whether vertices &lt;i&gt;0&lt;/i&gt; and &lt;i&gt;n&lt;/i&gt; get visited) that meets our condition. &lt;br/&gt;&lt;br/&gt;&lt;br/&gt;Given an index &lt;i&gt;i &lt;= n&lt;/i&gt; and a 2-colored complete graph &lt;i&gt;G&lt;/i&gt; on &lt;i&gt;n+1&lt;/i&gt; vertices, let &lt;i&gt;R_i &lt;/i&gt;be the number of edges in the longest all-red ascending path in &lt;i&gt;G&lt;/i&gt; that ends at vertex &lt;i&gt;i&lt;/i&gt;.  &lt;br/&gt;Similarly let &lt;i&gt;B_i&lt;/i&gt; be the number of edges in the longest all-blue ascending path in &lt;i&gt;G&lt;/i&gt; ending at vertex &lt;i&gt;i&lt;/i&gt;. &lt;br/&gt;&lt;br/&gt;Say &lt;i&gt;i &lt; j&lt;/i&gt;.  If &lt;i&gt;(i, j)&lt;/i&gt; is colored red, then &lt;i&gt;R_j &gt;= R_i + 1&lt;/i&gt;, since any ascending red path ending at vertex &lt;i&gt;i&lt;/i&gt; can be extended to vertex &lt;i&gt;j&lt;/i&gt; via edge &lt;i&gt;(i, j).&lt;/i&gt;&lt;br/&gt;&lt;br/&gt;Similarly, if &lt;i&gt;(i, j) &lt;/i&gt;is blue, then &lt;i&gt;B_j &gt;= B_i + 1.&lt;/i&gt;&lt;br/&gt; In either case the (nonnegative)  integer vector &lt;i&gt;(R_j, B_j)&lt;/i&gt; does not equal &lt;i&gt;(R_i, B_i)&lt;/i&gt;.&lt;i&gt;&lt;br/&gt;&lt;/i&gt;There are only &lt;i&gt;k^2 &lt;/i&gt;distinct nonnegative integer vectors having both terms at most &lt;i&gt;k-1; &lt;br/&gt;&lt;/i&gt;so if &lt;i&gt;n &gt;= k^2 + 1 &lt;/i&gt;some &lt;i&gt;R_j&lt;/i&gt; or &lt;i&gt;B_j &lt;/i&gt;must be at least &lt;i&gt;k&lt;/i&gt;.  &lt;i&gt;QED.&lt;br/&gt;&lt;br/&gt;&lt;/i&gt;&lt;i&gt;&lt;br/&gt;&lt;/i&gt;What I think is cool about this proof is that the measure of progress is very loose.  &lt;i&gt;(R_j, B_j)&lt;/i&gt; doesn't strictly dominate &lt;i&gt;(R_i, B_i)&lt;/i&gt;, it just isn't equal, and the vectors just pile up until some vector--we can't predict which--necessarily exceeds our 'victory' bound.&lt;br/&gt;&lt;i&gt;&lt;br/&gt;&lt;/i&gt;The result may still be suboptimal for e.g. graph colorings induced by binary alphabets, since these are quite restricted.  Who knows, maybe there's a linear upper bound in this case.&lt;i&gt;&lt;br/&gt;&lt;br/&gt;&lt;/i&gt;If you liked this result, you should definitely check out the book &lt;a href="http://www.amazon.com/Extremal-Combinatorics-Applications-Computer-Science/dp/3540663134"&gt;Extremal Combinatorics&lt;/a&gt; by Stasys Jukna, which has all sorts of cool related stuff (and complexity theory applications, no less!  This is my second plug for the book, so take heed.).  So much stuff that I can't even rule out that it contains this result, perhaps as one of its many exercises--but my copy is in San Diego and I'm up in Berkeley on winter break.&lt;br/&gt;&lt;br/&gt;It's been a year since I started this blog.  I intend to keep it rolling, and have several post ideas queued up, but I'd love to hear from you, dear reader, to get to know you and develop this  site in conversation.&lt;br/&gt;&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Addendum:&lt;/b&gt; I now realize that this result can also be derived from Dilworth's theorem (exercise, for those who care). While it doesn't seem to follow from Erdos-Szekeres (a special case of Dilworth), that theorem can be proved analogously to ours, so I probably read such a proof at one point.  Nothing new under the sun...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-1618655929565705958?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/1618655929565705958/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=1618655929565705958' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1618655929565705958'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/1618655929565705958'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2006/12/fun-with-censorship-finite-case.html' title='Fun with Censorship: the Finite Case'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-6141036740133891805</id><published>2006-12-23T13:02:00.000-05:00</published><updated>2008-06-11T16:59:30.913-04:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='computability'/><title type='text'>Trees and Infinity, part II</title><content type='html'>&lt;a href="http://andysresearch.blogspot.com/2006/11/with-this-post-i-hope-to-do-little-to.html"&gt;Previous: Part I&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;a href="http://andysresearch.blogspot.com/2007/05/trees-and-infinity-part-iii.html"&gt;Next: Part III&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;Time for another short installment on trees and recursive combinatorics, that will address a question raised by the previous puzzle and take us on an journey beyond the arithmetic hierarchy (cue your favorite sci-fi theme music...).&lt;br/&gt;&lt;br/&gt;To recap, Konig's Lemma guarantees that a locally-finite infinite tree has an infinite path. &lt;br/&gt;&lt;br/&gt;Suppose some machine &lt;i&gt;M(x) &lt;/i&gt;computes membership of &lt;i&gt;x&lt;/i&gt; in a locally-finite tree &lt;i&gt;T; &lt;/i&gt;if &lt;i&gt;x&lt;/i&gt; is in &lt;i&gt;T &lt;/i&gt;then &lt;i&gt;M(x)&lt;/i&gt; outputs the parent and immediate children of &lt;i&gt;x.&lt;/i&gt;  Then there is no guarantee that &lt;i&gt;T &lt;/i&gt;has a computably-describable infinite path; however, such a path can be computed, uniformly in &lt;i&gt;M &lt;/i&gt;(assuming we know the root node), given oracle access to the Halting set.&lt;br/&gt;&lt;br/&gt;Konig's Lemma fails if the nodes can be infinite-degree, even if the tree is infinite at every height (&lt;strong&gt;Exercise&lt;/strong&gt;).  But consider the following computational problem: &lt;br/&gt;&lt;br/&gt;INF: Given a Turing machine &lt;i&gt;M&lt;/i&gt; describing a tree &lt;i&gt;T &lt;/i&gt;(not necessarily locally finite), does &lt;i&gt;T&lt;/i&gt; have an infinite path?&lt;br/&gt;&lt;br/&gt;This question has a superficial simplicity: it is purely existential.  However, the object it seeks is infinite, and unlike in the case where Konig's Lemma applied, there is no obvious finite 'no' certificate.  Here's the astounding truth of the matter:&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Problem 1:&lt;i&gt; &lt;/i&gt;&lt;/strong&gt;There exists an algorithm which, given any formula &lt;i&gt;F&lt;/i&gt; of first-order logic, outputs a polynomial-time Turing machine &lt;i&gt;M &lt;/i&gt;describing a tree &lt;i&gt;T &lt;/i&gt;such that &lt;i&gt;T &lt;/i&gt;has an infinite path if and only if &lt;i&gt;F&lt;/i&gt; is true.&lt;br/&gt;&lt;br/&gt;Solving the problem boils down to this: suppose we've got a statement of the form &lt;i&gt;Q: &lt;/i&gt;"t&lt;i&gt;here exists a number x such that P(x) is true", &lt;/i&gt;and we know how to convert each individual &lt;i&gt;P(i)&lt;/i&gt; to a tree that has an infinite path if and only if &lt;i&gt;P(i) &lt;/i&gt;is true&lt;i&gt;; &lt;/i&gt;we now need to use this knowledge to build a tree corresponding to &lt;i&gt;Q&lt;/i&gt;.  &lt;br/&gt;&lt;br/&gt;Only slightly harder is the other case that arises: if &lt;i&gt;Q&lt;/i&gt; is of form &lt;i&gt;"for all numbers x, P(x) is true", &lt;/i&gt;where we again know how to build trees for each individual &lt;i&gt;P(i)&lt;/i&gt;&lt;i&gt;.&lt;/i&gt;  Still, this is pretty cool, since you are effectively reducing a universal condition into an existential one.  Once you can handle both cases, you can systematically attack an arbitrary first-order expression.&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;***Interlude: A Review***&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;If you're not up on first-order logic, just consider &lt;i&gt;F&lt;/i&gt; a statement of form &lt;br/&gt;&lt;br/&gt;&lt;i&gt;"the game G(X1, X2, ... Xk) is a win for player 1 (assuming perfect play)",&lt;br/&gt;&lt;br/&gt;&lt;/i&gt;where &lt;i&gt;G&lt;/i&gt; is a computable function from &lt;strong&gt;&lt;i&gt;N^&lt;/i&gt;&lt;/strong&gt;&lt;i&gt;k&lt;/i&gt; --&gt; &lt;i&gt;{0, 1}&lt;/i&gt; that defines a game as follows: player 1 and player 2 take turns in choosing values the &lt;i&gt;k &lt;/i&gt;values &lt;i&gt;X1, X2, ... Xk, &lt;/i&gt;and player 1 wins if and only if &lt;i&gt;G&lt;/i&gt; evaluates to 1 under the input chosen.  &lt;br/&gt;&lt;br/&gt;This 'computable game' formulation turns out to be equivalent to first-order logic; i.e., given any &lt;i&gt;F&lt;/i&gt; we can produce a &lt;i&gt;G &lt;/i&gt;such that &lt;i&gt;G &lt;/i&gt;is a win for player 1 if and only if &lt;i&gt;F &lt;/i&gt;is true, and the number of play-rounds of &lt;i&gt;G&lt;/i&gt; equals the depth of alternating quantifiers in &lt;i&gt;F; &lt;/i&gt;there is also a reduction in the reverse direction.&lt;br/&gt;&lt;i&gt;&lt;br/&gt;&lt;strong&gt;***&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;&lt;/i&gt;So how hard is the computational problem of checking for infinite paths?  If I've got my definitions right, it's complete for the first level of the analytic hierarchy: existential second-order logic.&lt;i&gt;&lt;br/&gt;&lt;br/&gt;&lt;/i&gt;Now here's a tie-in to the &lt;a href="http://andysresearch.blogspot.com/2006/12/feel-like-exercise-in-kind-of-infinite.html"&gt;'censor puzzle'&lt;/a&gt; I discussed recently.  Given a 'classification' &lt;i&gt;C&lt;/i&gt; of finite words over &lt;i&gt;{0, 1}&lt;/i&gt; as allowed or forbidden and an infinite 'text' bitstring &lt;i&gt;D&lt;/i&gt;, both poly-time computable, let PARSE be the computational problem of determining whether &lt;i&gt;D&lt;/i&gt; can be parsed so as to  appear wholly allowed with respect to &lt;i&gt;C.&lt;/i&gt;&lt;br/&gt;&lt;i&gt;&lt;br/&gt;&lt;/i&gt;&lt;strong&gt;Problem 2:  &lt;/strong&gt;Show that PARSE and INF are Turing-equivalent.&lt;strong&gt;&lt;br/&gt;&lt;/strong&gt;&lt;br/&gt;The challenge in reducing INF to PARSE, which is not too hard to overcome, is that because our alphabet is finite, the same words pop up again and again, so our decisions in building up &lt;i&gt;C &lt;/i&gt;keep on bugging us, whereas we want continual freedom of movement in encoding new and higher levels of the tree we are attempting to model in a PARSE instance.&lt;br/&gt;&lt;br/&gt;In the reduction I came up with, it's always easy to find a wholly-forbidden parsing of the text string.  Thus, as an open problem (update: solved!  In the negative.  See discussion in comments of Part I.) I ask,&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Problem 3:&lt;/strong&gt; Exhibit a PARSE instance, such that any parsing that is either wholly-allowed or wholly-forbidden (with the possible exception of the first word in each case) is not describable in the arithmetic hierarchy.&lt;br/&gt;&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Conclusion&lt;/strong&gt;&lt;br/&gt;&lt;div align="justify"&gt;&lt;br/&gt;NP-completeness theory has transformed the way we regard finite optimization problems.  &lt;br/&gt;NP-complete problems require hard search, but on a basic level it's 'the same' hard search &lt;br/&gt;in all cases.  &lt;br/&gt;&lt;br/&gt;Perhaps less widely known is that a similar phenomenon pervades higher &lt;br/&gt;mathematics.  Of course, computer scientists know that most natural &lt;br/&gt;undecidable problems are so because they can be used &lt;br/&gt;to solve the halting problem.  If they are much harder (as with PARSE), &lt;br/&gt;they are still likely to have a natural classification using the analytic &lt;br/&gt;hierarchy  or some other 'mega'-complexity class.  &lt;br/&gt;&lt;br/&gt;But there is more.  If a highly nonconstructive proof seems to require &lt;br/&gt;the axiom of choice, chances are the theorem being proved also &lt;br/&gt;constructively &lt;i&gt;implies&lt;/i&gt; some version of the axiom of choice and can be &lt;br/&gt;classified as 'complete' for a certain logical class.  This is a theme &lt;br/&gt;explored by 'reverse mathematics', an area I'm only beginning to &lt;br/&gt;learn about.&lt;br/&gt;&lt;br/&gt;Revisiting familiar theorems with a view towards establishing their &lt;br/&gt;complexity, informational, or logical content lends them new grandeur&lt;br/&gt;and enriches our sense of the interconnectedness of the mathematical world.&lt;br/&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-6141036740133891805?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/6141036740133891805/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=6141036740133891805' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/6141036740133891805'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/6141036740133891805'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2006/12/trees-and-infinity-part-ii.html' title='Trees and Infinity, part II'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-9022291862864806809</id><published>2006-12-05T19:26:00.000-05:00</published><updated>2006-12-23T15:00:26.582-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><title type='text'>A Damn Good Puzzle (Oops)</title><content type='html'>&lt;div&gt;Feel like an exercise in the kind of infinite mathematics I described two posts ago?  What follows is a slightly dolled-up version of a puzzle posed by the great mathematician Kolmogorov to an auditorium of Soviet middle-school students, and solved by a young Leonid Levin, future co-discoverer of NP-Completeness.  This I learned from the entertaining and important book &lt;a href="http://cs.nyu.edu/shasha/outofmind.html"&gt;Out of Their Minds: The Lives and Discoveries of 15 Great Computer Scientists&lt;/a&gt; by Dennis Shasha and Cathy Lazare.   (Shasha is also a noted puzzle-poser.)&lt;span class="" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;br/&gt;&lt;br/&gt;The Great Censor has, in his inscrutable wisdom, laid down a judgment on every finite string of letters in our alphabet--each is either &lt;span&gt;allowed&lt;/span&gt; or &lt;span&gt;forbidden&lt;/span&gt;.&lt;br/&gt;&lt;/div&gt;    &lt;div&gt;We, the petty censors he commands, are to intercept various texts and classify them according to his precepts.  However, when spaces are not used in texts, there is a potential ambiguity that makes life difficult.&lt;br/&gt;&lt;/div&gt;      &lt;div&gt;For example, suppose &lt;span&gt;ab&lt;/span&gt; is an allowed word and &lt;span&gt;ba&lt;/span&gt; is forbidden (there are all sorts of other judgments as well).&lt;br/&gt;&lt;br/&gt;Say the petty censors intercept the infinite string of symbols &lt;span&gt;ababababab&lt;/span&gt;... .&lt;/div&gt;  &lt;div&gt;One way to 'parse' it would be &lt;span&gt;ab ab ab&lt;/span&gt; ..., and we'd judge it wholly allowable.&lt;/div&gt;      &lt;div&gt;But another way would be as   &lt;span&gt;a ba ba ba ba&lt;/span&gt; ...   and this would be wholly forbidden except for possibly the first word &lt;span&gt;a&lt;/span&gt;.&lt;br/&gt;&lt;br/&gt;The Great Censor doesn't mind a little arbitrariness in our choice of parsing--he is one arbitrary dude himself.  However, he expects our judgments to be resounding; he doesn't like it if a parsed text alternates back and forth between allowed and forbidden words.&lt;/div&gt;    &lt;div&gt;&lt;br/&gt;Achieving this has been a matter of great vexation among the censors.  However, one day a clever young apprentice censor, still far from internalizing the entire system of judgments, had a realization: &lt;/div&gt;  &lt;div&gt;&lt;br/&gt;No matter how the set of finite strings is divided between allowed and forbidden by the Great Censor, and no matter what infinite string of letters a petty censor is presented with, it will always be possible to parse the infinite string in such a way that the parsed words are either all allowed or all forbidden--with the possible exception of the first word, which may disagree with the others. &lt;br/&gt;&lt;br/&gt;So why is this true?&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-9022291862864806809?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/9022291862864806809/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=9022291862864806809' title='17 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/9022291862864806809'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/9022291862864806809'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2006/12/feel-like-exercise-in-kind-of-infinite.html' title='A Damn Good Puzzle (Oops)'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>17</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-2119802604599191859</id><published>2006-11-27T21:12:00.000-05:00</published><updated>2006-12-05T21:34:53.595-05:00</updated><title type='text'>Drawing on the Hyperanalytical Side of the Brain</title><content type='html'>&lt;span style="font-weight: bold;font-size:130%;" &gt;1. Introduction&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;What's the deal with drawing?  Why's it so hard for most people?  By 'drawing' I specifically mean an attempt to reproduce on paper some thing or image that's actually in front of you.&lt;br /&gt;&lt;br /&gt;Way back when I had a serious interest in drawing; the most important and useful book I ever read on the subject is called &lt;a href="http://www.amazon.com/New-Drawing-Right-Side-Brain/dp/0874774241"&gt;Drawing on the Right Side of the Brain&lt;/a&gt;, by Betty Edwards.  Its basic point is that most of us are hobbled in our attempts to draw by our persistent tendency to overcode visual information with symbolic meaning; doing so causes us to draw our symbols rather than what we are actually seeing.  Realizing and addressing this can quickly and profoundly improve people's ability to draw; I've seen it happen to a friend who was hopeless before reading the book.&lt;br /&gt;&lt;br /&gt;Of course, an artist's technical development can hardly end there; what's the next step?  Making our drawings more accurate, presumably.  Is this just a matter of practice, transcribing shape after shape until our basic ability to perceive lengths, angles, and ratios is finely honed?  No.   I believe that becoming proficient at drawing has more to do with the &lt;span style="font-style: italic;"&gt;strategic management&lt;span style="font-style: italic;"&gt; of error&lt;/span&gt;&lt;/span&gt; (analogous to error management in scientific computing) than with the elimination of one's basic susceptibility to error.&lt;br /&gt;&lt;br /&gt;I don't think this is a novel or controversial thesis.  Furthermore, plenty of books, like Edwards', will teach you various ways to do this better than I could.  So why am I writing this? I want to propose an analytical model of the activity of drawing that will give a precise (albeit idealized) account of error and justify techniques of error-management.  I hope this model might make the act of drawing seem more interesting and approachable to the sort of people who might stumble on this blog in the first place.&lt;br /&gt;&lt;br /&gt;Of course, great drawings involve a connection between artist and subject that goes beyond simple fidelity to its spatial proportions.  However, I hope to convince readers that even achieving spatial accuracy is a richly complex activity.  The artist is not just a passive photocopier of reality, but must perceive the high-level structure of an image and plan her drawing accordingly.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Warning:&lt;/span&gt; I'm a barely-competent artist with no knowledge of the current state of drawing research. You should probably stop reading now.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;2.  Working Assumptions and Model Criteria&lt;/span&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Here are my starting points for the model, which will use a modest amount of mathematics.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1.&lt;/span&gt;  The &lt;span style="font-style: italic;"&gt;target image&lt;/span&gt;, i.e. the thing the artist wants to reproduce, is a finite set of points (&lt;span style="font-style: italic;"&gt;p[1], ... p[n]) &lt;/span&gt;in the &lt;span style="font-style: italic;"&gt;x-y&lt;/span&gt; plane (the &lt;span style="font-style: italic;"&gt;target plane&lt;/span&gt;).  The &lt;span style="font-style: italic;"&gt;drawn image&lt;/span&gt; is another set of points (called &lt;span style="font-style: italic;"&gt;marks,&lt;/span&gt; labeled&lt;span style="font-style: italic;"&gt; m[1], ... m[n])&lt;/span&gt; in another &lt;span style="font-style: italic;"&gt;x-y&lt;/span&gt; plane (the &lt;span style="font-style: italic;"&gt;drawing plane, &lt;/span&gt;initially empty), each with an intended correspondent in the target plane.&lt;br /&gt;&lt;br /&gt;Obviously, this is purely a modelling assumption and reflects no conviction about 'the way things are'.  I don't think that the visual field is truly describable as an &lt;span style="font-style: italic;"&gt;x-y&lt;/span&gt; plane; I'm arbitrarily suppressing questions of 3-D rendering by assuming a flat target; and I'm throwing out lines, shading, color, etc.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2.&lt;/span&gt;  Drawing is sequential; one point at a time.  Moreover, drawing is &lt;span style="font-style: italic;"&gt;local&lt;/span&gt;.  By this I mean that, in determining the location of the next mark, the artist consults only a 'small' number of previously drawn marks, along with their corresponding points.  I think this assumption can be falsified, but generally it's too taxing to bring very much information usefully to bear in the production of a single mark.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3.  &lt;/span&gt;Each mark-making action is error-prone (stochastic, if you like).  For simplicity, rather than a probability distribution, I will assume a &lt;span style="font-style: italic;"&gt;possibility set &lt;/span&gt;of possible positions for a new mark that's a function of the positions of the marks and points taken into consideration by the artist's local rule.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4.&lt;/span&gt;  Error is &lt;span style="font-style: italic;"&gt;scale-invariant&lt;/span&gt;.  That is, if we shrink or grow the target image, holding proportions fixed, the possibility-sets for new marks will not be affected.  This reflects the experience that shifting one's distance from a drawn object does not reliably make for a better drawing (assuming the object wasn't too close or too far away to be clearly perceptible).&lt;br /&gt;&lt;br /&gt;Similarly, if we shrink or grow the drawn image-so-far, the possibility-sets for new marks will shrink or grow proportionally.  (If error was an absolute quantity, e.g. the drawn point would fall at most an absolute distance &lt;span style="font-style: italic;"&gt;e&lt;/span&gt; from the correct point, we could all just make very large drawings and the errors would become insignificant flaws on an essentially-perfect rendering.  Alas, it doesn't work that way.  Now, the implausibility of the absolute-error model doesn't prove the scale-invariant model--there's probably a more nuanced alternative--but I'm going to go with it.)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5.&lt;/span&gt;  More reference points are useful in determining a new mark.  Example: you are given the target image on the left, and have marked &lt;span style="font-style: italic;"&gt;A'&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;B'&lt;/span&gt; on the drawing plane (not quite to scale, but that's OK as long as you get &lt;span style="font-style: italic;"&gt;C'&lt;/span&gt; placed accordingly).&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/2248/2430/1600/refpointshelp.0.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/2248/2430/200/refpointshelp.jpg" alt="" border="0" /&gt;&lt;/a&gt;Now you've got to mark &lt;span style="font-style: italic;"&gt;C'&lt;/span&gt;.  My contention is simply that having both &lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;A' &lt;/span&gt;&lt;/span&gt;and &lt;span style="font-style: italic;"&gt;B'&lt;/span&gt; already placed makes it easier to place &lt;span style="font-style: italic;"&gt;C'&lt;/span&gt; well; you can check the new mark's relation to two points instead of just one.  Of course, it takes at least two reference points just to get a sense of the scale being used in the drawing; but beyond that, there is also additional helpful angular information.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-size:130%;"&gt;3.  The Model&lt;/span&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;OK, here is a model that I believe honors 1 thru 5 above.  1 and 2 are obeyed verbatim.  I don't directly in the model describe how the artist chooses which mark to make next, or which reference points to use in making it (since my main goal is to suggest strategies for making such choices).  Therefore, the remaining task is to define how the possibility-sets for new mark location are formed.&lt;br /&gt;&lt;br /&gt;First, the artist has two underlying &lt;span style="font-style: italic;"&gt;accuracy parameters&lt;/span&gt; which we'll call &lt;span style="font-style: italic;"&gt;theta&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;epsilon&lt;/span&gt;.  Lower values will mean greater accuracy; the first parameter relates to angular accuracy, the second to distance accuracy.&lt;br /&gt;&lt;br /&gt;The artist chooses a &lt;span style="font-style: italic;"&gt;length-reference pair m[i], m[j], &lt;/span&gt;of distinct marks from those already made.  The presumptive size-inflation factor of the drawn image relative to the target is then estimated as the ratio of lengths &lt;span style="font-style: italic;"&gt;R =&lt;/span&gt; &lt;span style="font-style: italic;"&gt;L'/L&lt;/span&gt;, where &lt;span style="font-style: italic;"&gt;L&lt;/span&gt; is the distance from &lt;span style="font-style: italic;"&gt;p[i]&lt;/span&gt; to &lt;span style="font-style: italic;"&gt;p[j]&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;L'&lt;/span&gt; is the distance from &lt;span style="font-style: italic;"&gt;m[i]&lt;/span&gt; to &lt;span style="font-style: italic;"&gt;m[j]&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;This value &lt;span style="font-style: italic;"&gt;R&lt;/span&gt; is not consciously available to the artist (that's exactly the kind of precision we don't possess); rather, it helps determine the possibility-set for the new mark &lt;span style="font-style: italic;"&gt;m[k]&lt;/span&gt;, as we will describe.&lt;br /&gt;&lt;br /&gt;For each additional reference point &lt;span style="font-style: italic;"&gt;m[l]&lt;/span&gt;, a constraint &lt;span style="font-style: italic;"&gt;C[l] &lt;/span&gt;is placed on the possibility-set (so, more reference points mean less room for error).  &lt;span style="font-style: italic;"&gt;C[l]&lt;/span&gt; has two components.  The first one, the &lt;span style="font-style: italic;"&gt;length constraint&lt;/span&gt;, states that the distance from &lt;span style="font-style: italic;"&gt;m[l]&lt;/span&gt; to &lt;span style="font-style: italic;"&gt;m[k]&lt;/span&gt; must be between &lt;span style="font-style: italic;"&gt;R*(1 - epsilon)&lt;/span&gt;*&lt;span style="font-style: italic;"&gt;D&lt;/span&gt; and &lt;span style="font-style: italic;"&gt;R*(1 + epsilon)*D&lt;/span&gt;, where &lt;span style="font-style: italic;"&gt;D&lt;/span&gt; is the distance from &lt;span style="font-style: italic;"&gt;p[l] &lt;/span&gt;to &lt;span style="font-style: italic;"&gt;p[k]&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;(Note: I think that this constraint actually becomes tighter when &lt;span style="font-style: italic;"&gt;D&lt;/span&gt; is approximately &lt;span style="font-style: italic;"&gt;L&lt;/span&gt;; that is, it's easier to copy a length than it is to scale it up or down.  But I won't model this.)&lt;br /&gt;&lt;br /&gt;The second component, the &lt;span style="font-style: italic;"&gt;angular constraint&lt;/span&gt;, states that the vector connecting &lt;span style="font-style: italic;"&gt;m[l]&lt;/span&gt; to &lt;span style="font-style: italic;"&gt;m[k]&lt;/span&gt; must form an angle &lt;span style="font-style: italic;"&gt;A'&lt;/span&gt; with the horizontal that differs by at most &lt;span style="font-style: italic;"&gt;theta&lt;/span&gt; from the angle &lt;span style="font-style: italic;"&gt;A &lt;/span&gt;formed with the horizontal by the vector connecting &lt;span style="font-style: italic;"&gt;p[l] &lt;/span&gt;to &lt;span style="font-style: italic;"&gt;p[k]&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;Thus each such reference point &lt;span style="font-style: italic;"&gt;m[l] &lt;/span&gt;poses a constraint that looks like the following (&lt;span style="font-style: italic;"&gt;C[l]&lt;/span&gt; forces &lt;span style="font-style: italic;"&gt;m[k]&lt;/span&gt; to be placed in the shaded region):&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/2248/2430/1600/oneconstraint.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/2248/2430/200/oneconstraint.jpg" alt="" border="0" /&gt;&lt;/a&gt;This completes the description of the model.  There is only one technicality: what if the constraints cannot all be satisfied?  This is a sign that something is wrong with the drawn image, since a fully faithful partially drawn image (at any scale) will always impose constraints satisfied by the 'perfect' marks which complete the drawing, no matter which reference points are chosen.  Maybe an inconsistency causes the artist to start over, or pick a mark position satisfying as many constraints as possible.&lt;br /&gt;&lt;span style="font-size:130%;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;font-size:130%;" &gt;4.  Drawing Strategies Suggested by the Model&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;In what follows, I'm going to assume that the technicality just mentioned never arises.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;1.&lt;/span&gt; &lt;span style="font-style: italic;"&gt;When possible, choose orthogonal reference points.&lt;/span&gt;&lt;br /&gt;Notice that if two such reference points are chosen that lie very close together (both in the target and drawn images), they will impose nearly identical constraints and be functionally redundant, whereas reference points forming a larger angle with the point to be drawn cut down more on wiggle-room, as depicted below.&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/2248/2430/1600/orthogonalconstraints.1.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/2248/2430/200/orthogonalconstraints.1.jpg" alt="" border="0" /&gt;&lt;/a&gt;If the constraint regions were circular, rather than slices of an annulus, this effect wouldn't appear; one constraint region would be contained in all the others, and the corresponding reference point would subsume the usefulness of all the others.  This would be a violation of assumption 5, and contrary to my general experience.&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;span style="font-weight: bold;"&gt;2.&lt;/span&gt; &lt;span style="font-style: italic;"&gt;When possible, choose reference points that are close to the point to be drawn (on the image plane).&lt;/span&gt;&lt;br /&gt;For, the shaded area of the constraints we described grows directly as the distance to the reference point increases, giving more wiggle-room for error.&lt;br /&gt;&lt;br /&gt;Take a target image like this one of two faces (using lines for ease of illustration):&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/2248/2430/1600/happyjoes.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/2248/2430/200/happyjoes.jpg" alt="" border="0" /&gt;&lt;/a&gt;Suppose you've accurately copied the first face and want to start on the second.  It seems clear that using the first face as sole reference point for drawing each of the features on the second face would be foolish; the difficulty in assessing the length of the gap between the faces would give a result like this:&lt;br /&gt;&lt;br /&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/2248/2430/1600/sloppyjoes.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/2248/2430/200/sloppyjoes.jpg" alt="" border="0" /&gt;&lt;/a&gt;You don't see too many drawings like this one.  I think the close-reference-points strategy is intuitively understood by even inexperienced artists.  In fact, they cling to it (perhaps also because it involves less eye movement).   However, it is problematic as an exclusive strategy, and understanding why is at the core of what I want to impart about managing error in drawing.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3.&lt;/span&gt;&lt;span style="font-style: italic;"&gt; Maintain a 'confidence' model of the drawn points; when possible use reference points with high confidence.&lt;/span&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span&gt;Suppose you've got the two faces drawn correctly.  Say now the target image is altered to include two arms:&lt;br /&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger2/2248/2430/1600/handyjoes.0.jpg"&gt;&lt;img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://photos1.blogger.com/blogger2/2248/2430/200/handyjoes.0.jpg" alt="" border="0" /&gt;&lt;/a&gt;(I realize arms don't grow out of people's heads.)&lt;br /&gt;The question is, how should we add in the arms to our drawing?  Let's consider two options.  First option:  draw the leftmost arm, starting from the left face, up to its point of contact with the right arm, then continue the right arm down to the left face.&lt;br /&gt;Second option: draw the left and right arms separately in turn out from their faces, meeting the two in the middle.&lt;br /&gt;&lt;br /&gt;In either case we allow any previously drawn marks to serve as reference points.  In both cases, except for the discontinuity of switching arms in executing the second option, the dominant (because tightest) constraints are consistently provided by the portions of arm just drawn (these are the closest to the marks about to be made).&lt;br /&gt;&lt;br /&gt;As an arm being drawn 'grows' outward from its head, under our model the possible absolute distance of each drawn point from its 'correct' point (relative to the faithfully drawn heads) grows as at least &lt;span style="font-style: italic;"&gt;epsilon &lt;/span&gt;times the distance to the head from which the arm is growing.   This suggests that we should prefer the second drawing option; in fact, since the left arm is longer, we should probably grow part of the left hand out of the right hand--this minimizes the maximum distance from any point-to-be-drawn from its reference 'source' on the two heads.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4.&lt;/span&gt; &lt;span style="font-style: italic;"&gt;Watch out for error-accumulation in reference lengths; use confidence models here as well.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;The importance of using confident reference points is heightened by the fact that error can accumulate in length-reference pairs as well.  Inexperienced artists, when drawing a feature in a vicinity of their picture, over-rely on that vicinity to determine scale as well as relative position.  So, if features have gotten too enlarged in a picture region (typically an 'interesting' region with lots of detail), they will continue to be drawn overly large thereabouts because the length-reference pairs will be chosen locally.&lt;br /&gt;&lt;br /&gt;Note that in the discussion of the arm-drawing, we strategically chose not only reference points, but also which points we were to draw next.  So, generalizing:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5.  &lt;/span&gt;&lt;span style="font-style: italic;"&gt;Choose points to be drawn next that have close, orthogonal, and/or confident reference points available.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;All these goals may conflict, and need to be weighted in decision-making.  I don't think I could say anything quantitive here that would be of much value.&lt;span style="font-style: italic;"&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;There is one issue we skirted over.  In drawing the arms, we assumed we had two distant and accurate reference points (the two heads).  What reason do we have to assume this?  Well, the first large length we draw can be nominated as the governing scale factor for our drawing, i.e. presumed accurate; but beyond this we necessarily face significant error in drawing points at significant distances.&lt;br /&gt;&lt;br /&gt;I think the most honest account of how this is to be overcome is to admit that our accuracy is a parameter that varies with effort.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5.&lt;/span&gt;  &lt;span style="font-style: italic;"&gt;When 1-5 are inapplicable or insufficient, use more effort. &lt;/span&gt;&lt;br /&gt;&lt;br /&gt;A good drawing begins with a modest number of key reference points being drawn with high effort and high accuracy; these points are chosen to 'cover' pictorial space, so that the remaining points are each reasonably close to one of the key points.  The key points each then serve as the seeds of  'arborescences' of new, close points which depend on the accuracy of the initial points from which they grow (the artist may also put down secondary and tertiary layers of less-key reference points, giving a finer cover to work with); these later stages of the drawing require less strict accuracy because they are less relied-upon.  In summary:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6.&lt;span style="font-style: italic;"&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style="font-style: italic;"&gt;Draw with a plan.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Visualize ahead of time the reference-point dependencies to be used among the points that need drawing.  Aim for this dependency graph to be shallow, with individual points backed up either with effort or with good (confident, close, orthogonal) reference points.  Since there is an initial paucity of reference points, intelligently applied initial effort plays an important role for the drawing, as described in the previous paragraph.&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;That's all I've got!  Of course, I would love feedback from anyone, experienced artist or otherwise.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-2119802604599191859?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/2119802604599191859/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=2119802604599191859' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/2119802604599191859'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/2119802604599191859'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2006/11/taking-life-out-of-life-drawing.html' title='Drawing on the Hyperanalytical Side of the Brain'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-116310910330237399</id><published>2006-11-09T15:52:00.000-05:00</published><updated>2006-11-19T14:37:19.869-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><category scheme='http://www.blogger.com/atom/ns#' term='computability'/><title type='text'>Trees and Infinity</title><content type='html'>With this post I hope to do a little to strengthen readers' (and my) understanding of the mathematics of the infinite (something easy to neglect in the study of resource-bounded computation), while focusing on the discrete infinite structures that arise in computability theory.&lt;br /&gt;&lt;br /&gt;In mathematics, a &lt;span style="font-style: italic;"&gt;tree&lt;/span&gt; is an important kind of structure.  It consists of a set of &lt;span style="font-style: italic;"&gt;nodes&lt;/span&gt;, with one designated the &lt;span style="font-style: italic;"&gt;root&lt;/span&gt;.  Each node has a (possibly empty) set of 'children' (of which it is the &lt;span style="font-style: italic;"&gt;parent&lt;/span&gt;), and any node is reachable from the root in a unique way by a finite series of steps, where each step takes you from a node to one of its children.&lt;br /&gt;&lt;br /&gt;The genealogies of asexual organisms, for example, are naturally describable using trees.  An important tree in discrete math is that formed with the finite bitstrings as nodes, where the root is the empty string and where the children of x are x0 and x1.  (&lt;span style="font-weight: bold;"&gt;Exercise:&lt;/span&gt; use this tree to exhibit the following, somewhat startling, phenomenon: there exists an uncountable collection of subsets of &lt;span style="font-weight: bold;"&gt;N&lt;/span&gt;, the natural numbers, such that any two subsets have at most a finite intersection.)&lt;br /&gt;&lt;br /&gt;This tree on bitstrings is an infinite tree, but it has the nice property of being 'locally finite': every node has only finitely many children.  &lt;span style="font-style: italic;"&gt;Konig's Lemma&lt;/span&gt; (the 'o' in Konig needs an umlaut) asserts that any infinite, locally finite tree contains an infinite path (hopping parent-to-child at each step).&lt;br /&gt;&lt;br /&gt;The proof is simple: we build such a path.  Start at the root; by the pigeonhole principle, one of the root's children c must itself be the root of an infinite subtree.  Hop to c, repeat the same process, ad infinitum.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;QED.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;This innocuous Lemma is in fact very powerful.  I will describe some basic applications.&lt;br /&gt;&lt;br /&gt;1) &lt;span style="font-weight: bold;"&gt; The Compactness Theorem for Propositional Logic: &lt;/span&gt; Suppose {F_i} is an infinite family of Boolean functions over x_1, x_2, ..., such that i) each F_i depends on finitely many variables, ii) for each K we can find a setting of the variables that satisfies F_1, F_2, ... F_k (i.e. makes them all equal 1).&lt;br /&gt;Then we can find an assignment satisfying &lt;span style="font-style: italic;"&gt;all&lt;/span&gt; the F_i simultaneously.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Proof:&lt;/span&gt; For any finite bitstring y, say of length j, interpret y as an assignment to x_1, ... x_j.  Say y is in T if there is no particular F_i that y has already forced to output 0.&lt;br /&gt;&lt;br /&gt;T is clearly a tree, and locally finite.  If it has an infinite path, that path describes an assignment satisfying all of {F_i}.  So assume it does not.  But then, by the contrapositive form of Konig's Lemma, T must be finite, say with no node representing a bitstring of length K or more.&lt;br /&gt;&lt;br /&gt;This means that for any length-K bitstring y, there is some formula F_{i[y]} forced to be 0 by setting x_1 ... x_K = y.&lt;br /&gt;&lt;br /&gt;How, then, can one find any assignment to x_1, x_2, ... that satisfies all of the finite set of formulas  {F_{i[y]}:  |y| = K } ?  One cannot.  This contradicts the assumptions of the Theorem, completing the proof.&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;QED.&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Here's a nice application of the Compactness Theorem:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;2) &lt;/span&gt;show that the 4-color Theorem of graph theory holds even for infinite planar graphs, as long as each graph node is of finite degree. (Assume the finite 4-color Theorem is valid.  Or, hey, don't...)&lt;br /&gt;&lt;br /&gt;Konig's Lemma or The Compactness Theorem can each yield a simple proof (exercise!) of the following 'query complexity'-type result:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;3)&lt;/span&gt; Suppose f is a Boolean function on x = x_1, x_2, ...  Say whenever f(x) = b, for b = 0 or 1, there is a finite subset of the variables which &lt;span style="font-style: italic;"&gt;force&lt;/span&gt; f to equal b.&lt;br /&gt;Then f in fact only depends on finitely many variables.&lt;br /&gt;&lt;br /&gt;This result is redolent of the statement 'REC = RE intersect coRE' in computability.  It also has an analogue in a more finite setting--a kind of moral equivalent of 'P = NP intersect coNP' in query complexity--which I invite readers to discover or ask about.&lt;br /&gt;&lt;br /&gt;It's interesting to wonder to what extent Konig's Lemma can be 'constructivized'.  Let D be an infinite subtree of the prefix-tree over finite strings (as described above).  Suppose membership in D is computable.  Say infinite string s &lt;span style="font-style: italic;"&gt;refines &lt;/span&gt;D if all of its finite prefixes are in D.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4) &lt;/span&gt;Is it necessarily the case that for such D there is a computable s refining D?  (Hint: Diagonalize.)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;4.5)&lt;/span&gt;  If the sequence of functions from the Compactness Theorem (&lt;span style="font-weight: bold;"&gt;&lt;span style="font-weight: bold;"&gt;&lt;/span&gt;1)&lt;/span&gt; is a computable one, is there a &lt;span style="font-style: italic;"&gt;computable&lt;/span&gt; assignment to x_1, x_2, ... satisfying every function?&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;5) &lt;/span&gt;What if, in &lt;span style="font-weight: bold;"&gt;4&lt;/span&gt;, there is an additional guarantee that only countably many s refine D?&lt;br /&gt;&lt;br /&gt;For readers interested in Kolmogorov complexity, the following somewhat challenging result rewards similar tree thinking:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;6)  &lt;/span&gt;Suppose that for some infinite string s there is a constant C such that for all n, there is a Turing machine  M_n which, on input n, outputs the length-n prefix of s.&lt;br /&gt;Then s is computable.  (The converse is easy.)&lt;br /&gt;(Source for &lt;span style="font-weight: bold;"&gt;6&lt;/span&gt;: the gorgeous &lt;a href="http://www.amazon.com/Introduction-Kolmogorov-Complexity-Applications-Computer/dp/0387948686"&gt;Li-Vitanyi &lt;/a&gt;book on Kolmogorov complexity.)&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight: bold;"&gt;Addendum: &lt;/span&gt;I just found a good source for further material related to &lt;span style="font-weight: bold;"&gt;4-5&lt;/span&gt; and other aspects of 'recursive (infinite) combinatorics': Bill Gasarch's chapter in the hefty Handbook of Recursive Mathematics, Vol. II.&lt;br /&gt;&lt;br /&gt;Shifting quite a bit now, I'd like to briefly describe a nice probabilistic result about infinite genealogical trees.  Consider an idealized asexual organism in an idealized environment.  Each individual alive at time t (an integer) gives birth to some number (possibly zero) of offspring, whose number is determined by the outcome of a random variable X.  Then the individual dies as we enter time t+1.  Each new individual's reproduction is governed by the outcome of an independent copy of X (so, just because your parent had reproductive success doesn't make you more likely to).&lt;br /&gt;&lt;br /&gt;X could be very complicated.  But it turns out that the expectation E(X) is still quite powerful in understanding the population dynamics: if E(X) is less than 1 then an eventual extinction occurs with probability 1, while if E(X) is greater than 1 then extinction happens with probability less then 1, and conditioning on the event that extinction does not occur, then with probability 1 the population size goes to infinity rather than oscillating indefinitely.&lt;br /&gt;The proofs I've seen of these results are generatingfunctionological.  Are there more 'natural' proofs out there?  Or a relation to Konig's Lemma?&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I should note that real trees are worth thinking about too.  I would recommend the site &lt;a href="http://www.carbonfund.org/site/"&gt;Carbonfund.org&lt;/a&gt; as what seems to be the most well-run and cost-effective place to buy carbon credits, reducing global warming and deforestation.  $55 will offset 10 tons of CO2, a significant chunk of the direct yearly impact of an average American.&lt;br /&gt;P.S.  Anyone who uses PayPal for this kind of thing should be aware of the fraudulent emails sent by PayPal impersonators to solicit credit card numbers.&lt;br /&gt;&lt;br /&gt;Finally, for a more soulful/whimsical take on trees and the infinite you might check out Calvino's novel &lt;a href="http://www.amazon.com/Baron-in-Trees-Italo-Calvino/dp/0156106809"&gt;&lt;span style="text-decoration: underline;"&gt;The Baron in the Trees.&lt;/span&gt;&lt;/a&gt;  (Thanks, Chaya!)&lt;br /&gt;&lt;a href="http://www.amazon.com/Baron-in-Trees-Italo-Calvino/dp/0156106809"&gt;&lt;span class="" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;/a&gt; &lt;a href="http://www.carbonfund.org/site/"&gt;&lt;/a&gt;&lt;span class="down" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;span class="down" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;span class="down" style="display: block;" id="formatbar_CreateLink" title="Link" onmouseover="ButtonHoverOn(this);" onmouseout="ButtonHoverOff(this);" onmouseup="" onmousedown="CheckFormatting(event);FormatbarButton('richeditorframe', this, 8);ButtonMouseDown(this);"&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-116310910330237399?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/116310910330237399/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=116310910330237399' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/116310910330237399'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/116310910330237399'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2006/11/with-this-post-i-hope-to-do-little-to.html' title='Trees and Infinity'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-116267818537996109</id><published>2006-11-04T15:57:00.000-05:00</published><updated>2006-11-10T19:52:33.702-05:00</updated><title type='text'>Theory and Me</title><content type='html'>Recently Columbia U. Press published a large anthology of literary criticism and metacriticism with the provocative title &lt;a href=http://www.columbia.edu/cu/cup/catalog/data/023113/0231134169.HTM&gt;Theory's Empire&lt;/a&gt;.  It aims to describe, from a fairly critical standpoint, the trajectories of various influential 'isms' in the recent study of literature: postcolonialism, postmodernism, deconstructionism, etc.  I haven't read it yet, but judging from the blog-buzz it could be an important retrospective.  I hope that some scientists too are persuaded to look it over and learn something (by way of comparison) about the vicissitudes of theory in humanities departments.&lt;br /&gt;&lt;br /&gt;What is it that makes 'theory' so enticing?  I think it can simultaneously convey feelings of surprise, hidden connections, and newfound mastery that together bring the theorist or reader into a charmed state.  Thinking becomes an urgent activity, and big thoughts make contact with the world, resonating in the air like gongs.  &lt;br /&gt;&lt;br /&gt;Anyway, this was my experience as a junior and senior in high school when I discovered and got feverishly involved in the 'postmodern' theorists--Foucault, Deleuze, Baudrillard, etc.  At a point when I was still fairly uninterested in math/science, tired of school, and resentful of the authority of both, these authors offered an exhilerating counternarrative and an alternative standard of intellectual rigor.  Although they generally disavowed systematic thinking, their writing was characterized by a small number of patterns (often taking the form of a surprise inversion) that operated repeatedly in diverse settings to yield radical consequences--a set of 'magic keys' to experience.&lt;br /&gt;&lt;br /&gt;That experience gradually turned sour.  I realized that in my eagerness to apply these new theoretical ideas anywhere and everywhere I was becoming insensitive to the world; my thinking was driven by the need for radical contrarianism rather than the desire to truly understand.  Then, too, I took my first computer science course, which opened up a whole new chapter in my adventures in theory (a tale for another time).  Today I am very far removed from the person I was in that period.  My relationship to theory has cooled down considerably even as it's grown happier and more productive; this is, I'm sure, due both to the nature of mathematics as a field and to my changing temperment as I leave adolescence behind (of course, the factors are related).&lt;br /&gt;&lt;br /&gt;But mathematical and scientific theories are not necessarily so different from others.  They too can form empires in our minds and govern our search for meaning, and it is up to scientists to choose their masters wisely.  Just as philosophical systems like postmodernism run the risk of becoming vacuous in their generality and predetermined in their findings, I think there are significant risks in becoming absorbed in scientific trends, like 'nonlinear science', that combine emotional resonance, polemicism, and seemingly unbounded applicability.&lt;br /&gt;&lt;br /&gt;Not to say that good science doesn't appear under that rubric.  None of this should be taken as criticism of particular theories, in particular of the pomo theorists mentioned, whom I've seldom read since high school (oh yeah, and their appeal wore off even faster once I got to Swarthmore and they became commonplace..).  I'm just describing an individual relationship to theory, in the hopes that it might help others reflect on theirs.&lt;br /&gt;&lt;br /&gt;Some people have 'break-up songs', that help them both to look back and to move forward; for me and postmodernism I'd say it was Pynchon's novel 'The Crying of Lot 49', which captured in transmuted fashion a lot about my own search for meaning in high school: the growing uncanniness, the thrill of transgression and revelation; the need (without clear motive) to uncover patterns of power, domination, and covert resistance; the eventual nausea and disillusionment, along with an unshakeable sense that a mystery has slipped thru one's fingers.  &lt;br /&gt;&lt;br /&gt;And on that note--new Pynchon out this month. Fingers crossed!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-116267818537996109?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/116267818537996109/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=116267818537996109' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/116267818537996109'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/116267818537996109'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2006/11/theory-and-me.html' title='Theory and Me'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-116214342274819718</id><published>2006-10-29T12:10:00.000-05:00</published><updated>2006-12-23T15:03:25.758-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><title type='text'>WLOG</title><content type='html'>WLOG is mathematics-speak for 'without loss of generality', which means 'restricting ourselves to considering a special case, which is not really a restriction'.  For example, is there a drive from Berkeley to Las Vegas that's less than 500 miles?  WLOG we can look for one that doesn't involve visiting any one spot twice.&lt;br/&gt;&lt;br/&gt;The above example illustrates two features of WLOG claims:&lt;br/&gt;&lt;br/&gt;i) They are frequently commonsensical observations;&lt;br/&gt;&lt;br/&gt;ii) They can eliminate a great deal of dross very easily, making efficient algorithms possible.&lt;br/&gt;&lt;br/&gt;Using dynamic programming to solve construction problems is a prime example.  Here we have construction tasks where the 'worth' of a partial solution can be completely summarized with a few well-chosen parameters; if two competing partial solutions have the same parameters, we can WLOG throw one of them away.  &lt;br/&gt;&lt;br/&gt;So, in our example, our idealized travel problem has length and stopping point as the sole relevant parameters for partial trips: if we think the shortest trip to Vegas might take us through Reno, and we've found two equally short shortest-paths to Reno, WLOG we can flip a coin and store only the winning path as we try to extend it from Reno to Vegas.  Of course, we also need to consider paths that don't pass thru Reno (which, as it turns out, is way too far north).&lt;br/&gt;&lt;br/&gt;Note that, while the no-looping-paths restriction has a distinct preference when it makes restrictions, this second dynamic-programming restriction has a symmetric character--indifferent to which candidate it keeps--and is motivated purely by a desire to reduce the size of our search space and save computation time.  Both types of restriction are common.&lt;br/&gt;&lt;br/&gt;As a challenge, try to apply domain-specific WLOG-reasoning to give a solution (not necessarily efficient) to the following geometry problem: &lt;br/&gt;&lt;br/&gt;Circle Packing: Given a set of circles of rational radii r_1, r_2, ... r_n &gt; 0, and the dimensions of a rectangle R, can the circles be packed into R without overlap or dissection?&lt;br/&gt;&lt;br/&gt;Probably an old problem, and close to NP-complete problems if not NP-complete itself (?), but I cribbed it from &lt;a href="http://www.amazon.com/Programming-Challenges-Steven-S-Skiena/dp/0387001638"&gt;this book&lt;/a&gt; which, although insubstantial, I recommend skimming for puzzles.&lt;style&gt;i{content: normal !important}&lt;/style&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-116214342274819718?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/116214342274819718/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=116214342274819718' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/116214342274819718'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/116214342274819718'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2006/10/wlog.html' title='WLOG'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-116206082039299141</id><published>2006-10-28T14:28:00.000-04:00</published><updated>2006-11-10T19:52:32.283-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><title type='text'>Mathematics of the Worst-Case Scenario</title><content type='html'>Optimization is an obvious and major theme of applied mathematics.  What may be less obvious to the public is the extent to which mathematics relies on a dual process, which one might call 'pessimization'.&lt;br /&gt;&lt;br /&gt;Suppose we want to partially relate two functions, f and g, with a statement of the form &lt;br /&gt;&lt;br /&gt;"f(x) &gt;= M  implies g(x) &gt;= N".  So, f and g are positively correlated, and we want to quantify this relationship.&lt;br /&gt;&lt;br /&gt;How do we get the strongest possible relationship?  Fixing M, we choose x to minimize g(x) subject to the constraint f(x) &gt;= M.  This value of g(x) is the tightest lower-bound N we can get, and the most informative statement.&lt;br /&gt;&lt;br /&gt;Why is this 'pessimization'?  We look for statements of the above form when we are interested in ensuring that g(x) is high (g is some measure of 'goodness', and f is some simpler measure that we can more easily estimate and which is heuristically related to g); but, to achieve this we have to spend much of the time thinking perversely about how low g could wriggle subject to the constraint that f is high.&lt;br /&gt;&lt;br /&gt;This kind of thinking is ubiquitous.  The subject is too general (really only a 'theme') to have truly distinctive methods or theoretical constructs (in particular, there is no fundamental difference between optimization and pessimization--the latter is just optimization from the devil's perspective), but where it treats discrete, finite objects and collections it is sometimes called 'extremal combinatorics'; I recommend Jukna's book by that name.&lt;br /&gt;&lt;br /&gt;Sometimes the heuristic relationship between our two functions has a clear logical grounding.  For instance, let f(G) measure the number of edges in a graph, and let h(G) measure the number of triangles; adding an edge to a graph can never decrease the number of triangles.  However, f(G) &gt; f(G') does not imply that h(G) &gt;= h(G'); G' may be more 'pessimally' organized than G with respect to triangles.  Turan's Theorem, giving exact conditions on f to guarantee that h &gt; 0, is considered the founding result of extremal combinatorics.  Can you prove such a theorem?  What do triangle-pessimal graphs on m vertices look like?&lt;br /&gt;&lt;br /&gt;The preceding example is really a special case.  Having a triangle and having at least a certain number of edges are both 'monotone properties' in the sense that they are monotone functions of the 0/1 adjacency matrix of a graph.  A simple result of Kleitman, provable by induction, says that if A and B are two such properties and we uniformly generate a graph on n labeled vertices, Prob[A &amp; B hold] &gt;= Prob[A holds]*Prob[B holds].  &lt;br /&gt;&lt;br /&gt;So, e.g., being informed that our graph has diameter at least 10 cannot make it less likely to be planar, as should be intuitive ("diam &gt;= 10" and planarity are antimonotone properties, so we apply the result to their negations and then rephrase).&lt;br /&gt;&lt;br /&gt;A pleasant feature of investigations in extremal combinatorics is that they can be jump-started with simple questions; the exotic structure emerges naturally in exploring pessimal objects.  Or, sometimes, the pessimal structures end up being very simple and familiar, but meeting them in the context of the investigation sheds new light on them.  For example, we may heuristically observe that collections of 'many' distinct numbers contain 'many' distinct pairwise differences; even though the pessimal structure that pops out when we pursue this relationship is nothing more than n points in arithmetic progression, it's still a nice problem (which becomes more interesting when raised to 2 or more dimensions).&lt;br /&gt;&lt;br /&gt;Some quite simple results of extremal combinatorics have important uses in elementary probability and in complexity theory.  For example, take a square 0/1 matrix with 'many' ones; we'd like to conclude that it has many rows with many ones each; if we're willing to settle for either many 1-heavy rows or many 1-heavy columns, we can do much better (since pessimal examples against the 'many-rows' conclusion promote the 'many-columns' conclusion) when we quantify our various 'manys'.  If we'd also settle for even a single 1-heavy row or column, we can do still better.&lt;br /&gt;&lt;br /&gt;Such results have some immediate interpretations in terms of conditional probabilities.  They also fuel a kind of robust reduction from any function f(x) on n bits to the function g(x, y) = (f(x), f(y))  (with the two matrix dimensions in our analysis corresponding to the two inputs to g).  This is at the heart of a certain approach to hardness amplification, including a proof of Yao's XOR Lemma, given in &lt;a href="http://eccc.hpi-web.de/eccc-reports/1995/TR95-050/index.html"&gt;this paper&lt;/a&gt; (see also my earlier post on the XOR Lemma).  In fact, Jukna's book is rife with complexity apps, and was written with computer scientists in mind.&lt;br /&gt;&lt;br /&gt;As I've said, no 'deep' unifying theory of extremal combinatorics exists, and I feel more inclined to share problems than to exposit.  But this time, instead of belaboring my idiosyncratic preferences, let me point you to a great site with more problems than you'll ever solve: &lt;a href="http://www.kalva.demon.co.uk/"&gt;Kalva&lt;/a&gt;, a clearing-house of old Olympiads with many solutions.  Many sterling combinatorics puzzles lie amidst the usual geometry and number theory.  Olympiads are hard, but with this many problems to peruse you WILL find ones you can solve--and that feels good.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-116206082039299141?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/116206082039299141/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=116206082039299141' title='12 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/116206082039299141'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/116206082039299141'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2006/10/mathematics-of-worst-case-scenario.html' title='Mathematics of the Worst-Case Scenario'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>12</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-116035602878706311</id><published>2006-10-08T20:18:00.000-04:00</published><updated>2006-11-10T19:52:31.881-05:00</updated><title type='text'>In Praise of Automata</title><content type='html'>I have a confession to make: I am inordinately fond of automata theory.&lt;br /&gt;&lt;br /&gt;Yes automata, those unfashionable creations: once-proud denizens of Complexity Castle, they have been reduced to gatekeepers--frozen, homely gargoyles to frighten off undergraduates who have strayed into Theory Woods.&lt;br /&gt;&lt;br /&gt;Well, they may not be the 'right' model of feasibility or tomorrow's hot topic; they may be innocent of the Unique Games Conjecture, and they may not know how to count past a constant.  But to all who have written them off, or--worse--taken to pumping them for sport, I say automata are computational processes too, and as such worthy of respect--even love.&lt;br /&gt;&lt;br /&gt;So join me now in a scenic stroll through some of the historic sites of automata theory.  My aim is not to introduce the subject (for that see &lt;a href="http://en.wikipedia.org/wiki/Automata_theory"&gt;Wiki&lt;/a&gt; and its refs), or even to give vital theorems or unifying ideas you might have missed, but simply to point out the opportunities for intuitive problem-solving that automata provide.  You can think about these things through the lens of logic, languages, games, pure visualization, or what have you, but in my experience they reward even casual thought.&lt;br /&gt;&lt;br /&gt;All results mentioned are offered as puzzles, since that's generally the spirit in which I approach the subject, although difficulty varies hugely and some I've never solved.  Oh, and I won't be giving many citations, but unless noted these results are older than I am.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Swingin' Both Ways&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;What is the least we can do to augment a finite automaton, while preserving its distinctive flavor?  We could let it go back and forth on the tape.  For decision problems, however, this gives us nothing.  (As we'll see, the robustness of the basic model is remarkable; however, unlike Turing machines, the invariance only goes so far, so tooling around is actually worthwhile.  Less robustness = more research opps.)&lt;br /&gt;&lt;br /&gt;There is a much more subtle result, due to Hopcroft and Ullman, that shows how thoroughly automata dynamics can be comprehended.  Take two FSAs, M and M', one of which scans left to right, the other right to left.  Then there is a third FSA P using 2-way motion, with a subset of  its states called 'display states', such that on any input x, when P enters a display state for the jth time, it is on square j and its state tells us the states of both M and M' upon arriving there (from their opposite directions).  Chew on that!&lt;br /&gt;&lt;br /&gt;Alright.. guessing/nondeterminism?  As you probably know, this gains us no new languages, though it can yield exponential savings in automaton size.  (This is the only truly quantitative result I'll mention... automata-land is a place to forget your troubles with big-O and theta, a place where all you need to know is that infinity is larger than N for any N.)&lt;br /&gt;&lt;br /&gt;How about giving the finite automaton a brief chance to imitate its big brother the Turing machine?  We'll give it a constant k &gt; 0 modifications of the input string.  Will anything come of it?&lt;br /&gt;&lt;br /&gt;Try throwing in all of these augmentations in at once, along with unlimited alternating nondeterminism: one by one, the bells and whistles can be stripped away.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Pebble Pushers&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;What happens if you give a finite automaton a pebble?  It's not quite on par with the mouse/cookie scenario, but outrageous hijinks are to be expected nonetheless.&lt;br /&gt;&lt;br /&gt;Let's qualify that.  The first pebble is a bit of a letdown; they can still only decide the regular languages.  With the second things get interesting (how interesting?), and with with an arbitrary number of pebbles you can do logspace computation.&lt;br /&gt;&lt;br /&gt;How about function computation with a single pebble?  This was a big concern of mine much of a summer internship.  First, what is our model?  Say that the automaton can announce an output symbol anytime it wants, but the symbol gets added to the end of an output string that the automaton cannot reconsult.  This kind of automaton is called a 'transducer'.&lt;br /&gt;&lt;br /&gt;A 2-way transducer can compute functions that a 1-way one cannot; for example, the reversal of the input.  Additionally, it's obvious that adding a pebble helps us: with our state space enlarged, we can get quadratic run-time, hence, quadratic output.  But isn't this a little bit cheap?  That's what I thought, and with the aid of the Hopcroft-Ullman result I eventually showed that, if the automaton is required to have linearly bounded output, 1 pebble does not help.  &lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Logic Chopping&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I later found out that the result had been known for a few years; or rather, it followed easily from some more general result.  What did those crafty theorists have that I was missing?  I forget the specifics, but most likely they made a perspicuous transformation of the problem.  I'd like to illustrate one such paradigm for transforming automata.&lt;br /&gt;&lt;br /&gt;Let x be a bitvector, and let PAR(x) = 1 iff |x| is odd.  Then PAR(x) = 1 if and only if there exists a 2-coloring of the symbols of x such that&lt;br /&gt;&lt;br /&gt;a) the first symbol is red if equal to 1, and blue otherwise;&lt;br /&gt;b) for i &gt; 1, x_i has the same coloration as x_{i-1} iff x_i = 0;&lt;br /&gt;c) the final symbol is red.&lt;br /&gt;&lt;br /&gt;Looking at this from a formal perspective, we can write it using position comparisons, bit-readings, and logical connectives, along with existential and universal quantification, where quantifiers are over either positions or subsets of the positions.  This is 'monadic second-order logic (MSO)' over strings (a set is a monadic relation).  Clearly the same approach can be applied with PAR replaced with any regular language, with colors for each state and constraints embodying the state-update rule.&lt;br /&gt;&lt;br /&gt;In fact, the converse is also true!  Namely, given an MSO formula, the set L of strings satisfying it is regular.  This isn't hard to show if you start by giving an automaton using alternation to mirror the quantifiers, along with other bells and whistles for the set-guessing, and then patiently eliminate each augmentation in turn.  &lt;br /&gt;&lt;br /&gt;Combining this result with the first half of our discussion, we find that every MSO formula is equivalent to one with only constant-depth quantifier alternation--cool.  Could also probably use the FSA equivalence to study how quantifier use can allow MSO formulae to be more concise.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Ad Infinitum&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;I recently learned about some very elegant models that give new life to FSA.  Take pumping to the limit--give them infinite strings! And let automata perform infinite computations.&lt;br /&gt;&lt;br /&gt;To define languages of infinite strings, we need a notion of acceptance.  There are at least three major models available:&lt;br /&gt;&lt;br /&gt;-Buchi: automaton accepts if it enters one of its 'happy' states infinitely often.&lt;br /&gt;&lt;br /&gt;-Muller: an automaton with state-space Q accepts if the set S of infinitely recurring states is among a family S_1, ... S_k of 'good' subsets of Q (states themselves are not good or bad).&lt;br /&gt;&lt;br /&gt;-Rabin: there's a collection {P_i, N_i} of pairs of states, and automaton accepts if for some i, P_i is visited i.o. while N_i is visited only finitely often.&lt;br /&gt;&lt;br /&gt;Then if I've got it right, the following statements hold:&lt;br /&gt;&lt;br /&gt;-Nondeterministic Buchi = conondeterministic Buchi = deterministic Muller = deterministic Rabin;&lt;br /&gt;-deterministic Buchi is weaker than nondeterministic;&lt;br /&gt;-If L is a nondeterministic Buchi language, there exist regular languages V, W, such that an infinite string x is in L iff x = v w_1 w_2 w_3 ..., (where v is in V, and each w_i is in W).  The converse holds too. &lt;br /&gt;&lt;br /&gt;Also, Buchi automata capture MSO with the successor relation over infinite strings.  All of these facts are worth thinking about; some are not hard.&lt;br /&gt;&lt;br /&gt;Apparently these infinite models are relevant to practical nonterminating computer systems--bank tellers, operating systems, and so on.  Whatever.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;The Joy of Dimensionality&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Remember when you could have thoughts like, "woah... what about a &lt;span style="font-style:italic;"&gt;2-dimensional&lt;/span&gt; Turing Machine?"  Well, replace TMs with FSAs and this becomes interesting.&lt;br /&gt;&lt;br /&gt;-Can a two-dimensionally wandering FSA look at a map of a maze and determine if escape is possible?&lt;br /&gt;&lt;br /&gt;-What if it's not a map, but the FSA is &lt;span style="font-style:italic;"&gt;in&lt;/span&gt; the maze?&lt;br /&gt;&lt;br /&gt;I worked on this unsuccessfully for a while.  Apparently the first impossibility proof was 175 pages!  But the basic idea is to watch an FSA's behavior and design 'traps' for it.  I should mention that the traps are much, much easier to design on a torus or in 3-space.&lt;br /&gt;&lt;br /&gt;-What is the least 'leg up' we can give to make maze exploration possible?  Forget laying down string: Blum and Kozen showed that having just 2 pebbles does the trick.  I believe the 1-pebble case is still open.&lt;br /&gt;&lt;br /&gt;&lt;span style="font-weight:bold;"&gt;Conclusion&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-style:italic;"&gt;A single tear cracked the surface and rolled down the gargoyle's face as it remembered what it had once been, and could still become..&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Feel free to chime in with your own favorite results.  And seriously, automata theory seems to be in very healthy shape, despite its relative neglect in the Complexity world, where it still pops up, as in the following result (Barrington's?):&lt;br /&gt;&lt;br /&gt;-There exists a regular language L and a nondeterministic polynomial time machine N(x, y) (|x| = |y|) such that it is PSPACE complete, given x, to determine if the string&lt;br /&gt;(N(x, 00...00), N(x, 00...01), ... N(x, 11...11)) is in L.&lt;br /&gt;&lt;br /&gt;Cheers!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-116035602878706311?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/116035602878706311/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=116035602878706311' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/116035602878706311'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/116035602878706311'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2006/10/in-praise-of-automata.html' title='In Praise of Automata'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-115976252264891449</id><published>2006-10-01T23:38:00.000-04:00</published><updated>2006-11-10T19:52:31.720-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='general math'/><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><category scheme='http://www.blogger.com/atom/ns#' term='complexity'/><title type='text'>Squaresville</title><content type='html'>Given a function from some domain to itself, we can form its 'square' f^2(x) = f(f(x));  third, fourth powers likewise.  &lt;br /&gt;&lt;br /&gt;How about the inverse problem, 'fractional powers'?  What conditions on f allow us to express our function as f(x) = g(g(x)) for some g?&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;Puzzle:&lt;/strong&gt; in the case where the domain is a set of nodes and f is presented as a directed graph with outdegree 1 (each u points to f(u)), try and classify the problem of recognizing squares as in P or NP-complete.  &lt;br /&gt;&lt;br /&gt;(for a quick intro to P and NP, see the &lt;a href="http://en.wikipedia.org/wiki/Complexity_classes_P_and_NP"&gt;wiki page&lt;/a&gt;).&lt;br /&gt;&lt;br /&gt;And what if the domain is the real or complex numbers?  Here we're courting higher math, but Taylor expansions offer some guidance.  There's a thought-provoking if hand-wavy discussion of the real case &lt;a href="http://www.newton.dep.anl.gov/newton/askasci/1993/math/MATH023.HTM"&gt;here&lt;/a&gt;; for more authoritative references (which I haven't read) &lt;a href="http://reglos.de/lars/ffx.html"&gt;this page&lt;/a&gt; looks promising.&lt;br /&gt;&lt;br /&gt;Complex numbers have nice properties; do fractional iterates exist more frequently in this case?    I haven't thought much about this, but am reminded of a nifty result from a college course: If f(z) is an analytic function, then either f(z) has a fixed point OR h(z) = f(f(z)) has one.  The proof is short and sweet once you assume the deep result of Picard, that any such f has image equal to the whole complex plane minus at most one point.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-115976252264891449?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/115976252264891449/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=115976252264891449' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/115976252264891449'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/115976252264891449'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2006/10/squaresville.html' title='Squaresville'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-115922356030411629</id><published>2006-09-25T18:31:00.000-04:00</published><updated>2006-11-10T19:52:31.575-05:00</updated><title type='text'>Hello, World</title><content type='html'>&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://photos1.blogger.com/blogger/2530/1980/1600/andy.1.jpg"&gt;&lt;img style="display:block; margin:0px auto 10px; text-align:center;cursor:pointer; cursor:hand;" src="http://photos1.blogger.com/blogger/2530/1980/320/andy.0.jpg" border="0" alt="" /&gt;&lt;/a&gt;&lt;br /&gt;Uploading this from my new phone cost 25 cents; you can decide whether it was worth it.  &lt;br /&gt;&lt;br /&gt;As of last week, I'm settled in La Jolla and proving day by day that it's possible to survive without a car in this land of midnight traffic and six-lane 'Scenic Drives'.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-115922356030411629?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/115922356030411629/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=115922356030411629' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/115922356030411629'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/115922356030411629'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2006/09/hello-world.html' title='Hello, World'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-115886173435762627</id><published>2006-09-21T13:47:00.000-04:00</published><updated>2006-11-10T19:52:31.188-05:00</updated><title type='text'>Invitation to Inanity</title><content type='html'>Tired of work, but too lazy to get up?  Try this little game:&lt;br /&gt;&lt;br /&gt;Take a thin pen with a cap.  Uncap it and place pen and cap in the palm of your hand.  Now, shut your eyes and recap the pen, without the aid of your other hand or any other object or surface, and without marking yourself.&lt;br /&gt;&lt;br /&gt;With my pen (a Pilot Precise V5, cheap and common), hand size, and dexterity level, this has proved surprisingly fun and challenging.&lt;br /&gt;&lt;br /&gt;Play at your own risk, obviously.  As a lefty, my hand is usually ink-smudged just from writing, so it's no big deal, but watch out for the clothes.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/19908808-115886173435762627?l=andysresearch.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://andysresearch.blogspot.com/feeds/115886173435762627/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=19908808&amp;postID=115886173435762627' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/115886173435762627'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/19908808/posts/default/115886173435762627'/><link rel='alternate' type='text/html' href='http://andysresearch.blogspot.com/2006/09/invitation-to-inanity_21.html' title='Invitation to Inanity'/><author><name>Andy D</name><uri>http://www.blogger.com/profile/03897281159810085972</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-19908808.post-115846907116418027</id><published>2006-09-17T00:20:00.000-04:00</published><updated>2006-12-23T15:07:22.914-05:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='puzzles'/><category scheme='http://www.blogger.com/atom/ns#' term='crypto'/><title type='text'>Puzzle Time</title><content type='html'>The women of Delta Epsilon were a popular bunch, but a smart bunch too--smart enough to want more from the dating scene at their state U.  First of all they were sick of that determined, smooth-talking type, the guy who'd hit on one sorority sister after another until one finally expressed an interest--unaware, perhaps, that she was number seven on his list.&lt;br/&gt;&lt;br/&gt;Then, too, there were those shy, sensitive boys out there (frequently mathematicians); this kind of guy could be a real mensch, but it took him forever and a day to declare his affections.&lt;br/&gt;&lt;br/&gt;The first type was learning too much about the feelings of women he didn't really care for; the second type was held back by his own fear of self-disclosure.  It seemed clear that, in principle, both problems could be solved by a single mechanism: some way for a particular boy to inquire about one, and only one, sister's feelings about him (presumably his favorite; and we assume her feelings can be sumarized as like/dislike), &lt;em&gt;without&lt;/em&gt; the sisters learning whom he asked about.&lt;br/&gt;&lt;br/&gt;There was no third party on campus the sisters trusted to help carry out this function, and it seemed like a pipe dream.  But one day, one of them read an intruiging ad for a company called Discreet Dachshunds, Inc.  An inquiry revealed that they sold dogs trained in a special skill: their owner could whisper 'yes' or 'no' into each of the dog's ears, and then send it into another room to meet with a visitor.  The visitor could reach out to shake the dog's left or right paw (visitor's choice); the dog would shake its head yes or no to repeat to the visitor what had been whispered into its corresponding ear by the owner.  After one such transaction, the dog would scamper back to its owner, immediately forgetting what had transpired.&lt;br/&gt;&lt;br/&gt;This dog would be perfect if there were only two sorority sisters, A and B: if a boy wanted to make a discreet inquiry, A would whisper her feelings about him into the dog's left ear, while B used the right ear, and the boy could learn exactly one of these pieces of information in his session with the dog.&lt;br/&gt;&lt;br/&gt;However, Delta Epsilon had a sizeable and growing membership.  The sisters asked about dogs capable of carrying more information at once, but Discreet Dachshunds replied that sadly, two bits was the upper limit with these animals--and anyways, dogs have only two paws for shaking.&lt;br/&gt;&lt;br/&gt;Nevertheless, after careful deliberation, the sisters bought a dachshund from the company and used it cleverly to implement their system.  They reaped the romantic benefits, and the dog was treated like royalty.&lt;br/&gt;&lt;br/&gt;How did they do it?&lt;br/&gt;&lt;br/&gt;&lt;strong&gt;Notes&lt;/strong&gt;&lt;br/&gt;&lt;br/&gt;i) Apologies for heteronormativity. &lt;br/&gt;&lt;br/&gt;ii) I'm not sure how difficult readers will find this puzzle.  A 3-woman sorority is the place to start experimenting.&lt;br/&gt;&lt;br/&gt;iii) The dachshund in this puzzle corresponds to a functionality called '1-out-of-2 oblivi
