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 (20)

TOC 2 | Deterministic Finite Automata
TOC 2 | Deterministic Finite AutomataTOC 2 | Deterministic Finite Automata
TOC 2 | Deterministic Finite Automata
 
Turing machine
Turing machineTuring machine
Turing machine
 
Theory of computing
Theory of computingTheory of computing
Theory of computing
 
Theory of computation Lec3 dfa
Theory of computation Lec3 dfaTheory of computation Lec3 dfa
Theory of computation Lec3 dfa
 
Kleene's theorem
Kleene's theoremKleene's theorem
Kleene's theorem
 
Regular expressions
Regular expressionsRegular expressions
Regular expressions
 
Moore and mealy machines
Moore and mealy machinesMoore and mealy machines
Moore and mealy machines
 
Mealy and moore machine
Mealy and moore machineMealy and moore machine
Mealy and moore machine
 
Turing Machine
Turing MachineTuring Machine
Turing Machine
 
Undecidability.pptx
Undecidability.pptxUndecidability.pptx
Undecidability.pptx
 
Regular expressions and languages pdf
Regular expressions and languages pdfRegular expressions and languages pdf
Regular expressions and languages pdf
 
Turing Machine
Turing MachineTuring Machine
Turing Machine
 
Turing machines
Turing machinesTuring machines
Turing machines
 
Context Free Grammar
Context Free GrammarContext Free Grammar
Context Free Grammar
 
Finite automata
Finite automataFinite automata
Finite automata
 
Pumping lemma Theory Of Automata
Pumping lemma Theory Of AutomataPumping lemma Theory Of Automata
Pumping lemma Theory Of Automata
 
AUTOMATA THEORY - SHORT NOTES
AUTOMATA THEORY - SHORT NOTESAUTOMATA THEORY - SHORT NOTES
AUTOMATA THEORY - SHORT NOTES
 
Turing machine-TOC
Turing machine-TOCTuring machine-TOC
Turing machine-TOC
 
Intro automata theory
Intro automata theory Intro automata theory
Intro automata theory
 
Finite Automata
Finite AutomataFinite Automata
Finite Automata
 

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

%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Hararemasabamasaba
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park masabamasaba
 
tonesoftg
tonesoftgtonesoftg
tonesoftglanshi9
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024VictoriaMetrics
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfonteinmasabamasaba
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...panagenda
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...masabamasaba
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationJuha-Pekka Tolvanen
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...Health
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Steffen Staab
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...masabamasaba
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benonimasabamasaba
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in sowetomasabamasaba
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Bert Jan Schrijver
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...masabamasaba
 

Recently uploaded (20)

%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare%in Harare+277-882-255-28 abortion pills for sale in Harare
%in Harare+277-882-255-28 abortion pills for sale in Harare
 
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park %in kempton park+277-882-255-28 abortion pills for sale in kempton park
%in kempton park+277-882-255-28 abortion pills for sale in kempton park
 
tonesoftg
tonesoftgtonesoftg
tonesoftg
 
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
Large-scale Logging Made Easy: Meetup at Deutsche Bank 2024
 
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
%in Stilfontein+277-882-255-28 abortion pills for sale in Stilfontein
 
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
WSO2CON 2024 - Building the API First Enterprise – Running an API Program, fr...
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
W01_panagenda_Navigating-the-Future-with-The-Hitchhikers-Guide-to-Notes-and-D...
 
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Toronto Psychic Readings, Attraction spells,Brin...
 
What Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the SituationWhat Goes Wrong with Language Definitions and How to Improve the Situation
What Goes Wrong with Language Definitions and How to Improve the Situation
 
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
WSO2Con2024 - From Code To Cloud: Fast Track Your Cloud Native Journey with C...
 
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
+971565801893>>SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHAB...
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
Shapes for Sharing between Graph Data Spaces - and Epistemic Querying of RDF-...
 
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
%+27788225528 love spells in Atlanta Psychic Readings, Attraction spells,Brin...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni%in Benoni+277-882-255-28 abortion pills for sale in Benoni
%in Benoni+277-882-255-28 abortion pills for sale in Benoni
 
%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto%in Soweto+277-882-255-28 abortion pills for sale in soweto
%in Soweto+277-882-255-28 abortion pills for sale in soweto
 
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
Devoxx UK 2024 - Going serverless with Quarkus, GraalVM native images and AWS...
 
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
%+27788225528 love spells in Huntington Beach Psychic Readings, Attraction sp...
 

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!