Is there any way that the United States can engineer a decent exit from Afghanistan that leaves behind a stable country?
The answer depends on Pakistan.
If Pakistan stops providing the Afghan Taliban and other radical Islamists with safe havens, a stable Afghanistan is possible. Otherwise, Afghan prospects are grim and America's Afghan war is destined to fail.
If you want to understand why, read the newest book by the world's foremost expert on the Taliban, the Pakistani journalist Ahmed Rashid, "Pakistan on the Brink: The Future of America, Pakistan and Afghanistan."
Rashid's book is especially important as the United States and Pakistan seek to repair a tortured relationship that nearly ruptured when a U.S. air strike accidentally killed 24 soldiers in November. Last week, the chairman of the Joint Chiefs, Gen. Martin Dempsey, said he hoped a meeting between top U.S. and Pakistani generals would help "reset the relationship."
It's hard to see how.
As Rashid details, the U.S.-Pakistani relationship has long been strained, in large part because of the dishonesty that underlies it. Pakistan blames flawed U.S. policies, which, officials say, have made a mess in Afghanistan that affects their country.
But it is Pakistan's policy of backing radical Islamists that undercuts any chance of an Afghan peace settlement, and threatens to restart a civil war. Indeed, the policies of Pakistan's ISI intelligence agency eventually boomeranged. The Afghan Taliban radicalized Pakistani Pashtuns who lived in tribal areas near the Afghan border. These Pakistani militants began threatening their own state, forcing the Pakistani army to attack them.
Rather than address the mistakes that had "Talibanized" its own society, the ISI blamed Pakistan's troubles on U.S. mistakes in Afghanistan, and fed this narrative to its own public. Meantime, the Pakistani government kept publicly denying that it was harboring al-Qaida leaders or the Taliban.
It is this ongoing dishonesty that makes it hard to see how Pakistan's relationship with America can be reset.
Which brings us back to the question of whether the United States can engineer a successful outcome in Afghanistan and the surrounding region. Rashid believes three elements are necessary: first, a carefully considered Western withdrawal from Afghanistan; second, a political settlement with the Taliban; and third, Pakistan's willingness to rein in Islamic extremism.
On the first point, Rashid rightly contends that U.S. officials have failed to lay out a clear strategic vision for the region after they pull out most troops by 2014.
But on points two and three -- which are heavily dependent on Pakistani action -- he is equally grim.
So long as the ISI dreams of controlling Afghanistan via its militant Taliban proxies, he sees little chance that peace negotiations can move forward. Nor does Rashid believe that Pakistan's generals understand they must change an outdated strategy.
In an interview in Washington, Rashid told me, with passion: "I'm full of trepidation about my own country. And things are deteriorating very fast in my second love, Afghanistan."
"The foreign policy we've pursued has been totally detrimental to Pakistan," he continued. Clearly, the Pakistani military doesn't yet recognize this.
Unless the generals update their thinking, there's not much hope for better U.S.-Pakistani relations -- or for peace in Afghanistan.