Computational Complexity and other fun stuff in math and computer science from Lance Fortnow and Bill Gasarch
Wednesday, October 28, 2020
2020 Fall Jobs Post
Sunday, October 25, 2020
Do not become obsessed with the Polls unless...
Monday, October 19, 2020
Nature vs Nurture close to my birthday
Since I was born on Oct 1, 1960 (that's not true---if I posted my real birthday I might get my identity stolen), I will do a nature vs nurture post based on my life, which seems less likely to offend then doing it on someone else's life. I'll just rattle off some random points on Nature vs Nurture.
1) Is it plausible that I was born with some math talent? Is plausible that I was born with some talent to understand the polynomial van der Warden theorem? What is the granularity of nature-given or nurture-given abilities?
2) My dad was a HS English teacher and later Vice-Principal. My mom taught English at a Community college. Readers of the blog might think, given my spelling and grammar, that I was switched at birth. My mom says (jokingly?) that I was switched at birth since she thinks I am good at math.
a) I am not THAT good at math. Also see next point.
b) While there are some math families, there are not many. See my post here.
c) I think being raised in an intellectual atmosphere by two EDUCATORS who had the money to send me to college and allowed me the freedom to study what I wanted to is far more important than the rather incidental matter of what field I studied.
d) Since my parents never went into math or the sciences it is very hard to tell if they were `good at math' or even what that means.
3) There were early signs I was INTERESTED in math, though not that I was good at it.
a) In fourth grade I wanted to know how many SECONDS were in a century so I spend some time figuring it out on paper. Did I get the right answer? I forgot about leap years.
b) I was either a beneficiary of, or a victim of, THE NEW MATH. So I learned about comm. and assoc. operations in 8th grade. We were asked to come up with our own operations. I wanted to come up with an operation that was comm. but not assoc. I did! Today I would write it as f(x,y) = |x-y|. This is the earliest I can think of where I made up a nice math problem. Might have been the last time I made up a nice math problem AND solved it without help.
c) In 10th grade I took some Martin Gardner books out of the library. The first theorem I learned not-in-school was that a graph is Eulerian iff every vertex has even degree. I read the chapter on Soma cubes and bought a set. (Soma cubes are explained here.)
d) I had a talent (nature?) at Soma Cubes. I did every puzzle in the book in a week, diagrammed them, and even understood (on some level) the proofs that some could not be done. Oddly I am NOT good at 3-dim geom. Or even 2-dim geom. For 1-dim I hold my own!
e) Throughout my childhood I noticed odd logic and odd math things that were said:
``Here at WCOZ (a radio station) we have an AXIOM, that's like a saying man, that weekends should be SEVEN DAYS LONG'' (Unless that axiom resolves CH, I don't think it should be assumed.)
``To PROVE we have the lowest prices in town we will give you a free camera!'' (how does that prove anything?)
``This margarine tastes JUST LIKE BUTTER'' (Okay-- so why not just buy butter?)
e) In 9th grade when I learned the quadratic formula I re-derived it once-a-month since I though it was important that one can prove such things. I heard (not sure from where) that there was no 5th degree equation. At that very moment I told my parents:
I am going to major in math so I can find out why there is no 5th degree equation.
There are worse things for parents to hear from their children. See here for dad's reaction.
f) When I learned that the earth's orbit around the sun is an ellipse and that the earth was one of the foci, I wondered where the other foci is and if its important. I still wonder about this one. Google has not helped me here, though perhaps I have not phrased the question properly. If you know the answer please leave a comment.
g) I also thought about The Ketchup problem and other problems, that I won't go into since I already blogged about them here
4) I was on the math team in high school, but wasn't very good at it. I WAS good at making up math team problems. I am now on the committee that makes up the Univ of MD HS math competition. I am still not good at solving the problems but good at making them up.
5) From 9th grade on before I would study for an exam by making up what I thought would be a good exam and doing that. Often my exam was a better test of knowledge than the exam given. In college I helped people in Math and Physics by making up exams for them to work on as practice.
6) I was good at reading, understanding, and explaining papers.
7) I was never shy about asking for help. My curiosity exeeded by ego... by a lot!
8) Note that items 5,6, and 7 above do not mention SOLVING problems. The papers I have written are of three (overlapping) types:
a) I come up with the problem, make some inroads on it based on knowledge, and then have people cleverer (this is often) or with more knowledge (this is rarer) help me solve the problems.
b) I come up with the problem, and combine two things I know from other papers to solve it.
c) Someone else asks for my help on something and I have the knowledge needed. I can only recall one time where this lead to a paper.
NOTE- I do not think I have ever had a clever or new technique. CAVEAT: the diff between combining known knowledge in new ways and having a clever or new technique is murky.
8) Over time these strengths and weaknesses have gotten more extreme. It has become a self-fulfilling prophecy where I spend A LOT of time making up problems without asking for help, but when I am trying to solve a problem I early on ask for help. Earlier than I should? Hard to know.
9) One aspect is `how good am I at math' But a diff angle is that I like to work on things that I KNOW are going to work out, so reading an article is better than trying to create new work. This could be a psychological thing. But is that nature or nurture?
10) Could I be a better problem solver? Probably. Could I be a MUCH better problem solver? NO. Could I have been a better problem solver I did more work on that angle when I was younger? Who knows?
11) Back to the Quintic: I had the following thought in ninth grade, though I could not possibly have expressed it: The question of, given a problem, how hard is it, upper and lower bounds, is a fundamental one that is worth a lifetime of study. As such my interest in complexity theory and recursion theory goes back to ninth grade or even further. My interest in Ramsey Theory for its own sake (and not in the service of complexity theory) is much more recent and does not quite fit into my narrative. But HEY- real life does not have as well defined narratives as fiction does.
12) Timing and Luck: IF I had been in grad student at a slight diff time I can imagine doing work on algorithmic Galois theory. Here is a talk on Algorithmic Galois theory. Note that one of the earliest results is by Landau and Miller from 1985---I had a course from Miller on Alg. Group Theory in 1982. This is NOT a wistful `What might have been' thought. Maybe I would have sucked at it, so its just as well I ended up doing recursion theory, then Ramsey theory, then recursion-theoretic Ramsey Theory, then muffins.
Thursday, October 15, 2020
50 Years of PBS
The Public Broadcasting Service (PBS) launched fifty years ago this month in the United States. The New York Times talks about its fifty reasons how the network mattered. I'll throw in my thoughts.
I was just slightly too old for shows like Sesame Street, Electric Company, Mr. Rogers and Zoom, not that that stopped me from watching them. My kids grew up on Barney and Friends. My daughter even had a toy Barney that interacted with the show, which went as well as you'd expect.
PBS introduced me to those great British TV shows for young nerds like me including Monty Python and Doctor Who. I wasn't into Nova but did watch Carl Sagan's Cosmos religiously in high school.
My favorite PBS show was the American Experience, short documentaries about US culture. I remember learning about this history of Coney Island and the quiz show scandals before Robert Redford made a movie about it.
Siskel and Ebert got their start on PBS and became my go to source for movie reviews.
In 1987 PBS broadcasted Ivy League football games. One Saturday I sat down expecting to watch my alma mater and instead got supreme court hearings. Only on PBS could Cornell football get Borked.
Monday, October 12, 2020
Hugh Woodin, Kurt Godel, Dwayne `The Rock' Johnson, Robert De Niro, David Frum, Tom Selleck: Do I care what they think? Should I?
MATH:
My last post on CH mentioned that Hugh Woodin used to think NOT(CH) but now thinks CH. In both cases his reasons have some math content to them. Also, note that Hugh Woodin seems to believe that CH somehow HAS an answer. Kurt Godel also thought CH HAS an answer. It has been said that he could have announced his result that CH is consistent by saying L is THE model, and the problem is now solved.
Should we care what Hugh Woodin and Kurt Godel think about CH?
YES- they have both studied the issue A LOT. If you think CH should have an answer, then surely you would care what they think.
NO- CH has no answer so there opinions are no better than mine. If you think CH does not have an answer then you might think this; however, I think you should still be at least INTERESTED in what people who have thought about the problem A LOT have to say, even if you will disagree with them.
But with MATH there are people who clearly know more than you on topics you care about, so it is worth hearing what they have to say.
POLITICS:
Recently Dwayne THE ROCK Johnson (by Wikipedia: actor, producer, businessman, and former professional wrestler) ENDORSED Joe Biden. Should we care about his opinion? Maybe, if wrestling fans and former pro wrestler tend to be Republicans, so this may indicate a shift. I do not know if this is the case.
Robert De Niro was in favor of impeaching Donald Trump. He also said that Trump was like a Gangster. He would know because he was in the movie GOODFELLOWS and later THE IRISHMAN (about Jimmy Hoffa). To be fair I do not think he said that is how he would know. Even so, I don't think I care what he thinks, unless he has some specialized knowledge I do not know about.
David Frum is a republican who had a break with the party NOT over Donald Trump, but over Obamacare- which you may recall was originally a CONSERVATIVE response to Hillarycare by the Heritage Foundation. He has a good article on this here. Because he is an intelligent republican in favor of Obamacare (or some version of it) he is worth listening to.
In POLITICS its trickier- who is worth listening to and why. For all I know, THE ROCK has made a detailed study of the Republican and Democratic platforms (actually this cannot be true since the Republicans did not have a platform this time).
COMMERCIALS:
Tom Selleck (Actor-Magnum PI a while back, Blue Bloods now) does commercials for reverse mortgages. A while back I asked a group of people WHY he is doing them. Here were some answers and reactions
a) He needs the money. Not likely, he seems to have done well and does not seem to have the kind of bad habits (e.g., drugs) that need money. Maybe he has expensive tastes (my only expensive tastes is in fine European Kit Kat bars--- which actually are not that expensive).
b) He likes doing commercials. Maybe.
c) He believes in the product. At this, everyone cracked up in laughter.
This raises a more general point: Why does ANYONE believe ANY commercial since we KNOW the actor is being PAID to say it. I ask non rhetorically as always.
Thursday, October 08, 2020
Revisiting the Continuum Hypothesis
I have been thinking about CH lately for two reasons
1) I reread the article
Hilbert's First Problem: The Continuum Hypothesis by Donald Martin from Proceedings of Symposia in Pure Mathematics: Mathematical developments arising from Hilbert Problems. 1976. (For a book review of the symposia and, The Honor Class, also about Hilbert's problems, see here.)
The article takes the point of view that CH CAN have an answer. He discusses large cardinals (why assuming they exist is plausible, but alas, that assumption does not seem to resolve CH) and Projective Det. (why assuming it is true is plausible, but alas, that assumption does not seem to resolve CH).
(A set A \subseteq {0,1}^omega is DETERMINED if either Alice or Bob has a winning strategy in the following non-fun game: they alternate picking bits a_1, b_1, a_2, b_2, ... with Alice going first. If a_1 b_1 a_2 b_2... IS IN A then Alice wins, IF NOT then Bob wins. Martin showed that all Borel sets are determined. Proj Det is the statement that all projections of Borel sets are determined. AD is the axiom that ALL sets A are determined. It contradicts AC.)
But what really inspired this post is the last paragraph:
Throughout the latter part of my discussion, I have been assuming a naive and uncritical attitude towards CH. While this is in fact my attitude, I by no means wish to dismiss the opposite viewpoint. Those that argue that the concept of set is not sufficiently clear to fix the truth-value of CH have a position that is at present difficult to assail. As long as no new axiom is found which decides CH, their case will continue to grow stronger, and our assertions that the meaning of CH is clear will sound more and more empty.
2) Scott Aaronson mentioned in a blog post (see here) that he has read and understood the proof that CH is independent of set theory.
SO, this seemed like a good time to revisit thoughts on CH.
I took a very short poll, just two people, about CH: Stephen Fenner (in a perfect world he would be a set theorists) and Scott Aaronson (having JUST read the proof that CH is ind. he has thought about it recently).
Here are some thoughts of theirs and mine
1) All three of us are Platonists with regard to the Naturals (I was surprised to find recently that there are people who are not!) but not with regard to the reals. So we would be OKAY with having CH have no answer.
2) All three of us agree that it would be nice if SOME axiom was both
a) Intuitively appealing or aesthetically appealing , and
b) resolved CH.
I always thought that (a) would be the hard part-- or at least getting everyone (not sure who we are talking about) to AGREE on a new axiom. But even getting an axiom to resolve CH seems hard. Large cardinals don't seem to do it, and various forms of Determinacy don't seem to do it.
Scott reminded me of Freiling's Axiom of Symmetry (see here) which IS intuitive and DOES resolve CH (its false) though there are problems with it--- a minor variant of it contradicts AC (I am QUITE FINE with that since AC implies Banach-Tarski which Darling says shows `Math is broken'.)
Stephen recalled some of Hugh Woodin's opinions of CH, but Hugh seems to have changed his mind from NOT(CH): 2^{aleph_0} = aleph_2, to CH: 2^{aleph_0} = aleph_1.(See here.)
3) All three of would be okay with V=L, though note that this would put many set theorists out of work. All the math that applies to the real world would still be intact. I wonder if in an alternative history the reaction to Russell's paradox would be a formulation of set theory where V=L. We would KNOW that CH is true, KNOW that AC is true. We would know a lot about L but less about forcing.
4) Which Geometry is true: Euclidian, Riemannian, others? This is now regarded as a silly question: Right Tool, Right Job! If you build a bridge use Euclid. If you are doing astronomy use Riemann. Might Set Theory go the same way? It would be AWESOME if Scott Aaronson found some quantum thing where assuming 2^{aleph_0} = aleph_2 was the right way to model it.
5) If I was more plugged into the set theory community I might do a poll of set theorists, about CH. Actually, someone sort-of already has. Penelope Maddy has two excellent and readable articles where she studies what set theorists believe and why.
Believing The Axioms I: here
Believing The Axioms II: here
Those articles were written in 1988. I wonder if they need an update.
Monday, October 05, 2020
MIP* = RE Redux
Sunday, September 27, 2020
A Quote from Tesla which is very predictive in one way, and perhaps not in another way
Nikola Tesla, famous inventor, who lived 1856--1943 said the following:
When wireless is perfectly applied the whole earth will be converted into
a huge brain, which in fact it is, all things being particles of a real
and rhythmic whole. We shall be able to communicate with one another
instantly, irrespective of distance. Not only this but through television
and telephony, we shall see and hear one another as perfectly as though
we were face to face, despite intervening distances of thousands of miles;
and the instruments through which we shall be able to do this will be
amazingly simple compared with our present telephone. A man will be able to
carry one in his vest pocket.
The `vest pocket' at the end really impressed me.
By `a man will be able to carry one...' I don't know if he mean all people or if he actually
meant that women would not need such a device. If that is what he meant then,
while high marks for tech-prediction, low marks for social-prediction.
This quote is SO right-on for technology that I offer the following challenge: Find other quotes from year X that were very predictive for year X+Y for a reasonably large Y.
ADDED LATER: I will give two answers to my own challenge:
1) On the TV show THE HONEYMOONERS, in 1955, Ralph Cramden predicts 3-Dim TV. I blogged about that here
2) Did the TV show Get Smart foreshadow cell phones. Maxwell Smart's shoe-phone was portable but wearing it on his foot seems odd. It also used dial, not touch tone. Mel Brooks (co-creator of the series) points out that in the Pilot episode Max is enjoying a show and his phone goes off so he has to leave and take the call -- which was very strange then but standard now. So the show did predict one of the problems with cell phones, if not cell phones themselves.
Wednesday, September 23, 2020
Remembering 2000
FOCS 2000 took place in Redondo Beach, just south of Los Angeles, November 12-14. Certainly some great results such as the Reingold-Vadhan-Wigderson Zig-Zag Graph Product Expander construction that would lead to Omer Reingold's Undirected Connectivity in Log Space. Mostly though I remember the discussions about the presidential election held the week before and whether we might find out our next president during the conference. Spoiler alert: We didn't.
Consider the following viewpoints for a person X
1. Did X support Bush or Gore?
2. Did X interpret the rules of the election that Bush won or Gore won?
These should be independent events. Your interpretation of the rules should not depend on who you supported. But in fact they were nearly perfectly correlated. Whether you were a politician, a newspaper editorial page writer, a supreme court justice, a computer scientist or pretty much everyone else, if you supported Gore, you believed he won the election and vice-versa. Everyone had their logic why they were right and I'm sure my readers who remember that election still believe their logic was correct.
As this upcoming election gets messy, as it already has, take care with trying to justify your desired endgame by choosing the logic that makes it work. Would you use the same logic if the candidates were reversed? Everyone says "yes" but it's rarely true. Just like Mitch McConnell, you'll just find some excuse why the opposite situation is different. Trust me, my logic is impeccable.
Sunday, September 20, 2020
Baseball can go on forever, it doesn't just seem that way
Most games have some way to make sure they cannot go on forever.
1) Chess: I had thought there was a 50-move rule and a 3-times-same-position rule, but its a byte more complicated than that, see here. There is also a chess clock. Suffice to say, Chess can never on forever (though it may seem like it does).
2) NIM: Eventually all of the stones are gone. There may be more complicated versions where you can add some stones, but in those versions I suspect that there is some parameter that goes to 0.
3) Basketball, Football, Hockey, Soccer: These all have a clock so they are time limited. For overtime there are also rules that make sure the game cannot go on forever. Or maybe its just very rare: what if the Superb Owl (spelled that way to avoid lawsuits, see here) is tied 0-0 at the end of the four quarters and goes into overtime and... nobody scores... ever. Could the game go on forever or would the referees declare it a tie? In the regular season there are ties, but in the in the superb owl? Actually this may be more a problem in the playoffs since you need to determine who goes to the next round.
4) Take your favorite game. I would bet dollars to doughnuts (what an odd phrase---see here for more about the phrase) that there is some mechanism to make sure the game ends. An exception that Darling pointed out to me: If in Gin Rummy both players are terrible then the game can go on forever. This is probably true for other games as well and actually makes the question into two questions (a) will a game terminate no matter what the players do, and (b) (not sure how to formalize) will a game terminate if both players are trying to win and are making reasonable moves.
You may have noticed that in item 3 I left out Baseball. There is no clock in baseball. So one way the game can go on forever is to have a tie and extra innings and nobody scores. I think the umpire has the authority to call it a tie. (Incidentally, the shortened baseball season has a new extra inning rule---each inning starts with a runner on second. See here,) When Lance read an earlier version of this post he pointed me to 5 ways a game can go on forever, not counting the example I have later in this post. Here is where Lance found the question and answer (look on the first page under Speed Department for the question, and the very end of the second page for the answer). I also did my own writuep with more details, see here. Also of interest (though not if you were actually at the game this happened), the record for number of times a player has a foul with 2 strikes is 16, see here.
However, I came across an example more obscure than any of those.
Here is what happened (and you can see the video of it here, though it really starts about a minute into it. Keep reading- it looks like its another post, but its part of this post:
Back in 2008, the Yankees drafted a pitcher named Pat Venditte. What made Venditte unusual is that he can throw with both hands. In other words, he’s a switch pitcher. When he was drafted, he was assigned to the Staten Island Yankees, a low A ball team.
In his first game (against the Mets farm team, the Brooklyn Cyclones), Venditte came in to pitch. After getting the first two batters out and giving up a single, he then faced Ralph Henriquez, was a switch hitter. What happened next resembled an Abbott and Costello comedy routine. Venditte would put the glove on one hand (he had a specially made glove that could be worn on either hand) and Henriquez would then step across the plate to bat from the other side. Venditte would then switch his glove hand again and Henriquez went back to the other side.
Eventually, after much discussion, the umpires ruled that Henriquez would have to choose a batting side first, before Venditte had to commit. Henriquez was mad and, after he struck out, he slammed the bat against the ground in frustration.
The umpires were, in essence, winging it, because there was no rule to cover the situation. Eventually, the higher ups in baseball did write a rule to cover the situation — the opposite of the umpires’ decision.
Monday, September 14, 2020
An interesting serendipitous number
Last seek I blogged about two math problems of interest to me here.
One of them two people posted answers, which was great since I didn't know how to solve them and now I do. Yeah! I blogged about that here.
The other problem got no comments, so I suppose it was of interest to me but not others. I was interested in it because the story behind it is interesting, and the answer is interesting.
it is from the paper
An interesting and serendipitous number by John Ewing and Ciprian Foias, which is a chapter in the wonderful book
Finite vs Infinite: Contributions to an eternal dilemma
Here is the story, I paraphrase the article (I'll give pointers later).
In the mid 1970's a student asked Ciprian about the following math-competition problem:
x(1)>0 x(n+1) = (1 + (1/x(n)))^n. For which x(1) does x(n) --> infinity?
It turned out this was a misprint. The actual problem was
x(1)>0 x(n+1)=(1+(1/x(n))^{x(n)}. For which x(1) does x(n) --> infinity.
The actual math-comp problem (with exp x(n)) is fairly easy (I leave it to you.) But this left the misprinted problem (with exp n). Crispian proved that there is exactly ONE x(1) such that x(n)--> infinity.
Its approx 1.187... and may be trans.
I find the story and the result interesting, but the proof is to long for a blog post.
I tried to find the article online and could not. A colleague found the following:
A preview of the start of the article here
Wikipedia Page on the that number, called the Foias constant, here
Mathworld page on that number here
Most of the article but skips two pages here
Thursday, September 10, 2020
When are both x^2+3y and y^2+3x both squares, and a more general question
In my last post (see here) I asked two math questions. In this post I discuss one of them. (I will discuss the other one later, probably Monday Sept 14.)
For which positive naturals x,y are x^2+3y and y^2+3x both squares?
I found this in a math contest book and could not solve it, so I posted it to see what my readers would come up with. They came up with two solutions, which you can either read in the comments on that post OR read my write up here.)
The problem raises two more general questions
1) I had grad student Daniel Smolyak write a program that showed that if 1\le x,y \le 1000 then the only solutions were (1,1) and (11,16) and (16,11). (See write up for why the program did not have to look like anything close to all possibly (x,y).)
Is there some way to prove that if the only solutions for 1\le x,y\le N (some N) are the three given above, then there are no other solutions?
2) Is the following problem solvable: Given p,q in Z[x,y] determine if the number of a,b such that both p(a,b) and q(a,b) are squares is finite or infinite. AND if finite then determine how many, or a bound on how many.
Can replace squares with other sets, but lets keep it simple for now.
Sunday, September 06, 2020
Two Math Problems of interest (at least to me)
I will give two math problems that are of interest to me.
These are not new problems, however you will have more fun if you work on them yourself and leave comments on what you find. So if you want to work on it without hints, don't read the comments.
I will post about the answers (not sure I will post THE answers) on Thursday.
1) Let x(1)>0. Let x(n+1) = ( 1 + (1/x(n)) )^n.
For how many values of x(1) does this sequence go to infinity?
2) Find all (x,y) \in N \times N such that x^2+3y and y^2+3x are both squares.
Tuesday, September 01, 2020
A well known theorem that has not been written down- so I wrote it down- CLIQ is #P-complete
(The two proofs that CLIQ is #P-complete that I discuss in this blog are written up by Lance and myself and are here. I think both are well known but I have not been able to find a writeup,so Lance and I did one.)
I have been looking at #P (see my last blog on it it, here, for a refresher on this topic) since I will be teaching this topic in Spring 2021. Recall
#SAT(\phi) = the number of satisfying assignments for phi
#CLIQ((G,k))= the number of cliques of size \ge k of G
#SAT is #P-complete by a cursory look at the proof of the Cook-Levin theorem.
A function is #P-complete if everything else in #P is Turing-Poly red to it. To show for some set A
in NP, #A is #P-complete one usually uses pars reductions.
I wanted a proof that #CLIQ is #P-complete, so I wanted a parsimonious reduction from SAT to CLIQ (Thats a reduction f: SAT--> CLIQ such that the number of satisfying assignments of phi equals the number of cliques of size \ge k of G.)
I was sure there is such a reduction and that it was well known and would be on the web someplace. So I tried to find it.
ONE:
I tracked some references to a paper by Janos Simon (see here) where he claims that the reduction of SAT to CLIQ by Karp (see here) was pars. I had already considered that and decided that Karps reduction was NOT pars. I looked at both Simon's paper and Karp's paper to make sure I wasn't missing something (e.g., I misunderstood what Simon Says or what Karp ... darn, I can't think of anything as good as `Simon Says'). It seemed to me that Simon was incorrect. If I am wrong let me know.
TWO
Someone told me that it was in Valiant's paper (see here). Nope. Valiant's paper shows that counting the number of maximal cliques is #P-complete. Same Deal Here- if I am wrong let me know. One can modify Valiant's argument to get #CLIQ #P-complete, and I do so in the write up. The proof is a string of reductions and starts with PERM is #P-complete. This does prove that# CLIQ is #P-complete, but is rather complicated. Also, the reduction is not pars.
THREE
Lance told me an easy pars reduction that is similar to Karp's non-pars reduction, but it really is NOT Karp's reduction. Its in my write up. I think it is well known since I recall hearing it about 10 years ago. From Lance. Hmmm, maybe its just well known to Lance.
But here is my question: I am surprised I didn't find it on the web. If someone can point to a place on the web where it is, please let me know. In any case, its on the web NOW (my write up) so hopefully in the future someone else looking for it can find it.
Sunday, August 23, 2020
Sharp P and the issue of `natural problems'
#P was defined by Valiant as a way to pin down that the PERMANENT of a matrix is hard to compute.
The definition I give is equivalent to the one Valiant gave.
g is in #P if there exists p a poly and B in P such that
g(x) = | { y : |y| = p(|x|) and (x,y) \in B } |
A function f is #P-complete if g is in #P and for all g in #P, f is poly-Turing reducible to g.
#SAT is the function that, given a formula, returns the number of satisfying assignments. It is #P-complete by looking at the proof the Cook-Levin Theorem. The reduction of f to #SAT only makes one query to #SAT. A common way to show that #A is #P-complete is to show that SAT \le A with a reduction that preserves the number of solutions.
Valiant proved that PERM was #P-complete (his reduction only used 1 call to PERM).
There are problems in P whose #-version is #-P complete: Matching and DNF-SAT are two of them.
Notice that I defined #SAT directly, not in terms of a poly p and a set B as above. Here is why: if you use poly p and set B one can do obnoxious things like:
SAT = { phi : exists yz 2n-bits long such that phi(y)=T and z is prime }
The # version of this definition is not really what I want (though I am sure its #P-complete).
Valiant (see here and here) and Simon (see here) showed that for many known NPC-problems A, #A is #P-complete. They meant NATURAL problems. Is it true for all natural NP-complete problems?
Unfortunately the statement `All NATURAL NPC problems give rise to #P-complete functions' is hard (impossible?) to state rigorously and hence hard (impossible?) to prove.
1) Is there a natural A in NP such that #A is NOT #P-complete (under assumptions)?
2) Are there any theorems that show a large set of NPC problems have #P counterparts? Or are we doomed to, when we want to show some #A is #P-complete, come up with a new proof?
3) Can one PROVE there are NPC problems A such that #A is NOT #P-complete? (under assumptions).
Monday, August 17, 2020
Mathematics is not commutative
Is factoring in P?
One of the most interesting answers was
I don't really see why it shouldn't be. - Peter Shor
Recall that Peter Shor proved Factoring is in Quantum-P which lead to intense interest in Quantum Computing.
1) What if factoring was in P and this was shown before Shor's algorithm? Would Shor or someone else have ever proven factoring in quantum P? Would there be as much intense interest in quantum computing as there is now? Perhaps by physicists more than CS people?
2) What if factoring was in P and this was shown before RSA? Where would crypto be now? Zip drives with a googleplex random (or nearly random) bits and more 1-time pads? More lattice based crypto? Or RSA but with larger numbers? This may depend on how good the factoring algorithm is.
3) More generally, how much does the order of events matter for science?
a) If the Banach-Tarski paradox was discovered early on, would we have just tossed out the Axiom of Choice before so much more was build on it? Darling thinks we should toss out AC NOW because of Banach-Tarski.
b) In the model of set theory L you can do ALL of math except some parts of set theory and maybe a few other things (note quite: Harvey Friedman has found some combinatorial statements that need large cardinals to prove). Had L been discovered earlier then could we all now be working in L (except a few people who look at other models, but they are not in the mainstream)? We might know more about L and less about forcing. We would KNOW that AC and CH are true. Or we would think we know.
c) If Engineers were the first ones to look at SAT and reductions, might they have been content to know that if SAT \le A then A is probably hard? No need for the Cook-Levin Theorem! And then when someone proved Cook-Levin would the Engineers not really cares since they already knew SAT was hard?
d) I can imagine Ramsey's Theorem being discovered much later for some application, or perhaps never being discovered at all.
Given e, run M_e(0) and at the same time enumerate all proofs in ZFC. It is guaranteed that
Thursday, August 13, 2020
Simons Institute Gets Another Decade
Great news out of the Simons Institute.
The Simons Foundation has ensured a second decade of research and innovation for the Simons Institute for the Theory of Computing, based at UC Berkeley, through a $35.5 million grant. The grant, which will begin in 2022, after the conclusion of the Simons Institute's first 10 years, will support the Simons Institute's mission and activities through June 2032.
Congrats to Shafi Goldwasser and her team and of course a special thanks to Jim Simons and his foundation for their support for the theory community.
Time flies. I remember when I was on Team Chicago in the final rounds back in 2011. We lost but the theory community won as Berkeley did the institute well with amazing collaborative spaces, thanks mainly I hear from Alistair Sinclair, and the strong programs and workshops organized by the many volunteers across the theory community.
The institute started right when I started as a department chair so I never had the opportunity for the true Simons experience, joining for a semester-long program. When I did sneak away for a week at Simons I purposely avoided the workshops for Simons is at its best when strong researchers, connected by one of the programs, just talk, work and socialize together. I joined an amazing collection of complexity theorists to form a rather mediocre pub trivia team.
Even if you never make it there, the institute has a great collection of videos of its workshops, talks and celebrations. COVID-19 has driven Simons on-line but that just opens up their workshops and other events to a wider audience.
Congrats again to the Simons Institute for what it's given to the theory community and to its next dozen years with hopefully many more to follow!
Sunday, August 09, 2020
Random Thoughts on the Pandemic
1) Contrast the following two points and, if you have an intelligent way to fill-in-the-blank for the second one, please comment.
a) When Trump says `open the schools or I will cut of funding' I disagree, or at least he should talk more about how to do it carefully BUT there is an underlying important and serious issue: how to balance health and education. Similar for when he talks about opening up business's - how to balance heath and the economy.
b) When Trump says `hydroxychloroquine is a potential cure for covid' I (and most of the medical community) disagree, BUT FILL IN THE BLANK. Is there SOME serious issue involved here that I am just missing?
2) I have seen several approaches to large gathering, say Churchs, beach parties, motorcycle meeting etc.
a) DO IT ONLINE. UMCP classes will be on-line in the fall. My church has been online since mid March and seems like it will do the same in the fall. (Note- Choir is much worse than normal talking for spreading it, so Choir might not resume for a much longer time than Church).
b) HAVE THEM but SOCIAL DISTANCE and MASKS and other precautions. And it works. I hope it works.
c) HAVE THEM, realize that there IS an issue, TRY to do some of the precautions, but fail. This may be what has happened at some high schools, see Here.
d) HAVE THEM and ignore ALL precautions either because
i) God will protect you
ii) The Government is not my boss. Such people are usually pro-business so they should NOT mind if a business on its own requires masks and SHOULD mind if its the government. I have not seen them making that distinction. Such people are usually against Federalism and for localism. So they should be upset when a Prez or a Gov overides a Mayor's Mask Mandate. I have not seen this.
iii) The whole think is a Hoax. How can people still believe this?
These three may overlap.
3) The Sturgis Motorcycle Rally in South Dakota seems to believe ii and iii. Can someone give any rational reason why they want to have this rally and why its allowed to happen. Given how many people come (usually 250,000- less now?) from all across the country, this could make thinks far far worse. But see next point.
4) Libertarians think that there is too much Government in our lives. This is a fair point of view but it needs to be tested on a case by case basis. There are some things that REQUIRE a more national response. When this happens Libertarians have two choices:
a) Apply their thinking to figure out how Gov can help with the least damage. For example, Carbon tax for global warning. In the current pandemic they might have LOCAL govs pass mandatory mask laws.. Or they would at least set a good example by wearing masks themselves. Perhaps relax regulations on medical stuff so that companies can work together without worrying about anti-trust, and perhaps look more carefully at regulations that get in the way (might be a good idea anyway).
b) Deny its a problem. Man made Global Warming is a myth. Covid is a hoax. Hence its okay to have the Motorcycle Rally. But the problem is, this doesn't just harm the people showing up, it harms others as well.
5) Early on I was puzzled that Trump didn't care more since older people (his base!) are at more risk. Did he think it would only affect democrats (early on NY was hit badly). Why didn't his advisors tell him that it would kill his own base?I ASK NON-RHETORICALLY Or did they and he didn't list. My point is, for purely selfish reasons Trump should have taken more action earlier, so I am surprised he did not. See next point.
6) Trump could have even taken action in a Trumpian way:
The Chinese and the Democrats are waging a bio-war on real Americans (white rural older) !!! We will STOP them in their tracks and show them they can't mess with us!! I will LOCKDOWN some cities AND provide online stuff to schools, business's (my cronies) and churchs (SCREW that stupid sep of church and state- that was only one passage in a letter Thomas Jefferson wrote).
He might have even got Democrats to complain that it will choke the economy and hurt the poor, and that giving stuff to churchs is against the constitution (it prob is).
7) If a vax for covid is found, will Trump urge his base (some of whom are anti-vax) to take it? Having said that, if it comes out in October it may be untested so I doubt I will take it. I'll wait until Dr Fauci says its okay to take it. (See here for a nice song about Dr. Fauci.)
8) Some people who thought it was a Hoax and then got a bad case of it are saying loudly `I WAS WRONG! Its Real!' I wonder if Herman Cain realized it was real before he died of it? I wish he had said `I WAS WRONG! ITS REAL! Wear a MASK' (The Whitehouse denies that he got Covid from the Tulsa Rally, here is headline only since something is behind paywalls: here)
9) At Tulsa the presidents people took DOWN signs about safe distancing. So again, why does the Prez want to kill his own base? I ask non rhetorically. I am serious- I want someone to defend his actions intelligently both this one and the hydro-whatever in the first point.
10) Authoritarian governments often claim that they bring order and can act fast to get things done. So they SHOULD have an advantage during the pandemic since they can more easily ORDER a lockdown. Yet they don't seem to be doing better.
Russia: See Here, number of cases going up fast.
Iran: See here and Here, number of cases going up fast.
These countries and others, and America, had their leaders LIE about the extend of the virus early on. What is the upside of doing this? I ask non-rhetorically.
Thursday, August 06, 2020
Do Senators have an Advantage for being Dem VP Nominee?
Sunday, August 02, 2020
The Gauss story is false yet we still tell it. Should we?
When teaching discrete math a while back I told the following story which some had already heard in High School:
When Gauss was in 1st grade the class was being bad. So the teacher made them sit down and add up the numbers from 1 to 100. Gauss did it in 2 minutes by noting that if S was the answer then
2S = (100+1) +(99+2) + ... + (1 + 100) = 100*101
So S = 50*101. Then he went to Google and typed in 50*101 for the answer.
The class laughed because of course the last part about Google was false. But I then told them that the entire story was false and showed them the following slides: here Take a look at them (there are only 4 of them) before reading on.
So I told them the Gauss Story was false (I am right about this) and then told them a lie- that the story's progression over time was orderly. I then told them that that was false (hmmm- actually I might not of, oh well).
One of my students emailed me this semester
Dr Gasarch- one of my Math professors is telling the Gauss story as if its true! You should make a public service announcement and tell people its false!
OKAY- what do you do if you have a nice story that has some good MATH in it but its not true?
Options: