[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-0-en-105":3,"doc-seo-655937-105":59,"doc-detail-655937-en":130,"doc-similar-655937":163},{"code":4,"msg":5,"data":6},0,"success",[7,13,18,23,28,33,38,43,48,51,55],{"id":8,"doc_module":4,"doc_module_name":9,"category_name":10,"show_sort_weight":11,"slug":12},1,"Document","Story & Novel",90,"story-novel",{"id":14,"doc_module":4,"doc_module_name":9,"category_name":15,"show_sort_weight":16,"slug":17},2,"Literature",80,"literature",{"id":19,"doc_module":4,"doc_module_name":9,"category_name":20,"show_sort_weight":21,"slug":22},4,"Exam",70,"exam",{"id":24,"doc_module":4,"doc_module_name":9,"category_name":25,"show_sort_weight":26,"slug":27},5,"Comic",60,"comic",{"id":29,"doc_module":4,"doc_module_name":9,"category_name":30,"show_sort_weight":31,"slug":32},6,"Technology",50,"technology",{"id":34,"doc_module":4,"doc_module_name":9,"category_name":35,"show_sort_weight":36,"slug":37},7,"Healthcare",40,"healthcare",{"id":39,"doc_module":4,"doc_module_name":9,"category_name":40,"show_sort_weight":41,"slug":42},8,"Research & Report",30,"research-report",{"id":44,"doc_module":4,"doc_module_name":9,"category_name":45,"show_sort_weight":46,"slug":47},9,"Religion & Spirituality",20,"religion-spirituality",{"id":46,"doc_module":4,"doc_module_name":9,"category_name":49,"show_sort_weight":46,"slug":50},"World Cup","world-cup",{"id":52,"doc_module":4,"doc_module_name":9,"category_name":53,"show_sort_weight":52,"slug":54},10,"Lifestyle","lifestyle",{"id":56,"doc_module":4,"doc_module_name":9,"category_name":57,"show_sort_weight":24,"slug":58},19,"General","general",{"code":4,"msg":60,"data":61},"ok",{"site_id":62,"language":63,"slug":64,"title":65,"keywords":66,"description":67,"schema_data":68,"social_meta":123,"head_meta":125,"extra_data":127,"updated_unix":129},105,"en","class-and-state-machine-refinement-in-uml-b","Class and State machine Reﬁnement in UML-B","","UML-B extends UML-like graphical modeling for Event-B by adding object-oriented concepts while preserving Event-B’s abstraction-reﬁnement discipline. The work strengthens UML-B’s reﬁnement support through new constructs: reﬁned classes and reﬁned state machines, where a reﬁned class reﬁnes a class diagram and a reﬁned state machine reﬁnes a state machine. Tooling is extended via a UML-B drawing tool and Event-B translator to realize these concepts, demonstrated using an ATM case study.",{"@graph":69,"@context":122},[70,84,105],{"@type":71,"itemListElement":72},"BreadcrumbList",[73,77,79,82],{"item":74,"name":75,"@type":76,"position":8},"https://docshare.wps.com","Home","ListItem",{"item":78,"name":9,"@type":76,"position":14},"https://docshare.wps.com/document/",{"item":80,"name":40,"@type":76,"position":81},"https://docshare.wps.com/document/research-report/",3,{"item":83,"name":65,"@type":76,"position":19},"https://docshare.wps.com/document/class-and-state-machine-refinement-in-uml-b/655937/",{"url":83,"name":65,"@type":85,"image":86,"author":91,"headline":65,"publisher":94,"fileFormat":97,"inLanguage":63,"description":67,"dateModified":98,"datePublished":99,"encodingFormat":97,"isAccessibleForFree":100,"interactionStatistic":101},"DigitalDocument",{"url":87,"@type":88,"width":89,"height":90},"https://docshare.wps.com/thumbnails/class-and-state-machine-refinement-in-uml-b/655937.png","ImageObject",300,407,{"name":92,"@type":93},"putri.kecil17","Person",{"url":74,"name":95,"@type":96},"DocShare","Organization","application/pdf","2026-11-26","2026-10-25",true,{"@type":102,"interactionType":103,"userInteractionCount":44},"InteractionCounter",{"@type":104},"ViewAction",{"@type":106,"mainEntity":107},"FAQPage",[108,114,118],{"name":109,"@type":110,"acceptedAnswer":111},"What problem does this work address in UML-B reﬁnement?","Question",{"text":112,"@type":113},"It extends UML-B’s reﬁnement concepts so that the abstraction-reﬁnement relationship from Event-B is fully supported in the UML-B notation, including class-level and state-machine-level reﬁnement.","Answer",{"name":115,"@type":110,"acceptedAnswer":116},"What are reﬁned classes and reﬁned state machines in UML-B?",{"text":117,"@type":113},"A reﬁned class reﬁnes a class diagram, while a reﬁned state machine reﬁnes a state machine, enabling more detailed versions of a machine as complexity increases.",{"name":119,"@type":110,"acceptedAnswer":120},"How is the reﬁnement approach demonstrated?",{"text":121,"@type":113},"The paper presents an auto teller machine (ATM) case study to demonstrate the use of reﬁned classes and reﬁned state machines, together with supporting techniques described in later sections.","https://schema.org",{"og:url":83,"og:type":124,"og:title":65,"og:site_name":95,"og:description":67},"article",{"robots":126,"canonical":83},"index,follow",{"doc_id":128,"site_id":62},655937,1793074036,{"code":4,"msg":5,"data":131},{"doc_id":128,"user_id":132,"nickname":92,"user_avatar":133,"doc_module":4,"category_id":39,"category_name":40,"doc_title":65,"doc_description":67,"doc_content":134,"file_id":135,"file_url":136,"file_type":137,"file_size":138,"view_count":44,"is_deleted":4,"is_public":8,"is_downloadable":8,"audit_status":8,"page_count":139,"language":140,"language_code":63,"site_id":62,"html_lang":63,"table_of_contents":141,"faqs":142,"seo_title":143,"seo_description":67,"update_tm":144,"read_time":145,"preview_page_count":19,"preview_urls":146},962094509873,"https://ap-avatar.wpscdn.com/davatar_3d24733baf745e90a7e4bdd5f77d97b2","Class and State machine Reﬁnement in UML-B  \nMar Yah Said, Michael Butler, and Colin Snook  \nECS, University of Southampton, Southampton, SO17 1BJ, UK (mys05r,mjb,cfs)@[ecs.soton.ac.uk](ecs.soton.ac.uk)  \nAbstract. UML-B is a 'UML-like' graphical front end for Event-B. It adds support for object oriented modeling concepts while visually retaining the Event-B modeling concepts. In the continuity of the work on UML-B, we strengthen its reﬁnement concepts. Development in Event-B is done through reﬁnements of an abstract model. Since Event-B is reﬂected in UML-B, the abstraction-reﬁnement concepts must also be catered for in UML-B. UML-B introduced the new concept of reﬁnement, where model complexity is managed by introducing more detailed versions of a machine. We extend this reﬁnement concept by introducing the notion of reﬁned classes and reﬁned state machines. A reﬁned class reﬁnes a class diagram and a reﬁned state machine reﬁnes a state machine. The UML-B drawing tool and Event-B translator are extended to support the reﬁnement concepts.  \nA case study of an auto teller machine (ATM) is presented to demonstrate the notion of reﬁned classes and reﬁned state machines.  \nKeywords: Visual modeling languages, Formal speciﬁcation, UML, Event-B, Reﬁnement.  \n1 Introduction  \nThe UML-B [1] is a graphical formal modeling notation that has some resemblance with UML [2, 3] and is based on Event-B [4] which is a new variant of classical B. The UML-B notation is supported by UML-B tool which is a plug-in extension feature to the Rodin Event-B veriﬁcation tool [6, 11] . The existing UML-B tool enhanced the old UML-B [12] which is a proﬁle ofUML that deﬁnes a subset and specialisation of UML. The old UML-B is based on the classical B instead of Event-B.  \nA development in classical B or Event-B is done through reﬁnement. Reﬁnement [8, 9] is a technique which is used to relate the abstract model of a software system to another model that is more concrete while maintaining the same properties of the abstract model. Reﬁnement is an important technique for managing the complexity of a system being developed. It is important to have an abstract model of a system so that the core functions of a system can be focused on and validated. Further reﬁnements of the abstract model allows the modeler to focus on different aspects of the system at different abstraction levels.  \nFor a development in classical B or Event-B, at the most abstract model, it is required to specify an invariant that deﬁnes the static properties of the data being modeled. This invariant must be preserved by all the events of the model. Each reﬁnement will add further invariants relating the abstract model and the reﬁned model. Reﬁnement in classical B or Event-B is done by reﬁning both its state and its events. This is  \nessentially done by extending the list of state variables (possibly suppressing some of them) and by reﬁning each abstract event into corresponding concrete version.  \nThere are two main differences between Event-B and classical B with regards toreﬁnement of events. In Event-B, several events may reﬁne an abstract event whereas in classical B, only one event can reﬁne an abstract event. The other difference is that in Event-B, we may have new events that reﬁne skip whereas in classical B, this is not allowed.  \nAnother difference between classical B and Event-B is that Event-B distinguishes between contexts and machines. A context contains deﬁnitions and properties of types and constants. A machine contains state variables, invariants and events that update the variables. A machine may see several contexts.  \nThe previous versions of UML-B did not support reﬁnement. Current work is focused on ways of performing reﬁnement inUML-B. The main contributions of our work are introducing a notion of reﬁned classes and inherited attributes which is described in Section 3 and a notion of reﬁned state machines and reﬁned states which is described in Section 4 . The other ","cbCaid0DLu4PE5tC","https://ap.wps.com/l/cbCaid0DLu4PE5tC","pdf",517059,15,"English","# Introduction\n# Background of UML-B and Generated Event-B\n## Diagrams and modeling elements\n# Reﬁnement concepts in UML-B\n## Reﬁned classes and inherited attributes\n## Reﬁned state machines and reﬁned states\n## Event movement technique\n# ATM case study\n# Conclusion","[{\"question\":\"What problem does this work address in UML-B reﬁnement?\",\"answer\":\"It extends UML-B’s reﬁnement concepts so that the abstraction-reﬁnement relationship from Event-B is fully supported in the UML-B notation, including class-level and state-machine-level reﬁnement.\"},{\"question\":\"What are reﬁned classes and reﬁned state machines in UML-B?\",\"answer\":\"A reﬁned class reﬁnes a class diagram, while a reﬁned state machine reﬁnes a state machine, enabling more detailed versions of a machine as complexity increases.\"},{\"question\":\"How is the reﬁnement approach demonstrated?\",\"answer\":\"The paper presents an auto teller machine (ATM) case study to demonstrate the use of reﬁned classes and reﬁned state machines, together with supporting techniques described in later sections.\"}]","Class and State machine Reﬁnement in UML-B | PDF",1792965012,38,[147,151,155,159],{"page_no":8,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/97d4b822ec517d5ad270954ddeb1bec3.webp",983,1390,{"page_no":14,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/08418320cc28ac0a1b823e1b2e040ced.webp",982,1389,{"page_no":81,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/503ca0a5c3d229d9e3f9227688acd4ac.webp",981,1387,{"page_no":19,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/3362a74fbef98017ba50b943e4ac2a87.webp",980,1386,{"list":164,"token":66},[165,172,179,185,192,198,204,210,217,223],{"doc_id":166,"doc_title":167,"file_type":137,"home_preview_img_url":168,"slug":169,"view_count":170,"category_name":40,"create_tm":171},655943,"Model Checking and Code Generation for UML State Machines and Collaborations","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974780629/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110559&Signature=xv9jfH3E0FhAQ9MD%2F7fmAaG8d8U%3D","model-checking-and-code-generation-for-uml-state-machines-and-collaborations",13,1792965028,{"doc_id":173,"doc_title":174,"file_type":137,"home_preview_img_url":175,"slug":176,"view_count":177,"category_name":40,"create_tm":178},655751,"ISO/IEC 19505-2:2012(E) - Unified Modeling Language (OMG UML), Superstructure - Table of Contents","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974776395/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110559&Signature=eizWimfYu1IsBhvmR8UxQWAxFOU%3D","isoiec-19505-22012e-unified-modeling-language-omg-uml-superstructure-table-of-contents",12,1792963556,{"doc_id":180,"doc_title":181,"file_type":137,"home_preview_img_url":182,"slug":183,"view_count":170,"category_name":40,"create_tm":184},655550,"Introduction to Unified Modeling Language (UML) - Software Engineering Basics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975284998/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110559&Signature=dycJeKNXIOHP989hRtURGLWt46k%3D","introduction-to-unified-modeling-language-uml-software-engineering-basics",1792962574,{"doc_id":186,"doc_title":187,"file_type":137,"home_preview_img_url":188,"slug":189,"view_count":190,"category_name":40,"create_tm":191},655804,"Stepwise refinement of sequence diagrams with soft real-time constraints","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974777829/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110559&Signature=qk6hHqu6E%2BA%2FRFjl6s0SCM9GZMU%3D","stepwise-refinement-of-sequence-diagrams-with-soft-real-time-constraints",11,1792963975,{"doc_id":193,"doc_title":194,"file_type":137,"home_preview_img_url":195,"slug":196,"view_count":24,"category_name":40,"create_tm":197},655782,"UML - Abstraction as a Criterion for Defining Class Diagrams and Object Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974776873/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110559&Signature=b%2BhFRI3McBUGhTOoH7I5C7kbIK8%3D","uml-abstraction-as-a-criterion-for-defining-class-diagrams-and-object-diagrams",1792963744,{"doc_id":199,"doc_title":200,"file_type":137,"home_preview_img_url":201,"slug":202,"view_count":29,"category_name":40,"create_tm":203},655929,"UML Modeling in Design of Error Detection and Correction Circuits","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975294514/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110559&Signature=u2Fs44FBLAB%2BvEkREYQBU43J4mw%3D","uml-modeling-in-design-of-error-detection-and-correction-circuits",1792964985,{"doc_id":205,"doc_title":206,"file_type":137,"home_preview_img_url":207,"slug":208,"view_count":170,"category_name":40,"create_tm":209},655945,"Electronic Notes in Theoretical Computer Science - 55 No. 3 - Model Checking","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975294681/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110559&Signature=Abq%2BSnvG7qDh6GN01ceIDcoNHx8%3D","electronic-notes-in-theoretical-computer-science-volume-55-issue-3-model-checking",1792965036,{"doc_id":211,"doc_title":212,"file_type":137,"home_preview_img_url":213,"slug":214,"view_count":215,"category_name":40,"create_tm":216},86299,"Think Through a Bottleneck: Hourglass Reasoning for Rigorous Induction","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809400567/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110559&Signature=rkYdZYPAg6juFeIpk3O%2FeteAN%2F4%3D","think-through-a-bottleneck-hourglass-reasoning-for-rigorous-induction",21,1784210309,{"doc_id":218,"doc_title":219,"file_type":137,"home_preview_img_url":220,"slug":221,"view_count":39,"category_name":40,"create_tm":222},655736,"Chapter 8 - Modeling Interactions and Behavior","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974776316/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110559&Signature=dtc06SK7XROuSCEJ9UPGO4aphLg%3D","chapter-8-modeling-interactions-and-behavior",1792963522,{"doc_id":224,"doc_title":225,"file_type":137,"home_preview_img_url":226,"slug":227,"view_count":228,"category_name":40,"create_tm":229},416412,"We Can’t Understand AI Using our Existing Vocabulary","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229922225406/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796110559&Signature=c5RJIgNPl7m%2B4aX52JTJpZd2z44%3D","we-cant-understand-ai-using-our-existing-vocabulary",14,1790605354]