Computational Complexity and other fun stuff in math and computer science from Lance Fortnow and Bill Gasarch
Wednesday, May 27, 2009
Games from the Eco-Daughter
Tuesday, May 26, 2009
Oracle Results are Good For You
Does P=NP imply P=PSPACE?Here's an approach: Chandra, Kozen and Stockmeyer characterized PSPACE by alternating polynomial time and one could possibly use the P=NP assumption to eliminate those alternations one at a time.
There is an oracle A such that PA=NPA≠PSPACEA.
Monday, May 25, 2009
Raymond Smullyan's Birthday
CLYDE: I met Raymond Smullyan in the around 1985. He was old then. When did he pass away?
BILL: Lets look it up on Wikipedia. (He does.) OH, he didn't! He is still alive! And his birthday is May 25. He turns 90! (thats not 90 factorial). OH, I can post about it ON his birthday.
CLYDE: What will you say?
BILL: I will say that he wrote many popular books on self-reference which were quite good, but after a while somewhat repetitive. And that he his latest book, Logical Labyrinths came out this year, and claims to bridge the gap between the type of logic in his popular books and serious logic. WOW, looks like he is still active!
CLYDE: Isn't that a short post?
BILL: I'll find other stuff to put around the post to make it a bit longer.
Friday, May 22, 2009
Get Your Stimulus Money Here
Thursday, May 21, 2009
Gödel Prize
- Undirected Connectivity in Log-Space by Omer Reingold
- Entropy Waves, the Zig-Zag Graph Product and New Constant Degree Expanders by Reingold, Salil Vadhan and Avi Wigderson
The zig-zag paper developed a new construction of constant-degree expanders. We already had simpler expander constructions but the zig-zag technique gave us a recursive way to think about expanders that Reingold drew on for his paper.
This is the first Gödel prize for each of these authors and I'm especially happy to see Wigderson, perhaps the best complexity theorist of our generation, take the prize. Avi could have easily won it earlier for his work on zero-knowledge, derandomization, circuit complexity or many other topics.
Congrats to All!
Wednesday, May 20, 2009
Is FKS and other Data Structure Algorithms actually being used?
Fredman, Komlos, and Szemeredi showed (in this paper) that MEM PROBLEM can be done with s=O(n) and q=O(1).
- They actually showed something stronger, that you can get s=n+o(n) and q=O(1). But this does not concern us.
- The result with s=O(n) and q=O(1) is a simple algorithm with reasonable constants.
- Part of the algorithm involves showing that a randomly picked hash function works with nonzero probability; however, with a slight change in some parameters you can get that most hash functions work (of the type they use) work, so this is not an obstacle to actually using their algorithm.
-
SO, here is my question/answer/new question:
- Is anyone actually using the algorithm?
- I would suspect NO because it does not allow for INSERT and DELETE. However, if you just INSERT or DELETE a few things I think it should be fine. So maybe YES.
- This paper does MEM in O(1), space O(n), and INSERT/DELETE in amortized expected time O(1).
- There has been alot of work on data structures with this model. The model seems reasonable, the problems seem like ones people in the real real world want to do quickly. SO--- are the data structures being used? If not, then are variants being used? This seems like an area where the gap between theory and practice is small and could be bridged. Has it been? If not why not?
Tuesday, May 19, 2009
Lessons from EC
Monday, May 18, 2009
Halt is Undecidable in Verse (YES, you've seen it before)
While searching the web for this poem I came across a posting about it by Lance here. However, the link there no longer works. (Though Lance may read this and fix it.)
If you find something on line that you like SAVE IT! It may go away. Especially if its a Dr. Suess Style poem See this post).
Friday, May 15, 2009
The Quadratic Formula
- b2-4ac≥0.
- a≠0.
Thursday, May 14, 2009
The Prime Number Theorem
Let &pi(n) be the number of primes that are &le n. As n goes to infinity &pi(n) approaches n/ln(n).Note that we did not say &theta(n/ln(n)) or n/ln(n) + &theta(1). We really said n/ln(n) (NOTE: Comments on this post have correctly refuted this comment about ``really said n/ln(n)'') However, I will have need to refer to a Weak PNT:
Let &pi(n) be the number of primes that are &le n. There exists constants A and B such that As n goes to infinity An/ln(n) &le &pi(n) &le Bn/ln(n).
In Hardy and Wright's treatement of PNT (and others) they prove the very badly named Bertrand's Postulate (BP) on the way to proving PNT.
(BP) for all n&ge 3 there is a prime between n and 2n.
- The first proofs of PNT used Complex Analysis and were considered to be not elementary. Erdos and Selberg (ind? not ind?- see this paper for the history) found elementary proofs that question the use of the word elemenatary since they were quite difficult. It is hard to pin down the term elementary since, Oliver Sudac (TCS, The Prime Number Theorem is PRA Provable, Vol 257, NOT Online) showed there is a proof in Primitive Recurive Arithmetic which is weaker than Peano Arithmetic. An interesting article on this which IS online is by Jeremy Avigad on all of this is at Number Theory and Elementary Arithmetic.
- Applications of PNT. Are there any? The Tao-Greene theorem (there are arb long arithmetic progressions of primes) uses it, though I suspect Weak PNT would suffice. QUESTION: Is PNT, not Weak PNT, ever actually needed?
- WEAK PNT has a much easier proof. Here are my notes on it. The constants in this presentation are reasonable.
- From the proof I present of the Weak PNT you can obtain that for large n there is a prime between and 3n.
- Bertrands Postulate is used in Computer Science sometimes to show that you can get hold of a prime. (E.g., the proof that EQ has Comm Complexity O(log n).) QUESTION Is full BP ever actually needed?
- Better results are known: Baker, Harmon, Pintz showed that, for large n, there is always a prime between n and n+n{0.525}. See their paper.
- I have not been able to find why Bertrand's Postulate is called that. History: Conjectured by Joseph Bertrand in 1845, proven by Chebyshev in 1850.
Wednesday, May 13, 2009
Shaving Logs with Unit Cost
A paper in POPL 08 claims to have broken the long-standing n3 barrier on a problem in programming languages, bringing it down to n3/log n. The algorithm has a lot of details, but the main pillar it stands on is the so-called 'fast set' data structure.I remember complaining as a student that sorting actually takes O(n log2 n) time since one needs O(log n) time to do a comparison but my complaints fell on deaf ears.This data structure is used to represent sets as bitmaps of its elements (so a set {1,2} over the domain 0-7 is represented as 01100000), and supports three operations, where one is important for my question: set difference. Set difference can be performed by going through the bits of each set. Here's the claim I have a question about: The author says, assuming an architecture with word size Θ(log n) bits, we can split the bitmaps of each set into (n/log n) chunks of size (log n) bits each, and since the word size is Θ(log n), these chunks will be stored in a word each, and operating on each word is a constant. Hence, set difference can be performed in Θ(n/log n) time. This is the whole gist of the algorithm to break the previous known barrier.
I was appalled by this argument, since my primitive techniques would easily 'prove' that set difference has a lower bound Ω(n), since you have to 'touch' each element of the set. I contacted the author, and he said assuming this word size is standard in algorithms literature, such as saying that depth-first search takes O(e+v) time ignores the log v time needed to spend to retrieve each vertex.
I talked to a few people in my department with varied responses, some said it is cheating since algorithms such as DFS do not depend on the logarithmic word size, it is just ignored; and some said it is probably a good argument.
The simple question is, what do you think as a complexity researcher? Is the complexity given a valid one? I am worried that you will say no, because a lot of people are citing this paper and everybody thinks the n3 barrier for that problem has been broken. I am also worried that you will say yes, as a person not particularly in the complexity field, but thinks he has a decent knowledge and sense of algorithms.
In algorithms you use the unit-cost RAM model where basic register operations over O(log n) bit registers count as a single computation step. There are some good arguments for this: As technology improves for us to handle larger input sizes, the size of the registers tend to increase as well. For example, registers have grown from 8 to 64 bits on microprocessors over the past few decades.
You can do set difference of two register bitmaps A and B by the bitwise AND of A with the bitwise complement of B, all standard register operations. So the author has a legitimate O(n3/log n) time algorithm in the standard algorithmic unit-cost model.
I understand the student's frustration. The algorithm seems like a cheat and would not be in DTIME(O(n3/log n)) on a multi-tape Turing machine as I teach it in an introductory complexity course. But as an algorithmic result on the standard algorithmic model, the author stands on solid ground.
Tuesday, May 12, 2009
My Obligatory Star Trek Post
Monday, May 11, 2009
Requst for Info on Prob Hypergraphs
(Here are his questions.)
I have a problem that deals with coalitions. The basic idea is to have a hypergraph with a bunch of nodes representing actors and edges representing coalitions. Such a hypergraph would have the following properties:
- non-regular (edges can have any number of nodes, and different edges in the same graph can have different numbers of nodes)
- down-set (the existence of an edge implies the existence of all edges that are a subset of that edge)
- finite
- probabilistic EDGES (I had found previous work on probabilistic nodes, but not for edges)
Saturday, May 09, 2009
New URL Same Blog
Friday, May 08, 2009
Doctor for Two Decades
- Complexity of approximations which includes developments of interactive proofs, probabilistically checkable proofs, the parallel repetition theorem, semi-definite programs, and unique games.
- Great advances in coding theory in particular list-decoding codes.
- Tight connections between circuit hardness and derandomization. And we don't need random coins anymore for primality.
- Explicit constructions of extractors, expanders and various other combinatorial objects with SL=L coming out of this theory.
- Quantum computing.
- Proof Complexity.
- Cryptography. Almost anything you can imagine you can implement cryptographically, at least in theory.
- The applications of computation theory to economic theory and vice versa.
- Amazing connections between all of the above.
Thursday, May 07, 2009
New York THEORY DAY 2009
Dear Organizers of IBM Research|NYU|Columbia Theory Day, You emailed me the ad for Spring 2009 Theory Day. THANKS! You did this about a week ago. Hence, as is often the case this is too much short notice to go. Please announce it earlier in the future. Also, I could not find on your website a pointer to the abstracts of this years talks (If I missed it then please let me know. Other readers, also let me know.) And lastly, your page on Recent and Upcoming Theory Days should be retitled Theory Days from 2003-2007 or be updated. bill gasarch P.S. The talks look AWESOME! The IBM Research|NYU|Columbia Theory Day Friday, May 22, 2009 The Theory Day will be held at the Davis auditorium, 412 Schapiro (CEPSR) building, Columbia University, New York. Program 9:30 - 10:00 Coffee and bagels 10:00 - 10:55 Dr. Dana Moshkovitz (IAS) Two Query PCP with Sub-Constant Error 10:55 - 11:05 Short break 11:05 - 12:00 Dr. Craig Gentry (IBM Research) Fully Homomorphic Encryption Using Ideal Lattices 12:00 - 2:00 Lunch break 2:00 - 2:55 Dr. Mark Braverman (Microsoft Research) Approximating bounded depth circuits with polynomials 2:55 - 3:15 Coffee break 3:15 - 4:10 Dr. Muthu Muthukrishnan (Google Labs and Rugers University) 3 Problems in Internet Ad Systems For directions, please see DIRECTIONS To subscribe to their mailing list, follow instructions at HERE Organizers: Yevgeniy Dodis dodis@cs.nyu.edu Rocco Servedio rocco@cs.columbia.edu Tal Rabin talr@us.ibm.com Baruch Schieber sbar@us.ibm.com
Wednesday, May 06, 2009
My Kindle
Tuesday, May 05, 2009
My Publications
Monday, May 04, 2009
A new way to educate the public
I didn't think it was well known. However, in Roger Ebert's review of the movie X-men Origins: Wolverine he titles the review
A monosyllabic superhero who wouldn't pass the Turing Test.In the review he never mentions the Turing Test or what it means. Does he expect his readers to know? Do they? Does the general public know what the Turing Test is? Will readers of the Ebert's column go to Wikipedia to find out? Might this be a way to educate people?
CHALLENGE TO MY READERS: find a movie whose review could illustrate a computer science or math concept. Here is one: The Usual Suspects:
As complicated an enjoyable as the classical proof of van der Waerden's theorem.
Friday, May 01, 2009
Foundations of Complexity
- What is a Computer?
- Computable and Computably Enumerable Languages
- Universal Turing Machines and Diagonalization
- Noncomputable Computably Enumerable Languages
- Reductions
- The Halting Problem
- The Recursion Theorem
- Efficient Computation
- Nondeterminism
- The P versus NP Problem
- NP-Completeness
- Turing Machine Redux
- Satisfiability
- CNF-SAT is NP-complete
- More NP-complete Problems
- Ladner's Theorem
- Space Complexity
- Savitch's Theorem
- The Immerman-Szelepcsényi Theorem