{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2025,5,16]],"date-time":"2025-05-16T11:40:02Z","timestamp":1747395602979,"version":"3.40.5"},"reference-count":48,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2015,3,1]],"date-time":"2015-03-01T00:00:00Z","timestamp":1425168000000},"content-version":"tdm","delay-in-days":0,"URL":"http:\/\/www.springer.com\/tdm"}],"content-domain":{"domain":["link.springer.com"],"crossmark-restriction":false},"short-container-title":["Form. Asp. Comput."],"published-print":{"date-parts":[[2015,3]]},"abstract":"<jats:title>Abstract<\/jats:title><jats:p>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 the<jats:bold><jats:italic>Circus<\/jats:italic><\/jats:bold>family, supporting state-rich reactive models with the addition of class objects and real-time properties. Starting from a sequential and centralised<jats:bold><jats:italic>Circus<\/jats:italic><\/jats:bold>specification, our laws permit refinement into<jats:bold><jats:italic>Circus<\/jats:italic><\/jats:bold>models 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.<\/jats:p>","DOI":"10.1007\/s00165-014-0317-8","type":"journal-article","created":{"date-parts":[[2015,1,7]],"date-time":"2015-01-07T11:12:51Z","timestamp":1420629171000},"page":"423-472","update-policy":"https:\/\/doi.org\/10.1007\/springer_crossmark_policy","source":"Crossref","is-referenced-by-count":1,"title":["Laws of mission-based programming"],"prefix":"10.1145","volume":"27","author":[{"given":"Frank","family":"Zeyda","sequence":"first","affiliation":[{"name":"Department of Computer Science, Deramore Lane, University of York, YO10 5GH, Heslington, York, UK"}],"role":[{"role":"author","vocabulary":"crossref"}]},{"given":"Ana","family":"Cavalcanti","sequence":"additional","affiliation":[{"name":"Department of Computer Science, Deramore Lane, University of York, YO10 5GH, Heslington, York, UK"}],"role":[{"role":"author","vocabulary":"crossref"}]}],"member":"320","reference":[{"key":"e_1_2_1_2_1_2","doi-asserted-by":"publisher","DOI":"10.5555\/1855020"},{"key":"e_1_2_1_2_2_2","doi-asserted-by":"publisher","DOI":"10.5555\/2366448.2366450"},{"key":"e_1_2_1_2_3_2","doi-asserted-by":"crossref","unstructured":"Back RJR (1989) Refinement calculus Part II: parallel and reactive programs. In: Stepwise refinement of distributed systems models formalisms correctness. LNCS vol 430. Springer Berlin pp 67\u201393","DOI":"10.1007\/3-540-52559-9_61"},{"key":"e_1_2_1_2_4_2","doi-asserted-by":"crossref","unstructured":"Back RJR Kurki-Suonio R (1983) Decentralization of process nets with centralized control. In: Proceedings of PODC \u201983 second ACM symposium on principles of distributed computing. ACM New York pp 131\u2013142","DOI":"10.1145\/800221.806716"},{"key":"e_1_2_1_2_5_2","doi-asserted-by":"crossref","first-page":"49","DOI":"10.1145\/340396.340450","article-title":"The Ravenscar profile","volume":"4","author":"Burns A","year":"1999","journal-title":"ACM SIGAda Ada Lett XIX"},{"key":"e_1_2_1_2_6_2","doi-asserted-by":"crossref","unstructured":"Butler M (2009) Decomposition structures for Event-B. In: Proceedings of IFM 2009 integrated formal methods. LNCS vol 5423. Springer Berlin pp 20\u201338","DOI":"10.1007\/978-3-642-00255-7_2"},{"key":"e_1_2_1_2_7_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00165-003-0005-6"},{"key":"e_1_2_1_2_8_2","unstructured":"Cavalcanti A (1997) A refinement calculus for Z. PhD thesis University of Oxford Oxford"},{"key":"e_1_2_1_2_9_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00165-010-0170-3"},{"key":"e_1_2_1_2_10_2","doi-asserted-by":"crossref","unstructured":"Cansell D M\u00e9ry D Rehm J Time constraint patterns for Event B development. In: Proceedings of B 2007: formal specification and development in B. LNCS vol 4355. Springer Berlin pp 140\u2013154","DOI":"10.1007\/11955757_13"},{"key":"e_1_2_1_2_11_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00165-003-0006-5"},{"key":"e_1_2_1_2_12_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10270-005-0085-2"},{"key":"e_1_2_1_2_13_2","doi-asserted-by":"publisher","DOI":"10.1007\/s001650050016"},{"key":"e_1_2_1_2_14_2","doi-asserted-by":"crossref","unstructured":"Cavalcanti A Wellings A Woodcock J (2011) The Safety-Critical Java memory model: a formal account. In: Proceedings of FM 2011: formal methods. LNCS vol 6664. Springer Berlin pp 246\u2013261","DOI":"10.1007\/978-3-642-21437-0_20"},{"key":"e_1_2_1_2_15_2","doi-asserted-by":"crossref","unstructured":"Cavalcanti A Wellings A Woodcock J Wei K Zeyda F (2011) Safety-Critical Java in Circus . In: Proceedings of JTRES 2011 9th international workshop on java technologies for real-time and embedded systems. ACM New York pp 20\u201329","DOI":"10.1145\/2043910.2043915"},{"key":"e_1_2_1_2_16_2","doi-asserted-by":"publisher","DOI":"10.1007\/s11241-013-9182-4"},{"key":"e_1_2_1_2_17_2","doi-asserted-by":"crossref","unstructured":"Dalsgaard AE Hansen RR Schoeberl M (2012) Private memory allocation analysis for Safety-Critical Java. In: Proceedings of JTRES 2012 10th international workshop on java technologies for real-time and embedded systems. ACM New York pp 9\u201317","DOI":"10.1145\/2388936.2388939"},{"key":"e_1_2_1_2_18_2","first-page":"The BCS FACS re","article-title":"Refinement and the Z schema calculus","volume":"2002","author":"Groves L","year":"2002","journal-title":"In: Proceedings of REFINE"},{"key":"e_1_2_1_2_19_2","unstructured":"Henties T Hunt JJ Locke D Nilsen K Schoeberl M Vitek J (2009) Java for safety-critical applications. In: Proceedings of SafeCert 2009 pp 1\u201311"},{"volume-title":"Unifying theories of programming","year":"1998","author":"Hoare CAR","key":"e_1_2_1_2_20_2"},{"key":"e_1_2_1_2_21_2","doi-asserted-by":"crossref","unstructured":"Haddad G Leavens GT (2011) Specifying subtypes in SCJ programs. In Proceedings of JTRES 2011 9th international workshop on java technologies for real-time and embedded systems. ACM New York pp 40\u201346","DOI":"10.1145\/2043910.2043917"},{"key":"e_1_2_1_2_22_2","doi-asserted-by":"publisher","DOI":"10.1007\/PL00013311"},{"key":"e_1_2_1_2_23_2","doi-asserted-by":"crossref","unstructured":"Kalibera T Hagelberg J Pizlo F Plsek A Titzer B Vitek J (2009) CD x : A family of real-time Java benchmarks. In: Proceedings of JTRES 2009 7th international workshop on Java technologies for real-time and embedded systems. ACM New York pp 41\u201350","DOI":"10.1145\/1620405.1620412"},{"volume-title":"Programming from specifications","year":"1994","author":"Morgan CC","key":"e_1_2_1_2_24_2"},{"key":"e_1_2_1_2_25_2","doi-asserted-by":"crossref","unstructured":"Norrish M (2003) Complete integer decision procedures as derived rules in HOL. In: Proceedings of TPHOLs 2003 theorem proving in higher order logics. LNCS vol 2758. Springer Berlin pp 71\u201386","DOI":"10.1007\/10930755_5"},{"key":"e_1_2_1_2_26_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00165-007-0052-5"},{"key":"e_1_2_1_2_27_2","unstructured":"Oliveira M (2005) Formal derivation of state-rich reactive programs using Circus . PhD thesis University of York York"},{"key":"e_1_2_1_2_28_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2010.11.012"},{"key":"e_1_2_1_2_29_2","doi-asserted-by":"crossref","unstructured":"Pizlo F Fox JM Holmes D Vitek J (2004) Real-time Java scoped memory: design patterns and semantics. In Proceedings of the seventh IEEE international symposium on object-oriented real-time distributed computing. IEEE New York pp 101\u2013110","DOI":"10.1109\/ISORC.2004.1300335"},{"key":"e_1_2_1_2_30_2","doi-asserted-by":"publisher","DOI":"10.5555\/550448"},{"volume-title":"Understanding concurrent systems","year":"2011","author":"Roscoe AW","key":"e_1_2_1_2_31_2"},{"key":"e_1_2_1_2_32_2","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(88)90030-8"},{"volume-title":"Software considerations in airborne systems and equipment certification","year":"2011","author":"RTCA\/EUROCAE joint committee","key":"e_1_2_1_2_33_2"},{"key":"e_1_2_1_2_34_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00165-009-0119-6"},{"key":"e_1_2_1_2_35_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00165-005-0076-7"},{"key":"e_1_2_1_2_36_2","doi-asserted-by":"crossref","unstructured":"S\u00f8ndergaard H Thomsen B Ravn AP (2006) A Ravenscar-Java profile implementation. In: Proceedings of JTRES 2006 4th international workshop on Java technologies for real-time and embedded systems. ACM New York pp 38\u201347","DOI":"10.1145\/1167999.1168008"},{"key":"e_1_2_1_2_37_2","doi-asserted-by":"crossref","unstructured":"Schneider S Treharne H Wehrheim H (2010) A CSP approach to control in Event-B. In: Proceedings of IFM 2010 integrated formal methods. LNCS vol 6396. Springer Berlin pp 260\u2013274","DOI":"10.1007\/978-3-642-16265-7_19"},{"key":"e_1_2_1_2_38_2","unstructured":"The Open Group (2011) Safety Critical Java technology specification\u2014Version 0.94. Technical Report JSR-302 Java Community Process. http:\/\/jcp.org\/en\/jsr\/detail?id=302"},{"key":"e_1_2_1_2_39_2","doi-asserted-by":"crossref","unstructured":"Tang D Plsek A Vitek J (2010) Static checking of Safety Critical Java annotations. In: Proceedings of JTRES 2010 8th international workshop on Java Technologies for real-time and embedded systems. ACM New York pp 148\u2013154","DOI":"10.1145\/1850771.1850792"},{"key":"e_1_2_1_2_40_2","doi-asserted-by":"publisher","DOI":"10.1145\/1347375.1347389"},{"volume-title":"Using Z: specification, refinement and proof","year":"1996","author":"Woodcock J","key":"e_1_2_1_2_41_2"},{"key":"e_1_2_1_2_42_2","doi-asserted-by":"publisher","DOI":"10.5555\/975253"},{"key":"e_1_2_1_2_43_2","unstructured":"Woodcock J (2013) CML definition 4. Technical Report COMPASS Deliverable 23.5 Seventh framework programme: comprehensive modelling for advanced systems of systems Grant Agreement 287829. http:\/\/www.compass-research.eu\/deliverables.html"},{"key":"e_1_2_1_2_44_2","doi-asserted-by":"crossref","unstructured":"Zeyda F Cavalcanti A (2013) Refining SCJ mission specifications into parallel handler designs. In: Proceedings of REFINE 2013: 16th BCS FACS refinement workshop\u2013EPTCS 1155267","DOI":"10.4204\/EPTCS.115.4"},{"key":"e_1_2_1_2_45_2","doi-asserted-by":"crossref","unstructured":"Zeyda F Cavalcanti A Wellings A (2011) The Safety-Critical Java mission model: a formal account. In: Proceedings of ICFEM 2011 13th international conference on formal engineering methods. LNCS vol 6991. Springer Berlin pp 49\u201365","DOI":"10.1007\/978-3-642-24559-6_6"},{"key":"e_1_2_1_2_46_2","unstructured":"Zeyda F Cavalcanti A Wellings A Woodcock J Wei K (2012) Refinement of the parallel CD x . Technical report University of York York. http:\/\/www.cs.york.ac.uk\/circus\/publications\/techreports\/"},{"key":"e_1_2_1_2_47_2","doi-asserted-by":"publisher","DOI":"10.1093\/comjnl\/bxt060"},{"key":"e_1_2_1_2_48_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00165-011-0218-z"}],"container-title":["Formal Aspects of Computing"],"original-title":[],"language":"en","link":[{"URL":"http:\/\/link.springer.com\/content\/pdf\/10.1007\/s00165-014-0317-8.pdf","content-type":"application\/pdf","content-version":"vor","intended-application":"text-mining"},{"URL":"http:\/\/link.springer.com\/article\/10.1007\/s00165-014-0317-8\/fulltext.html","content-type":"text\/html","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1007\/s00165-014-0317-8","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,5,16]],"date-time":"2025-05-16T11:18:21Z","timestamp":1747394301000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1007\/s00165-014-0317-8"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2015,3]]},"references-count":48,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2015,3]]}},"alternative-id":["10.1007\/s00165-014-0317-8"],"URL":"https:\/\/doi.org\/10.1007\/s00165-014-0317-8","relation":{},"ISSN":["0934-5043","1433-299X"],"issn-type":[{"type":"print","value":"0934-5043"},{"type":"electronic","value":"1433-299X"}],"subject":[],"published":{"date-parts":[[2015,3]]}}}