13.04.2013 Views

Algoritmos e complexidade Notas de aula - Arquivo Escolar

Algoritmos e complexidade Notas de aula - Arquivo Escolar

Algoritmos e complexidade Notas de aula - Arquivo Escolar

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

13.2. Reduções<br />

importância. Assim, seria óbvio, apesar da in<strong>de</strong>cibilida<strong>de</strong> do Entscheidungsproblem,<br />

po<strong>de</strong>ria-se substituir completamente o raciocínio do matemático em<br />

questões <strong>de</strong> sim-ou-não por máquinas. [62]<br />

Em original a carta diz<br />

Man kann offenbar leicht eine Turingmaschine konstruieren, welche von<br />

je<strong>de</strong>r Formel F <strong>de</strong>s engeren Funktionenkalküls u. je<strong>de</strong>r natürl. Zahl n<br />

zu entschei<strong>de</strong>n gestattet, ob F einen Beweis <strong>de</strong>r Länge n hat [Länge<br />

= Anzahl <strong>de</strong>r Symbole]. Sei Ψ(F, n) die Anzahl <strong>de</strong>r Schritte, die die<br />

Maschine dazu benötigt u. sei φ(n) = maxF Ψ(F, n). Die Frage ist,<br />

wie rasch φ(n) für eine optimale Maschine wächst. Man kann zeigen<br />

φ(n) ≥ k·n. Wenn es wirklich eine Maschine mit φ(n) ∼ k·n (o<strong>de</strong>r auch<br />

nur ∼ k · n 2 ) gäbe, hätte das Folgerungen von <strong>de</strong>r grössten Tragweite.<br />

Es wür<strong>de</strong> nämlich offenbar be<strong>de</strong>uten, dass man trotz <strong>de</strong>r Unlösbarkeit<br />

<strong>de</strong>s Entscheidungsproblems die Denkarbeit <strong>de</strong>s Mathematikers bei jao<strong>de</strong>r-nein<br />

Fragen vollständig durch Maschinen ersetzen könnte.<br />

A significado do P = NP<br />

• Centenas <strong>de</strong> problemas NP-completos conhecidos seriam tratável.<br />

• Todos os problemas cujas soluções são reconhecidas facilmente (polinomial),<br />

teriam uma solução fácil.<br />

• Por exemplo na inteligência artificial: planejamento, reconhecimento <strong>de</strong><br />

linguagens naturais, visão, talvez também composição da música, escrever<br />

ficção.<br />

• A criptografia conhecida, baseada em <strong>complexida<strong>de</strong></strong>, seria impossível.<br />

I have heard it said, with a straight face, that a proof of P = NP<br />

would be important because it would airlines schedule their flight<br />

better, or shipping companies pack more boxes in their trucks! [1]<br />

Mais um problema NP-completo<br />

Minesweeper consistência<br />

Instância Uma matriz <strong>de</strong> tamanho b × b cada campo ou livre, ou com um<br />

número ou escondido.<br />

269

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

Saved successfully!

Ooh no, something went wrong!