Flexible Correct-By-Construction Programming
dc.contributor.author | Runge, Tobias | |
dc.contributor.author | Bordis, Tabea | |
dc.contributor.author | Potanin, Alex | |
dc.contributor.author | Thum, Thomas | |
dc.contributor.author | Schaefer, Ina | |
dc.date.accessioned | 2024-11-04T00:07:28Z | |
dc.date.available | 2024-11-04T00:07:28Z | |
dc.date.issued | 2023 | |
dc.date.updated | 2024-02-04T07:15:44Z | |
dc.description | This work was partially supported by funding from the topic Engineering Secure Systems of the Helmholtz Association (HGF) and by KASTEL Security Research Labs (46.23.03). We thank Frederik Fr¨oling for his work on CbC-Block in his Master’s Thesis. | |
dc.description.abstract | Correctness-by-Construction (CbC) is an incremental program construction process to construct functionally correct programs. The programs are constructed stepwise along with a specification that is inherently guaranteed to be satisfied. CbC is complex to use without specialized tool support, since it needs a set of predefined refinement rules of fixed granularity which are additional rules on top of the programming language. Each refinement rule introduces a specific programming statement and developers cannot depart from these rules to construct programs. CbC allows to develop software in a structured and incremental way to ensure correctness, but the limited flexibility is a disadvantage of CbC. In this work, we compare classic CbC with CbC-Block and Trait-CbC. Both approaches CbC-Block and Trait-CbC, are related to CbC, but they have new language constructs that enable a more flexible software construction approach. We provide for both approaches a programming guideline, which similar to CbC, leads to well-structured programs. CbC-Block extends CbC by adding a refinement rule to insert any block of statements. Therefore, we introduce CbC-Block as an extension of CbC. Trait-CbC implements correctness-by-construction on the basis of traits with specified methods. We formally introduce Trait-CbC and prove soundness of the construction strategy. All three development approaches are qualitatively compared regarding their programming constructs, tool support, and usability to assess which is best suited for certain tasks and developers. | |
dc.format.mimetype | application/pdf | en_AU |
dc.identifier.issn | 1860-5974 | |
dc.identifier.uri | https://hdl.handle.net/1885/733723207 | |
dc.language.iso | en_AU | en_AU |
dc.provenance | This work is licensed under the Creative Commons Attribution License. To view a copy of this license, visit https://creativecommons.org/licenses/by/4.0/ or send a letter to Creative Commons, 171 Second St, Suite 300, San Francisco, CA 94105, USA, or Eisenacher Strasse 2, 10777 Berlin, Germany | |
dc.publisher | International Federation of Computational Logic (IfCoLog) | |
dc.rights | © 2023 The authors | |
dc.rights.license | Creative Commons Attribution licence | |
dc.rights.uri | http://creativecommons.org/licenses/by/4.0/ | |
dc.source | Logical Methods in Computer Science | |
dc.subject | Traits | |
dc.subject | Correctness-by-Construction | |
dc.subject | Formal Methods | |
dc.subject | Post-hoc Verification | |
dc.title | Flexible Correct-By-Construction Programming | |
dc.type | Journal article | |
dcterms.accessRights | Open Access | |
local.bibliographicCitation.issue | 2 | |
local.bibliographicCitation.lastpage | 36 | |
local.bibliographicCitation.startpage | 1 | |
local.contributor.affiliation | Runge, Tobias, Karlsruhe Institute of Technology, | |
local.contributor.affiliation | Bordis, Tabea, Karlsruhe Institute of Technology | |
local.contributor.affiliation | Potanin, Alex, College of Engineering, Computing and Cybernetics, ANU | |
local.contributor.affiliation | Thum, Thomas, University of Ulm | |
local.contributor.affiliation | Schaefer, Ina, Karlsruhe Institute of Technology | |
local.contributor.authoremail | u1121589@anu.edu.au | |
local.contributor.authoruid | Potanin, Alex, u1121589 | |
local.description.notes | Imported from ARIES | |
local.identifier.absfor | 461204 - Programming languages | |
local.identifier.absfor | 461208 - Software testing, verification and validation | |
local.identifier.absfor | 461200 - Software engineering | |
local.identifier.absseo | 220401 - Application software packages | |
local.identifier.ariespublication | u1121589xPUB1 | |
local.identifier.citationvolume | 19 | |
local.identifier.doi | 10.46298/lmcs-19(2:16)2023 | |
local.identifier.uidSubmittedBy | u1121589 | |
local.publisher.url | https://lmcs.episciences.org/ | |
local.type.status | Published Version | |
publicationvolume.volumeNumber | 19 |
Downloads
Original bundle
1 - 1 of 1