Skip to main navigation Skip to search Skip to main content

SpecEdit: Projectional Editing for TLA+ Specifications

  • ENSTA Bretagne

Research output: Chapter in Book/Report/Conference proceeding › Conference contribution › peer-review

1 Citation (Scopus)

Abstract

High quality requirements and specifications are the premises of efficient software system engineering. Formal approaches propose precise and unambiguous requirements amendable to automated reasoning. TLA+, for instance, is used by major companies, such as Microsoft and Amazon, to specify high-profile business critical systems. However, despite its undeniable strengths for the specification of complex distributed systems, TLA+ suffers from the duality of its syntax, which hinders its large-scale industrial adoption. A system engineer can easily read mathematical specifications in TLA+, produced through LaTeX. However, for writing TLA+ specifications, he must learn the discommoding ASCII syntax, which requires unnecessary effort and dedicated learning time. This paper introduces SpecEdit, an IDE for TLA+ with a projectional editor that solves this issue. SpecEdit exposes the mathematical syntax of TLA+ for both reading and writing specifications, without requiring external transformations. This approach minimizes the cognitive effort and streamlines the formal system specification process. We illustrate the benefits of our approach using the specification of the Elasticsearch cluster coordination module. We furthermore emphasize the complementarity with the existing TLA+ tools. Through SpecEdit, TLA+ gains the specification editor that was missing without compromising compatibility with the existing tools.

Original languageEnglish
Title of host publicationProceedings - Formal Requirements, FORMREQ 2020
PublisherInstitute of Electrical and Electronics Engineers Inc.
Pages1-7
Number of pages7
ISBN (Electronic)9781728183589
DOIs
Publication statusPublished - 1 Aug 2020
Event2020 Formal Requirements, FORMREQ 2020 - Zurich, Switzerland
Duration: 31 Aug 2020 → …

Publication series

NameProceedings - Formal Requirements, FORMREQ 2020

Conference

Conference2020 Formal Requirements, FORMREQ 2020
Country/TerritorySwitzerland
CityZurich
Period31/08/20 → …

Keywords

  • Formal-Specifications
  • Projectional-Editor
  • TLA+

Fingerprint

Dive into the research topics of 'SpecEdit: Projectional Editing for TLA+ Specifications'. Together they form a unique fingerprint.

Cite this