Master's Thesis

Specifying Distributed Hash Tables with Allen’s Temporal Logic in Alloy

Nuno Alexandre Marques Policarpo — 2024

Key information

Authors:

Nuno Alexandre Marques Policarpo (Nuno Alexandre Marques Policarpo)

Supervisors:

José Faustino Fragoso Femenin dos Santos (José Faustino Fragoso Femenin dos Santos); Manuel Alcino Pereira Cunha

Published in

November 15, 2024

Abstract

Peer-to-peer systems leverage decentralized architectures for improved fault tolerance, privacy, and censorship resilience. These systems rely on Distributed Hash Tables (DHTs) for efficient peer discovery and data storage, enabling scalability to millions of nodes. Therefore, ensuring the correct operation of DHTs is essential for the proper functioning of decentralized systems. Formal methods have been used to model and verify the correct functioning of various DHT protocols. However, these verification efforts are protocol-specific with each DHT having different correctness properties highly dependent on its topological invariants. This hinders the comparison of different DHT protocols and their provided guarantees. This thesis aims to improve the formal analysis of DHTs by proposing a protocol-independent axiomatization of DHT properties, enabling the standardized evaluation of DHT properties and formal model comparison. The proposed DHT axiomatization is modeled using a new encoding of Allen Temporal Logic (ATL), an established formalism for temporal reasoning, into First Order Linear Temporal Logic (FO-LTL) As part of the evaluation of this thesis, we demonstrate that our new encoding from ATL into FO-LTL is both more efficient and less complex than the only previously existing encoding.

Publication details

Authors in the community:

Supervisors of this institution:

Fields of Science and Technology (FOS)

electrical-engineering-electronic-engineering-information-engineering - Electrical engineering, electronic engineering, information engineering

Publication language (ISO code)

eng - English

Rights type:

Embargo lifted

Date available:

September 7, 2025

Institution name

Instituto Superior Técnico