~/talk

Teaching Automata Theory and Formal Languages with Dafny

Talkat Dafny 2026 · on Sunday, 2026-01-11
links:none on file
slides:none on file

A second‑year automata course encodes textbook definitions in Dafny and produces a machine semantics formalized as a quintuple, a verified imperative simulator that returns acceptance booleans with loop invariants, and a visualizer and web frontend for execution. Students implement DFSMs, debug with the simulator, and construct machine‑specific proofs (induction over string length and state lemmas). Most DFAs/NDFAs and parts of PDAs are fully mechanized; pumping‑lemma and some decidability material remain informal.

AI-written summary · about

  1. 0:00Teaching automata theory with Dafny
  2. 1:25Personal journey with Dafny
  3. 3:32Defining DFAs in Dafny
  4. 6:13Simulating machines with Dafny
  5. 8:48Formalizing language semantics
  6. 11:01Students proving their machines
  7. 12:46Proved interpreters in theory
  8. 13:29Nondeterministic machines in Dafny
  9. 14:54Summary and takeaways
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.