Computers

Formal Modeling and Verification of Value-List B Trees in Coq+

Xuejian Li, Kai Lin

Key points

From the paper's conclusion
  • The formal results and executable evaluation provide a precise account of duplicate-key query semantics and local update behavior, supporting further verification of recursive updates and refinement to concrete storage implementations.

Abstract

Duplicate-key indexing requires precise specifications of value aggregation, query results, and update behavior. This paper presents a Coq formalization of Value-List B+ Trees in which each leaf key is associated with a deduplicated value list. The model defines insertion, deletion, point lookup, and range queries and distinguishes structural validity from the ordering and routing conditions required for search. A layered analysis establishes lookup soundness and completeness under explicit search conditions, characterizes range queries as filtering the flattened tree contents, and verifies local update semantics and content preservation during deletion repair. A read–write lock model specifies acquisition failures and relates protected operations to their sequential counterparts. Functional evaluation compares executable instances of orders three and four with an independent reference model. All 1024 enumerated short operation sequences, eight longer traces, and 14 direct examples satisfy their specified checks. The formal results and executable evaluation provide a precise account of duplicate-key query semantics and local update behavior, supporting further verification of recursive updates and refinement to concrete storage implementations.

Read the paper

Discussion

Science Skim's AI key points, plus readers' public thoughts

Readers' thoughts

No reader thoughts yet.

Related papers