SlideShare a Scribd company logo
1 of 18
DECIDABILITY 
By: 
M.Daniyal Ashfaq (2013-CS-51) 
Shahrukh Mahesar (2013-CS-32) 
M.Waleed Aslam (2013-CS-14) 
Sagar Kumar (2013-CS-39) 
Section : 4A 
To: 
Mehwish Wahid 
Theory of Automata & Formal Languages 
Department of Computer Science 
Sir Syed University of Engineering & Technology Karachi
Contents 
Introduction 
Advantages 
Decidability in Automata 
Types: 
◦ Decidable 
◦ Semi-Decidable 
◦ Undecidable 
Decidable Problems 
◦ For C.F.L 
◦ For F.A 
Undecidable Problems 
◦ For T.M 
References
Introduction 
An Effective solution to a problem that has 
“Yes” or “No” answer. 
Having Decision procedure is known as 
Decidable.
Advantages 
Determined Goal. 
Strong Procedure. 
More Accurate. 
Time Saving.
Decidability in Automata 
An algorithm, determining the validity of a 
given input. 
Divided into three parts: 
 Decidable 
 Semi-decidable 
 Un-decidable
Decidable 
Existance of an effecive algorithm 
Ability to determine whether an input is 
acceptable or not.
Semidecidable 
Existance of an Algorithm, having effectiveness 
in theory 
Sometimes fail to determine exact answer 
practically.
Undecidable 
Existing no effective algorithm 
Solutions can not be determined
Decidable 
Problems(C.F.L) 
Emptiness? 
Finiteness? 
Membership?
Decidable 
Problems(C.F.L) 
Solution:- 
Emptiness: 
Convert CFG into CNF. 
 Finiteness: 
Apply Pumping Lemma. 
Membership: 
Apply CYK algorithm on CNF form. 
 Hence CFL is Decidable.
Decidable Problems(F.A) 
Is the same Language accepted by two 
different F.As? 
Is the same Language defined by two different 
R.Es?
Decidable Problems(F.A) 
Solution:- 
 Convert both F.A’s into Regular Expression. 
 Get a minimum word Accepted by both. 
 Hence FA is Decidable.
Undecidable 
Problem(T.M) 
The Halting Problem? 
Null Words? 
Emptiness? 
Finitess?
Undecidable 
Problem(T.M) 
Halting Problem:- 
Machine Can be Modified for H.P. 
Can’t be Accepted by Recurive Emurable. 
Hence No Solution.
Undecidable 
Problem(T.M) 
Null Words: 
No Solution. 
• Emptiness: 
No Solution. 
• Finiteness: 
No Solution. 
• Hence T.M is Undecidable.
If People Knew How I Worked Hard, They 
Would Never Get Surprised ~ Anonymous
Books: 
1. Introduction To Computer Theory By Daniel I.A 
Cohen. 
2. An Introduction To Formal Languages and 
Automata By Peter Linz. 
3. Introduction To Theory of Computation By Anil 
Maheshwari, Michiel Smid. 
Websites: 
1. http://en.wikipedia.org/wiki/CYK_algorithm 
2. http://en.wikipedia.org/wiki/Decidability 
3. http://en.wikipedia.org/wiki/List_of_undecidable_pr 
oblems 
References
Thank you 
for 
your patience!

More Related Content

What's hot

Moore and mealy machines
Moore and mealy machinesMoore and mealy machines
Moore and mealy machinesAYESHA JAVED
 
NFA or Non deterministic finite automata
NFA or Non deterministic finite automataNFA or Non deterministic finite automata
NFA or Non deterministic finite automatadeepinderbedi
 
Undecidability.pptx
Undecidability.pptxUndecidability.pptx
Undecidability.pptxPEzhumalai
 
Minimization of DFA
Minimization of DFAMinimization of DFA
Minimization of DFAkunj desai
 
Push Down Automata (PDA) | TOC (Theory of Computation) | NPDA | DPDA
Push Down Automata (PDA) | TOC  (Theory of Computation) | NPDA | DPDAPush Down Automata (PDA) | TOC  (Theory of Computation) | NPDA | DPDA
Push Down Automata (PDA) | TOC (Theory of Computation) | NPDA | DPDAAshish Duggal
 
0.0 Introduction to theory of computation
0.0 Introduction to theory of computation0.0 Introduction to theory of computation
0.0 Introduction to theory of computationSampath Kumar S
 
Propositional logic
Propositional logicPropositional logic
Propositional logicRushdi Shams
 
Parsing in Compiler Design
Parsing in Compiler DesignParsing in Compiler Design
Parsing in Compiler DesignAkhil Kaushik
 
Introduction TO Finite Automata
Introduction TO Finite AutomataIntroduction TO Finite Automata
Introduction TO Finite AutomataRatnakar Mikkili
 
Asymptotic notations
Asymptotic notationsAsymptotic notations
Asymptotic notationsNikhil Sharma
 

What's hot (20)

Moore and mealy machines
Moore and mealy machinesMoore and mealy machines
Moore and mealy machines
 
