Laws of mission-based programming

Frank Zeyda, Ana Cavalcanti · Formal Aspects of Computing · 2015

Abstract Safety-Critical Java (SCJ) is a recent technology that changes the execution and memory model of Java in such a way that applications can be statically analysed and certified for their real-time properties and safe use of memory. Our interest is in the development of comprehensive and sound techniques for the formal specification, refinement, design, and implementation of SCJ programs, using a correct-by-construction approach. As part of this work, we present here an account of laws and patterns that are of general use for the refinement of SCJ mission specifications into designs of parallel handlers, as they are used in the SCJ programming paradigm. Our refinement notation is a combination of languages from theCircusfamily, supporting state-rich reactive models with the addition of class objects and real-time properties. Starting from a sequential and centralisedCircusspecification, our laws permit refinement intoCircusmodels of SCJ program designs. Automation and proof of the refinement laws is examined here, too. Our work is an important step towards eliciting laws of programming for SCJ and fits into a refinement strategy that we have developed previously to derive SCJ programs from specifications in a rigorous manner.

Read the paper · More papers on PaperTik