tag:blogger.com,1999:blog-37222332020-09-23T18:01:36.671-05:00Computational ComplexityComputational Complexity and other fun stuff in math and computer science from Lance Fortnow and Bill GasarchLance Fortnowhttp://www.blogger.com/profile/06752030912874378610noreply@blogger.comBlogger2781125tag:blogger.com,1999:blog-3722233.post-71132600748966034482020-09-23T16:33:00.000-05:002020-09-23T16:33:17.452-05:00Remembering 2000<p><a href="http://www.cs.cmu.edu/~FOCS2000/">FOCS 2000</a> took place in Redondo Beach, just south of Los Angeles, November 12-14. Certainly some great results such as the Reingold-Vadhan-Wigderson <a href="https://doi.org/10.1109/SFCS.2000.892006">Zig-Zag Graph Product Expander construction</a> that would lead to Omer Reingold's <a href="https://blog.computationalcomplexity.org/2014/02/favorite-theorems-connecting-in-log.html">Undirected Connectivity in Log Space</a>. 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: <a href="https://en.wikipedia.org/wiki/2000_United_States_presidential_election_recount_in_Florida">We didn't</a>. </p><p>Consider the following viewpoints for a person X</p><p>1. Did X support Bush or Gore?</p><p>2. Did X interpret the rules of the election that Bush won or Gore won?</p><p>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. </p><p>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. </p>Lance Fortnowhttp://www.blogger.com/profile/06752030912874378610noreply@blogger.com0tag:blogger.com,1999:blog-3722233.post-36552368908287274292020-09-20T13:56:00.001-05:002020-09-21T12:07:45.150-05:00Baseball can go on forever, it doesn't just seem that way<p> Most games have some way to make sure they cannot go on forever.</p><p>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 <a href="https://en.wikipedia.org/wiki/Draw_(chess)">here</a>. There is also a chess clock. Suffice to say, Chess can never on forever (though it may seem like it does). </p><p>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.</p><p>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 <a href="https://www.vox.com/the-goods/2019/1/31/18202037/super-bowl-53-ads-trademark-the-big-game-2019">here</a>) 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.</p><p>4) Take your favorite game. I would bet dollars to doughnuts (what an odd phrase---see <a href="https://en.wiktionary.org/wiki/bet_a_dollar_to_a_doughnut">here</a> 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.</p><p>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 <a href="https://www.mlb.com/news/reasons-new-extra-innings-rule-is-good">here</a>,) 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. <a href="https://cs.nyu.edu/~gottlieb/tr/back-issues/1990s/1992/1-jan-scanned.pdf">Here</a> 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 <a href="http://www.cs.umd.edu/~gasarch/BLOGPAPERS/baseballforever.pdf">here</a>. 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 <a href="https://www.businessinsider.com/brandon-belts-record-at-bat-pop-fly-2018-4">here</a>. </p><p> However, I came across an example more obscure than any of those. </p><p>Here is what happened (and you can see the video of it <a href="https://www.youtube.com/watch?v=yDyCRTlKllk">here</a>, though it really starts about a minute into it. Keep reading- it looks like its another post, but its part of this post: </p><div class="q-box qu-borderBottom qu-px--medium qu-py--small" style="border-bottom-style: solid; border-color: rgb(222, 224, 225); border-width: 1px; box-sizing: border-box; color: #282829; direction: ltr; font-size: 15px; padding: 8px 16px;"><div class="q-flex qu-justifyContent--space-between" style="box-sizing: border-box; direction: ltr; display: flex; justify-content: space-between;"><div class="q-flex qu-alignItems--center" style="align-items: center; box-sizing: border-box; direction: ltr; display: flex;"><div class="q-text qu-fontSize--small qu-ml--small qu-color--gray" style="box-sizing: border-box; color: #636466; direction: ltr; font-size: 13px; margin-left: 8px;">From your Digest</div></div></div></div><div class="q-box" style="box-sizing: border-box; color: #282829; direction: ltr; font-size: 15px;"><div class="q-box" style="box-sizing: border-box; direction: ltr;"><div class="q-box qu-pt--medium qu-pb--tiny" style="box-sizing: border-box; direction: ltr; padding: 16px 16px 4px; position: relative;"><div class="q-box" style="box-sizing: border-box; direction: ltr;"><div class="q-box" style="box-sizing: border-box; direction: ltr;"><div class="q-box" style="box-sizing: border-box; direction: ltr;"><div class="q-box" style="box-sizing: border-box; direction: ltr;"><div class="q-flex" style="box-sizing: border-box; direction: ltr; display: flex;"><div class="q-box qu-mb--small qu-pr--large" style="box-sizing: border-box; direction: ltr; margin-bottom: 8px; padding-right: 24px; width: 546px;"><div class="q-box spacing_log_answer_header" style="box-sizing: border-box; direction: ltr;"><div class="q-flex" style="align-items: start; box-sizing: border-box; direction: ltr; display: flex; width: 522px;"><div class="q-inlineFlex qu-mr--small qu-alignItems--center" style="align-items: center; box-sizing: border-box; direction: ltr; display: inline-flex; margin-right: 8px;"><div class="q-box qu-display--inline-block" style="box-sizing: border-box; direction: ltr; display: inline-block;"><div class="q-box qu-display--inline-block" style="box-sizing: border-box; direction: ltr; display: inline-block;"><div class="q-relative qu-display--inline-block" style="box-sizing: border-box; direction: ltr; display: inline-block; position: relative;"><div aria-owns="POPOVER2" class="q-box qu-display--inline-block" style="box-sizing: border-box; direction: ltr; display: inline-block;"><a class="q-box qu-display--inline-flex qu-color--gray_dark qu-cursor--pointer qu-hover--textDecoration--underline" href="https://www.quora.com/profile/Zev-Steinhardt" style="-webkit-tap-highlight-color: rgba(255, 255, 255, 0.6); background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; box-sizing: border-box; color: #282829; cursor: pointer; direction: ltr; display: inline-flex; text-decoration-line: none; transition-duration: 180ms; transition-property: text-decoration; transition-timing-function: ease-in-out;" target="_blank"><div class="q-inlineFlex qu-flex--none" style="box-sizing: border-box; direction: ltr; display: inline-flex; flex: 0 0 auto; position: relative;"><div class="q-inlineFlex" style="box-sizing: border-box; direction: ltr; display: inline-flex; position: relative;"><div class="q-inlineFlex qu-overflow--hidden qu-borderRadius--circle qu-borderWidth--retinaOverride" style="border-radius: 100%; border-style: none; border-width: 2px; box-shadow: rgba(0, 0, 0, 0.1) 0px 0px 0px 0.5px; box-sizing: border-box; direction: ltr; display: inline-flex; overflow: hidden;"><div class="q-box qu-bg--white__ignore_dark_mode qu-borderRadius--circle" style="background-color: white; border-radius: 100%; bottom: 1px; box-sizing: border-box; direction: ltr; left: 1px; position: absolute; right: 1px; top: 1px;"></div><img class="q-image qu-display--block qu-size--36 qu-minWidth--36" src="https://qph.fs.quoracdn.net/main-thumb-138599745-200-pbrgkfnbxdzyttabmtnmavtcwavrcktv.jpeg" style="animation-duration: 0.001s; animation-name: insQ_100; border: 0px none; box-sizing: border-box; color: transparent; direction: ltr; display: block; height: 36px; max-width: 100%; min-width: 36px; position: relative; width: 36px;" /><div class="q-box qu-borderRadius--circle qu-borderAll Photo___StyledBox-sc-1x7c6d3-1 djSgZk" style="border-color: rgba(0, 0, 0, 0.06); border-radius: 100%; border-style: solid; border-width: 1px; bottom: 0px; box-sizing: border-box; direction: ltr; left: 0px; position: absolute; right: 0px; top: 0px; transition: all 150ms ease 0s;"></div></div></div></div></a></div></div></div></div></div><div class="q-box qu-flex--auto" style="box-sizing: border-box; direction: ltr; flex: 1 1 auto; margin-top: -1px; min-width: 0px; overflow-wrap: break-word;"><div class="q-flex qu-flexWrap--wrap" style="box-sizing: border-box; direction: ltr; display: flex; flex-wrap: wrap;"><div class="q-box" style="box-sizing: border-box; direction: ltr;"><div class="q-text qu-bold qu-color--gray_dark qu-fontSize--small qu-passColorToLinks" style="box-sizing: border-box; direction: ltr; font-size: 13px; font-weight: bold;"><div class="q-box qu-display--inline" style="box-sizing: border-box; direction: ltr; display: inline;"><div class="q-box qu-display--inline" style="box-sizing: border-box; direction: ltr; display: inline;"><div class="q-relative qu-display--inline" style="box-sizing: border-box; direction: ltr; display: inline; position: relative;"><div aria-owns="POPOVER3" class="q-box qu-display--inline" style="box-sizing: border-box; direction: ltr; display: inline;"><a class="q-box qu-color--gray_dark qu-cursor--pointer qu-hover--textDecoration--underline" href="https://www.quora.com/profile/Zev-Steinhardt" style="-webkit-tap-highlight-color: rgba(255, 255, 255, 0.6); background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; box-sizing: border-box; cursor: pointer; direction: ltr; text-decoration-line: none; transition-duration: 180ms; transition-property: text-decoration; transition-timing-function: ease-in-out;" target="_blank">Zev Steinhardt</a></div></div></div></div></div></div><span class="q-text qu-mx--tiny qu-color--gray qu-fontSize--small" style="box-sizing: border-box; color: #636466; direction: ltr; font-size: 13px; margin-left: 4px; margin-right: 4px;">·</span><div class="q-text qu-color--gray qu-fontSize--small qu-passColorToLinks qu-truncateLines--1" style="-webkit-box-orient: vertical; -webkit-line-clamp: 1; box-sizing: border-box; color: #636466; direction: ltr; display: -webkit-box; font-size: 13px; overflow: hidden; text-overflow: ellipsis;"><a class="q-box qu-cursor--pointer qu-hover--textDecoration--underline" href="https://www.quora.com/Has-a-play-ever-happened-in-baseball-that-was-so-out-of-the-ordinary-that-no-written-umpiring-rule-at-the-time-covered-it/answer/Zev-Steinhardt" style="-webkit-tap-highlight-color: rgba(255, 255, 255, 0.6); background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; box-sizing: border-box; cursor: pointer; direction: ltr; text-decoration-line: none; transition-duration: 180ms; transition-property: text-decoration; transition-timing-function: ease-in-out;" target="_top">July 9, 2019</a></div></div><div class="q-flex qu-flexWrap--wrap" style="box-sizing: border-box; direction: ltr; display: flex; flex-wrap: wrap; margin-top: 2px;"><div class="q-text qu-truncateLines--2 qu-color--gray qu-passColorToLinks qu-fontSize--small" style="-webkit-box-orient: vertical; -webkit-line-clamp: 2; box-sizing: border-box; color: #636466; direction: ltr; display: -webkit-box; font-size: 13px; overflow: hidden; text-overflow: ellipsis;">Studied at <span class="TopicName___StyledSpan-t3tegb-0 crUglW" style="word-break: break-word;">Pace University</span></div></div></div></div></div></div><div class="q-box qu-pl--tiny" style="box-sizing: border-box; direction: ltr; margin-left: auto; padding-left: 4px;"><div class="q-relative qu-size--18" style="box-sizing: border-box; direction: ltr; height: 18px; position: relative; width: 18px;"><div class="q-absolute" style="box-sizing: border-box; direction: ltr; left: -9px; position: absolute; top: -9px;"><div class="q-box qu-display--inline-block" style="box-sizing: border-box; direction: ltr; display: inline-block; pointer-events: all;"><div class="q-relative" style="box-sizing: border-box; direction: ltr; position: relative;"><div class="q-click-wrapper qu-active--bg--darken qu-active--textDecoration--none qu-focus--bg--darken qu-focus--textDecoration--none qu-borderRadius--pill qu-whiteSpace--nowrap qu-display--inline-block qu-tapHighlight--white qu-textAlign--center qu-cursor--pointer qu-hover--bg--darken qu-hover--textDecoration--none" style="-webkit-tap-highlight-color: rgba(255, 255, 255, 0.6); border-radius: 1000px; border-width: 0px; box-sizing: border-box; color: inherit; cursor: pointer; direction: ltr; display: inline-block; font: inherit; outline: none; padding: 7px; text-align: center; white-space: nowrap;" tabindex="0"><div class="q-flex qu-alignItems--center qu-justifyContent--center" style="align-items: center; box-sizing: border-box; direction: ltr; display: flex; justify-content: center;"><div class="q-relative qu-display--flex qu-alignItems--center" style="align-items: center; box-sizing: border-box; direction: ltr; display: flex; position: relative;"><span class="q-inlineBlock qu-verticalAlign--text-bottom" name="SmallClose" style="box-sizing: border-box; direction: ltr; display: inline-block; flex-shrink: 0; height: 24px; line-height: 0; vertical-align: text-bottom; width: 24px;"><span class="CssComponent__CssInlineComponent-sc-1oskqb9-1 Icon___StyledCssInlineComponent-sc-11tmcw7-0 eXDwse" style="-webkit-box-align: center; -webkit-box-pack: center; align-items: center; display: inline-flex; height: 24px; justify-content: center; width: 24px;"><svg height="24px" viewbox="0 0 24 24" width="24px"><g class="icon_svg-stroke" fill-rule="evenodd" fill="none" id="small_close" stroke-linecap="round" stroke-width="1.5" stroke="#666666"><path d="M12,6 L12,18" transform="translate(12.000000, 12.000000) rotate(45.000000) translate(-12.000000, -12.000000) "></path><path d="M18,12 L6,12" transform="translate(12.000000, 12.000000) rotate(45.000000) translate(-12.000000, -12.000000) "></path></g></svg></span></span></div></div></div></div></div></div></div></div></div><div class="q-flex" style="box-sizing: border-box; direction: ltr; display: flex;"></div><div class="q-flex qu-mb--tiny" style="box-sizing: border-box; direction: ltr; display: flex; margin-bottom: 4px;"><div class="q-text qu-bold qu-color--gray_dark_dim qu-passColorToLinks qu-userSelect--text qu-lineHeight--regular" style="box-sizing: border-box; direction: ltr; font-size: 16px; font-weight: bold; line-height: 1.4; user-select: text; word-break: break-word;"><span class="CssComponent__CssInlineComponent-sc-1oskqb9-1 TitleText___StyledCssInlineComponent-sc-1hpb63h-0 jPnwvF"><a class="q-box qu-cursor--pointer qu-hover--textDecoration--underline" href="https://www.quora.com/Has-a-play-ever-happened-in-baseball-that-was-so-out-of-the-ordinary-that-no-written-umpiring-rule-at-the-time-covered-it" style="-webkit-tap-highlight-color: rgba(255, 255, 255, 0.6); background-attachment: initial; background-clip: initial; background-image: initial; background-origin: initial; background-position: initial; background-repeat: initial; background-size: initial; box-sizing: border-box; cursor: pointer; direction: ltr; display: block; text-decoration-line: none; transition-duration: 180ms; transition-property: text-decoration; transition-timing-function: ease-in-out;" target="_blank"><div class="q-flex qu-flexDirection--row" style="box-sizing: border-box; direction: ltr; display: flex; flex-direction: row;"><div class="q-inline qu-flexWrap--wrap" style="box-sizing: border-box; direction: ltr; display: inline; flex-wrap: wrap;"><div class="q-text puppeteer_test_question_title" style="box-sizing: border-box; direction: ltr;"><span class="q-box qu-userSelect--text" style="box-sizing: border-box; direction: ltr; user-select: text;">Has a play ever happened in baseball that was so out of the ordinary that no written umpiring rule at the time covered it?</span></div></div></div></a></span></div></div><div class="q-relative spacing_log_answer_content" style="box-sizing: border-box; direction: ltr; position: relative;"><div class="q-text" style="box-sizing: border-box; direction: ltr; max-width: 100%;"><span class="q-box qu-userSelect--text" style="box-sizing: border-box; direction: ltr; user-select: text;"><p class="q-text qu-display--block" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1em; overflow-wrap: break-word; padding: 0px;">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.</p><p class="q-text qu-display--block" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1em; overflow-wrap: break-word; padding: 0px;">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.</p><p class="q-text qu-display--block" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1em; overflow-wrap: break-word; padding: 0px;">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.</p><p class="q-text qu-display--block" style="box-sizing: border-box; direction: ltr; margin: 0px 0px 1em; overflow-wrap: break-word; padding: 0px;">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.</p></span></div></div></div></div></div></div></div></div></div><p><br /></p><p><br /></p>gasarchhttp://www.blogger.com/profile/03004932739846901628noreply@blogger.com3tag:blogger.com,1999:blog-3722233.post-63645971521430421052020-09-14T11:16:00.003-05:002020-09-14T11:54:30.124-05:00An interesting serendipitous number<p> Last seek I blogged about two math problems of interest to me <a href="https://blog.computationalcomplexity.org/2020/09/two-math-problems-of-interest-at-least.html">here</a>.</p><p>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 <a href="https://blog.computationalcomplexity.org/2020/09/when-are-both-x23y-and-y23y-both.html">here</a>.</p><p><br /></p><p>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.</p><p><br /></p><p>it is from the paper </p><p>An interesting and serendipitous number by John Ewing and Ciprian Foias, which is a chapter in the wonderful book </p><p>Finite vs Infinite: Contributions to an eternal dilemma</p><p>Here is the story, I paraphrase the article (I'll give pointers later).</p><p>In the mid 1970's a student asked Ciprian about the following math-competition problem:</p><p>x(1)>0 x(n+1) = (1 + (1/x(n)))^n. For which x(1) does x(n) --> infinity?</p><p>It turned out this was a misprint. The actual problem was</p><p>x(1)>0 x(n+1)=(1+(1/x(n))^{x(n)}. For which x(1) does x(n) --> infinity.</p><p><br /></p><p>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. </p><p>Its approx 1.187... and may be trans.</p><p><br /></p><p>I find the story and the result interesting, but the proof is to long for a blog post.</p><p>I tried to find the article online and could not. A colleague found the following:</p><p><br /></p><p>A preview of the start of the article <a href="https://link.springer.com/chapter/10.1007/978-1-4471-0751-4_8">here</a></p><p>Wikipedia Page on the that number, called the Foias constant, <a href="https://en.wikipedia.org/wiki/Foias_constant">here</a></p><p>Mathworld page on that number <a href="https://mathworld.wolfram.com/FoiasConstant.html">here</a></p><p>Most of the article but skips two pages <a href="https://books.google.com/books?id=Bjb0BwAAQBAJ&pg=PA119&lpg=PA119&dq=serendipitous+number+John+Ewing+and+Ciprian+Foias&source=bl&ots=4tn1sk3XEA&sig=ACfU3U3GM9VtlyWxTjq302E5Uf7Tmr49Hw&hl=en&sa=X&ved=2ahUKEwiewLSF9OjrAhVkmXIEHRYEAMA4ChDoATAAegQICRAB#v=onepage&q=serendipitous%20number%20John%20Ewing%20and%20Ciprian%20Foias&f=false">here</a></p><p><br /></p><p><br /></p><p><br /></p><p><br /></p><p><br /></p>gasarchhttp://www.blogger.com/profile/03004932739846901628noreply@blogger.com3tag:blogger.com,1999:blog-3722233.post-89758266827583179372020-09-10T08:33:00.001-05:002020-09-10T15:19:45.139-05:00When are both x^2+3y and y^2+3x both squares, and a more general question<p> In my last post (see <a href="https://blog.computationalcomplexity.org/2020/09/two-math-problems-of-interest-at-least.html">here</a>) I asked two math questions. In this post I discuss one of them. (I will discuss the other one later, probably Monday Sept 14.)</p><p><br />For which positive naturals x,y are x^2+3y and y^2+3x both squares?</p><p>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 <a href="http://www.cs.umd.edu/~gasarch/BLOGPAPERS/sq3.pdf">here</a>.)</p><p>The problem raises two more general questions</p><p>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).) </p><p>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?</p><p><br /></p><p>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.</p><p><br /></p><p>Can replace squares with other sets, but lets keep it simple for now. </p>gasarchhttp://www.blogger.com/profile/03004932739846901628noreply@blogger.com6tag:blogger.com,1999:blog-3722233.post-835173496722365312020-09-06T16:05:00.001-05:002020-09-06T22:42:03.965-05:00Two Math Problems of interest (at least to me)<p> I will give two math problems that are of interest to me.</p><p>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.</p><p><br /></p><p>I will post about the answers (not sure I will post THE answers) on Thursday.</p><p><br /></p><p>1) Let x(1)>0. Let x(n+1) = ( 1 + (1/x(n)) )^n. </p><p><br /></p><p>For how many values of x(1) does this sequence go to infinity?</p><p><br /></p><p>2) Find all (x,y) \in N \times N such that x^2+3y and y^2+3x are both squares. </p><p><br /></p><p><br /></p><p><br /></p>gasarchhttp://www.blogger.com/profile/03004932739846901628noreply@blogger.com5tag:blogger.com,1999:blog-3722233.post-46472427995838980342020-09-01T10:29:00.002-05:002020-09-02T09:19:44.687-05:00A well known theorem that has not been written down- so I wrote it down- CLIQ is #P-complete<p>(The two proofs that CLIQ is #P-complete that I discuss in this blog are written up by Lance and myself and are <a href="https://www.cs.umd.edu/users/gasarch/BLOGPAPERS/sharpclique.pdf">here</a>. I think both are well known but I have not been able to find a writeup,so Lance and I did one.)</p><p><br /></p><p> I have been looking at #P (see my last blog on it it, <a href="https://blog.computationalcomplexity.org/2020/08/sharp-p-and-issue-of-natural-problems.html">here</a>, for a refresher on this topic) since I will be teaching this topic in Spring 2021. Recall</p><p>#SAT(\phi) = the number of satisfying assignments for phi</p><p>#CLIQ((G,k))= the number of cliques of size \ge k of G</p><p>#SAT is #P-complete by a cursory look at the proof of the Cook-Levin theorem.</p><p>A function is #P-complete if everything else in #P is Turing-Poly red to it. To show for some set A </p><p>in NP, #A is #P-complete one usually uses pars reductions. </p><p>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.)</p><p>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.</p><p>ONE:</p><p>I tracked some references to a paper by Janos Simon (<a href="https://link.springer.com/content/pdf/10.1007%2F3-540-08342-1_37.pdf">see here</a>) where he claims that the reduction of SAT to CLIQ by Karp <a href="{http://cgi.di.uoa.gr/~sgk/teaching/grad/handouts/karp.pdf">(see here)</a> 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.</p><p>TWO</p><p>Someone told me that it was in Valiant's paper (see <a href="https://epubs.siam.org/doi/10.1137/0208032">here</a>). 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.</p><p>THREE <br />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.</p><p><br /></p><p>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.</p><p><br /></p><p><br /></p><p><br /></p><p><br /></p><p><br /></p>gasarchhttp://www.blogger.com/profile/03004932739846901628noreply@blogger.com3tag:blogger.com,1999:blog-3722233.post-16637240765005835082020-08-23T20:40:00.001-05:002020-08-23T20:40:10.264-05:00Sharp P and the issue of `natural problems'<p> #P was defined by Valiant as a way to pin down that the PERMANENT of a matrix is hard to compute.</p><p>The definition I give is equivalent to the one Valiant gave.</p><p>g is in #P if there exists p a poly and B in P such that</p><p>g(x) = | { y : |y| = p(|x|) and (x,y) \in B } |</p><p>A function f is #P-complete if g is in #P and for all g in #P, f is poly-Turing reducible to g.</p><p>#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. </p><p>Valiant proved that PERM was #P-complete (his reduction only used 1 call to PERM).</p><p>There are problems in P whose #-version is #-P complete: Matching and DNF-SAT are two of them.</p><p>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: </p><p>SAT = { phi : exists yz 2n-bits long such that phi(y)=T and z is prime }</p><p>The # version of this definition is not really what I want (though I am sure its #P-complete).</p><p>Valiant (see <a href="https://www.math.cmu.edu/~af1p/Teaching/MCC17/Papers/enumerate.pdf">here</a> and <a href="http://www.math.cmu.edu/~af1p/Teaching/MCC17/Papers/permanent.pdf">here</a>) and Simon (see <a href="https://link.springer.com/content/pdf/10.1007%2F3-540-08342-1_37.pdf">here</a>) 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?</p><p>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. </p><p>1) Is there a natural A in NP such that #A is NOT #P-complete (under assumptions)?</p><p>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?</p><p>3) Can one PROVE there are NPC problems A such that #A is NOT #P-complete? (under assumptions).</p>gasarchhttp://www.blogger.com/profile/03004932739846901628noreply@blogger.com1tag:blogger.com,1999:blog-3722233.post-67482979216090967152020-08-17T07:35:00.002-05:002020-08-17T08:53:59.973-05:00Mathematics is not commutative In my poll of P vs NP and other issues, one of the questions was<br />
<br />
<br />
<i>Is factoring in P?</i><br />
<i><br /></i>
One of the most interesting answers was<br />
<br />
<br />
<i> I don't really see why it shouldn't be. - Peter Shor</i><br />
<i><br /></i>
Recall that Peter Shor proved Factoring is in Quantum-P which lead to intense interest in Quantum Computing.<br />
<br />
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?<br />
<br />
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.<br />
<br />
3) More generally, how much does the order of events matter for science?<br />
<br />
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.<br />
<br />
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.<br />
<br />
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?<br />
<br />d) I can imagine Ramsey's Theorem being discovered much later for some application, or perhaps never being discovered at all.<div><br /></div><div>e) VDW's theorem has so few application, I can imagine it never being discovered. </div><div><br /></div><div>4) There are cases where if A was discovered before B then B has an easy proof, whereas if B was discovered before A, then B has a hard proof. I'll give one example:</div><div><br /></div><div>Given HALT is undecidable, Godel's theorem is easy.</div><div><br /></div><div>Assume HALT is undecidable. </div><div><br /></div><div>Let STAT(e) be the statement M_e(0) does not halt.</div><div><br /></div><div>There is some e such that M_e(0) does not halt but ZFC cannot prove this.</div><div><br /></div><div>PROOF: Assume, By Way of Contradiction that for all e such that M_e(0) does not halt,</div><div>ZFC could prove this. Then HALT is DECIDABLE:</div><div><br />Given e, run M_e(0) and at the same time enumerate all proofs in ZFC. It is guaranteed that</div><div>you will either find M_e(0) halts or a proof that M_e(0) does not halt. Hence you will,</div><div>in finite time, know if M_e(0) halts OR NOT.</div><div><br /></div><div>END OF PROOF</div><div><br /></div><div>Is the sequence of events where HALT is proven undecidable before Godel's theorem plausible.</div><div>I think so</div><div><br /></div><div>I INVITE my readers to give there own examples of when Math is not commutative- meaning that</div><div>the order of events matters.</div><div>
<br /></div>GASARCHhttp://www.blogger.com/profile/03615736448441925334noreply@blogger.com7tag:blogger.com,1999:blog-3722233.post-65973014408173565982020-08-13T09:10:00.001-05:002020-08-13T09:11:51.018-05:00Simons Institute Gets Another Decade<p> <a href="https://simons.berkeley.edu/news/simons-foundation-announces-new-355-million-grant-simons-institute-theory-computing-press">Great news</a> out of the Simons Institute.</p><blockquote><p>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.</p></blockquote><p>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. </p><p>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. </p><p>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.</p><p>Even if you never make it there, the institute has a great <a href="https://www.youtube.com/user/SimonsInstitute">collection of videos</a> of its workshops, talks and celebrations. COVID-19 has driven Simons on-line but that just opens up their <a href="https://simons.berkeley.edu/workshops">workshops</a> and other events to a wider audience.</p><p>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!</p>Lance Fortnowhttp://www.blogger.com/profile/06752030912874378610noreply@blogger.com0tag:blogger.com,1999:blog-3722233.post-13618485846340426362020-08-09T20:38:00.003-05:002020-08-09T20:38:29.668-05:00Random Thoughts on the Pandemic<p> </p><p>1) Contrast the following two points and, if you have an intelligent way to fill-in-the-blank for the second one, please comment.</p><p>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.</p><p>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?</p><p>2) I have seen several approaches to large gathering, say Churchs, beach parties, motorcycle meeting etc. </p><p>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).</p><p>b) HAVE THEM but SOCIAL DISTANCE and MASKS and other precautions. And it works. I hope it works.</p><p>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 <a href="https://www.thedailybeast.com/9-people-test-positive-at-georgia-school-with-photo-of-crowded-hallway?ref=home">Here</a>.</p><p>d) HAVE THEM and ignore ALL precautions either because </p><p>i) God will protect you</p><p>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.</p><p>iii) The whole think is a Hoax. How can people still believe this?</p><p>These three may overlap.</p><p>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.</p><p>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:</p><p>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).</p><p>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.</p><p>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.</p><p>6) Trump could have even taken action in a Trumpian way:</p><p>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). </p><p>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). </p><p>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 <a href="https://www.youtube.com/watch?v=lUiDLcp_hIw">here</a> for a nice song about Dr. Fauci.)</p><p>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: <a href="https://tulsaworld.com/news/local/white-house-denies-herman-cain-contracted-covid-19-at-tulsa-trump-rally-prior-to-his/article_b0c83d3c-c3de-547e-9a5f-434b6a82ac61.html">here</a>)</p><p>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.</p><p>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. </p><p>Russia: <a href="https://www.worldometers.info/coronavirus/country/russia/">See Here</a>, number of cases going up fast.</p><p>Iran: <a href="https://www.worldometers.info/coronavirus/country/iran/">See here</a> and <a href="https://www.bbc.com/news/world-middle-east-53598965">Here</a>, number of cases going up fast.</p><p>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. </p><p><br /></p>gasarchhttp://www.blogger.com/profile/03004932739846901628noreply@blogger.com4tag:blogger.com,1999:blog-3722233.post-42901356725374906402020-08-06T13:59:00.005-05:002020-08-15T13:31:11.095-05:00Do Senators have an Advantage for being Dem VP Nominee?This is a non-partisan post. Even so: I plan to vote for Joe Biden.<div><br /></div><div>(Lance says that whenever I write `this is a non-partisan post' its partisan anyway.)</div><div><br /></div><div>I've had posts on predicting VPs before:</div><div><br /></div><div>In <a href="https://blog.computationalcomplexity.org/2019/02/using-who-will-be-dem-vp-choice-article.html">this post</a> I looked at a Nate Silver column a few months ago where they were trying to predict the democratic VP nomination <i>before the Prez nominee was know</i>n. Some of what they said seems relevant.</div><div><br /></div><div>In <a href="https://blog.computationalcomplexity.org/2008/09/i-would-be-on-intrade-that-intrade-will.html">this post</a> I PREDICTED that bets on INTRADE would not do well on picking VPs since VP picks are hard to predict and often are not from anyone's short list. I DID NOT PREDICT that INTRADE would go out of business.</div><div><br /></div><div>I came across a statistic recently that seems relevant and inspired this post. Actually this post asks IS this statistic relevant?</div><div><br /></div><div>From Prez candidate Harry Truman to Prez candidate Hillary Clinton there have been 15 Dem VP nominees (not counting incumbents) of which 13 have been Senators:</div><div><br /></div><div>Harry Truman(Prez)-Alben Barkely. Sen from Kentucky</div><div>Adlai Stevenson(Gov-Illinois) -John Sparkman. Sen from Alabama</div><div>Adlai Stevenson(Gov-Illinois)-Estes Kefauver, Sen from Tennessee </div><div>John F Kennedy(Sen-Mass)-Lyndon B Johnson, Sen from Texas</div><div>Lyndon B Johnson(Prez)-Hubert Humphrey,Sen from Minnesoda</div><div>Hubert Humphrey(VP)-Ed Muskie, Sen from Maine</div><div>George McGovern Sen-South Dakota)-Sgt Shriver Amb to France, Office of Econ Activity</div><div>Jimmy Carter(Gov Georgia)-Walter Mondale- Senator from Minnesota</div><div>Walter Mondale(Senator Minnesota)-Geraldine Ferraro Congressperson- NY</div><div>Mike Dukakis (Gov Mass), Lloyd Benson-Sen Texas</div><div>Bill Clinton(Gov Arkansas), Al Gore Sen from Tennesee</div><div>Al Gore (VP), Joe Lieberman Senator from Conn</div><div>John Kerry (Sen-Mass), John Edwards Sen from NC</div><div>Barack Obama (Sen-Illinois), Joe Biden Sen from Del</div><div>Hillary Clinton (Sen-NY), Tim Kaine- Sen Virginia</div><div><br /></div><div>Of the 15 Dem VP nominees, 13 are Senators</div><div><br /></div><div>Of the 13 Rep VP nominees, 4 are Senators <a href="http://www.cs.umd.edu/~gasarch/BLOGPAPERS/rebvp.txt">see here</a></div><div><br /></div><div>My Speculations: </div><div><br /></div><div>1) When a gov runs he wants someone with fed experience. That explains 5 of the cases above.</div><div><br /></div><div>2) Senators tend to be better known than other politicians, so perhaps being well known is what you need. Note on the Republican Side Paul Ryan was a House member but was well known.</div><div><br /></div><div>3) Why do the Reps and Dems differ on this? Is the sample size too small to make this question interesting? </div><div><br /></div><div>So here is the question: When trying to predict who the Dem VP will be (this year or any year) should being a Senator give someone a plus? A higher weight in a Neural Net? </div><div><br /></div><div>Kamala Harris is the favorite on the betting markets. Is this because she is a Senator?</div><div><br /></div><div>She has a national profile and has already been vetted since she rana serious campaign for Prez in the primaries. So I would say that THATS the reason (and other reasons), not that she is a Senator. But would she have been able to run a serious campaign in the primaries if she wasn't already a Senator? I ask non rhetorically.</div><div><br /></div><div>ADDED LATER- one of the comments inspired me to also include who the Republicans picked for VP since Truman. Much more variety in the jobs they held prior. This is neither good or bad.</div><div><br /></div><div><br /></div><div><div><br /></div><div>Thomas Dewey (Gov-NY), Earl Warren (Gov-California)</div><div><br /></div><div>Dwight Eisenhower (General), Richard Nixon (Sen-California)</div><div><br /></div><div>Richard Nixon (VP), Henry Cabot Lodge (Sen-Mass, Amb-UN)</div><div><br /></div><div>Barry Goldwater (Sen-Arizona), William Miller (Representive-NY)</div><div><br /></div><div>Richard Nixon (VP), Spiro Agnew (Gov-MD)</div><div><br /></div><div>Gerald Ford (Prez, Senator-Michigan), Bob Dole (Senator-Kansas)</div><div><br /></div><div>Ronald Reagan (Gov California), George Bush (Dir of CIA)</div><div><br /></div><div>George Bush (VP), Dan Quayle (Sen-Indiana)</div><div><br /></div><div>Bob Dole (Sen-Kansas), Jack Kemp (Representiative-NY)</div><div><br /></div><div>George W Bush (Gov-Texas), Dick Cheney (Cabinet)</div><div><br /></div><div>John McCain (Sen-Arizona), Sarah Palin (Gov-Alaska)</div><div><br /></div><div>Mitt Romney (Gov-Mass), Paul Ryan (Represenative-NY)</div><div><br /></div><div>Donald Trump (Businessman-NY), Mike Pence (Gov-Indiana)</div></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div><div><br /></div>gasarchhttp://www.blogger.com/profile/03004932739846901628noreply@blogger.com8tag:blogger.com,1999:blog-3722233.post-12333849539332528052020-08-02T21:02:00.002-05:002020-08-02T23:32:26.968-05:00The Gauss story is false yet we still tell it. Should we?<br />
When teaching discrete math a while back I told the following story which some had already heard in High School: <br />
<i><br /></i>
<i>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 </i><br />
<i><br /></i>
<i>2S = (100+1) +(99+2) + ... + (1 + 100) = 100*101</i><br />
<i><br /></i>
<i>So S = 50*101. Then he went to Google and typed in 50*101 for the answer.</i><br />
<i><br /></i>
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: <a href="https://www.cs.umd.edu/users/gasarch/BLOGPAPERS/gaussstory.pdf">here</a> Take a look at them (there are only 4 of them) before reading on.<div><br /></div><div>(ADDED LATER: here is an article by Brian Hayes that documents the history of the story.</div><div><br /></div><div><a href="http://bit-player.org/wp-content/extras/bph-publications/AmSci-2006-05-Hayes-Gauss.pdf" target="_blank">http://bit-player.org/wp-content/extras/bph-publications/AmSci-2006-05-Hayes-Gauss.pdf</a></div><div><br /></div><div>)<br />
<br />
<br />
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).<br />
<br />
One of my students emailed me this semester<br />
<br />
<i>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!</i><div><i><br /></i></div><div>I do not think this is needed. I also don't know how one goes about making a public service announcement I also suspect the teacher knew it was false but told it anyway.<div>
<br />
OKAY- what do you do if you have a nice story that has some good MATH in it but its not true?<br />
<br /><b>Options:</b></div><div><br /></div><div>Tell it and let the students think its true.</div><div><br /></div><div>Tell it and debunk it.</div><div><br /></div><div>Tell it and debunk it and tell another myth</div><div><br /></div><div>Tell it and debunk it and tell another myth and then debunk that</div><div><br /></div><div>Ask your readers what they would do. Which I do now: What do you do? <br /><br /></div></div></div>Unknownnoreply@blogger.com9tag:blogger.com,1999:blog-3722233.post-33892827066972506782020-07-26T22:18:00.001-05:002020-07-26T22:18:26.463-05:00Do computers make us more safe or less safe?Norbert Weiner wrote a paper <a href="https://www.cs.umd.edu/users/gasarch/BLOGPAPERS/moral.pdf">Some Moral and Technical Consequences of Automation</a> in 1960. It warns of the dangers of computers in two ways:<br />
<br />
1) If a chess program is only trained against expert chess players then it might get confused if its opponent makes a bad move. This is not dangerous. But imagine a nuclear missle system that assumes the opponent is rational. If the opponent is not rational then it might launch and have an accidental nuclear war. So <i>there must be a human component </i>so that this won't happen.<br />
<br />
I offer a story and a counter narrative. In the 5th season, 23rd episode of the TV show Castle,<br />
title <i>The Human Factor </i>a character had the following story to tell:<br />
<i><br />
The drone on its own was going to bomb a car. But the human noticed that there were red roses on the car, so it was a wedding couple, not a terrorist. If a human had not been involved the drone may have killed an innocent just married couple!</i><br />
<br />
This scene bothered me. It could EASILY be the other way around: the human wants to bomb and the drone (which has better vision) notices the roses. Or there may be many other ways that a computer could be BETTER than a human. I am not saying that a completely automated system is better, I am saying that its not obvious which way to go. Both in some combination? What combination? Who has the final say? And in the drone scenario there may not be time for a human to consider the options.<br />
<br />
2) The Sorcerer's apprentice scenario. In The Sorcerer's Apprentice segment of the (original) movie Fantasia, Mickey mouse tells a broom to get him a glass of water. The broom keeps bringing him water and Mickey almost drowns. Computers may take orders to literally and not stop. I wonder if automated stock-trading and automated auctions may have this problem. Is there a case known where this really did cause a problem?<div><br /></div><div>So what do you think?</div><div><br /></div><div>NOW- do computers (or, more generally technology) make us more safe or less safe?</div><div><br /></div><div>FUTURE- same question.</div>GASARCHhttp://www.blogger.com/profile/03615736448441925334noreply@blogger.com4tag:blogger.com,1999:blog-3722233.post-80817735242203931042020-07-24T11:21:00.000-05:002020-07-24T11:23:39.872-05:00Virtual ComplexityThe <a href="https://computationalcomplexity.org/Archive/2020/fullsite/">Complexity Complexity Conference</a>, the conference that shares its name and URL with this blog, originally scheduled for Saarbrücken will be held virtually next week. Registration is free for non-authors. <a href="https://www.youtube.com/channel/UCXgNLnzWOP4bM2-xfHDHUrw">Talks</a> are already posted. Looking forward to seeing you at the business meeting and the social.<br />
<div>
<br /></div>
<div>
<div>
Award winners have already been announced: The Best Student Paper Award goes to Rahul Ilango for <a href="https://drops.dagstuhl.de/opus/volltexte/2020/12583/">Connecting Perebor Conjectures: Towards a Search to Decision Reduction for Minimizing Formulas</a> and the Best Paper Award goes to Daniel Dadush and Samarth Tiwari for <a href="https://drops.dagstuhl.de/opus/volltexte/2020/12586/">On the Complexity of Branching Proofs</a>.</div>
</div>
<div>
<br /></div>
<div>
Virtual conferences give an opportunity for far more people to attend since you don't have the expense and time needed to go to Germany. On the other hand it's hard to dedicate time for a conference when you aren't there. I missed STOC which would have been walking distance from where I live but I did attend parts of the <a href="http://ec20.sigecom.org/">Economics and Computation</a> conference which was supposed to be in Budapest. EC made great use of <a href="http://gather.town/">gather.town</a> where you can wander around virtual rooms bumping into and talking to people. I caught up with a few people there. Complexity plans to use gather for its social meeting next week. Looking forward to the virtual beer.</div>
Lance Fortnowhttp://www.blogger.com/profile/06752030912874378610noreply@blogger.com0tag:blogger.com,1999:blog-3722233.post-24185814401139746152020-07-19T14:12:00.001-05:002020-07-20T16:26:04.931-05:00Erdos-Turan for k=3 is True! (All of the math in this post is summarized (without proofs) in a writeup by Erik Metz and myself which you can find <a href="https://www.cs.umd.edu/users/gasarch/BLOGPAPERS/3apblog.pdf">here</a>. It is a pdf file so you can click on links in it to get to the papers it refers to. There have been posts on this topic by <a href="https://gilkalai.wordpress.com/2020/07/08/to-cheer-you-up-in-difficult-times-7-bloom-and-sisask-just-broke-the-logarithm-barrier-for-roths-theorem/">Gil Kalai</a> and <a href="https://lucatrevisan.wordpress.com/2020/07/08/silver-linings/">Luca Trevisan</a>. If you know of others then let me know so I can add them to this post.)<br />
<br />
<br />
<br />
This is a sequel to <a href="https://blog.computationalcomplexity.org/2010/12/breakthrough-result-on-density-and-3.html">A BREAKTHROUGH result on density and 3-AP's</a> and <a href="https://blog.computationalcomplexity.org/2017/06/big-news-on-w3r.html">Big news on W(3,r)!</a><br />
<br />
For this post N is large, and all inequalites have a big-O or a big-Omega.<br />
<br />
For this post [N] is {1,...,N}<br />
<br />
Let<br />
<br />
r(N) be the least w such that if A is a subset of [N] and |A| > w, then A has a 3-AP.<br />
<br />
There has been a long sequence of results getting smaller and smaller upper bounds on r(N).<br />
<br />
The motivation for getting these results is that if r(N) is < N/(log N)^{1+\delta} with delta>0 then the following holds:<br />
<br />
If sum_{x\in A} 1/x diverges then A has a 3-AP.<br />
<br />
This is the k=3 case of one of the Erdos-Turan Conjectures.<br />
<br />
Bloom and Sisack HAVE gotten N/(log N)^{1+delta} so they HAVE gotten ET k=3. Wow!<br />
<br />
1) I am NOT surprised that its true.<br />
<br />
2) I am SHOCKED and DELIGHTED that it was proven. Shocked because the results leading up to it (see the write up referenced at the beginning of this post) seemed Zeno-like, approaching the result needed got but not getting there. Delighted because... uh, as the kids say, just cause.<br />
<br />
I've heard that k=4 really is much harder (see my comments and Gil's response on his blog post, pointed to at the beginning of this post) and it is true that there has been far less progress on that case (the write up I pointed to at the beginning of this post says what is known). Hence I will again be <i>shocked </i>if it is proven. So, unlike The Who (see <a href="https://www.youtube.com/watch?v=UDfAdHBtK_Q">here</a>) I CAN be fooled again. That's okay--- I will be <i>delighted</i>. (ADDED LATER- there are more comments no Gil's website, from Thomas Bloom and Ben Green about what is likely to happen in the next 10 years.)<br />
<br />
Erdos offered a prize of $3000 for a proof that A has, for all k, a k-AP. The prize is now $5000. After Erdos passed away Ronald Graham became the Erdos-Bank and paid out the money when people solved a problem Erdos put a bounty on. What happens now? (If I have the facts wrong and/or if you know the answer, please leave a polite and enlightening comment.)<br />
<br />
<br />
<br />
<br />
<br />
<br />gasarchhttp://www.blogger.com/profile/03004932739846901628noreply@blogger.com3tag:blogger.com,1999:blog-3722233.post-1275363278376476632020-07-12T15:18:00.000-05:002020-07-12T15:18:51.310-05:00Ronald Graham: A summary of blog Posts We had about his workTo Honor Ronald Graham I summarize the blog posts we had about his work.<br />
<br />
1) Blog post <a href="https://blog.computationalcomplexity.org/2016/05/new-ramsey-result-that-will-be-hard-to.html">New Ramsey Result that will be hard to verify but Ronald Graham thinks its right which is good enough for me</a>.<br />
<br />
Wikipedia (see <a href="https://en.wikipedia.org/wiki/Boolean_Pythagorean_triples_problem">here</a>) says that in the early 1980's (can't Wikipedia be more precise than that?) Ronald Graham conjectured the following:<br />
<br />
For all 2-colorings of N, there exists x,y,z all the same color such that (x,y,z) form a Pythagorean triple.<br />
<br />
I cannot imagine he did not also conjecture this to be true for all finite colorings.<br />
<br />
I suspect that when he conjectured it, the outcomes thought to be likely were:<br />
<br />
a) A purely combinatorial (my spell check says that combinatorial is not a word. Really? It gets 14,000,000 hits) proof. Perhaps a difficult one. (I think Szemeredi's proof of his density theorem is a rather difficult but purely combinatorial proof).<br />
<br />
b) A proof that uses advanced mathematics, like Roth's proof of the k=3 case of Sz-density, or Furstenberg's proof of Sz theorem.<br />
<br />
c) The question stays open though with some progress over the years, like R(5).<br />
<br />
What actually happened was<br />
<br />
d) A SAT Solver solves it AND gets exact bounds:<br />
<br />
For all 2-colorings of {1,...,7285} there is a mono Pythag triple.<br />
<br />
There exists a 2-coloring of {1,...,7284} with no mono Pythag triple.<br />
<br />
I wonder if this would have been guessed as the outcome back in the early 1980's.<br />
<br />
-------------------------------------------------------------------------------<br />
2) Blog Post <a href="https://blog.computationalcomplexity.org/2019/05/ronald-grahams-other-large-number-well.html">Ronald Graham's Other Large Number- well it was large in 1964 anyway</a><br />
<br />
Let<br />
<br />
a(n) = a(n-1) + a(n-2)<br />
<br />
I have not given a(0) and a(1). Does there exists rel prime values of a(0) and a(1) such that for all n, a(n) is composite.<br />
<br />
In 1964 Ronald Graham showed yes, though the numbers he found (with the help of 1964-style computing) were<br />
<br />
a(0) = 1786772701928802632268715130455793<br />
<br />
a(1) = 2059683225053915111058164141686995<br />
<br />
I suspect it is open to get smaller numbers, though I do not know.<br />
<br />
<br />
------------------------------------------------------------------------------<br />
3) Blog Post <a href="https://blog.computationalcomplexity.org/2011/12/solution-to-reciprocals-problem.html">Solution to the reciprocals problem</a><br />
<br />
Prove or disprove that there exists 10 natural numbers a,...,j such that<br />
<br />
2011= a+ ... + j<br />
1 = 1/a + ... + 1/j<br />
<br />
I had pondered putting this on a HS math competition in 2011; however, the committee thought it was too hard. I blogged on the problem asking for solutions, seeing if there was one that a HS student could have gotten. The following post (this one) gave those solutions. My conclusion is that it could have been put on the competition, but its a close call.<br />
<br />
All of the answers submitted had some number repeated.<br />
<br />
So I wondered if there was a way to do this with distinct a,...,j.<br />
<br />
I was told about Ronald Grahams result:<br />
<br />
For all n at least 78, n can be written as the sum of DISTINCT naturals, where the sum of<br />
the reciprocals is 1.<br />
<br />
This is tight: 77 cannot be so written.<br />
<br />
Comment on that blog DID include solutions to my original problem with all distinct numbers<br />
<br />
----------------------------------------------------------------------<br />
4) Blog Post <a href="https://blog.computationalcomplexity.org/2013/04/a-nice-case-of-interdisciplinary.html">A nice case of interdisplanary research</a> tells the story of how the study of history lead to R(5) being determined (see <a href="http://www.cs.umd.edu/~gasarch/BLOGPAPERS/ramseykings.pdf">here</a> for the actual paper on the subject). One of the main players in the story is the mathematician<br />
<br />
Alma Grand-Rho.<br />
<br />
Note that this is an anagram of<br />
<br />
Ronald Graham.<br />
<br />
What is the probability that two mathematicians have names that are anagrams. I suspect very small. However, see <a href="https://blog.computationalcomplexity.org/2013/04/post-mortem-on-april-fools-day-joke.html">this</a> blog post to see why the probability is not as small as it might be.<br />
<br />
-----------------------------------------------------------------------<br />
5) Blog Post <a href="https://blog.computationalcomplexity.org/search?q=Meme">Winner of Ramsey Meme Contest</a> This post didn't mention Ronald Graham; however I think he would have liked it.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />gasarchhttp://www.blogger.com/profile/03004932739846901628noreply@blogger.com2tag:blogger.com,1999:blog-3722233.post-7139018079457930952020-07-09T10:57:00.000-05:002020-07-09T10:57:23.778-05:00Reflections on Ronald Graham by Steve Butler<div>
<i>Ronald Graham passed away on July 6 at the age of 84. We present reflections on Ronald Graham by </i><i>Steve Butler.</i></div>
<div>
<i><br /></i></div>
<hr />
<div>
<br /></div>
<div>
Getting to work with Ron Graham</div>
<div>
<br /></div>
<div>
Ron Graham has helped transform the mathematics community and in particular been a leader in discrete mathematics for more than 50 years. It is impossible to fully appreciate the breadth of his work in one sitting, and I will not try to do so here. Ron has put his papers online and made them <a href="http://www.math.ucsd.edu/~ronspubs/">freely available</a>, a valuable treasure; and there are still many a hidden gem inside of these papers that are waiting to be picked up, polished, and pushed further.</div>
<div>
<br /></div>
<div>
I want to share about how I got to know and work with Ron. To be fair I knew about Ron long before I ever knew Ron. He was that rare pop-star mathematician who had managed to reach out and become visible outside of the mathematical community. And so as a teenager I read about Ron in a book about Erdos. I thought to myself that this guy sounds really cool and someday I might even get to see him give a talk (if I was lucky).</div>
<div>
<br /></div>
<div>
I went to UC San Diego for graduate school and after a series of near-misses ended up studying under Fan Chung. I passed Ron in the stairwell once, and then also helped them move some furniture between their two adjoining homes (graduate students are great for manual labor). But I became determined to try and find a way to start a conversation with Ron and maybe work up to working on a problem. So I took the usual route: I erased the chalkboards for him.</div>
<div>
<br /></div>
<div>
Before his class on discrete mathematics would start, I would come in and clean the chalkboards making them pristine. It also gave me time to occasionally engage in some idle chat, and he mentioned that his papers list was far from complete. I jumped on it and got to work right away and put his papers online and have been maintaining that list for the last fifteen years. This turned out to be no small feat and required about six months of work. Many papers had no previous online version, and there were even a few papers that Ron had written that he had forgotten about! But this gave me a reason to come to Ron and talk with him about his various papers and then he would mention some problems he was working on with others and where they were stuck and thought I might give them a try.</div>
<div>
<br /></div>
<div>
So I started to work on these problems and started to make progress. And Ron saw what I was able to do and would send me more problems that fit my abilities and interests, and I would come back and show him partial solutions, or computations, and then he would often times fill in the gaps. He was fun to work with, because we almost always made progress; even when we didn't make progress we still understood things more fully. Little by little our publications (and friendship) grew and we now have 25+ joint publications, and one more book that will be coming out in the next few years about the enumerating juggling patterns.</div>
<div>
<br /></div>
<div>
After all of that though, I discovered something. I could have just gone to Ron's door and knocked and he would have talked to me, and given me problems (though our friendship would not become so deep if I had chosen the forthright method). But almost no graduate students in math were brave enough to do it; they were scared off by his reputation. As a consequence, Ron had far fewer math graduate students than you would expect. (To any math graduate student out there, don't let fear stop you from talking with professors; many of them are much nicer than you think, and the ones that are not nice are probably not that great to work with.)</div>
<div>
<br /></div>
<div>
So one of the most important lessons I learned from Ron was the importance of kindness. Ron was generous and kind to everyone (and I really stress the word everyone) that he met. It didn't matter what walk of life you were in, what age you were, or what level of math (if any) that you knew, he was kind and willing to share his time and talents. He always had something in reach in his bag or pocket that he could pull out and show someone and give them an unexpected sense of wonder.</div>
<div>
<br /></div>
<div>
Richard Hamming <a href="https://www.cs.virginia.edu/~robins/YouAndYourResearch.html">once said</a> "you can be a nice guy or you can be a great scientist", the implication being that you cannot do both. Ron showed that you can be a nice guy and a great scientist. And I believe that a significant portion of his success is owed to his being kind; all of us should learn from his examples and show more kindness towards others.</div>
<div>
<br /></div>
<div>
This is only one of many lessons I learned from Ron. Another thing I learned from Ron is the importance of data. I have seen multiple times when we would work on a problem and generate data resulting in what I thought were hopeless numbers to understand. But Ron looked at that same data and with a short bit of trial and error was able to make a guess of what the general form was. And almost inevitably he would be right! One way that Ron could do this was to start by factoring the values, and if all the prime factors were small he could guess that the expression was some combination of factorials and powers and then start to play with expressions until things worked out. Even when I knew what he did, I still am amazed that he was able to do it.</div>
<div>
<br /></div>
<div>
I will miss Ron, I will never have a collaboration as deep, as meaningful, and as personal. I am better for having worked with him, and learning from him about how to be a better mathematician and a better person.</div>
<div>
<br /></div>
<div>
Thank you, Ron.</div>
gasarchhttp://www.blogger.com/profile/03004932739846901628noreply@blogger.com3tag:blogger.com,1999:blog-3722233.post-32706217847972895812020-07-05T21:19:00.000-05:002020-07-05T21:19:09.254-05:00A table for Matrix Mortality- what I wanted for Hilbert's 10th problemIn <a href="https://blog.computationalcomplexity.org/2020/05/why-is-there-no-dn-grid-for-hilberts.html">this post</a> I speculated on why I could not find anywhere a table of which cases of Hilbert's 10th problem were solvable, unsolvable, and unknown. (I then made such a table. It was very clunky, which may answer the question.)<br />
<br />
I told my formal lang theory class about Hilbert's 10th problem as a natural example of an undecidable question- that is, an example that had nothing to do with Turing Machines. On the final I asked<br />
<br />
<i>Give an example of an undecidable problem that has nothing to do with Turing Machines.</i><br />
<br />
Because of the pandemic this was a 2-day take home final which was open-book, open-notes, open-web. So they could have looked at my slides.<br />
<br />
And indeed, most of them did give Hilbert's 10 problem (more formally, the set of all polynomials in many vars over Z which have a Diophantine solution).<br />
<br />
But some did not. Some said there could never be such a problem (this is an incorrect answer), Some were incoherent. One just wrote ``Kruskal Trees'' (not sure if he was referring to MSTs or WQOs or to something that Clyde Kruskal did in class one day).<br />
<br />
One student said that the problem of, given a CFG G, is the complement of L(G) also CFG.<br />
This is indeed undecidable and does not have to do with TMs. I doubt the student could have proven that. I doubt I could have proven that. I do not doubt that my advisor Harry Lewis could have proven that, and indeed I emailed him asking for a proof and he emailed me a sketch, which I wrote out in more detail <a href="https://www.cs.umd.edu/users/gasarch/COURSES/452/S20/notes/undcfg.pdf">here</a>.<br />
<br />
The most interesting answer was given by some students who apparently looked at the web (rather than at my slides) for lists of problems and found the following called Matrix Mortality:<br />
<br />
{ (M_1,...,M_L) : such that some product of these matrices (you are allowed to use a matrix many times) is the 0 matrix}<br />
<br />
Why was this the most interesting? The TA did not know this problem was undecidable until he saw it on the exams and looked it up. I did not know it was undecidable until my TA told me.<br />
<br />
I then raised the question: How many matrices to you need and how big do their dimensions have to be?<br />
<br />
Unlike H10, there IS a table of this. In <a href="https://arxiv.org/abs/1404.0644">this paper</a> they have such a table. I state some results:<br />
<br />
Undecidable:<br />
6 matrices, 3x3<br />
4 matrices, 5x5<br />
3 matrices 9x9<br />
2 matrices 15x15<br />
<br />
Decidable<br />
2 matrices 2x2<br />
<br />
So there are some gaps to fill, but there is not the vast gulf that exists between dec and undec for Hilberts 10th problem. I also note that the paper was about UNDEC but mentioned the DEC results, where as the papers on H10 about UNDEC seem to never mention the DEC.<br />
<br />
I am glad to know another natural Undec problem and I will likely tell my students about it next spring. And much like H10, I won't be proving it.<br />
<br />
An open problem in education: how come some of my students got it wrong? gave an answer that was not in my notes or slides? One student told me it was easier to google<br />
<br />
<i>Natural Undecidable Questions</i><br />
<br />
then look through my slides. Another one said:<br />
<br />
<i>In class you said `this is a natural undecidable problem'.</i><br />
<i><br /></i>
<i>On the exam you said `a problem that does not mention Turing Machines'</i><br />
<i><br /></i>
<i>I did not know they were the same. </i><br />
<br />
That student submitted the Matrix problem stated above. It IS a fair point that `natural' is an<br />
undefined term. But the problem on the final used the well defined concept `does not mention Turing Machines'<br />
<br />
<br />
<br />
<br />
<br />
<br />GASARCHhttp://www.blogger.com/profile/03615736448441925334noreply@blogger.com6tag:blogger.com,1999:blog-3722233.post-77612351404811535042020-06-29T15:36:00.005-05:002020-06-29T15:36:34.607-05:00Can you name a famous living Chemist? Can anyone?<br />
I was re-watching the Greatest-of-all-time Jeopardy championship and the following happen (I paraphrase)<br />
<br />
----------------------<br />
Alex Trebek: The category is Chemistry and we have a special guest reading the clues.<br />
<br />
Darling: I wonder who that will be.<br />
<br />
Bill: Hmm. I assume some famous chemist.<br />
------------------------<br />
<br />
So who was it? Bryan Cranston, the actor who PLAYED chemist Walter White on <i>Breaking Bad.</i><br />
<br />
Why couldn't they get a famous living chemist to read the clues?<br />
<br />
My guess: there are no famous living chemists.<br />
<br />
The number of famous living scientists is fairly short and they are often known for things that are not quite their science. Some are famous because the popularize science (deGrasse Tyson, Dawkins) or because of something unusual about their life (Hawkings when he was alive) or for something else entirely that they did (Ted Kaczynski). Are any famous for the actual work that they do in the science?<br />
<br />
Andrew Wiles was famous for a brief time, and even made People Magazine's <i>25 most intriguing people of the year</i> list in the early 1990's (after he solved Fermat's Last Theorem). So he was famous but it was short lived.<br />
<br />
Terry Tao was on the Colbert Report (see <a href="http://www.cc.com/video-clips/6wtwlg/the-colbert-report-terence-tao">here</a>) after he won the Fields Medal, the MacAuthor Genius award, and the Breakthrough prize. And even that fame was short lived.<br />
<br />
I looked at the web page of Nobel Prize winners, <a href="https://www.nobelprize.org/prizes/lists/all-nobel-prizes">here</a>.<br />
<br />
The only Chemistry Nobel's I recognized were Marie Curie, Irene Joilet-Curie (Marie's Daughter), and Erst Rutherford.<br />
<br />
The only Physics Nobel's I recognized were<br />
<br />
Richard Feynman,<br />
<br />
Eugene Wigner (for writing about <a href="https://www.dartmouth.edu/~matc/MathDrama/reading/Wigner.html">The unreasonable effectiveness of mathematics in the natural sciences</a>),<br />
<br />
Richard Hofstadter (since he was the father of Douglas H and an uncle of Leonard H)<br />
<br />
Andrew Geim (since he won both an Ig-Noble prize and a Nobel prize, see <a href="https://blog.computationalcomplexity.org/2010/10/noble-and-ig-noble-prizes.html">here</a>)<br />
<br />
Wolfgang Pauli (I've heard the term `Pauli Principle" though I did not know what it was until I looked it up while preparing this blog. I prob still don't really know what it means.)<br />
<br />
Enrico Fermi<br />
<br />
Erwin Schrodinger<br />
<br />
Paul Dirac<br />
<br />
Robert Millikan<br />
<br />
Albert Einstein<br />
<br />
Max Karl Ernest Ludwig Planck (I thought his last name was `Institute')<br />
<br />
Johannes Diderik van der Waals<br />
<br />
Pierre Curie<br />
<br />
Marie Curie<br />
<br />
<br />
So, some questions:<br />
<br />
a) Am I wrong? Are there famous living chemists I never heard of? Are there any famous living scientists who are famous for their work in science?<br />
<br />
b) If I am right then was there ever a time when there were famous scientists?<br />
<br />
c) If there was such a time, what changed?<br />
<br />
(I ask all of this non-rhetorically and with no agenda to push.)<br />
<br />
<br />
<br />
<br />
<br />GASARCHhttp://www.blogger.com/profile/03615736448441925334noreply@blogger.com15tag:blogger.com,1999:blog-3722233.post-50752426325287071402020-06-22T00:15:00.000-05:002020-06-22T00:15:12.979-05:00Winner of Ramsey Meme ContestMy REU program had a Ramsey Meme Contest.<br />
<br />
The winner was Saadiq Shaik with this entry:<br />
<br />
<a href="https://www.cs.umd.edu/users/gasarch/BLOGPAPERS/idont.jpg">I Don't Always...</a><br />
<br />
I challenge my readers to come up with other Ramsey Memes! or Complexity Memes! or point me to some that are already out there.<br />
<br />
<br />
<br />
<br />GASARCHhttp://www.blogger.com/profile/03615736448441925334noreply@blogger.com2tag:blogger.com,1999:blog-3722233.post-58349884416225000072020-06-18T08:57:00.000-05:002020-06-18T08:57:05.589-05:00On Chain Letters and Pandemics<div><i>Guest post by Varsha Dani.</i></div><div><br /></div><div>My 11-year-old child received a letter in the mail. "Send a book to the first person named," it said, "then move everyone's name up the list, add your own name and send copies of the letter to six friends. In a few weeks you will receive 36 books from all over the world!". Wow. When I first encountered chain letters in the mid eighties, it was postcards, but even then it hadn't taken me in. Since then I hadn't seen one of these in a long time, but I guess with a lot of people suddenly at home for extended periods, people crave both entertainment and a connection to others. </div><div><br /></div><div>What's wrong with chain letters? Well quite apart from the fact that they are illegal, even a child can comprehend that the number of books (or postcards or other gifts) received must equal the number sent, and that for every participant who does get a rich reward, there will be many who get nothing. </div><div><br /></div><div>But there is another kind of chain communication going around. It is an email, asking the recipient to send a poem or meditation to somebody, and later they will receive many communications of the same sort. How endearing. Poetry. Sweetness and Light. No get-rich-quick pyramid schemes here. What's wrong with that? </div><div><br /></div><div>Of course, it depends on what one means by "wrong". Maybe you like exchanging poetry with strangers. Maybe you don't find it onerous or wish that your spam filter would weed it out. But let's leave aside those issues and look at the math alone. You send the email to two friends, each of whom forwards it to two of their friends and so on. So the number of people the email reaches ostensibly doubles every step. Exponential growth. But in fact that is not what the graph of human connections looks like. Instead, what happens is that the sets of friends overlap, so that after a while the growth stops being exponential and tapers down. </div><div><br /></div><div>Where else have we seen something like that? Oh, right. The pandemic. The virus jumps from infected people to the people they meet, and from them to the people they meet and so on. Initially, that's exponential growth fof new cases, but after a while it tapers off, forms a peak and then starts to decrease. Why? Because eventually there is overlap in the sets of people that each infected person is "trying" (unintentionally) to infect, and a newly infected person who got the virus from one or many previously infected people is still just one newly infected person. </div><div><br /></div><div>So the chain letter spreads just like a virus. Indeed if one were to, somewhat fancifully, think of the chain letter as an independent entity whose goal is to self-replicate, then it looks even more like a virus, and, like a virus, it can only achieve its self-replication goal through the help of a host. But here's a way in which it is not like a virus. Once one has got the virus and recovered, one (hopefully) does not get it again. Not so the chain letter, of which one may get many copies over time! So maybe you will get some gifts or poetry, but you will likely also get more requests for them!</div><div><br /></div><div>So what's wrong with the poetry chain email? It depends on your perspective. To those of you who are wistfully waiting for that Poem from a Stranger, I dedicate the following to you.</div><div><br /></div><hr /><div><br /></div><div><i>An open letter to my 2<sup>n</sup> dearest friends:</i></div><div><br /></div><div>A letter came for me today</div><div>It promised wondrous ends</div><div>If only I would forward it </div><div>To just two other friends.</div><div><br /></div><div>If they in turn should send it on</div><div>to two more that they know,</div><div>the goodwill that we're sending out</div><div>would grow and grow and grow.</div><div><br /></div><div>Is this as pleasant as it seems?</div><div>Alas, dear friends, it's not.</div><div>This exponential growth can lead</div><div>To quite a sticky spot.</div><div><br /></div><div>Friends of friends of friends of mine</div><div>May very well be linked</div><div>The further that the letters go.</div><div>These folks are not distinct!</div><div><br /></div><div>Ensuring there's no overlap</div><div>Is a logistic* pain.</div><div>As you will see, when you receive</div><div>That letter yet again. </div><div><br /></div><div>So while you're stuck at home this year</div><div>And pacing in your room.</div><div>Pick up the phone and make a call</div><div>Or see your friends on Zoom.</div><div><br /></div><div>Your real thoughts would make me smile.</div><div>Chain letters are a con.</div><div>Do everyone a favor and</div><div>Don't send that letter on!</div><div><br /></div><div>--------------</div><div>* Pun intended. <a href="https://en.wikipedia.org/wiki/Logistic_function#In_medicine:_modeling_of_a_pandemic">https://en.wikipedia.org/wiki/Logistic_function#In_medicine:_modeling_of_a_pandemic</a></div><div><br /></div><div><br /></div>Lance Fortnowhttp://www.blogger.com/profile/06752030912874378610noreply@blogger.com0tag:blogger.com,1999:blog-3722233.post-35233098895723898232020-06-15T10:17:00.000-05:002020-06-15T10:17:52.344-05:00Presentations of Diffie-Helman leave out how to find gWhen I first taught Diffie Helman I read the following<br />
1) Alice and Bob agree on p a prime and g a generator<br />
2) Alice picks a, sends g^a to Bob, Bob picks b, sends g^b to Alice<br />
3) Alice computes (g^b)^a and Bob computes (g^a)^b so they both have g^{ab}<br />
<br />
I knew how to find a prime- pick a number of length n (perhaps make sure the last digit is not even) and test for primality, if not then try again, you'll get one soon enough. I did not know how to find g. I had thought you<i> first </i>find p, and<i> then</i> given p you find g. I then figured out that you make actually pick p to be a <i>safe prime</i>, so q=(p-1)/2 is a prime, and then just pick random g and test them via computing g^2 and g^q: if neither is 1 then g is a generator. You will find a generator soon enough.<br />
<br />
That was all fine. But how come my source didn't <i>say </i>how to find g.?You need to know that to run the algorithm. That was years ago. Then I wondered how common it is for an explanation to not say how to find g. So I Googled ``Diffie-Helman'' I only record those that had some technical content to them, and were not about other DH such as Elliptic Curves.<br />
<br />
0) <a href="http://www.cs.jhu.edu/~rubin/courses/sp03/papers/diffie.hellman.pdf">The Original DH paper</a> Page 34:<i> alpha is a fixed primitive element of GF(alpha)</i>. No mention of how to find either the prime q or the prim root alpha.<br />
<br />
1) <a href="https://en.wikipedia.org/wiki/Diffie%E2%80%93Hellman_key_exchange">Wikiepdia</a>: ... <i>protocol uses the mult group of integers mod p, where p is a prime and g is a prim</i> <i>root mod p</i>. NO mention of how they find p or g.<br />
<br />
2) <a href="https://mathworld.wolfram.com/Diffie-HellmanProtocol.html">Wolfram's MathWorld</a>:<i> They agree on two prime numbers g and p, where p is large and g is a prim root mod p. In practice it is good to choose p such that (p-1)/2 is also prime. </i>They mention (p-1)/2 but not for the reason I give. (There are algorithms for Discrete Log that do well if (p-1)/2 has many factors.)<br />
<br />
3) <a href="https://www.comparitech.com/blog/information-security/diffie-hellman-key-exchange/">Comparatech</a>: <i>Alice and Bob start out by deciding two numbers p and g.</i> No mention of how to find p or g.<br />
<br />
4) <a href="https://searchsecurity.techtarget.com/definition/Diffie-Hellman-key-exchange">Searchsecurity</a> Won't bother quoting, but more of the same, no mention of how to find p or g.<br />
<br />
5) <a href="https://doubleoctopus.com/security-wiki/encryption-and-cryptography/diffie-hellman-algorithm/">The Secret Security Wiki</a> <i>Alice and Bob agree on p and g</i>.<br />
<br />
6) <a href="https://www.sciencedirect.com/topics/computer-science/diffie-hellman">Science Direct</a> More of the same.<br />
<br />
7) <a href="https://www.math.ucla.edu/~baker/40/handouts/rev_DH/node1.html">Notes from a UCLA Crypto Course</a> YEAH! They say how to find g.<br />
<br />
8) <a href="https://brilliant.org/wiki/diffie-hellman-protocol/">Brilliant (yes that really is the name of this site)</a> Brilliant? Not brilliant enough to realize you need to say how to find p and g.<br />
<br />
9) <a href="https://wiki.openssl.org/index.php/Diffie_Hellman">OpenSSL</a> Hard to tell. Their intuitive explanation leaves it out, but they have details below and code that might have it.<br />
<br />
<br />
I looked at a few more but it was the same story.<br />
<br />
This is NOT a RANT or even a complaint, but its a question:<br />
<br />
<b>Why do so few expositions of DH mention how to find p,g? You really need to do that if you really want to DO DH.</b><br />
<b><br /></b>
Speculation<br />
<br />
1) Some of the above are for the laymen and hence can not get into that. But some are not.<br />
<br />
2) Some of them are for advanced audiences who would know how to do it. Even so, how to find the generator really needs to be mentioned.<br />
<br />
3) Goldilocks: Some papers are for the layman who would not notice the gap, and some papers are for the expert who can fill in the gap themselves, so no paper in between. I do not believe that.<br />
<br />
4) The oddest of the above is that the original paper did not say how to find g.<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />GASARCHhttp://www.blogger.com/profile/03615736448441925334noreply@blogger.com10tag:blogger.com,1999:blog-3722233.post-90464210528198759872020-06-08T10:03:00.002-05:002020-06-08T10:03:43.456-05:00The Committee for the Adv. of TCS- workshop coming up SOON!<span id="docs-internal-guid-06a8f4c9-7fff-916b-0154-0d4b08969907"></span><br />
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span id="docs-internal-guid-06a8f4c9-7fff-916b-0154-0d4b08969907"><span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">(Posted by request from Jelani Nelson.)</span></span></div>
<span id="docs-internal-guid-06a8f4c9-7fff-916b-0154-0d4b08969907"><br /><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">The Committee for the Advancement of Theoretical Computer Science (CATCS)</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">is organizing a Visioning workshop. The primary objective of the workshop</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">is for TCS participants to brainstorm directions and talking points for TCS</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">program managers at funding agencies to advocate for theory funding.</span></div>
<br /><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">There was some question of whether or not it would run this summer, but</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">YES, it is going to run.</span></div>
<br /><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">If you are interested then reply (at the link below) by June 15.</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">This is SOON so click that link SOON.</span></div>
<br /><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">The time commitment is 4-5 hours during the week of July 20-July 24 for</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">most participants, or roughly 10 hours for those who are willing to</span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">volunteer to be group leaders.</span></div>
<br /><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;">The link to sign up is:</span></div>
<br /><div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<span style="font-family: "arial"; font-size: 11pt; vertical-align: baseline; white-space: pre-wrap;"><a href="https://thmatters.wordpress.com/2020/06/05/tcs-visioning-workshop-call-for-participation/">https://thmatters.wordpress.com/2020/06/05/tcs-visioning-workshop-call-for-participation/</a></span></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<br /></div>
<div dir="ltr" style="line-height: 1.38; margin-bottom: 0pt; margin-top: 0pt;">
<br /></div>
</span>GASARCHhttp://www.blogger.com/profile/03615736448441925334noreply@blogger.com0tag:blogger.com,1999:blog-3722233.post-66969391802993526242020-06-02T23:55:00.000-05:002020-06-02T23:55:35.898-05:00How to handle grades during the PandemicIn March many Colleges sent students home and the rest of the semester was online. This was quite disruptive for the students. Schools, quite reasonably, wanted to make it less traumatic for students.<br />
<br />
So what to do about grades? There are two issues. I state the options I have heard.<br />
<br />
<br />
ISSUE ONE If P/F How to Got About it?<br />
<br />
1) Grade as usual.<br />
<br />
2) Make all classes P/F.<br />
<br />
PRO: Much less pressure on students.<br />
<br />
CON: Might be demoralizing for the good students.<br />
<br />
3) Make all classes P/F but allow students to opt for letter grades BUT they must decide before the last day of class. Hence teachers must post cutoffs before the final is graded<br />
<br />
CON: Complicated and puts (a) teachers in an awkward position of having to post cutoffs before the final, and (b) puts students in an awkward position of having to predict how well they would do.<br />
<br />
CON: A student can blow off a final knowing they will still get a D (passing) in the course.<br />
<br />
PRO: Good students can still get their A's<br />
<br />
CAVEAT: A transcript might look very strange. Say I was looking at a graduate school applicant and I see<br />
<br />
Operating Systems: A<br />
<br />
Theory of Computation: P<br />
<br />
I would likely assume that the Theory course the student got a C. And that might be unfair.<br />
<br />
3) Make all classes P/F but allow students to opt for letter grades AFTER seeing their letter grades. <br />
<br />
PRO: Less complicated an awkard<br />
<br />
PRO: A students blah blah<br />
<br />
CAVEAT above still applies.<br />
<br />
ISSUE TWO If P/F what about a D in the major<br />
<br />
At UMCP COMP SCI (and I expect other depts)<br />
<br />
a D is a passing grade for the University<br />
<br />
but<br />
<br />
a D is not a passing grade for the Major.<br />
<br />
So if a s CS Major gets a D in Discrete Math that does not count for the major--- they have to take it over again.<br />
<br />
But if classes are P/F what do do about that.<br />
<br />
Options<br />
<br />
1) Students have to take classes in their major for a letter grade.<br />
<br />
CON: The whole point of the P/F is to relieve pressure on the students in these hard times.<br />
<br />
PRO: None.<br />
<br />
2) Students taking a course in their major who get a D will still get a P on the transcript but will be told that they have to take the class over again.<br />
<br />
3) Do nothing, but tell the students<br />
<br />
IF you got a D in a course in your major and you are taking a sequel, STUDY HARD OVER THE SUMMER!<br />
<br />
4) Do nothing, but tell the teachers<br />
<br />
Students in the Fall may have a weak background. Just teach the bare minimum of what they need for the major.<br />
<br />
(Could do both 3 and 4)<br />
<br />
SO- what is your school doing and how is it working?GASARCHhttp://www.blogger.com/profile/03615736448441925334noreply@blogger.com2tag:blogger.com,1999:blog-3722233.post-15315923078943594282020-05-25T11:34:00.000-05:002020-05-27T20:28:29.744-05:00Oldest Living Baseball Players- can you estimate...(The Baseball season is delayed or cancelled, so I post about baseball instead.)<br />
<br />
This post is going to ask a question that you could look up on the web. But what fun with that be?<br />
<br />
The following statements are true<br />
<br />
1) Don Larsen, a professional baseball player who played from 1953 to 1967, is still alive. He is 90 years old (or perhaps 90 years young---I don't know the state of his health). He was born Aug 7, 1929. He is best know for pitching a perfect game in the World Series in 1956, pitching for the Yankees. He played for several other teams as well, via trades (this was before free agency).<br />
(CORRECTION- I wrote this post a while back, and Don Larsen has died since then.)<br />
<br />
<br />
2) Whitey Ford, a professional baseball player who played from 1950 to 1967, is still alive. He is 91 years old (or perhaps 91 years young---I don't know the state of his health). He was born Oct 21, 1928. He had many great seasons and is in the hall of fame. He played for the New York Yankees and no other team.<br />
<br />
3) From 1900 (or so) until 1962 there were 16 professional baseball teams which had 25 people each. From 1962 until 1969 there were 20 teams which had 25 people each. There were also many minor league teams.<br />
<br />
4) The youngest ballplayers are usually around 20. The oldest around 35. These are not exact numbers<br />
<br />
SO here is my question: Try to estimate<br />
<br />
1) How many LIVING retired major league baseball players are there now who are older than Don Larsen?<br />
<br />
2) How many LIVING retired major league baseball players are of an age between Don and Whitey?<br />
<br />
3) How many LIVING retired major league baseball players are older than Whitey Ford?<br />
<br />
Give your REASONING for your answer.<br />
<br />GASARCHhttp://www.blogger.com/profile/03615736448441925334noreply@blogger.com2