NFA or Non deterministic finite automata
NFA or Non deterministic finite automataNFA or Non deterministic finite automata
NFA or Non deterministic finite automata
 
Undecidability.pptx
Undecidability.pptxUndecidability.pptx
Undecidability.pptx
 
Minimization of DFA
Minimization of DFAMinimization of DFA
Minimization of DFA
 
Undecidabality
UndecidabalityUndecidabality
Undecidabality
 
Context free grammar
Context free grammar Context free grammar
Context free grammar
 
Lecture: Automata
Lecture: AutomataLecture: Automata
Lecture: Automata
 
Chomsky Hierarchy.ppt
Chomsky Hierarchy.pptChomsky Hierarchy.ppt
Chomsky Hierarchy.ppt
 
Pda to cfg h2
Pda to cfg h2Pda to cfg h2
Pda to cfg h2
 
Push Down Automata (PDA) | TOC (Theory of Computation) | NPDA | DPDA
Push Down Automata (PDA) | TOC  (Theory of Computation) | NPDA | DPDAPush Down Automata (PDA) | TOC  (Theory of Computation) | NPDA | DPDA
Push Down Automata (PDA) | TOC (Theory of Computation) | NPDA | DPDA
 
Asymptotic notation
Asymptotic notationAsymptotic notation
Asymptotic notation
 
0.0 Introduction to theory of computation
0.0 Introduction to theory of computation0.0 Introduction to theory of computation
0.0 Introduction to theory of computation
 
Turing machine
Turing machineTuring machine
Turing machine
 
Daa notes 1
Daa notes 1Daa notes 1
Daa notes 1
 
Propositional logic
Propositional logicPropositional logic
Propositional logic
 
Parsing in Compiler Design
Parsing in Compiler DesignParsing in Compiler Design
Parsing in Compiler Design
 
Finite Automata
Finite AutomataFinite Automata
Finite Automata
 
Introduction TO Finite Automata
Introduction TO Finite AutomataIntroduction TO Finite Automata
Introduction TO Finite Automata
 
Turing machine-TOC
Turing machine-TOCTuring machine-TOC
Turing machine-TOC
 
Asymptotic notations
Asymptotic notationsAsymptotic notations
Asymptotic notations
 

Similar to Deciability (automata presentation)

Algorithm Design and Complexity - Course 1&2
Algorithm Design and Complexity - Course 1&2Algorithm Design and Complexity - Course 1&2
Algorithm Design and Complexity - Course 1&2Traian Rebedea
 
Amcat+syllabus+and+sample+papers
Amcat+syllabus+and+sample+papersAmcat+syllabus+and+sample+papers
Amcat+syllabus+and+sample+papersIndrasena Reddy
 
Winter 9 Tutorial Decidability.pptx
Winter 9 Tutorial Decidability.pptxWinter 9 Tutorial Decidability.pptx
Winter 9 Tutorial Decidability.pptxHarisPrince
 
Automatic Grammatical Error Correction for ESL-Learners by SMT - Getting it r...
Automatic Grammatical Error Correction for ESL-Learners by SMT - Getting it r...Automatic Grammatical Error Correction for ESL-Learners by SMT - Getting it r...
Automatic Grammatical Error Correction for ESL-Learners by SMT - Getting it r...Marcin Junczys-Dowmunt
 
Formal language & automata theory
Formal language & automata theoryFormal language & automata theory
Formal language & automata theoryNYversity
 

Similar to Deciability (automata presentation) (6)

Algorithm Design and Complexity - Course 1&2
Algorithm Design and Complexity - Course 1&2Algorithm Design and Complexity - Course 1&2
Algorithm Design and Complexity - Course 1&2
 
Amcat+syllabus+and+sample+papers
Amcat+syllabus+and+sample+papersAmcat+syllabus+and+sample+papers
Amcat+syllabus+and+sample+papers
 
Winter 9 Tutorial Decidability.pptx
Winter 9 Tutorial Decidability.pptxWinter 9 Tutorial Decidability.pptx
Winter 9 Tutorial Decidability.pptx
 
intro.ppt
intro.pptintro.ppt
intro.ppt
 
Automatic Grammatical Error Correction for ESL-Learners by SMT - Getting it r...
Automatic Grammatical Error Correction for ESL-Learners by SMT - Getting it r...Automatic Grammatical Error Correction for ESL-Learners by SMT - Getting it r...
Automatic Grammatical Error Correction for ESL-Learners by SMT - Getting it r...
 
Formal language & automata theory
Formal language & automata theoryFormal language & automata theory
Formal language & automata theory
 

Recently uploaded

A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Angel Borroy López
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesPhilip Schwarz
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commercemanigoyal112
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfAlina Yurenko
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odishasmiwainfosol
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfFerryKemperman
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanyChristoph Pohl
 
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...Akihiro Suda
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...confluent
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureDinusha Kumarasiri
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZABSYZ Inc
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsSafe Software
 
Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identityteam-WIBU
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEEVICTOR MAESTRE RAMIREZ
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesŁukasz Chruściel
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringHironori Washizaki
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprisepreethippts
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 

Recently uploaded (20)

