~/talk

TLA+ and Clojure, a Small Primer

Talkat Clojure/north 2020 · 2020-06-25..06-26· [clojure]
slides:none on file

TLA+ model checking finds a race in a Clojure money transfer example where two concurrent transfers break the total balance invariant. The workflow uses TLC-style invariants and a liveness check, then fixes the bug by making the update an atomic step and adding fairness to processes. A Clojure helper library overrides TLA+ operators and replays counterexample traces so the bug reproduces in tests; after the changes both safety and liveness checks pass.

AI-written summary · about

  1. 0:00Start
  2. 2:23Syntax
  3. 3:06Language Helpers
  4. 6:40Concrete Operators
  5. 8:15Money Transfer
  6. 9:50The Specification
  7. 12:13Labels
~/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.