~/talk

Formal Verification of Minimax Algorithms

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

Formal verification uses Dafny to prove correctness of negamax variants with alpha‑beta pruning, depth limits, and transposition tables; the key contribution is a witness‑based correctness criterion that requires a corresponding game tree. The Wikipedia-style algorithm verifies (about 800 lines verified in 4s and Python code available), while the Marsland variant violates the criterion and a concrete counterexample is constructed showing its returned value has no witness.

AI-written summary · about

  1. 0:00Formal verification intro
  2. 1:49Minimax algorithm features
  3. 3:56Transposition table search
  4. 6:24Correctness for transposition tables
  5. 9:15Counterexample in Marsland’s algorithm
  6. 11:43Witness criterion failure
  7. 12:48Daphne verification experiences
  8. 14:57Conclusion and future
~/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.