{"title":"Formal specification and verification of a team formation protocol using TLA+","authors":"Rajdeep Niyogi, Amar Nath","doi":"10.1002/spe.3307","DOIUrl":null,"url":null,"abstract":"Team formation in an environment where some relevant parameters are not known in advance is a challenging problem. Communicating automata and distributed algorithms have been used to describe protocols for team formation. A high-level specification provides a mathematical description of a protocol or a program. TLA<math altimg=\"urn:x-wiley:spe:media:spe3307:spe3307-math-0003\" display=\"inline\" location=\"graphic/spe3307-math-0003.png\" overflow=\"scroll\">\n<semantics>\n<mrow>\n<msup>\n<mrow></mrow>\n<mrow>\n<mo>+</mo>\n</mrow>\n</msup>\n</mrow>\n$$ {}^{+} $$</annotation>\n</semantics></math> is a formal specification language designed to provide high-level specifications of concurrent and distributed systems. The associated model checker known as TLC is capable of model checking the TLA<math altimg=\"urn:x-wiley:spe:media:spe3307:spe3307-math-0004\" display=\"inline\" location=\"graphic/spe3307-math-0004.png\" overflow=\"scroll\">\n<semantics>\n<mrow>\n<msup>\n<mrow></mrow>\n<mrow>\n<mo>+</mo>\n</mrow>\n</msup>\n</mrow>\n$$ {}^{+} $$</annotation>\n</semantics></math> specifications. Recently, formal specification of a team formation protocol is given using TLA<math altimg=\"urn:x-wiley:spe:media:spe3307:spe3307-math-0005\" display=\"inline\" location=\"graphic/spe3307-math-0005.png\" overflow=\"scroll\">\n<semantics>\n<mrow>\n<msup>\n<mrow></mrow>\n<mrow>\n<mo>+</mo>\n</mrow>\n</msup>\n</mrow>\n$$ {}^{+} $$</annotation>\n</semantics></math> when there is a single initiator (an agent or a robot) that initiates the team formation. Using TLA<math altimg=\"urn:x-wiley:spe:media:spe3307:spe3307-math-0006\" display=\"inline\" location=\"graphic/spe3307-math-0006.png\" overflow=\"scroll\">\n<semantics>\n<mrow>\n<msup>\n<mrow></mrow>\n<mrow>\n<mo>+</mo>\n</mrow>\n</msup>\n</mrow>\n$$ {}^{+} $$</annotation>\n</semantics></math>, we examine the formal specification for the multiple initiator situation and demonstrate that a composition technique can yield a single monolithic specification for the multiple initiator situation from the single initiator situation specification. We have used models of varying sizes, and the TLC model checker has confirmed that the protocol's specifications meet certain desired characteristics in each case.","PeriodicalId":21899,"journal":{"name":"Software: Practice and Experience","volume":"15 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2023-12-27","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Software: Practice and Experience","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1002/spe.3307","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
Team formation in an environment where some relevant parameters are not known in advance is a challenging problem. Communicating automata and distributed algorithms have been used to describe protocols for team formation. A high-level specification provides a mathematical description of a protocol or a program. TLA is a formal specification language designed to provide high-level specifications of concurrent and distributed systems. The associated model checker known as TLC is capable of model checking the TLA specifications. Recently, formal specification of a team formation protocol is given using TLA when there is a single initiator (an agent or a robot) that initiates the team formation. Using TLA, we examine the formal specification for the multiple initiator situation and demonstrate that a composition technique can yield a single monolithic specification for the multiple initiator situation from the single initiator situation specification. We have used models of varying sizes, and the TLC model checker has confirmed that the protocol's specifications meet certain desired characteristics in each case.