Formal Methods & AI for Reliable Databases
summary
Workflow converts TLA+ designs into executable state machines, uses TLC to generate counterexample traces, and feeds those traces into model-based tests against dqlite code to keep design and implementation in sync. Antithesis-guided simulation finds interleaving bugs faster than random Jepsen faults and supports snapshot debugging. Global histories get reconstructed (Lamport/Chandy heuristics) and checked against properties; proofs help for small deltas but don’t replace tests. TLA+ models and TLC traces Antithesis-guided simulation model-based tests fed real logs
AI-written summary · about
chapters (17)
- 0:00Introduction and speakers
- 1:59Protocol design challenges
- 5:28State machines for protocols
- 11:24Safety and liveness properties
- 12:28TLA specifications
- 14:33Model checking with TLC
- 17:41Global traces and postmortems
- 19:48Development workflow
- 21:13Legacy system testing
- 22:39Limitations of TLC
- 25:48Interesting predicates in testing
- 26:50Guided model checking
- 27:31Antithesis vs Jepsen
- 28:55AI-assisted proofs
- 30:41Proof complexity challenges
- 31:42Legacy system invariants
- 33:06Tool summary and conclusion
