An Agile Formal Specification Language Design Based on K Framework

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Zhang, Jianyu, Zhang, Long, Wu, Yixuan, Yang, Feng
Format: Preprint
Published: 2024
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866911857332191232
author Zhang, Jianyu
Zhang, Long
Wu, Yixuan
Yang, Feng
author_facet Zhang, Jianyu
Zhang, Long
Wu, Yixuan
Yang, Feng
contents Formal Methods (FMs) are currently essential for verifying the safety and reliability of software systems. However, the specification writing in formal methods tends to be complex and challenging to learn, requiring familiarity with various intricate formal specification languages and verification technologies. In response to the increasing complexity of software frameworks, existing specification writing methods fall short in meeting agility requirements. To address this, this paper introduces an Agile Formal Specification Language (ASL). The ASL is defined based on the K Framework and YAML Ain't Markup Language (YAML). The design of ASL incorporates agile design principles, making the writing of formal specifications simpler, more efficient, and scalable. Additionally, a specification translation algorithm is developed, capable of converting ASL into K formal specification language that can be executed for verification. Experimental evaluations demonstrate that the proposed method significantly reduces the code size needed for specification writing, enhancing agility in formal specification writing.
format Preprint
id arxiv_https___arxiv_org_abs_2404_18515
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle An Agile Formal Specification Language Design Based on K Framework
Zhang, Jianyu
Zhang, Long
Wu, Yixuan
Yang, Feng
Software Engineering
Formal Methods (FMs) are currently essential for verifying the safety and reliability of software systems. However, the specification writing in formal methods tends to be complex and challenging to learn, requiring familiarity with various intricate formal specification languages and verification technologies. In response to the increasing complexity of software frameworks, existing specification writing methods fall short in meeting agility requirements. To address this, this paper introduces an Agile Formal Specification Language (ASL). The ASL is defined based on the K Framework and YAML Ain't Markup Language (YAML). The design of ASL incorporates agile design principles, making the writing of formal specifications simpler, more efficient, and scalable. Additionally, a specification translation algorithm is developed, capable of converting ASL into K formal specification language that can be executed for verification. Experimental evaluations demonstrate that the proposed method significantly reduces the code size needed for specification writing, enhancing agility in formal specification writing.
title An Agile Formal Specification Language Design Based on K Framework
topic Software Engineering
url https://arxiv.org/abs/2404.18515