MCP
WS

William Schultz

10 papers in the library · Same-name authors told apart using DBLP

Papers

10
Design and Modular Verification of Distributed Transactions in MongoDB
William SchultzMurat Demirbas
This paper reports experience applying modular formal specification to MongoDB's distributed multi-document transactions protocol, which was built incrementally atop the existing WiredTiger snapshot-isolated key-value storage engine. The authors formally specify the protocol and its interface with the storage layer, verifying high-level protocol properties while formalizing the contract between the two components; an explicit state model checker then generates test cases from the storage model that are executed against the implementation to check conformance to that interface. Besides key isolation properties, the specification enabled formal analysis of permissiveness, how well the protocol maximizes concurrency within an isolation level, which had not previously been examined.
PVLDBPVLDB · September 16, 2025
0
Efficient Synthesis of Symbolic Distributed Protocols by Sketching
Derek EgolfWilliam SchultzStavros Tripakis
This paper presents Scythe, a tool for synthesizing parameterized distributed protocols from sketches. It combines syntax-guided and counterexample-guided synthesis with a fast equivalence reduction technique that prunes the search space of candidate completions by several orders of magnitude. Scythe is the first synthesis tool for TLA+ and can handle a large-scale Raft-based dynamic reconfiguration protocol beyond the reach of existing methods.
arXivarXiv · · May 13, 2024
0
7
Interactive Safety Verification of Distributed Protocols by Inductive Proof Decomposition
William SchultzEdward AshtonHeidi HowardStavros Tripakis
This paper introduces inductive proof decomposition, an interactive methodology for safety verification of distributed protocols. It structures the human-aided development of inductive invariants through an inductive proof graph, built backward from a target safety property. Induction counterexamples are localized to specific graph nodes, which are further decomposed by logical actions in the protocol's transition relation. A localized variable slicing technique hides irrelevant state at each sub-component, focusing users on fine-grained sub-problems. The approach was used to verify several complex protocols, including Raft, which is beyond the reach of automated tools.
arXivarXiv · · April 28, 2024
0
6
Turbulence Supported Massive Star Envelopes
William SchultzLars BildstenYan-Fei Jiang
The outer envelopes of massive stars show large opacity increases that trigger near-surface convection zones. Five 3D Athena++ RHD models (including a new 13 $M_\odot$ model) show that when convective velocities approach the sound speed, turbulent pressure provides up to 80% of the force balance, causing hydrostatic balance to fail. This modifies the temperature gradient, reducing superadiabaticity. All models exhibit significant overshooting, eliminating confined convection zones as seen in 1D models.
arXivarXiv · · June 13, 2023
0
10
Plain and Simple Inductive Invariant Inference for Distributed Protocols in TLA+
William SchultzIan DardikStavros Tripakis
This paper presents the first technique for automatically inferring inductive invariants of parameterized TLA+ specifications. The algorithm generates plain, potentially non-inductive lemma invariants as candidate conjuncts, then greedily selects those eliminating the most counterexamples to induction in each round. The tool Endive demonstrates competitive performance on diverse benchmarks and uniquely solves an industrial reconfiguration protocol.
arXivarXiv · · May 12, 2022
0
22
Formal Verification of a Distributed Dynamic Reconfiguration Protocol
William SchultzIan DardikStavros Tripakis
This paper presents the first machine-checked inductive invariant and safety proof for a dynamic reconfiguration protocol in a Raft-based replication system. The authors formalize an inductive invariant for MongoRaftReconfig, MongoDB's dynamic reconfiguration protocol, in TLA+ and use the TLA+ proof system (TLAPS) to prove two key safety properties: LeaderCompleteness and StateMachineSafety. The formal proof provides a machine-verified guarantee of correctness for the protocol's behavior during membership changes.
arXivarXiv · · September 24, 2021
0
21
Design and Analysis of a Logless Dynamic Reconfiguration Protocol
William SchultzSiyuan ZhouIan DardikStavros Tripakis
MongoRaftReconfig is a new dynamic reconfiguration protocol for MongoDB's Raft-based replication. It decouples configuration changes from the main operation log by managing configuration state separately, without a dedicated log. The protocol includes a TLA+ formal specification and a safety proof, verified by model checking. Experimentally, its optimizations improve reconfiguration performance compared to the single-server method of Raft.
arXivarXiv · · February 23, 2021
0
20
Convectively Driven Three Dimensional Turbulence in Massive Star Envelopes: I. A 1D Implementation of Diffusive Radiative Transport
William SchultzLars BildstenYan-Fei Jiang
Massive stars with $M>30\,M_\odot$ have near-Eddington luminosities, so iron-opacity peaks at $T\approx180,000\,\mathrm{K}$ trigger supersonic convection in their outer envelopes. 3D simulations show large density and radiative flux fluctuations even at high optical depths. This paper demonstrates that radiation can diffuse out of a convective parcel within the convective timescale, motivating a pseudo Mach number to characterize fluctuations. The central contribution is a 1D implementation that adjusts the radiative pressure gradient to match 3D results, significantly improving agreement. However, pressure and luminosity transport effects remain for future work.
arXivarXiv · · September 2, 2020
0
Tunable consistency in MongoDB
William SchultzTess AvitabileAlyson Cabral
MongoDB's replication system exposes a spectrum of consistency levels that let client applications choose their own consistency-latency trade-off on a per-operation basis, rather than paying the cost of always maintaining strong consistency. The paper explains how this tunable consistency is enabled by the replication system's speculative execution model and data rollback protocol, and it supports the account with case studies of real-world applications using these levels plus a characterization of their performance benefits and trade-offs.
PVLDBPVLDB · August 2019
0
Design and Modular Verification of Distributed Transactions in MongoDB
William SchultzMurat Demirbas
DBLP · VLDB 2025
0
8
Frequent collaborators
Stavros Tripakis (5)
Ian Dardik (3)
Murat Demirbas (2)
Lars Bildsten (2)
Yan-Fei Jiang (2)
Derek Egolf (1)
Edward Ashton (1)
Heidi Howard (1)
Siyuan Zhou (1)
Tess Avitabile (1)
Alyson Cabral (1)