Dev Uses AI-Assisted TLA+ Formal Verification, Finds Hole in His Own Nethack Fix

davidbau · x · 2026-09-28

Developer davidbau shares how, with AI assistance, he's learning formal methods: after an interactive wire protocol kept misbehaving during server hot-updates, Claude suggested using TLA+ to formally verify the protocol design. He had already found a Nethack bug and — via formal verification — discovered a hole in his first fix, illustrating how easily issues slip through manual assumption-checking.

Related event: MIT Researcher Uses AI and Formal Verification to Uncover NetHack Bugs(3 posts)→

Original post →

More from coding & agent

coding & agent channel →