Verifying Differential Privacy in TLA+
summary
Adapts Barth et al 2014 self-product construction into the TLA+ ecosystem and automates it with a Python/tree-sitter pass that rewrites a PlusCal fragment into a TLA+ self-product, introducing ghost variables V_epsilon and V_delta and modeling Laplace via an uninterpreted abstract mechanism. Verifies SmartSum with a loop invariant that yields SmartSum is 2ε-differentially private, and PTR with a mixed spec giving privacy (ε, lap_tail(ε,T)). Uses TLC for bounded model checking and TLAPS for inductive proofs; limitations include real arithmetic and only Laplace implemented.
AI-written summary · about
chapters (12)
- 0:00Introduction and motivation
- 1:30What is differential privacy
- 3:55Challenges in verifying DP
- 6:23Language for DP programs
- 8:08Self-product technique
- 10:53Main theorem and semantics
- 12:15Workflow in TLA+
- 15:45Case study: Smart Sum
- 19:16Approximate DP extension
- 22:25Case study: PTR algorithm
- 26:15Limitations and future work
- 27:37Conclusion and Q&A
