I'm asked to prove that the measure $\Gamma_e(x) = s ~ ~ \iff ~ ~ \varphi_e(x)$ uses exactly $s$ work tape cells (i.e. once it halts, the number of tape cells used by a Turing machine to compute it is equal to $s$) is a complexity measure wrt Blum's axioms.
I've proven that it meets the first axiom, i.e. $\Gamma_e(x)$ is defined if and only if $\varphi_e(x)$ halts, but I'm confused about how exactly the second axiom is met. I've seen that if we consider the number of steps taken by a TM instead, then the second axiom holds because the question "does $\varphi_e(x)$ halt in exactly $s$ steps" is decidable - simply run the TM for $s$ steps and find out if it halted on the last step or not. But how does this work for space? I can think of a TM that only takes one tape cell yet never halts, and so the question "does this TM use exactly 2 tape cells" would be undecidable apparently.
Can someone tell me where I've gone wrong? How is it possible that this is a complexity measure?