SUBJECT NOTEBOOK|Computer Science · B.Tech · GATE CS

Theory of Computation

“Master minimal DFAs, Pumping Lemmas, Pushdown Automata, Turing Machine proofs, Chomsky hierarchy, and Rice's theorem.”

A rigorous, mathematically formal study notebook covering automata theory, formal languages, grammars, computability, and decidability: Deterministic and Non-deterministic Finite Automata (DFA/NFA), Myhill-Nerode minimization, Arden's theorem, Pumping Lemmas for Regular and Context-Free languages, DPDA vs NPDA power asymmetry, DCFL and CFL closure properties, CYK algorithm, Turing Machine formal models, Recursive vs Recursively Enumerable languages, Halting problem diagonalization proofs, Rice's theorem, Post Correspondence Problem (PCP), and the complete 4-tier Chomsky hierarchy for undergraduate excellence and top-rank GATE CS/IT performance.

05 SECTIONS · 09 NOTES · 00 LABS
MODE 01 · UNDERSTAND & LEARN

Structured Notes & Exam Lens

Two parallel study perspectives

A · B.Tech Structured Study Sequence

5 Sections · Full Curriculum
01

Finite Automata, DFA Minimization & State Equivalence

2 notes

Formal 5-tuple definitions of DFA, NFA, and epsilon-NFA, subset construction powerset algorithm, modulo state counting, and Myhill-Nerode table-filling DFA minimization.

1.1DFA Construction, NFA Conversion & Minimization

5-tuple formalisms, trap states, subset powerset construction, and minimal state proofs.

1.2Regular Expressions, Arden's Theorem & State Elimination

Arden's formula R = Q + RP => R = QP*, state elimination method, and Thompson's construction.

02

Regular Language Properties & Pumping Lemma

2 notes

Non-regularity proofs via the Pumping Lemma adversarial game, comprehensive closure property matrices, and decision property algorithms for regular languages.

2.1Pumping Lemma & Closure Properties of Regular Languages

Adversarial pumping game, s = xyz, and complete closure property proofs.

2.2Decision Properties & Algorithms for Regular Languages

Emptiness, finiteness, membership, and equivalence decision procedures for regular sets.

03

Context-Free Grammars, Ambiguity & Pushdown Automata

2 notes

Derivations, parse trees, grammar ambiguity, Chomsky Normal Form (CNF), DPDA vs NPDA, DCFL vs CFL, and acceptance by final state vs empty stack.

3.1CFG Derivations, Ambiguity Proofs & Chomsky Normal Form

Parse tree multiplicity, inherent ambiguity, CNF 2n-1 steps, and CYK parsing.

3.2Pushdown Automata (PDA), DPDA vs NPDA & Acceptance Modes

Stack transitions, DPDA strictly less powerful than NPDA, and DCFL vs CFL.

04

CFL Pumping Lemma & Decision Algorithms

1 note

Pumping lemma for context-free languages (uvxyz), proving non-CFL languages, and decision properties of context-free languages.

4.1Pumping Lemma for CFLs & Non-Context-Free Proofs

s = uvxyz decomposition, proving a^n b^n c^n is not CFL, and undecidable CFG problems.

05

Turing Machines, Computability & Rice's Theorem

2 notes

Turing machines, Recursive vs Recursively Enumerable sets, Halting problem proof by diagonalization, mapping reductions, Post Correspondence Problem, and Rice's Theorem.

5.1Turing Machines, Undecidability & Rice's Theorem

Recursive vs RE languages, Halting problem proof by diagonalization, and Rice's Theorem.

5.2Mapping Reductions, Post Correspondence Problem & Chomsky Hierarchy

Reductions A <=_m B, Post Correspondence Problem (PCP), and the complete 4-tier Chomsky hierarchy.

B · GATE 2027 Syllabus Scope

Official syllabus scope and related lesson coverage; topics outside the syllabus are marked as enrichment.

GATE 2027 CS/IT scope
Official syllabus topics:
  • •Regular expressions and finite automata: DFA, NFA, epsilon-NFA, equivalence, state minimization, Arden's theorem
  • •Regular languages: Pumping lemma, closure properties, decision properties (emptiness, finiteness, equivalence)
  • •Context-free grammars and languages: Derivations, parse trees, ambiguity, Chomsky Normal Form (CNF), CYK algorithm
  • •Pushdown automata: DPDA, NPDA, equivalence of acceptance modes, DCFL vs CFL closure properties
  • •Turing machines and computability: Turing machine model, multi-tape equivalence, Recursive and Recursively Enumerable languages
  • •Undecidability: Halting problem, diagonalization, Post Correspondence Problem (PCP), Rice's theorem, Chomsky hierarchy
MODE 02 · ACTIVE PRACTICE

Interactive Labs & Verified PYQs

0 Simulators · 0 Verified Questions
MODE 03 · HIGH-SPEED RETRIEVAL

Revision & Rapid Review Sheets

One-page mental models
MODE 04 · ACADEMIC CITATION TRAIL

Authoritative Textbooks & Video Lectures

Primary Sources
Recommended Textbooks

All notes in this notebook cross-reference standard academic literature. We do not pretend student notes substitute for classical texts — they guide you through them.

Video Lecture Playlists

Curated lectures from verified educators (Gate Smashers, Neso Academy, Knowledge Gate, and MIT OCW) selected specifically for difficult concept visualizations.

MODE 05 · OPEN STUDENT COLLABORATION

These notes are open and maintained together.

Found a factual mistake? Have a clearer explanation or mental model? Created a useful diagram or worked out a tricky GATE question? Help make this notebook better for every student who opens it next.