A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
Alfresco TTL#157 - Troubleshooting Made Easy: Deciphering Alfresco mTLS Confi...
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Folding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a seriesFolding Cheat Sheet #4 - fourth in a series
Folding Cheat Sheet #4 - fourth in a series
 
Cyber security and its impact on E commerce
Cyber security and its impact on E commerceCyber security and its impact on E commerce
Cyber security and its impact on E commerce
 
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdfGOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
GOING AOT WITH GRAALVM – DEVOXX GREECE.pdf
 
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company OdishaBalasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
Balasore Best It Company|| Top 10 IT Company || Balasore Software company Odisha
 
Introduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdfIntroduction Computer Science - Software Design.pdf
Introduction Computer Science - Software Design.pdf
 
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte GermanySuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
SuccessFactors 1H 2024 Release - Sneak-Peek by Deloitte Germany
 
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
20240415 [Container Plumbing Days] Usernetes Gen2 - Kubernetes in Rootless Do...
 
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
Catch the Wave: SAP Event-Driven and Data Streaming for the Intelligence Ente...
 
Implementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with AzureImplementing Zero Trust strategy with Azure
Implementing Zero Trust strategy with Azure
 
Salesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZSalesforce Implementation Services PPT By ABSYZ
Salesforce Implementation Services PPT By ABSYZ
 
Powering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data StreamsPowering Real-Time Decisions with Continuous Data Streams
Powering Real-Time Decisions with Continuous Data Streams
 
Post Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on IdentityPost Quantum Cryptography – The Impact on Identity
Post Quantum Cryptography – The Impact on Identity
 
Cloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEECloud Data Center Network Construction - IEEE
Cloud Data Center Network Construction - IEEE
 
Unveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New FeaturesUnveiling the Future: Sylius 2.0 New Features
Unveiling the Future: Sylius 2.0 New Features
 
Machine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their EngineeringMachine Learning Software Engineering Patterns and Their Engineering
Machine Learning Software Engineering Patterns and Their Engineering
 
Odoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 EnterpriseOdoo 14 - eLearning Module In Odoo 14 Enterprise
Odoo 14 - eLearning Module In Odoo 14 Enterprise
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 

Deciability (automata presentation)

  • 1. DECIDABILITY By: M.Daniyal Ashfaq (2013-CS-51) Shahrukh Mahesar (2013-CS-32) M.Waleed Aslam (2013-CS-14) Sagar Kumar (2013-CS-39) Section : 4A To: Mehwish Wahid Theory of Automata & Formal Languages Department of Computer Science Sir Syed University of Engineering & Technology Karachi
  • 2. Contents Introduction Advantages Decidability in Automata Types: ◦ Decidable ◦ Semi-Decidable ◦ Undecidable Decidable Problems ◦ For C.F.L ◦ For F.A Undecidable Problems ◦ For T.M References
  • 3. Introduction An Effective solution to a problem that has “Yes” or “No” answer. Having Decision procedure is known as Decidable.
  • 4. Advantages Determined Goal. Strong Procedure. More Accurate. Time Saving.
  • 5. Decidability in Automata An algorithm, determining the validity of a given input. Divided into three parts:  Decidable  Semi-decidable  Un-decidable
  • 6. Decidable Existance of an effecive algorithm Ability to determine whether an input is acceptable or not.
  • 7. Semidecidable Existance of an Algorithm, having effectiveness in theory Sometimes fail to determine exact answer practically.
  • 8. Undecidable Existing no effective algorithm Solutions can not be determined
  • 9. Decidable Problems(C.F.L) Emptiness? Finiteness? Membership?
  • 10. Decidable Problems(C.F.L) Solution:- Emptiness: Convert CFG into CNF.  Finiteness: Apply Pumping Lemma. Membership: Apply CYK algorithm on CNF form.  Hence CFL is Decidable.
  • 11. Decidable Problems(F.A) Is the same Language accepted by two different F.As? Is the same Language defined by two different R.Es?
  • 12. Decidable Problems(F.A) Solution:-  Convert both F.A’s into Regular Expression.  Get a minimum word Accepted by both.  Hence FA is Decidable.
  • 13. Undecidable Problem(T.M) The Halting Problem? Null Words? Emptiness? Finitess?
  • 14. Undecidable Problem(T.M) Halting Problem:- Machine Can be Modified for H.P. Can’t be Accepted by Recurive Emurable. Hence No Solution.
  • 15. Undecidable Problem(T.M) Null Words: No Solution. • Emptiness: No Solution. • Finiteness: No Solution. • Hence T.M is Undecidable.
  • 16. If People Knew How I Worked Hard, They Would Never Get Surprised ~ Anonymous
  • 17. Books: 1. Introduction To Computer Theory By Daniel I.A Cohen. 2. An Introduction To Formal Languages and Automata By Peter Linz. 3. Introduction To Theory of Computation By Anil Maheshwari, Michiel Smid. Websites: 1. http://en.wikipedia.org/wiki/CYK_algorithm 2. http://en.wikipedia.org/wiki/Decidability 3. http://en.wikipedia.org/wiki/List_of_undecidable_pr oblems References
  • 18. Thank you for your patience!