Theory of Computation
Build an exam-ready working mastery of automata, formal grammars, computability, and complexity. Learn to construct state machines, write airtight pumping lemma proofs, diagnose undecidable languages, and execute complete polynomial reductions.
Like Duolingo, but for Theory of Computation. Tomo turns the whole topic into a game you play five minutes a day, until it actually sticks.
25 levels across 4 sections, about 50 minutes end to end, roughly 10 days at five minutes a day. It moves through Solving and Constraining Finite-State Problems, Expanding Memory with Grammars and Stacks, Mapping the Limits of Decidable Computation, and Proving Hardness with Polynomial Reductions. It assumes you already know the basics.
Free forever · No credit card · iPhone & Android

Key ideas in Theory of Computation
- A DFA state groups prefixes that behave identically on every possible continuation.
- Two prefixes must merge if no future suffix can distinguish between them.
- States represent what matters about the past to decide the future, not step counts.
- Each DFA state represents the set of all NFA states the machine could occupy at once.
- To find the next DFA state, take the union of transitions from each active NFA state.
- Powerset conversion tracks parallel branching deterministically in a single super-state.
- Thompson's construction builds an NFA systematically using epsilon transitions.
- State elimination contracts automata by turning paths through states into regex labels.
- Epsilon moves allow combining sub-automata for union and concatenation cleanly.
- The table-filling algorithm begins by distinguishing accepting states from non-accepting states.
- Pairs are marked distinguishable if reading any symbol sends them to an already-marked pair.
- Unmarked pairs at the end are provably equivalent and collapse into a single minimal state.
- A product automaton runs two DFAs simultaneously on identical input symbols.
- Transitions are identical across operations; only the final accepting state condition changes.
- Intersection requires both states to accept, while difference requires the first to accept and second to reject.
- The adversary claims the language is regular and fixes an unknown pumping length p
You've tried the other tabs
Thirty open tabs. Four facts you actually kept.
You watched. You nodded. By Sunday it was gone.
One answer, then back to scrolling.
Eight weeks. You meant to finish. You didn't.
Tomo gives Theory of Computation the Duolingo treatment: levels, streaks, and quick quizzes that test what you just learned. That game loop is what the tabs above never had, so it's the one you actually finish.
Here's what playing it feels like
A real question from this course. Take your best guess.
When must two different prefixes lead to the exact same state in a DFA?
Get it right to open this lesson and 24 more in the app.
How to learn Theory of Computation, step by step
Go in order. 25 short levels across 4 sections, about 50 minutes in all, five minutes a day.
- 1
Solving and Constraining Finite-State Problems
- Designing and Converting Finite Automata
- Proving Non-Regularity with the Pumping Lemma
- 2
Expanding Memory with Grammars and Stacks
- Context-Free Grammars and Normal Forms
- Pushdown Automata and Non-CFL Boundaries
- 3
Mapping the Limits of Decidable Computation
- Turing Machines and Decidable Boundaries
- Proving Undecidability via Mapping Reductions
- 4
Proving Hardness with Polynomial Reductions
- Classifying Complexity: P, NP, and Verification
- Executing NP-Completeness Proofs
4 sections · 8 units · 25 levels. Built to play, not to enroll.
Questions about Theory of Computation
How do I learn Theory of Computation?
Go in order: start with Solving and Constraining Finite-State Problems, then Expanding Memory with Grammars and Stacks, then Mapping the Limits of Decidable Computation, then Proving Hardness with Polynomial Reductions. On Tomo that's 25 short levels, about 50 minutes in all, played five minutes a day. Start free and play the first level in under a minute.
Is there a Duolingo-style app for Theory of Computation?
Yes. Tomo works like Duolingo: short daily lessons, streaks and quick quizzes. Theory of Computation is one of its free courses, and you can type any other topic to get a course of your own.
Is the Theory of Computation course free?
Yes. Theory of Computation is playable on Tomo's free plan, which doesn't expire. No credit card, no waitlist. Download the app and start your first lesson.
How long does it take to learn Theory of Computation?
25 levels across 4 sections, about 50 minutes of play in total. It's built for five minutes a day, so you finish it a little at a time instead of all at once.
Do I need any background to start Theory of Computation?
No. It's pitched at an intermediate level, so it starts where you are and builds up. If you can tap a phone, you can start.
Tomo is in ChatGPT
Tomo is also a ChatGPT plugin: the same playable courses, built and played inside your chat.
Add Tomo to ChatGPT- What to ask
- “Make me a Tomo course on black holes.” “Turn this chat into a Tomo course.”
- What you get
- Quick questions with instant feedback, hearts and stars, ready to play in about a minute.
- Where it goes
- No sign-up to start. Connect your Tomo account and your streak carries on in the app.
You pick the voice
Theory of Computation is taught in the Bestie style: your friend who just gets it. Want a different feel? In the app you can spin up the same topic in any of Tomo's teaching styles. Same facts, totally different vibe.
More Technology on Tomo
Writing Reliable Arduino Code
Move beyond beginner sketches full of delays and fragile logic. Learn how to write non-blocking, responsive Arduino firmware that handles sensors, inputs, and complex behaviors without freezing or crashing.
Software Engineering: Systems & Science
Bridge the gap between working code and rigorous software systems. Explore the cognitive mechanics of human-computer interaction, the internal machinery of modern databases, formal theoretical computer science, and empirical research methods for evaluating software in practice.
Big-O in Real Code
Move beyond counting simple loops to evaluate hidden runtime costs, memory overhead, and algorithmic tradeoffs in production software.
Core Computer Science
Bridge the gap between writing basic scripts and understanding real computing systems. Explore how algorithms scale, how operating systems manage memory, how concurrency works, and the physical limits of computation.
Designing Software Systems
Learn how to turn messy business problems into clear, structured software blueprints. Master user story mapping, interactive wireframing, process modeling, and data architecture to design systems developers can build with precision.
Building Autonomous AI Agents
Bridge the gap between basic prompting and production-grade agentic systems. Learn how to architect autonomous loops, manage memory, coordinate multi-agent topologies, and deploy reliable self-healing workflows.
Start Theory of Computation today.
Download Tomo, search Theory of Computation, and play your first lesson in under a minute.