in complexity theory, expspace is the set of all decision problems solvable by a deterministic turing machine in o(2p(n)) space, where p(n) is a polynomial function of n. (some authors restrict p(n) to be a linear function, but most authors instead call the resulting class espace.) if we use a nondeterministic machine instead, we get the class nexpspace, which is equal to expspace by savitch's theorem. in terms of dspace and nspace, :\mbox{expspace} = \bigcup_{k\in\mathbb{n}} \mbox{dspace}(2^{n^k}) = \bigcup_{k\in\mathbb{n}} \mbox{nspace}(2^{n^k}) a decision problem is expspace-complete if it is in expspace, and every problem in expspace has a polynomial-time many-one reduction to it. in other words, there is a polynomial-time algorithm that transforms instances of one to instances of the other with the same answer. expspace-complete problems might be thought of as the hardest problems in expspace. expspace is a strict superset of pspace, np, and p and is believed to be a strict superset of exptime. an example of an expspace-complete problem is the problem of recognizing whether two regular expressions represent different languages, where the expressions are limited to four operators: union, concatenation, the kleene star (zero or more copies of an expression), and squaring (two copies of an expression).meyer, a.r. and l. stockmeyer. the equivalence problem for regular expressions with squaring requires exponential space. 13th ieee symposium on switching and automata theory, oct 1972, pp.125&ndash;129. if the kleene star is left out, then that problem becomes nexptime-complete, which is like exptime-complete, except it is defined in terms of non-deterministic turing machines rather than deterministic. it has also been shown by l. berman in 1980 that the problem of verifying/falsifying any first-order statement about real numbers that involves only addition and comparison (but no multiplication) is in expspace. ==see also== *game complexity == references == * l. berman the complexity of logical theories, theoretical computer science 11:71-78, 1980. *  section 9.1.1: exponential space completeness, pp.&nbsp;313&ndash;317. demonstrates that determining equivalence of regular expressions with exponentiation is expspace-complete. 
Complexity_classes