C

Computational Complexity

blog.computationalcomplexity.org · Personal blog · on HN since 2009

Lance Fortnow and Bill Gasarch write about computational complexity theory, math puzzles, and the history and culture of theoretical computer science.

What HN saysHN links it as a theory blog by working complexity theorists, cited on P vs NP, the 17x17 problem, and what cryptography requires.
98HN people shared it
27linked it in comments
176stories submitted
1.8Kstory points
3 months agolast shared
2009people per year2026

Most-shared posts

  1. 1
    Homepage
    6 people · first shared 2009
  2. 2
    You need much less memory than time
    3 people · 129 points · first shared 2025 · 11 comments on HN
  3. 3
    The 17x17 problem solved
    3 people · 120 points · first shared 2012 · 37 comments on HN
  4. 4
    A letter from Gödel to von Neumann
    3 people · 6 points · first shared 2010 · 1 comments on HN
  5. 5
  6. 6
    Will Our Understanding of Math Deteriorate Over Time?
    2 people · 144 points · first shared 2015 · 71 comments on HN
  7. 7
    Who first thought of the notion of Polynomial Time?
    2 people · 89 points · first shared 2022 · 10 comments on HN
  8. 8
  9. 9
  10. 10
    Presentations of Diffie-Helman leave out how to find g
    2 people · 31 points · first shared 2020 · 9 comments on HN
  11. 11
    America's Most Important Algorithm
    2 people · 9 points · first shared 2010 · discussion on HN
  12. 12
    Steven Rudich (1961-2024)
    2 people · 9 points · first shared 2024 · 1 comments on HN
  13. 13
    David Johnson has passed away
    2 people · 8 points · first shared 2016 · 1 comments on HN
  14. 14
    Positional Encoding
    2 people · 3 points · first shared 2023 · 1 comments on HN
  15. 15
    Why Can't Little Chatty Do Math?
    2 people · 2 points · first shared 2023 · discussion on HN

What HN people wrote when they linked it

