Algoritmos e complexidade Notas de aula - Arquivo Escolar

Algoritmos e complexidade Notas de aula - Arquivo Escolar Algoritmos e complexidade Notas de aula - Arquivo Escolar

arquivoescolar.org
from arquivoescolar.org More from this publisher
13.04.2013 Views

14. Fora do NP O mundo até ELEMENTAR Um corte final: Expressões regulares • Uma expressão regular é – 0 ou 1 (denota o conjunto L(0) = {0} e L(1) = {1}). – e ◦ f, se ◦ é um operador, e e, f são expressões regulares. • Operadores possíveis: ∪, ·, 2 , ∗ , ¬. • Decisão: Dadas as expressões regulares e, f, L(e) = L(f)? Expressões regulares com Completo para ∪, · NP ∪, ·, ∗ PSPACE ∪, ·, 2 NEXP ∪, ·, 2 , ∗ EXPSPACE ∪, ·, ¬ Fora do ELEMENTAR! • O tempo do último problema de decisão cresce ao menos como uma torre de altura lg n. 14.3. Exercícios Exercício 14.1 Considera a seguinte prova que o problema de isomorfismo de grafos (GI) é PSPACE-completo: 282

14.3. Exercícios The equivalence problem for regular expressions was shown to be PSPACE-complete by (Meyer and Stockmeyer [2]). Booth [1] has shown that isomorphism of finite automata is equivalent to graph isomorphism. Taking these two results together with the equivalence of regular expressions, right-linear grammars, and finite automata see [3] for example, shows that graph isomorphism is PSPACE-complete. [18] Sabendo que GI pertence a NP isso implicaria PSPACE = NP. Acha o erro na prova. 283

14.3. Exercícios<br />

The equivalence problem for regular expressions was shown to be<br />

PSPACE-complete by (Meyer and Stockmeyer [2]). Booth [1] has<br />

shown that isomorphism of finite automata is equivalent to graph<br />

isomorphism. Taking these two results together with the equivalence<br />

of regular expressions, right-linear grammars, and finite<br />

automata see [3] for example, shows that graph isomorphism is<br />

PSPACE-complete. [18]<br />

Sabendo que GI pertence a NP isso implicaria PSPACE = NP. Acha o erro na<br />

prova.<br />

283

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!