If Landis stays with Leipheimer through the mountains, then yes, Leipheimer is out of it. Levi will need to gain significant time on Floyd (and even if he does, remember there is still another TT one week from Saturday). He can still get a podium spot, but will need to put significant time into the field up in the mountains.
I see Leipheimer lost even more time today - a bad sign on a flat stage.