dysoco · 2024-09-11
I remember John Carlos Baez having some interesting stuff: https://johncarlosbaez.wordpress.com/ Some other ones I had bookmarked the other day but haven't seen much in depth, mostly computer science based but more towards theory/math side: https://blog.computationalcomplexity.org/ https://semantic-domain.blogspot.com/ https://greydanus.github.io/ Also go to Terry Tao's blog and look at the sidebar, there are a lot of links to external blogs there.
alex_smart · 2023-08-19
Relevant blog post by an actual complexity theorist: https://blog.computationalcomplexity.org/2018/10/if-pnp-then-we-have-a… >The following does not quite show it can't happen but it does give one pause: an old result of Levin's shows that there is a program you could write NOW such that if P=NP then this program decides SAT except for a finite number of formulas (all of which are NOT in SAT) and can be proven to work in poly time (I will later give three pointers to proofs). The finite number of formulas is why the people above may still be right. But only a finite number- seems like a weak kind of nonconstructive. So, based on this post, it is actually not known that P=NP implies existence of polynomial time algorithm for deciding SAT. The universal search idea only yields a polynomial time algorithm that decides SAT for all but a finite number of formulas.
EtDybNuvCu · 2018-01-25
What if unbreakable cryptography doesn't exist? This isn't facetious. We do not yet know which of Impagliazzo's Five Worlds [0] we inhabit. Currently, the best guess is that we live in Cryptomania, but we haven't proven it. Since we would have to live in Cryptomania for your proposal to carry any reasonable weight, we should probably postpone any talk of adding to the list of human rights. On the other hand, the ability to multiply numbers, while perhaps not a right, is something that the government should probably not bother trying to criminalize. [0] http://blog.computationalcomplexity.org/2004/06/impagliazzos-five-worl…
kongolongo · 2017-07-08
Blogs by cs profs.. mostly theory of compsci guys. Always interesting to see what they think about current events/ what latest cs theory stuff is like...although often times I can only recall a couple words in their posts from the discrete math courses all those years ago. http://blog.computationalcomplexity.org/ is a pretty good one
ChuckMcM · 2014-01-09
(there are no such grids larger than 18x18) Sounds like a challenge :-) Seriously though, I am not a mathematician, did the SAT solution to the 17 x 17 show there were no solutions past 18 x 18? I ask because on the original challenge site was an update [1] which I was trying to parse. It talks about OBS4 but I was trying to parse if that was the class of problem or the particular challenge problem. [1] "UPDATE: THE RESULTS ABOUT OBS4 HAVE CHANGED SINCE THE ORIGINAL POST SINCE BRAD LARSON EMAILED ME A 4-COL OF 21x10 and 21x11. UPDATE: BRAD LARSON EMAILED ME A 4-COL OF 22x10. " -- http://blog.computationalcomplexity.org/2009/11/17x17-challenge-worth-…
adeelk · 2012-01-27
See also [1], where Terence Tao suggests that 2 pi i may be even more fundamental than both 2 pi and pi, and [2] for some explanation on why. [1] http://blog.computationalcomplexity.org/2007/08/is-pi-defined-in-best-… [2] http://qchu.wordpress.com/2011/03/14/pi-is-still-wrong/
Locke1689 · 2011-05-28
I wouldn't say Aaronson is the premier expert on computational complexity. That would probably be Lance Fortnow who literally writes the blog on computational complexity (http://blog.computationalcomplexity.org/). RJ Lipton is pretty notable, as well http://rjlipton.wordpress.com/.
amichail · 2009-09-23
See: http://rjlipton.wordpress.com http://blog.computationalcomplexity.org Also check out the STOC, FOCS, and SODA conferences.
brent · 2009-08-26
For anyone who enjoyed reading this you may want to check out his (Lance Fortnow) blog (that he shares with Bill Gasarch). http://blog.computationalcomplexity.org/ I am not in TCS, but I do enjoy what bits and pieces are understandable to me.
Ethan_Barry · 2024-06-11
You got it! By approximate category and in no particular order: ## MISCELLANEOUS - [Low Tech Magazine](https://solar.lowtechmagazine.com), a solar-powered website showcasing the amazing low-tech things you can do with a little ingenuity, - [Stephen Wolfram's Blog](https://writings.stephenwolfram.com) on math, compsci, and everything else, - [Cool Macrophotography](https://www.barrywebbimages.co.uk/Images/Macro/Slime-Moulds-Myxomycete… for amazing pictures of tiny things (WARNING: Time Sink!), ## COMPUTER SCIENCE - [While-True-Do](https://blog.while-true-do.io) has lots of stuff on Linux administration and self-hosting, - [Backend Banter](https://www.backendbanter.fm) for a great podcast on backend development, - [Two Wrongs](https://two-wrongs.com) for statistics and functional programming, - [Math ∩ Programming](https://www.jeremykun.com/) where math and programming intersect! Written by a Googler... - [Paul Bourke's site](https://paulbourke.net/) where you can get happily lost exploring old pages on every topic CS touches, - [Jason Punyon's blog](https://jasonpunyon.com) for some fun algorithms and things, - [Yossi Kreinin's blog](https://yosefk.com/blog) for C, Python, and plenty of non-technical topics, - [Adrian Sampson's academic blog](https://www.cs.cornell.edu/~asampson/blog) for an academic's perspective, - [Cool polyhedra viewer project](https://georgehart.com/virtual-polyhedra/vp.html) if you like geometry, - [Another academic blog on…
svat · 2019-08-02
A few random comments: • Obviously, this is typeset with TeX. • Though originally Knuth created TeX for books rather than single-page articles, he's most familiar with this tool so it's unsurprising that he'd use it to just type something out. (I remember reading somewhere that Joel Spolsky, who was PM on Excel, used Excel for everything.) • To create the PDF, where most modern TeX users might just use pdftex, he seems to first created a DVI file with tex (see the PDF's title “huang.dvi”), then gone via dvips (version 5.98, from 2009) to convert to PostScript, then (perhaps on another computer?) “Acrobat Distiller 19.0 (Macintosh)” to go from PS to PDF. • If you find it different from the “typical” paper typeset with LaTeX, remember that Knuth doesn't use LaTeX; this is typeset in plain TeX. :-) Unlike LaTeX which aims to be a “document preparation system” with “logical”/“structured” (“semantic”) markup rather than visual formatting, for Knuth TeX is just a tool; typically he works with pencil and paper and uses a computer/TeX only for the final typesetting, where all he needs is to control the formatting. • Despite being typeset with TeX which is supposed to produce beautiful results, the document may appear very poor on your computer screen (at least it did when I first viewed it on a Linux desktop; on a Mac laptop with Retina display it looks much better though somewhat “light”). But if you zoom in quite a bit, or print it, it looks great. The reason is that Knuth…
Strilanc · 2015-09-07
This is technically not an O(n lg n) algorithm. Any O(n lg n) polynomial multiplication algorithm can be trivially turned into an O(n lg n) multiplication algorithm (just throw in some carries at the end), but O(n lg n) multiplication is an open problem. In this case the issue is that you need more and more precision for the FFT as the inputs get larger, or else you'll get the wrong answer. I think it ends up being an O(n log^2 n) algorithm. Still pretty good; worth knowing about for sure. The constant factor on the precision might be bad enough that you can trigger the problem for reasonable inputs if you're using floats (e.g. a million coefficients, instead of an octillion coefficients). On the other hand, many algorithms and data structures have hidden logarithmic factors (e.g. hash tables, sorting) that we ignore [1]. YMMV. 1: http://blog.computationalcomplexity.org/2009/05/shaving-logs-with-unit…
krackers · 2023-04-18
For the PARITY problem mentioned here, I recall from undergrad cs theory that there are some pretty neat provable lower-bounds on arithmetic circuit complexity, e.g. parity is not in AC0 (bounded-depth, unlimited fan-in logic gates) circuits. Even providing more computational power via mod p gates still really doesn't buy you much: Razborov-Smolensky theorem shows that even adding mod-p gates you still can't compute modulo q, for p and q being distinct primes. See also https://blog.computationalcomplexity.org/2023/02/why-cant-little-chatt… for more discussion of LLMs from a circuit-complexity perspective.
isaacg · 2022-04-07
That's not exactly what the page you linked says. The existence of one-way functions implies P != NP, but the reverse is not known to be true. In particular, it's possible that P != NP, but also no one-way-functions exist. See Impagliazzo's Five Worlds for more: http://blog.computationalcomplexity.org/2004/06/impagliazzos-five-worl… All five worlds are still possible, given our current results. In both "Heuristica" and "Pessiland", P != NP but one-way-functions do not exist.
tylerhou · 2021-10-28
Correct me if I am wrong, but I don’t think the decision problem “does an optimal path in TSP have length K” is in NP (as it likely cannot be checked in polynomial time). Otherwise, we could solve optimal path TSP in polynomial time by binary searching over K. https://blog.computationalcomplexity.org/2014/01/is-traveling-salesman…
cousin_it · 2016-07-24
Turing's work was in algorithms, models of computation, and cryptanalysis. All that is considered part of Theory A, see e.g. http://blog.computationalcomplexity.org/2003/03/theory-and-theory-b.ht…
stared · 2015-07-17
I agree with your observations. One of the biggest problem is fragmentation. People used to be "philosophers of the natural science", now they are experts in "implementations of quantum algorithms with cold ions". So its unlikely to get so many good people in one place (as the number of fields is astonishingly high) and to get progress between/outside of fields (many fields are a bit historical/arbitrary) - as many scientist (even eminent) lack of even basis knowledge in other sciences (or even - subfields). So things requiring bigger picture may be already out of scope. When it comes to switching fields or dying - did you read: http://blog.computationalcomplexity.org/2015/07/will-our-understanding… ?
Fando · 2015-04-25
Maybe someone already mentioned this, but this problem is a simplified formulation of a famous number thoery riddle called 'The Sum and Product Riddle' which is even more baffling. Here it is http://blog.computationalcomplexity.org/2007/01/sum-and-product-riddle…
gone35 · 2014-06-21
If I remember correctly, he banned a professor from commenting on his blog over what seemed to be a routine academic debate. Not really: for the record, Scott "sentenced" John Sidles repeatedly to a 3-month ban (later "commuted" to two weeks) due to his increasingly derailing and nearly trollish behavior [1], but soon he "dismissed" it for "time served" [2]. [1] http://www.scottaaronson.com/blog/?p=1478#comment-84734 [2] http://blog.computationalcomplexity.org/2013/09/tldr.html?showComment=…
thedufer · 2014-01-09
When http://blog.computationalcomplexity.org/2012/02/17x17-problem-solved-a… was written, 12x21 was still open (so "17x17, 17x18, and 18x18 were the last remaining cases" is not true). Do you know if this has changed (that article is ~2 years old)?
robrenaud · 2012-01-03
Here are CS researchers blogging partially anonymously. http://blog.computationalcomplexity.org/2011/12/what-is-breakthrough.h… . Similar nastiness can be found on Scott Aaronson's blog. Is it strange that almost all of the nasty comments are anonymous? As an honest researcher, you can't just delete the criticism, even if it's unproductive, hostile, and borderline trolling. To be fair, there is some nastiness from people who post their real names. But I don't think that moderation is the solution.
kanak · 2010-12-20
Somewhat related, here's the letter that Kurt Godel wrote to John von Neumann where he describes a problem very similar to the P vs NP problem: http://blog.computationalcomplexity.org/2006/04/kurt-gdel-1906-1978.ht…
bbrubaker · 2025-05-23
I'm the author of this article. If you ask a complexity theorist, they will tell you that they did in fact have a general intuition that certain problems require space close to to linear in time to solve (see e.g., Ryan's comment #22 on Scott Aaronson's blog post about the result: https://scottaaronson.blog/?p=8680, and the comments after that). The most intuitive way to see this is in a circuit/DAG picture, where the goal is to get from the input nodes of the graph to the output nodes. Some graphs are very "wide": cut the graph at some intermediate point, and there will be a lot of edges crossing the cut, each of which represents some information from an earlier stage in the computation that you'll need to remember to get to the output. Ryan's first result is a general-purpose method for doing any computation, even ones whose graph structure looks like this, in asymptotically far less space. That is precisely what makes the result so surprising! My article was quite explicit in multiple places that the universal/comprehensive character of the result was that counterintuitive part: - In the first paragraph: "memory was more powerful than computer scientists believed: A small amount would be as helpful as a lot of time in all conceivable computations." - Further down in the introduction, in the passage you quoted: "Until now, the only known algorithms for accomplishing certain tasks required an amount of space roughly proportional to their runtime, and researchers had long…
torustic · 2016-08-19
Every agent tries to understand (or perhaps "dualize") its environment. I both like and dislike theories of mind that describe the brain in terms of n-veiled solipsism. But I generally like them because of the specific (decision-theoretic) statements they make about how an agent is defining its environment. What's striking to me about life on earth -- mostly humanity, but also the larger notions of noo-/biosphere -- is that, so far, it doesn't match up to our larger-scale evidence about how <things in general> define <their environments>. We have managed to define our environment in a fashion which is scale-agnostic, at least with respect to the measurement of physical accumulations of stuff. We readily form metaphors between: (a) things in our locale, (b) things in the huge, (c) things in the tiny, and (d) things in the meta (read: math/pattern). I think the worst thing we can do -- as engineers or scientists or mathematicians or even metaphysicians -- is to presume that any of |a-d| generate the others "in reality". (I just did a bit of that when I implicitly defined "larger-scale evidence" as "most legitimate evidence".) In the categorical sense of arrow-reversal-without-structural-change[0], models of |a-d| are dual to any notion of 'environment' we can imagine. That doesn't suggest determinism, but it does offload every variation on the question of free will into a(n empty) simulationist argument whose limit is some computational infinity, like an omni-* deity…

Keyboard shortcuts

/Search
j kNext / previous blog
EnterOpen selected blog
vVisit the blog site
fFollow / unfollow
lSwitch grid / list view
dSwitch dark mode
g hHome
g pTop posts
g tTopics
g fFollowing
g lLiked
g yHistory
g qFAQ
EscBack / close