[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"doc-seo-655915-105":3,"detail-sidebar-cat-0-en-105":81,"doc-detail-655915-en":131,"doc-similar-655915":163},{"code":4,"msg":5,"data":6},0,"ok",{"site_id":7,"language":8,"slug":9,"title":10,"keywords":11,"description":12,"schema_data":13,"social_meta":74,"head_meta":76,"extra_data":78,"updated_unix":80},105,"en","a-fully-general-operational-semantics-for-uml-20-sequence-diagrams-potential-and-mandatory-choice-mass-soldal-lund-and-ketil-stolen","A Fully General Operational Semantics for UML 2.0 Sequence Diagrams - Potential and Mandatory Choice - Mass Soldal Lund and Ketil Stølen","","UML sequence diagrams serve as a practical specification language in system development, but automated analysis such as simulation and testing requires formal semantics. This paper develops an operational semantics for UML 2.0 sequence diagrams, intended as a foundation for automated analysis methods and tool building. The operational semantics is proven sound and complete against denotational semantics and explicitly supports negative behavior, including both potential and mandatory choice.",{"@graph":14,"@context":73},[15,34,56],{"@type":16,"itemListElement":17},"BreadcrumbList",[18,23,27,31],{"item":19,"name":20,"@type":21,"position":22},"https://docshare.wps.com","Home","ListItem",1,{"item":24,"name":25,"@type":21,"position":26},"https://docshare.wps.com/document/","Document",2,{"item":28,"name":29,"@type":21,"position":30},"https://docshare.wps.com/document/research-report/","Research & Report",3,{"item":32,"name":10,"@type":21,"position":33},"https://docshare.wps.com/document/a-fully-general-operational-semantics-for-uml-20-sequence-diagrams-potential-and-mandatory-choice-mass-soldal-lund-and-ketil-stolen/655915/",4,{"url":32,"name":10,"@type":35,"image":36,"author":41,"headline":10,"publisher":44,"fileFormat":47,"inLanguage":8,"description":12,"dateModified":48,"datePublished":49,"encodingFormat":47,"isAccessibleForFree":50,"interactionStatistic":51},"DigitalDocument",{"url":37,"@type":38,"width":39,"height":40},"https://docshare.wps.com/thumbnails/a-fully-general-operational-semantics-for-uml-20-sequence-diagrams-potential-and-mandatory-choice-mass-soldal-lund-and-ketil-stolen/655915.png","ImageObject",300,407,{"name":42,"@type":43},"miaandmiso","Person",{"url":19,"name":45,"@type":46},"DocShare","Organization","application/pdf","2026-11-29","2026-10-25",true,{"@type":52,"interactionType":53,"userInteractionCount":55},"InteractionCounter",{"@type":54},"ViewAction",11,{"@type":57,"mainEntity":58},"FAQPage",[59,65,69],{"name":60,"@type":61,"acceptedAnswer":62},"Why are formal semantics needed for UML sequence diagrams in automated analysis?","Question",{"text":63,"@type":64},"Simulation, testing, and other automated analysis require precise meaning of diagram executions, not only human understanding. Formalizing semantics in an operational style enables shared understanding for analysis methods and tools.","Answer",{"name":66,"@type":61,"acceptedAnswer":67},"How does the paper define the semantics of UML 2.0 sequence diagrams?",{"text":68,"@type":64},"The semantics is trace-based, represented as a pair of traces (p, n) where p denotes valid (positive) traces and n denotes invalid (negative) traces. The union of p and n does not need to exhaust the trace universe.",{"name":70,"@type":61,"acceptedAnswer":71},"How are potential and mandatory choices handled in the operational semantics?",{"text":72,"@type":64},"The paper treats the ambiguous alt operator as potential choice and introduces a new operator xalt to express mandatory choice. This resolves the ambiguity so both forms can be distinguished.","https://schema.org",{"og:url":32,"og:type":75,"og:title":10,"og:site_name":45,"og:description":12},"article",{"robots":77,"canonical":32},"index,follow",{"doc_id":79,"site_id":7},655915,1793074460,{"code":4,"msg":82,"data":83},"success",[84,88,92,96,101,106,111,115,120,123,127],{"id":22,"doc_module":4,"doc_module_name":25,"category_name":85,"show_sort_weight":86,"slug":87},"Story & Novel",90,"story-novel",{"id":26,"doc_module":4,"doc_module_name":25,"category_name":89,"show_sort_weight":90,"slug":91},"Literature",80,"literature",{"id":33,"doc_module":4,"doc_module_name":25,"category_name":93,"show_sort_weight":94,"slug":95},"Exam",70,"exam",{"id":97,"doc_module":4,"doc_module_name":25,"category_name":98,"show_sort_weight":99,"slug":100},5,"Comic",60,"comic",{"id":102,"doc_module":4,"doc_module_name":25,"category_name":103,"show_sort_weight":104,"slug":105},6,"Technology",50,"technology",{"id":107,"doc_module":4,"doc_module_name":25,"category_name":108,"show_sort_weight":109,"slug":110},7,"Healthcare",40,"healthcare",{"id":112,"doc_module":4,"doc_module_name":25,"category_name":29,"show_sort_weight":113,"slug":114},8,30,"research-report",{"id":116,"doc_module":4,"doc_module_name":25,"category_name":117,"show_sort_weight":118,"slug":119},9,"Religion & Spirituality",20,"religion-spirituality",{"id":118,"doc_module":4,"doc_module_name":25,"category_name":121,"show_sort_weight":118,"slug":122},"World Cup","world-cup",{"id":124,"doc_module":4,"doc_module_name":25,"category_name":125,"show_sort_weight":124,"slug":126},10,"Lifestyle","lifestyle",{"id":128,"doc_module":4,"doc_module_name":25,"category_name":129,"show_sort_weight":97,"slug":130},19,"General","general",{"code":4,"msg":82,"data":132},{"doc_id":79,"user_id":133,"nickname":42,"user_avatar":134,"doc_module":4,"category_id":112,"category_name":29,"doc_title":10,"doc_description":12,"doc_content":135,"file_id":136,"file_url":137,"file_type":138,"file_size":139,"view_count":55,"is_deleted":4,"is_public":22,"is_downloadable":22,"audit_status":22,"page_count":140,"language":141,"language_code":8,"site_id":7,"html_lang":8,"table_of_contents":142,"faqs":143,"seo_title":144,"seo_description":12,"update_tm":145,"read_time":109,"preview_page_count":33,"preview_urls":146},7971478544854,"https://ap-avatar.wpscdn.com/davatar_994ba38a5ba835b3df7d355c54d3ed8d","A Fully General Operational Semantics for  \nUML 2.0 Sequence Diagrams  \nwith Potential and Mandatory Choice􀀂  \nMass Soldal Lund1 ,2 and Ketil Stølen1 ,2  \n1 University of Oslo, Norway  \n2 SINTEF Information and Communication Technology, Norway  \n{msl, [kst](kst}@sintef.no)[}](kst}@sintef.no)[@sintef.no](kst}@sintef.no)  \nAbstract. UML sequence diagrams is a speciﬁcation language that has proved itself to be of great value in system development. When put to applications such as simulation, testing and other kinds of automated analysis there is a need for formal semantics. Such methods of automated analysis are by nature operational, and this motivates formalizing an operational semantics. In this paper we present an operational semantics for UML 2.0 sequence diagrams that we believe gives a solid starting point for developing methods for automated analysis. The operational semantics has been proved to be sound and complete with respect to adenotational semantics for the same language. It handles negative behavior as well as potential and mandatory choice. We are not aware of any other operational semantics for sequence diagrams of this strength.  \n1 Introduction  \nUniﬁed Modeling Language (UML) sequence diagrams [1] and their predecessor Message Sequence Charts (MSC) [2] are speciﬁcation languages that have proved themselves to be of great practical value in system development. When sequence diagrams are used to get a better understanding of the system through modeling, as system documentation or as means of communication between stakeholders of the system, it is important that the precise meaning of the diagrams is understood; in other words, there is need for a well-deﬁned semantics. Sequence diagrams may also be put to further applications, such as simulation, testing and other kinds of automated analysis. This further increases the need for a formalized semantics; not only must the people who make and read diagrams have a common understanding of their meaning, but also the makers of methods and tools for analyzing the diagrams must share this understanding.  \nMethods of analysis like simulation and testing are in their nature operational; they are used for investigating what will happen when a system is executing.  \n􀀂 The work of this paper was conducted within and funded by the Basic ICT Research project SARDAS (15295/431) under the Research Council of Norway. We would like to thank Rolv Bræk, Manfred Broy, Kathrin Greiner, Øystein Haugen, Birger MøllerPedersen, Atle Refsdal, Ragnhild Kobro Runde, Ina Schieferdecker and Thomas Weigert for useful comments on this work.  \nJ. Misra, T. Nipkow, and E. Sekerinski (Eds.): FM 2006, LNCS 4085, pp. 380–395, 2006 .  \n􀀂c Springer-Verlag Berlin Heidelberg 2006  \nA Fully General Operational Semantics for UML 2.0 Sequence Diagrams 381  \nframe  \nmessage  \ncombined fragment  \nsd d  \nlifeline  \noperand  \nevent  \nFig. 1. Sequence diagram  \nWhen developing techniques for such analysis, not only do we need to understand the precise meaning of a speciﬁcation, we also need to understand precisely the executions that are speciﬁed. This motivates formalization of semantics in an operational style. In this paper we present an operational semantics for UML sequence diagrams that we believe gives a solid starting point for developing such methods of analysis.  \nSequence diagrams is a graphical speciﬁcation language deﬁned in the UML 2.0 standard [1] . The standard deﬁnes the graphical notation, but also an abstract syntax for the diagrams. Further the UML standard provides an informal semantics of the diagrams. Figure 1 shows a sequence diagram d in the graphical notation. A sequence diagram consists of a frame, representing the environment of the speciﬁed system, and one or more lifelines, representing components of the system. Arrows represent messages sent between lifelines or between a lifeline and the environment, and if the beginning or end of an arrow is at a lifeline this represents an event","cbCaidCXOSA3uUlV","https://ap.wps.com/l/cbCaidCXOSA3uUlV","pdf",565632,16,"English","# Abstract\n# 1 Introduction\n## Formalizing operational semantics\n## Trace-based semantics and negation\n## Potential vs mandatory choice","[{\"question\":\"Why are formal semantics needed for UML sequence diagrams in automated analysis?\",\"answer\":\"Simulation, testing, and other automated analysis require precise meaning of diagram executions, not only human understanding. Formalizing semantics in an operational style enables shared understanding for analysis methods and tools.\"},{\"question\":\"How does the paper define the semantics of UML 2.0 sequence diagrams?\",\"answer\":\"The semantics is trace-based, represented as a pair of traces (p, n) where p denotes valid (positive) traces and n denotes invalid (negative) traces. The union of p and n does not need to exhaust the trace universe.\"},{\"question\":\"How are potential and mandatory choices handled in the operational semantics?\",\"answer\":\"The paper treats the ambiguous alt operator as potential choice and introduces a new operator xalt to express mandatory choice. This resolves the ambiguity so both forms can be distinguished.\"}]","A Fully General Operational Semantics for UML 2.0 Sequence Diagrams - Potential and Mandatory Choice - Mass Soldal Lund and Ketil Stølen | PDF",1792964799,[147,151,155,159],{"page_no":22,"url":148,"width":149,"height":150},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/f99172c113fa823f107036913b1653e6.webp",983,1415,{"page_no":26,"url":152,"width":153,"height":154},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/63ea87565b5631a694ac3d333c5d04b6.webp",982,1414,{"page_no":30,"url":156,"width":157,"height":158},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/397cc8763ddce0eba2c95cdd008ceed4.webp",981,1412,{"page_no":33,"url":160,"width":161,"height":162},"https://res-academy.cache.wpscdn.com/upload/kdocshare/2026-11-18/a2596307611506d9a2dcf924f65b691f.webp",980,1411,{"list":164,"token":11},[165,171,177,183,189,196,202,209,216,222],{"doc_id":166,"doc_title":167,"file_type":138,"home_preview_img_url":168,"slug":169,"view_count":112,"category_name":29,"create_tm":170},655916,"UML 2.0 Sequence Diagrams' Semantics","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975293992/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796239319&Signature=XMxV0jWOfN%2B0oVjposGN9Cg4sUg%3D","uml-20-sequence-diagrams-semantics",1792964803,{"doc_id":172,"doc_title":173,"file_type":138,"home_preview_img_url":174,"slug":175,"view_count":124,"category_name":29,"create_tm":176},657284,"Pattern-based Analysis of UML Activity Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975408623/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796239319&Signature=84OQR7f%2Fd%2F5rGNlrT%2FT2zCdnobY%3D","pattern-based-analysis-of-uml-activity-diagrams",1792976880,{"doc_id":178,"doc_title":179,"file_type":138,"home_preview_img_url":180,"slug":181,"view_count":112,"category_name":29,"create_tm":182},655681,"A Critical Analysis and Treatment of Important UML Diagrams Enhancing Modeling Power","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975287243/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796239319&Signature=6RUPnOBYMiqazZBk8OyRV%2ByFdgk%3D","a-critical-analysis-and-treatment-of-important-uml-diagrams-enhancing-modeling-power",1792963185,{"doc_id":184,"doc_title":185,"file_type":138,"home_preview_img_url":186,"slug":187,"view_count":107,"category_name":29,"create_tm":188},655650,"A UML profile for feature diagrams - Initiating a model driven engineering approach for software product lines","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975286660/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796239319&Signature=q4q9qzlqsQ1%2F5UtTLmSOpCotHKE%3D","a-uml-profile-for-feature-diagrams-initiating-a-model-driven-engineering-approach-for-software-product-lines",1792963021,{"doc_id":190,"doc_title":191,"file_type":138,"home_preview_img_url":192,"slug":193,"view_count":194,"category_name":29,"create_tm":195},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=1796239319&Signature=aW5TW%2F8Sf2BoiGeh0QirWUBDSV4%3D","stepwise-refinement-of-sequence-diagrams-with-soft-real-time-constraints",12,1792963975,{"doc_id":197,"doc_title":198,"file_type":138,"home_preview_img_url":199,"slug":200,"view_count":194,"category_name":29,"create_tm":201},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=1796239319&Signature=V10uLPGr97wglhzi72SBIFjMgJA%3D","isoiec-19505-22012e-unified-modeling-language-omg-uml-superstructure-table-of-contents",1792963556,{"doc_id":203,"doc_title":204,"file_type":138,"home_preview_img_url":205,"slug":206,"view_count":207,"category_name":29,"create_tm":208},84278,"GradInf Gradient Estimation as Probabilistic Inference","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229809039564/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796239319&Signature=XwGjP5sfdol4uyWr6xh4NX5i58s%3D","gradinf-gradient-estimation-as-probabilistic-inference",25,1784194550,{"doc_id":210,"doc_title":211,"file_type":138,"home_preview_img_url":212,"slug":213,"view_count":214,"category_name":29,"create_tm":215},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=1796239319&Signature=SXpznG7MkPEDuDbHfGhf33rAhVQ%3D","model-checking-and-code-generation-for-uml-state-machines-and-collaborations",13,1792965028,{"doc_id":217,"doc_title":218,"file_type":138,"home_preview_img_url":219,"slug":220,"view_count":107,"category_name":29,"create_tm":221},655752,"Toolchain for Network Synthesis","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229974776402/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796239319&Signature=PM1AZOzaFqb2dA%2FeUa%2BaKKE5MIA%3D","toolchain-for-network-synthesis",1792963557,{"doc_id":223,"doc_title":224,"file_type":138,"home_preview_img_url":225,"slug":226,"view_count":112,"category_name":29,"create_tm":227},655592,"A Formal Semantics for UML Activity Diagrams","https://weboffice-temporary-prod-sg.obs.ap-southeast-3.myhuaweicloud.com:443/export/thumbnail/export/thumbnail/110229975285723/last/300/407?AWSAccessKeyId=HPUAE6OPDRI9QZXR6WJG&Expires=1796239319&Signature=MgM%2BKEJOfU%2F%2FgafzCtW24%2F%2FAI1g%3D","a-formal-semantics-for-uml-activity-diagrams",1792962764]