SlideShare uma empresa Scribd logo
1 de 15
Decidibilidade
SIPSER – Capítulo 4
Universidade Federal da Paraíba
Programa de Pós-Graduação em Informática
Teoria da Computação – 2013.1
Anna Carolina S. Medeiros
Rafael Henrique A. de Castro Professor: Andrei
Formiga
Decidibilidade
 Investigar a existência (ou não) de
algoritmos que solucionem determinada
classe de problemas
 Evitar a pesquisa de soluções
inexistentes
 Um problema é decidível se e somente
se ele é resolvível por um algoritmo,
para qualquer entrada pertencente ao
seu domínio, caso contrário ele é um
problema indecidível.
Linguagens Decidíveis
 Importância de linguagens decidíveis:
◦ Certos problemas desse tipo estão
relacionados a aplicações
◦ Alguns problemas concernentes a
autômatos e gramáticas não são
decidíveis por algoritmos
Problemas Decidíveis
Concernentes a Linguagens
Regulares
Problemas Decidíveis
Concernentes a Linguagens
Livres-do-Contexto
Problemas Decidíveis
Concernentes a Linguagens
Livres-do-Contexto
 Toda linguagem livre de contexto é
decidível
Linguagens Decidíveis
O Problema da Parada
 Existem problemas que são algoritmicamente
insolúveis
 A classe dos problemas indecidíveis é
significativamente representada pelo
problema da parada
 Consiste em: Dado um processo Z e uma
entrada X, decidir (determinar) se Z termina
quando aplicado a X.
 A indecidibilidade deste problema é
extremamente útil para demonstrar a
indecidibilidade de outros problemas através
da redução destes para o problema da
parada.
O Problema da Parada
 Algumas Linguagens não são Turing-
reconhecíveis
O Problema da Parada
 O Problema da Parada é indecidível
O Problema da Parada
 Uma linguagem é decidível sse ela é
Turing-reconhecível e co-Turing-
reconhecível
Classe de Problemas
 Problema decidível:
 Um problema é dito decidível se existe um algoritmo
que solucione o problema tal que sempre pára para
qualquer entrada, com uma resposta afirmativa
(ACEITA) ou negativa (REJEITA).
 Problema parcialmente decidível:
 Um problema é dito parcialmente decidível
(parcialmente computável) se existir um algoritmo
que solucione o problema tal que pare quando a
resposta é afirmativa (ACEITA).
 Entretanto, quando a resposta for negativa, o
algoritmo pode parar ou permanecer indefinidamente
em loop.
Classe de Problemas
 Problema Insolúvel ou Não
computável:
 Um problema é dito insolúvel se não existe algum
algoritmo que solucione o problema tal que o mesmo
pare para qualquer entrada, com uma resposta
afirmativa (ACEITA) ou negativa (REJEITA).
 É importante observar que alguns problemas não-
decidíveis são parcialmente decidíveis.
 Para qualquer algoritmo que solucione um problema
parcialmente decidível, sempre existe pelo menos um
dado de entrada que faz com que o algoritmo fique
em “loop”.
Universo de Todos os
Problemas
 A união das Classes Decidível, Parcialmente
Decidível e Não decidível é o Universo de
todos os problemas:
 Alguns problemas não decidíveis são
parcialmente decidíveis
 Todo problema indecidível é parcialmente
decidível.
 A Classe dos Parcialmente decidíveis contém: a
Classe dos decidíveis e parte da Classe dos
não decidiveis.
 Existem problemas não-decidível que possuem
solução parcial.
 Os problemas não decidível não possuem
solução total nem parcial.
Universo de Todos os
Problemas
Decidível Não-decidível
Parcialmente
Decidível
Completamente
Insolúveis
Conputável Não Computável

Mais conteúdo relacionado

Destaque

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Decidibilidade de problemas em Teoria da Computação

  • 1. Decidibilidade SIPSER – Capítulo 4 Universidade Federal da Paraíba Programa de Pós-Graduação em Informática Teoria da Computação – 2013.1 Anna Carolina S. Medeiros Rafael Henrique A. de Castro Professor: Andrei Formiga
  • 2. Decidibilidade  Investigar a existência (ou não) de algoritmos que solucionem determinada classe de problemas  Evitar a pesquisa de soluções inexistentes  Um problema é decidível se e somente se ele é resolvível por um algoritmo, para qualquer entrada pertencente ao seu domínio, caso contrário ele é um problema indecidível.
  • 3. Linguagens Decidíveis  Importância de linguagens decidíveis: ◦ Certos problemas desse tipo estão relacionados a aplicações ◦ Alguns problemas concernentes a autômatos e gramáticas não são decidíveis por algoritmos
  • 5. Problemas Decidíveis Concernentes a Linguagens Livres-do-Contexto
  • 6. Problemas Decidíveis Concernentes a Linguagens Livres-do-Contexto  Toda linguagem livre de contexto é decidível
  • 8. O Problema da Parada  Existem problemas que são algoritmicamente insolúveis  A classe dos problemas indecidíveis é significativamente representada pelo problema da parada  Consiste em: Dado um processo Z e uma entrada X, decidir (determinar) se Z termina quando aplicado a X.  A indecidibilidade deste problema é extremamente útil para demonstrar a indecidibilidade de outros problemas através da redução destes para o problema da parada.
  • 9. O Problema da Parada  Algumas Linguagens não são Turing- reconhecíveis
  • 10. O Problema da Parada  O Problema da Parada é indecidível
  • 11. O Problema da Parada  Uma linguagem é decidível sse ela é Turing-reconhecível e co-Turing- reconhecível
  • 12. Classe de Problemas  Problema decidível:  Um problema é dito decidível se existe um algoritmo que solucione o problema tal que sempre pára para qualquer entrada, com uma resposta afirmativa (ACEITA) ou negativa (REJEITA).  Problema parcialmente decidível:  Um problema é dito parcialmente decidível (parcialmente computável) se existir um algoritmo que solucione o problema tal que pare quando a resposta é afirmativa (ACEITA).  Entretanto, quando a resposta for negativa, o algoritmo pode parar ou permanecer indefinidamente em loop.
  • 13. Classe de Problemas  Problema Insolúvel ou Não computável:  Um problema é dito insolúvel se não existe algum algoritmo que solucione o problema tal que o mesmo pare para qualquer entrada, com uma resposta afirmativa (ACEITA) ou negativa (REJEITA).  É importante observar que alguns problemas não- decidíveis são parcialmente decidíveis.  Para qualquer algoritmo que solucione um problema parcialmente decidível, sempre existe pelo menos um dado de entrada que faz com que o algoritmo fique em “loop”.
  • 14. Universo de Todos os Problemas  A união das Classes Decidível, Parcialmente Decidível e Não decidível é o Universo de todos os problemas:  Alguns problemas não decidíveis são parcialmente decidíveis  Todo problema indecidível é parcialmente decidível.  A Classe dos Parcialmente decidíveis contém: a Classe dos decidíveis e parte da Classe dos não decidiveis.  Existem problemas não-decidível que possuem solução parcial.  Os problemas não decidível não possuem solução total nem parcial.
  • 15. Universo de Todos os Problemas Decidível Não-decidível Parcialmente Decidível Completamente Insolúveis Conputável Não Computável