TY - GEN
T1 - SpecEdit
T2 - 2020 Formal Requirements, FORMREQ 2020
AU - Cuinat, Riwan
AU - Teodorov, Ciprian
AU - Champeau, Joel
N1 - Publisher Copyright:
© 2020 IEEE.
PY - 2020/8/1
Y1 - 2020/8/1
N2 - 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.
AB - 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.
KW - Formal-Specifications
KW - Projectional-Editor
KW - TLA+
UR - https://www.scopus.com/pages/publications/85096602120
U2 - 10.1109/FORMREQ51202.2020.00008
DO - 10.1109/FORMREQ51202.2020.00008
M3 - Conference contribution
AN - SCOPUS:85096602120
T3 - Proceedings - Formal Requirements, FORMREQ 2020
SP - 1
EP - 7
BT - Proceedings - Formal Requirements, FORMREQ 2020
PB - Institute of Electrical and Electronics Engineers Inc.
Y2 - 31 August 2020
ER -