Back to Search
Start Over
Operational Semantics of Annotated Reflex Programs
- Source :
- Modelirovanie i Analiz Informacionnyh Sistem, Vol 26, Iss 4, Pp 475-487 (2019)
- Publication Year :
- 2020
- Publisher :
- Allerton Press, 2020.
-
Abstract
- Reflex is a process-oriented language that provides a design of easy-to-maintain control software for programmable logic controllers. The language has been successfully used in a several reliability critical control systems, e. g. control software for a silicon single crystal growth furnace and electronic equipment control system. Currently, the main goal of the Reflex language project is to develop formal verification methods for Reflex programs in order to guarantee increased reliability of the software created on its basis. The paper presents the formal operational semantics of Reflex programs extended by annotations describing the formal specification of software requirements as a necessary basis for the application of such methods. A brief overview of the Reflex language is given and a simple example of its use – a control program for a hand dryer – is provided. The concepts of environment and variables shared with the environment are defined that allows to disengage from specific input/output ports. Types of annotations that specify restrictions on the values of the variables at program launch, restrictions on the environment (in particular, on the control object), invariants of the control cycle, pre- and postconditions of external functions used in Reflex programs are defined. Annotated Reflex also uses standard annotations assume, assert and havoc. The operational semantics of the annotated Reflex programs uses the global clock as well as the local clocks of separate processes, the time of which is measured in the number of iterations of the control cycle, to simulate time constraints on the execution of processes at certain states. It stores a complete history of changes of the values of shared variables for a more precise description of the time properties of the program and its environment. Semantics takes into account the infinity of the program execution cycle, the logic of process transition management from state to state and the interaction of processes with each other and with the environment. Extending the formal operational semantics of the Reflex language to annotations simplifies the proof of the correctness of the transformation approach to deductive verification of Reflex programs developed by the authors, transforming an annotated Reflex program to an annotated program in a very limited subset of the C language, by reducing a complex proof of preserving the truth of program requirements during the transformation to a simpler proof of equivalence of the original and the resulting annotated programs with respect to their operational semantics.
- Subjects :
- 0209 industrial biotechnology
Economics and Econometrics
Correctness
Semantics (computer science)
Computer science
0211 other engineering and technologies
Information technology
02 engineering and technology
computer.software_genre
Operational semantics
020901 industrial engineering & automation
Software
Formal specification
Materials Chemistry
Media Technology
0202 electrical engineering, electronic engineering, information engineering
Software requirements
Equivalence (formal languages)
programmable logic controller
Formal verification
021110 strategic, defence & security studies
business.industry
Programming language
020207 software engineering
Forestry
control software
T58.5-58.64
annotation
Control and Systems Engineering
Control system
operational semantics
annotated program
Signal Processing
reflex language
020201 artificial intelligence & image processing
State (computer science)
control system
business
computer
Subjects
Details
- ISSN :
- 1558108X and 01464116
- Volume :
- 54
- Database :
- OpenAIRE
- Journal :
- Automatic Control and Computer Sciences
- Accession number :
- edsair.doi.dedup.....e0f92fdf315443d2493c342c8b544007
- Full Text :
- https://doi.org/10.3103/s0146411620070032