{"status":"ok","message-type":"work","message-version":"1.0.0","message":{"indexed":{"date-parts":[[2026,6,16]],"date-time":"2026-06-16T23:06:57Z","timestamp":1781651217193,"version":"3.54.5"},"reference-count":82,"publisher":"Association for Computing Machinery (ACM)","issue":"2","license":[{"start":{"date-parts":[[2023,3,31]],"date-time":"2023-03-31T00:00:00Z","timestamp":1680220800000},"content-version":"vor","delay-in-days":0,"URL":"https:\/\/www.acm.org\/publications\/policies\/copyright_policy#Background"}],"content-domain":{"domain":["dl.acm.org"],"crossmark-restriction":true},"short-container-title":["ACM Trans. Softw. Eng. Methodol."],"published-print":{"date-parts":[[2023,4,30]]},"abstract":"<jats:p>Refinement of formal system models towards implementation has been a mainstay of system development since the inception of formal and Correct by Construction approaches to system development. However, pure refinement approaches do not always deal fluently with all desirable system requirements. This prompted the development of alternatives and generalizations, such as retrenchment. The crucial concept of simulation is key to judging the quality of the conformance between abstract and more concrete system models. Reformulations of these theoretical approaches are reprised and are embedded in a graded framework. The added flexibility this offers is intended to deal more effectively with the needs of applications in which the relationship between different levels of abstraction is not straightforward, and in which behavior can oscillate between conforming quite closely to an idealized abstraction and deviating quite far from it. The framework developed is confronted with an intentionally demanding case study: a model active control system for the protection of buildings during earthquakes. This offers many challenges: it is hybrid\/cyber-physical; it has to respond to rather unpredictable inputs; and it has to straddle the gap between continuous behavior and discretized\/quantized\/numerical implementation.<\/jats:p>","DOI":"10.1145\/3534116","type":"journal-article","created":{"date-parts":[[2022,5,24]],"date-time":"2022-05-24T07:10:54Z","timestamp":1653376254000},"page":"1-69","update-policy":"https:\/\/doi.org\/10.1145\/crossmark-policy","source":"Crossref","is-referenced-by-count":2,"title":["Graded Refinement, Retrenchment, and Simulation"],"prefix":"10.1145","volume":"32","author":[{"ORCID":"https:\/\/orcid.org\/0000-0002-0243-9434","authenticated-orcid":false,"given":"Richard","family":"Banach","sequence":"first","affiliation":[{"name":"University of Manchester, Oxford Road, Manchester, UK"}],"role":[{"vocabulary":"crossref","role":"author"}]}],"member":"320","published-online":{"date-parts":[[2023,3,31]]},"reference":[{"key":"e_1_3_2_2_2","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(91)90224-P"},{"key":"e_1_3_2_3_2","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9780511624162"},{"key":"e_1_3_2_4_2","doi-asserted-by":"publisher","DOI":"10.1017\/CBO9781139195881"},{"key":"e_1_3_2_5_2","doi-asserted-by":"crossref","DOI":"10.1142\/6262","volume-title":"Dynamic Systems and Control with Applications","author":"Ahmed N.","year":"2006","unstructured":"N. Ahmed. 2006. Dynamic Systems and Control with Applications. World Scientific."},{"key":"e_1_3_2_6_2","volume-title":"Principles of Cyberphysical Systems","author":"Alur R.","year":"2015","unstructured":"R. Alur. 2015. Principles of Cyberphysical Systems. MIT Press."},{"key":"e_1_3_2_7_2","first-page":"209","volume-title":"Proc. Workshop on Theory of Hybrid Systems (LNCS)","author":"Alur R.","year":"1993","unstructured":"R. Alur, C. Courcoubetis, T. Henzinger, and P.-H. Ho. 1993. Hybrid automata: An algorithmic approach to the specification and verification of hybrid systems. In Proc. Workshop on Theory of Hybrid Systems (LNCS), Vol. 736. Springer, 209\u2013229."},{"key":"e_1_3_2_8_2","doi-asserted-by":"publisher","DOI":"10.1145\/357146.357150"},{"key":"e_1_3_2_9_2","doi-asserted-by":"publisher","DOI":"10.1016\/0304-3975(94)90086-8"},{"key":"e_1_3_2_10_2","doi-asserted-by":"publisher","DOI":"10.1016\/0167-6423(95)00004-C"},{"key":"e_1_3_2_11_2","first-page":"31","article-title":"Model based refinement and the design of retrenchments","volume":"5","author":"Banach R.","year":"2015","unstructured":"R. Banach. 2015. Model based refinement and the design of retrenchments. J. Soft Comp. Soft. Eng. 5 (2015), 31\u201354.","journal-title":"J. Soft Comp. Soft. Eng."},{"key":"e_1_3_2_12_2","first-page":"157","volume-title":"Proc. Susan Stepney Festschrift (Emergence, Complexity, Computation)","author":"Banach R.","year":"2018","unstructured":"R. Banach and J. Baugh. 2018. A simple hybrid event-b model of an active control system for earthquake protection. In Proc. Susan Stepney Festschrift (Emergence, Complexity, Computation), Vol. 35. Springer, 157\u2013194."},{"key":"e_1_3_2_13_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2015.02.003"},{"key":"e_1_3_2_14_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2016.12.003"},{"key":"e_1_3_2_15_2","doi-asserted-by":"publisher","DOI":"10.1017\/S0960129514000061"},{"key":"e_1_3_2_16_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jlap.2007.11.001"},{"key":"e_1_3_2_17_2","first-page":"234","volume-title":"Proc. Software Engineering Workshop","author":"Banach R.","year":"2006","unstructured":"R. Banach, C. Jeske, M. Poppleton, and S. Stepney. 2006. Retrenching the purse: Finite exception logs, and validating the small. In Proc. Software Engineering Workshop. IEEE, 234\u2013245."},{"key":"e_1_3_2_18_2","first-page":"82","volume-title":"Proc. International Symposium On Leveraging Applications of Formal Methods, Verification and Validation","author":"Banach R.","year":"2006","unstructured":"R. Banach, C. Jeske, M. Poppleton, and S. Stepney. 2006. Retrenching the purse: Hashing injective CLEAR codes, and security properties. In Proc. International Symposium On Leveraging Applications of Formal Methods, Verification and Validation. IEEE, 82\u201390."},{"key":"e_1_3_2_19_2","first-page":"29","article-title":"Retrenching the purse: The balance enquiry quandary, and generalised and (1,1) forward refinements","volume":"77","author":"Banach R.","year":"2007","unstructured":"R. Banach, C. Jeske, M. Poppleton, and S. Stepney. 2007. Retrenching the purse: The balance enquiry quandary, and generalised and (1,1) forward refinements. Fund. Inf. 77 (2007), 29\u201369.","journal-title":"Fund. Inf."},{"key":"e_1_3_2_20_2","first-page":"129","volume-title":"Proc. B\u201998","author":"Banach R.","year":"1998","unstructured":"R. Banach and M. Poppleton. 1998. Retrenchment: An engineering variation on refinement. In Proc. B\u201998, Vol. 1393. Springer, LNCS, 129\u2013147."},{"key":"e_1_3_2_21_2","first-page":"382","volume-title":"Proc. FM\u201905","author":"Banach R.","year":"2005","unstructured":"R. Banach, M. Poppleton, C. Jeske, and S. Stepney. 2005. Retrenching the purse: Finite sequence numbers and the tower pattern. In Proc. FM\u201905, Vol. 3582. Springer, LNCS, 382\u2013398."},{"key":"e_1_3_2_22_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.scico.2007.04.002"},{"key":"e_1_3_2_23_2","volume-title":"Optimal Control and Viscosity Solutions of Hamilton-Jacobi-Bellman Equations","author":"Bardi M.","year":"2008","unstructured":"M. Bardi and I. Capuzzo-Dolcetta. 2008. Optimal Control and Viscosity Solutions of Hamilton-Jacobi-Bellman Equations. Birkhauser."},{"key":"e_1_3_2_24_2","doi-asserted-by":"publisher","DOI":"10.5555\/92134"},{"key":"e_1_3_2_25_2","first-page":"374","volume-title":"Proc. ZB\u201905","author":"Boiten E.","year":"2005","unstructured":"E. Boiten and J. Derrick. 2005. Formal program development with approximations. In Proc. ZB\u201905, Vol. 3455. Springer, LNCS, 374\u2013392."},{"key":"e_1_3_2_26_2","volume-title":"Handbook of Categorical Algebra, Vols I-III","author":"Borceux F.","year":"1994","unstructured":"F. Borceux. 1994. Handbook of Categorical Algebra, Vols I-III. Cambridge University Press."},{"key":"e_1_3_2_27_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00165-003-0012-7"},{"key":"e_1_3_2_28_2","volume-title":"Abstract State Machines. A Method for High Level System Design and Analysis","author":"B\u00f6rger E.","year":"2003","unstructured":"E. B\u00f6rger and R. F. St\u00e4rk. 2003. Abstract State Machines. A Method for High Level System Design and Analysis. Springer."},{"key":"e_1_3_2_29_2","doi-asserted-by":"publisher","DOI":"10.1561\/1000000001"},{"key":"e_1_3_2_30_2","volume-title":"Ordinary Differential Equations with Applications (2nd ed.)","author":"Chicone C.","year":"2006","unstructured":"C. Chicone. 2006. Ordinary Differential Equations with Applications (2nd ed.). Springer."},{"key":"e_1_3_2_31_2","volume-title":"Dynamics of Structures: Theory and Applications to Earthquake Engineering (4th ed.)","author":"Chopra A.","year":"2015","unstructured":"A. Chopra. 2015. Dynamics of Structures: Theory and Applications to Earthquake Engineering (4th ed.). Pearson."},{"key":"e_1_3_2_32_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-1-4471-4820-3"},{"key":"e_1_3_2_33_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.jsc.2016.07.010"},{"key":"e_1_3_2_34_2","doi-asserted-by":"crossref","DOI":"10.1017\/CBO9780511663079","volume-title":"Data Refinement: Model-Oriented Proof Methods and their Comparison","author":"Roever W.-P. de","year":"1998","unstructured":"W.-P. de Roever and K. Engelhardt. 1998. Data Refinement: Model-Oriented Proof Methods and their Comparison. Cambridge University Press."},{"key":"e_1_3_2_35_2","doi-asserted-by":"crossref","DOI":"10.1007\/978-1-4471-0257-1","volume-title":"Refinement in Z and Object-Z: Foundations and Advanced Applications","author":"Derrick J.","year":"2001","unstructured":"J. Derrick and E. Boiten. 2001. Refinement in Z and Object-Z: Foundations and Advanced Applications. Springer-Verlag UK."},{"key":"e_1_3_2_36_2","volume-title":"A Discipline of Programming","author":"Dijkstra E.","year":"1976","unstructured":"E. Dijkstra. 1976. A Discipline of Programming. Prentice-Hall."},{"key":"e_1_3_2_37_2","unstructured":"ESW. Embedded systems week conferences."},{"key":"e_1_3_2_38_2","doi-asserted-by":"publisher","DOI":"10.5555\/3355428"},{"key":"e_1_3_2_39_2","unstructured":"E. Geisberger and M. Broy (eds.). 2015. Living in a Networked World. Integrated Research Agenda Cyber-Physical Systems (agendaCPS). 293 pages. http:\/\/www.acatech.de\/fileadmin\/user_upload\/Baumstruktur_nach_Website\/Acatech\/root\/de\/Publikationen\/Projektberichte\/acaetch_STUDIE_agendaCPS_eng_WEB.pdf."},{"key":"e_1_3_2_40_2","volume-title":"Calculus of Variations","author":"Gelfand I.","year":"2000","unstructured":"I. Gelfand and S. Fomin. 2000. Calculus of Variations. Dover."},{"key":"e_1_3_2_41_2","doi-asserted-by":"publisher","DOI":"10.1007\/s10626-007-0029-9"},{"key":"e_1_3_2_42_2","doi-asserted-by":"publisher","DOI":"10.1016\/j.automatica.2007.01.019"},{"key":"e_1_3_2_43_2","doi-asserted-by":"publisher","DOI":"10.1109\/TAC.2007.895849"},{"key":"e_1_3_2_44_2","doi-asserted-by":"crossref","DOI":"10.1515\/9781400841042","volume-title":"Nonlinear Dynamical Systems and Control: A Lyapunov-Based Approach","author":"Haddad W.","year":"2008","unstructured":"W. Haddad and V. Chellaboina. 2008. Nonlinear Dynamical Systems and Control: A Lyapunov-Based Approach. Princeton University Press."},{"key":"e_1_3_2_45_2","volume-title":"Solving Ordinary Differential Equations I: Nonstiff Problems","author":"Hairer E.","year":"1993","unstructured":"E. Hairer, S. Norsett, and G. Wanner. 1993. Solving Ordinary Differential Equations I: Nonstiff Problems. Springer."},{"key":"e_1_3_2_46_2","doi-asserted-by":"publisher","DOI":"10.1007\/978-3-642-05221-7"},{"key":"e_1_3_2_47_2","first-page":"171","volume-title":"A Classical Mind, Essays in Honour of C.A.R. Hoare","author":"He J.","year":"1994","unstructured":"J. He. 1994. From CSP to hybrid systems. In A Classical Mind, Essays in Honour of C.A.R. Hoare, W. Roscoe (Ed.). Prentice-Hall, 171\u2013189."},{"key":"e_1_3_2_48_2","first-page":"278","volume-title":"Proc. IEEE LICS\u201996","author":"Henzinger T.","year":"1996","unstructured":"T. Henzinger. 1996. The theory of hybrid automata. In Proc. IEEE LICS\u201996. IEEE, 278\u2013292. Also http:\/\/mtc.epfl.ch\/tah\/Publications\/the_theory_of_hybrid_automata.pdf."},{"key":"e_1_3_2_49_2","doi-asserted-by":"crossref","DOI":"10.1007\/b137541","volume-title":"Mathematical Systems Theory I","author":"Hinrichsen D.","year":"2005","unstructured":"D. Hinrichsen and A. Pritchard. 2005. Mathematical Systems Theory I. Springer."},{"key":"e_1_3_2_50_2","doi-asserted-by":"publisher","DOI":"10.1145\/363235.363259"},{"key":"e_1_3_2_51_2","unstructured":"HSCC. Hybrid systems: Command and control conferences."},{"key":"e_1_3_2_52_2","volume-title":"Information Technology \u2013 Z Formal Specification Notation \u2013 Syntax, Type System and Semantics: International Standard","year":"2002","unstructured":"ISO\/IEC 13568 2002. Information Technology \u2013 Z Formal Specification Notation \u2013 Syntax, Type System and Semantics: International Standard. ISO\/IEC 13568. http:\/\/www.iso.org\/iso\/en\/ittf\/PubliclyAvailableStandards\/c021573_ISO_IEC_13568_2002(E).zip."},{"key":"e_1_3_2_53_2","doi-asserted-by":"publisher","DOI":"10.1109\/MC.2006.145"},{"key":"e_1_3_2_54_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00165-007-0064-1"},{"key":"e_1_3_2_55_2","volume-title":"Basic Concepts of Enriched Category Theory","author":"Kelly G.","year":"1982","unstructured":"G. Kelly. 1982. Basic Concepts of Enriched Category Theory. London Mathematical Society Lecture Note Series, Vol. 64, Cambridge University Press."},{"key":"e_1_3_2_56_2","first-page":"242","volume-title":"Proc. CAV-13","author":"Kong H.","year":"2002","unstructured":"H. Kong, F. He, X. Song, W. Hung, and M. Gu. 2002. Exponential-condition-based barrier certificate generation for safety verification of hybrid systems. In Proc. CAV-13, Vol. 8044. Springer, LNCS, 242\u2013257."},{"key":"e_1_3_2_57_2","volume-title":"Introduction to Embedded Systems: A Cyberphysical Systems Approach (2nd ed.)","author":"Lee E.","year":"2015","unstructured":"E. Lee and S. Shesha. 2015. Introduction to Embedded Systems: A Cyberphysical Systems Approach (2nd ed.). LeeShesha.org."},{"key":"e_1_3_2_58_2","doi-asserted-by":"crossref","DOI":"10.1515\/9781400842643","volume-title":"Calculus of Variations and Optimal Control Theory","author":"Liberzon D.","year":"2012","unstructured":"D. Liberzon. 2012. Calculus of Variations and Optimal Control Theory. Princeton."},{"key":"e_1_3_2_59_2","first-page":"1","volume-title":"Proc. APLAS-10","author":"Liu J.","year":"2010","unstructured":"J. Liu, J. Lv, Z. Quan, H. Zhao, C. Zhou, and L. Zou. 2010. A calculus for hybrid CSP. In Proc. APLAS-10, K. Ueda (Ed.), Vol. 6461. Springer, LNCS, 1\u201315."},{"key":"e_1_3_2_60_2","doi-asserted-by":"publisher","DOI":"10.1006\/inco.1995.1134"},{"key":"e_1_3_2_61_2","unstructured":"Mathematica. 2022. http:\/\/www.wolfram.com."},{"key":"e_1_3_2_62_2","doi-asserted-by":"crossref","DOI":"10.1007\/978-3-642-14509-4","volume-title":"Logical Analysis of Hybrid Systems: Proving Theorems for Complex Dynamics","author":"Platzer A.","year":"2010","unstructured":"A. Platzer. 2010. Logical Analysis of Hybrid Systems: Proving Theorems for Complex Dynamics. Springer."},{"key":"e_1_3_2_63_2","doi-asserted-by":"crossref","DOI":"10.1007\/978-3-319-63588-0","volume-title":"Logical Foundations of Hybrid Systems","author":"Platzer A.","year":"2018","unstructured":"A. Platzer. 2018. Logical Foundations of Hybrid Systems. Springer."},{"key":"e_1_3_2_64_2","volume-title":"Handbook of Ordinary Differential Equations: Exact Solutions, Methods, and Problems","author":"Polyanin A.","year":"2018","unstructured":"A. Polyanin and V. Zaitsev. 2018. Handbook of Ordinary Differential Equations: Exact Solutions, Methods, and Problems. C.R.C. Press."},{"key":"e_1_3_2_65_2","first-page":"477","volume-title":"Proc. HSCC\u201904","author":"Prajna S.","year":"2004","unstructured":"S. Prajna and A. Jadbabaie. 2004. Safety verification of hybrid systems using barrier certificates. In Proc. HSCC\u201904, Vol. 2289. Springer, LNCS, 477\u2013492."},{"key":"e_1_3_2_66_2","volume-title":"Splines and Variational Methods","author":"Prenter P.","year":"2008","unstructured":"P. Prenter. 2008. Splines and Variational Methods. Dover."},{"key":"e_1_3_2_67_2","unstructured":"Retrenchment Homepage. 2022. http:\/\/www.cs.man.ac.uk\/banach\/retrenchment."},{"key":"e_1_3_2_68_2","volume-title":"A Primer on Pontryagin\u2019s Principle in Optimal Control","author":"Ross I.","year":"2015","unstructured":"I. Ross. 2015. A Primer on Pontryagin\u2019s Principle in Optimal Control. Collegiate."},{"key":"e_1_3_2_69_2","volume-title":"Introduction to the Calculus of Variations","author":"Sagan H.","year":"1992","unstructured":"H. Sagan. 1992. Introduction to the Calculus of Variations. Dover."},{"key":"e_1_3_2_70_2","doi-asserted-by":"crossref","DOI":"10.2307\/j.ctv131btfx","volume-title":"Hybrid Feedback Control","author":"Sanfelice R.","year":"2021","unstructured":"R. Sanfelice. 2021. Hybrid Feedback Control. Princeton."},{"key":"e_1_3_2_71_2","doi-asserted-by":"publisher","DOI":"10.1007\/s00165-012-0265-0"},{"key":"e_1_3_2_72_2","volume-title":"Program Development by Refinement: Case Studies Using the B-Method","author":"Sekerinski E.","year":"1998","unstructured":"E. Sekerinski and K. Sere. 1998. Program Development by Refinement: Case Studies Using the B-Method. Springer."},{"key":"e_1_3_2_73_2","doi-asserted-by":"publisher","DOI":"10.5555\/286092"},{"key":"e_1_3_2_74_2","volume-title":"An Electronic Purse: Specification, Refinement and Proof","author":"Stepney S.","year":"2000","unstructured":"S. Stepney, D. Cooper, and J. Woodcock. 2000. An Electronic Purse: Specification, Refinement and Proof. Technical Report PRG-126. Oxford University Computing Laboratory."},{"key":"e_1_3_2_75_2","unstructured":"Symbolaris. 2014. http:\/\/www.symbolaris.org."},{"key":"e_1_3_2_76_2","doi-asserted-by":"publisher","DOI":"10.5555\/1717907"},{"key":"e_1_3_2_77_2","doi-asserted-by":"crossref","DOI":"10.1007\/978-1-4612-0601-9","volume-title":"Ordinary Differential Equations","author":"Walter W.","year":"1998","unstructured":"W. Walter. 1998. Ordinary Differential Equations. Springer."},{"key":"e_1_3_2_78_2","unstructured":"Wikipedia. 2022. Cubic hermite spline."},{"key":"e_1_3_2_79_2","unstructured":"Wikipedia. 2022. Duhamel\u2019s integral."},{"key":"e_1_3_2_80_2","doi-asserted-by":"publisher","DOI":"10.1109\/MC.2006.340"},{"issue":"5","key":"e_1_3_2_81_2","first-page":"661","article-title":"The verification grand challenge","volume":"13","author":"Woodcock J.","year":"2007","unstructured":"J. Woodcock and R. Banach. 2007. The verification grand challenge. JUCS 13, 5 (2007), 661\u2013668.","journal-title":"JUCS"},{"key":"e_1_3_2_82_2","volume-title":"Using Z, Specification, Refinement and Proof","author":"Woodcock J.","year":"1996","unstructured":"J. Woodcock and J. Davies. 1996. Using Z, Specification, Refinement and Proof. Prentice Hall."},{"key":"e_1_3_2_83_2","doi-asserted-by":"crossref","first-page":"71","DOI":"10.1007\/978-3-319-47016-0_6","volume-title":"Formal Verification of Simulink\/Stateflow Diagrams: A Deductive Approach","author":"Zhan N.","year":"2017","unstructured":"N. Zhan, S. Wang, and H. Zhao. 2017. Hybrid CSP. In Formal Verification of Simulink\/Stateflow Diagrams: A Deductive Approach. Springer, 71\u201390."}],"container-title":["ACM Transactions on Software Engineering and Methodology"],"original-title":[],"language":"en","link":[{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3534116","content-type":"unspecified","content-version":"vor","intended-application":"text-mining"},{"URL":"https:\/\/dl.acm.org\/doi\/pdf\/10.1145\/3534116","content-type":"unspecified","content-version":"vor","intended-application":"similarity-checking"}],"deposited":{"date-parts":[[2025,6,17]],"date-time":"2025-06-17T19:00:09Z","timestamp":1750186809000},"score":1,"resource":{"primary":{"URL":"https:\/\/dl.acm.org\/doi\/10.1145\/3534116"}},"subtitle":[],"short-title":[],"issued":{"date-parts":[[2023,3,31]]},"references-count":82,"journal-issue":{"issue":"2","published-print":{"date-parts":[[2023,4,30]]}},"alternative-id":["10.1145\/3534116"],"URL":"https:\/\/doi.org\/10.1145\/3534116","relation":{},"ISSN":["1049-331X","1557-7392"],"issn-type":[{"value":"1049-331X","type":"print"},{"value":"1557-7392","type":"electronic"}],"subject":[],"published":{"date-parts":[[2023,3,31]]},"assertion":[{"value":"2021-10-01","order":0,"name":"received","label":"Received","group":{"name":"publication_history","label":"Publication History"}},{"value":"2022-04-27","order":1,"name":"accepted","label":"Accepted","group":{"name":"publication_history","label":"Publication History"}},{"value":"2023-03-31","order":2,"name":"published","label":"Published","group":{"name":"publication_history","label":"Publication History"}}]}}