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

De/Cipher - Mark Frary ****

I was a little doubtful when I first saw this book. Although it has the intriguing tagline 'The greatest codes ever invented and how to crack them' the combination of a small format hardback and gratuitous illustrations made me suspect it would be a lightweight, minimal content, Janet and John approach to codes and ciphers. Thankfully, in reality Mark Frary manages to pack a remarkable amount of content into De/Cipher's slim form.

Not only do we get some history on and instructions to use a whole range of ciphers, there are engaging little articles on historical codebreakers and useful guidance on techniques to break the simpler ciphers. The broadly historical structure takes the reader through basic alphabetic manipulation, keys, electronic cryptography, one time pads and so on, all the way up to modern public key encryption and a short section on quantum cryptography. 

We even get articles on some of the best known unsolved ciphers, such as the Dorabella and the Voynich ma…

Cosmology for the Curious - Delia Perlov and Alex Vilenkin ***

In the recently published The Little Book of Black Holes we saw what I thought was pretty much impossible - a good, next level, general audience science title, spanning the gap between a typical popular science book and an introductory textbook, but very much in the style of popular science. Cosmology for the Curious does something similar, but coming from the other direction. This is an introductory textbook, intended for first year physics students, with familiar textbook features like questions to answer at the end of each chapter. Yet by incorporating some history and context, plus taking a more relaxed style in the writing, it's certainly more approachable than a typical textbook.

The first main section, The Big Bang and the Observable Universe not only covers basic big bang cosmology but fills in the basics of special and general relativity, Hubble's law, dark matter, dark energy and more. We then move onto the more speculative (this is cosmology, after all) aspects, brin…

Paul McAuley - Four Way Interview

Paul McAuley won the Philip K. Dick Award for his first novel and has gone on to win the Arthur C. Clarke, British Fantasy, Sidewise and John W. Campbell Awards. He gave up his position as a research biologist to write full-time. He lives in London. His latest novel is Austral.


Why science fiction?

For one thing, I fell in love with science fiction at an early age, and haven’t yet fallen out of love with it (although I have flirted with other genres). For another, we’re living in an increasingly science-fictional present. Every day brings headlines that could have been ripped from a science-fiction story. Giant robot battle: Who knew a duel between chainsaw-armed mech suits could be so boring? for instance. Or, Roy Orbison hologram to embark on UK tour in 2018. And looming above all this, like Hokusai’s famous wave, are the ongoing changes caused by global warming and climate change, which is just one consequence of human activity having become the dominant force of change on the planet…