Space complexity

L=DSPACE(log(n))NL=NSPACE(log(n))PSPACE=k1SPACE(nk)coNL=NLDTIME(t(n))DSPACE(t(n))

STCON,PATH is NL-complete under log reductions.

NL clousre If the language A is NL-complete then

1. ANL 2. Each problem in NL is logspace reducible to A

Since coNL=NL each problem in coNL is logspace reducible to A as well. Thus A is coNL-complete.

Any LNP have Log Verifier for L is D-TM with 3 types (w,c,working type) V run in Poly time |x| and using log(|x|) types from working type. if xL exsit w s.t V accept . if xL for all w V reject. LNL exsit Right only log time verifier.

Composition of space-bounded functions

is a bit tricky: Thm: if f and g are computable in space sf(n).gf(n). respectively, then gf is computable in space (with mf being a bound on the output length of f).

sf(n)+log(mf(n))+log(mf(n))