Hostname: page-component-77c78cf97d-lmk9j Total loading time: 0 Render date: 2026-04-25T06:31:43.391Z Has data issue: false hasContentIssue false

Early Validation of High-Level System Requirements with Event Calculus and Answer Set Programming

Published online by Cambridge University Press:  15 January 2025

ONDŘEJ VAŠÍČEK
Affiliation:
Faculty of Information Technology, Brno University of Technology, Brno, Czech Republic (e-mail: ivasicek@fit.vut.cz)
JOAQUIN ARIAS
Affiliation:
Universidad Rey Juan Carlos, Móstoles, Spain (e-mail: joaquin.arias@urjc.es)
JAN FIEDOR
Affiliation:
Faculty of Information Technology, Brno University of Technology, Brno, Czech Republic Honeywell International S.R.O., Brno, Czech Republic (e-mail: ifiedor@fit.vutbr.cz)
GOPAL GUPTA
Affiliation:
Computer Science Department, UT Dallas, Richardson, TX, USA (e-mail: gupta@utdallas.edu)
BRENDAL HALL
Affiliation:
Ardent Innovation Labs, Eden prairie, MN, USA (e-mail: bren@ardentinnovationlabs.com)
BOHUSLAV KŘENA
Affiliation:
Faculty of Information Technology, Brno University of Technology, Brno, Czech Republic (e-mail: krena@fit.vutbr.cz)
BRIAN LARSON
Affiliation:
Multitude Corporation, St Paul, MN, USA (e-mail: brl@multitude.net)
SARAT CHANDRA VARANASI
Affiliation:
GE Aerospace Research, Niskayuna, NY, USA (e-mail: SaratChandra.Varanasi@ge.com)
TOMÁŠ VOJNAR
Affiliation:
Faculty of Information Technology, Brno University of Technology, Brno, Czech Republic Faculty of Informatics, Masaryk University, Brno, Czech Republic (e-mail: vojnar@fi.muni.cz)
Rights & Permissions [Opens in a new window]

Abstract

This paper proposes a new methodology for early validation of high-level requirements on cyber-physical systems with the aim of improving their quality and, thus, lowering chances of specification errors propagating into later stages of development where it is much more expensive to fix them. The paper presents a transformation of a real-world requirements specification of a medical device—the Patient-Controlled Analgesia (PCA) Pump—into an Event Calculus model that is then evaluated using Answer Set Programming and the s(CASP) system. The evaluation under s(CASP) allowed deductive as well as abductive reasoning about the specified functionality of the PCA pump on the conceptual level with minimal implementation or design dependent influences and led to fully automatically detected nuanced violations of critical safety properties. Further, the paper discusses scalability and non-termination challenges that had to be faced in the evaluation and techniques proposed to (partially) solve them. Finally, ideas for improving s(CASP) to overcome its evaluation limitations that still persist as well as to increase its expressiveness are presented.

Information

Type
Original Article
Creative Commons
Creative Common License - CCCreative Common License - BY
This is an Open Access article, distributed under the terms of the Creative Commons Attribution licence (https://creativecommons.org/licenses/by/4.0/), which permits unrestricted re-use, distribution and reproduction, provided the original article is properly cited.
Copyright
© The Author(s), 2025. Published by Cambridge University Press
Figure 0

Table 1. Results of simulation of relevant use cases and exception cases

Figure 1

Table 2. Overdose querying on ExC13 and UC2

Supplementary material: File

VAŠÍČEK et al. supplementary material 1

VAŠÍČEK et al. supplementary material
Download VAŠÍČEK et al. supplementary material 1(File)
File 223.9 KB
Supplementary material: File

VAŠÍČEK et al. supplementary material 2

VAŠÍČEK et al. supplementary material
Download VAŠÍČEK et al. supplementary material 2(File)
File 22.5 KB