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:  
Review by Brian Clegg

Comments

Popular posts from this blog

Beyond Weird - Philip Ball *****

It would be easy to think 'Surely we don't need another book on quantum physics.' There are loads of them. Anyone should be happy with The Quantum Age on applications and the basics, Cracking Quantum Physics for an illustrated introduction or In Search of Schrödinger's Cat for classic history of science coverage. Don't be fooled, though - because in Beyond Weird, Philip Ball has done something rare in my experience until Quantum Sense and Nonsense came along. It makes an attempt not to describe quantum physics, but to explain why it is the way it is.

Historically this has rarely happened. It's true that physicists have come up with various interpretations of quantum physics, but these are designed as technical mechanisms to bridge the gap between theory and the world as we see it, rather than explanations that would make sense to the ordinary reader.

Ball does not ignore the interpretations, though he clearly isn't happy with any of them. He seems to come clo…

Conjuring the Universe - Peter Atkins *****

It's rare that I'd use the term 'tour de force' when describing a popular science book, but it sprang to mind when I read Conjuring the Universe. It's not that the book's without flaws, but it does something truly original in a delightful way. What's more, the very British Peter Atkins hasn't fallen into the trap that particularly seems to influence US scientists when writing science books for the public of assuming that more is better. Instead of being an unwieldy brick of a book, this is a compact 168 pages that delivers splendidly on the question of where the natural laws came from.

The most obvious comparison is Richard Feynman's (equally compact) The Character of Physical Law - but despite being a great fan of Feynman's, this is the better book. Atkins begins by envisaging a universe emerging from absolutely nothing. While admitting he can't explain how that happened, his newly created universe still bears many resemblances to  nothing a…

Big Bang (Ladybird Expert) - Marcus Chown ****

As a starting point in assessing this book it's essential to know the cultural background of Ladybird books in the UK. These were a series of cheap, highly illustrated, very thin hardbacks for children, ranging from storybooks to educational non-fiction. They had become very old-fashioned, until new owners Penguin brought back the format with a series of ironic humorous books for adults, inspired by the idea created by the artist Miriam Elia. Now, the 'Ladybird Expert' series are taking on serious non-fiction topics for an adult audience.

Marcus Chown does a remarkable job at packing in information on the big bang, given only around 25 sides of small format paper to work with. He gives us the concepts, plenty about the cosmic microwave background, plus the likes of dark energy, dark matter, inflation and the multiverse. To be honest, the illustrations were largely pointless, apart from maintaining the format, and it might have been better to have had more text - but I felt …