Mechanizing Transactional Anomalous Patterns for Weak Isolation Levels
Long Gu, Si Liu, Hengfeng Wei
Key points
From the paper's conclusion- We present the first machine-checked formalization of TAPs and their associated weak isolation levels in Rocq.
Abstract
Recently proposed transactional anomalous patterns (TAPs) provide a semantic characterization of weak isolation levels and serve as the foundation for TAP-based isolation checking. Yet, these characterizations currently exist only as pen-and-paper proofs. We present the first machine-checked formalization of TAPs and their associated weak isolation levels in Rocq. We further establish machine-checked proofs of the corresponding TAP-based characterization theorems. The mechanization process revealed two subtle issues in the original presentation: an underspecified transaction history model and an incomplete TAP characterization of the Read Atomicity isolation level that failed to capture violations of session guarantees. We address these issues by refining the definition of transaction histories and the corresponding TAP definitions, and re-establish all characterization theorems in Rocq. These refinements have further been integrated into the weak isolation checker Plume.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Matoi: Selective Revalidation of Consequence Evidence for Agent AuthorizationarXiv · 2026
- Vbox: Efficient Black-Box Serializability VerificationProceedings of the ACM on Software Engineering · 2026
- Staged Multi-step UTXO Workflows via Recursive InvariantsProceedings of the ACM on Programming Languages · 2026
- PASS Is a Claim, Not an Observation: Mechanical Re-verification of 10 Self-Asserted Fix Claims in a Live Multi-Agent Audit LayerarXiv · 2026
- TLAPS-Bench: Formally Proving Correctness of Real-World System Specifications with TLA+ Proof SystemarXiv · 2026
- CascadeLedger: Counterfactual Auditing of Information and Resource Integrity in LLM CascadesarXiv · 2026