Skip to main content

The Golden Ticket: P, NP, and the Search for the Impossible – Lance Fortnow ***

There is good and bad news early on in this book about the P versus NP problem that haunts computing. The good news is that on the description I expected this to be a dull, heavy going book, and it’s not at all. Lance Fortnow makes what could be a fairly impenetrable and technical maths/computing issue light and accessible.
The bad news is that frustratingly he doesn’t actually tell you what P and NP mean for a long time, just gives rather sideways definitions of the problem along the lines of ‘P refers to the problems we can solve quickly using computers. NP refers to the problems to which we would like to find the best solution’, and also that he makes a couple of major errors early on, which make it difficult to be one hundred percent confident about the rest of the book.
The errors come in a section where he imagines a future where P=NP has been proved. This would mean you could write an algorithm to very efficiently match things and select from data. Fortnow suggests that our lives would be transformed. This is slightly cringe-making as fictional future histories often are, but the real problem is that he tells us that the algorithm would make it possible to do two things that I think just aren’t true.
First he says that from DNA you would be able to identify what a person looks like and their personality. Unfortunately, these are both strongly influenced by epigenetic/environmental issues. Anyone who knows adult identical twins (with the same basic DNA) will know that they can look quite different and certainly have very different personalities. And they will usually have been brought up in the same environment. Fortnow is forgetting one of the oldest essentials of computing – it doesn’t matter how good your algorithm is, GIGO – garbage in; garbage out.
The other, arguably worse error is that he says that it will be possible to have accurate weather forecasts going forward X days. This is so horribly wrong. He should have read my book Dice World. The reason you can’t predict the weather at all beyond about 10 days is nothing to do with the quality of the model/algorithm, it is because the system is chaotic. Firstly we just don’t know, and never can know, the initial conditions to enough decimal places not to deviate from the real world. When Lorenz first discovered chaos it was because he entered the starting values in his model to 4 decimal places rather than the 6 to which the model actually worked. It soon deviated from the previous run. We can’t measure things accurately enough. The other problem is that the weather system is so complex – hence the slightly misleading title of Lorenz’s famous paper Does the flap of a butterfly’s wings in Brazil set off a tornado in Texas? – that we can’t possible take into account enough inputs to ever have so good a model as to go forwards that far. Sorry, Lance, it ain’t going to happen.
For the rest, the first half or so of the book goes along pretty well, gradually opening up the nature of P and NP, the problems that are of interest and the ‘hardest’ NP complete problems. I found the main example, used throughout, a hypothetical world called Frenemy where everyone is either a friend or enemy of everyone else confusing and not particularly useful, but Fortnow gets plenty of good stuff in. After that it’s as if he rather runs out of material and it gets a bit repetitious or has rather tangential chapters.
Overall, despite the flaws, a much better and more readable book than I thought it was going to be – but probably best for maths/computing buffs rather than the general popular science audience.

Hardback 

Kindle 
Using these links earns us commission at no cost to you
Review by Brian Clegg

Comments

Popular posts from this blog

The Magicians - Marcus Chown *****

The title may seem an odd one for a popular science book, but it refers to what Chown describes as ‘the central magic of science: its ability to predict the existence of things previously undreamt of which, when people went out and looked for them, turned out to actually exist in the real universe’. That may be true of all branches of science, but physics – which is what the book is about – is a special case, because its theories are rooted in mathematical equations rather than words. This makes the matter completely black-and-white: if the equations predict something you had no inkling of, then either the maths is wrong, or that thing really does exist. This book describes some remarkable instances where the maths was right.

Actually, I’m not sure the title is strictly accurate. It’s true that it centres on people – both the theoreticians who came up with the predictions and the experimentalists who proved them right – but in most cases the ‘magic’ is something the human players simpl…

Infinity Plus: Quintet (SF) - Keith Brooke (Ed.) ****

When I was younger there was nothing I liked better than a good, deep, dark (frankly, often downright miserable) science fiction story, and this collection delivers excellent modern examples that would have fit easily into a thoughtful if downbeat 70s collection such as the 'New Writing in SF' or the Interzone magazine of the day (one was actually first published in Interzone, in 1987 - the rest date between 1989 and 2010).

If I'm honest, I prefer more upbeat fiction now, but that doesn't stop me appreciating the quality of these five stories, put together by the SF website and publisher Infinity Plus. I've rarely seen a better contradiction of Margaret Atwood's putdown of science fiction as being limited to 'talking squids in outer space.' What we have here is pure character-driven storytelling with not a mention of space, spaceships, ray guns or aliens. It's the inner world, not the outer trappings of sci fi tropes that interest these writers.

On…

Until the End of Time: Brian Greene ***

Things start well with this latest title from Brian Greene: after a bit of introductory woffle we get into an interesting introduction to entropy. As always with Greene's writing, this is readable, chatty and full of little side facts and stories. Unfortunately, for me, the book then suffers something of an increase in entropy itself as on the whole it then veers more into philosophy and the soft sciences than Greene's usual physics and cosmology.

So, we get chapters on consciousness, language, belief and religion, instinct and creativity, duration and impermanence, the ends of time and, most cringe-making as a title, 'the nobility of being'. Unlike the dazzling scientific presentation I expect, this mostly comes across as fairly shallow amateur philosophising.

Of course it's perfectly possible to write good science books on, say, consciousness or language - but though Greene touches on the science, there far too much that's more hand-waving. And good though he i…