Conservative Extension in Structural Operational Semantics

L. Aceto, W. Fokkink, C. Verhoef
{"title":"Conservative Extension in Structural Operational Semantics","authors":"L. Aceto, W. Fokkink, C. Verhoef","doi":"10.7146/BRICS.V6I24.20093","DOIUrl":null,"url":null,"abstract":"Structural operational semantics (SOS) [44] provides a framework to give an operational semantics to programming and specification languages. In particular, because of its intuitive appeal and flexibility, SOS has found considerable application in the study of the semantics of concurrent processes. SOS generates a labelled transition system, whose states are the closed terms over an algebraic signature, and whose transitions are supplied with labels. The transitions between states are obtained inductively from a transition system specification (TSS), which consists of so-called transition rules of the form premises / conclusion . A typical example of a transition rule is: ... stipulating that if t -> t' holds for closed terms t and t', then so does t||u -> t'||u for each closed term u. In general, validity (or invalidity) of the positive (or negative) premises of a transition rule, under a certain substitution implies validity of the conclusion of this rule under the same substitution. This column is an excerpt from [2], which gives an overview of recent results in the field of SOS, with an emphasis on existing formats for TSSs. Each of these formats comes equipped with a rich body of results that are guaranteed to hold for any process calculus whose TSS is within that format. Over and over again, process calculi such as CCS [40], CSP [47], and ACP [11] have been extended with new features, and the TSSs that provide the operational semantics for these process algebras were extended with transition rules to describe these features; see, e.g. [10] for a systematic approach. A question that arises naturally is whether or not the original and the extended TSS induce the same transitions t -> t' for closed terms t in the original domain. Usually it is desirable that an extension is operationally conservative, meaning that the provable transitions for an original term are the same both in the original and in the extended TSS. Groote and Vaandrager [34, Thm. 7.6] proposed syntactic restrictions on a TSS, which automatically yield that an extension of this TSS with transition rules that contain fresh function symbols in their sources is operationally conservative. Bol and Groote [18, 33] supplied this conservative extension format with negative premises. Verhoef [49] showed that, under certain conditions, a transition rule in the extension can be allowed to have an original term as its source. D'Argenio and Verhoef [22, 23] formulated a generalization in the context of inequational specifications. Fokkink and Verhoef [25] relaxed the syntactic restrictions on the original TSS, and lifted the operational conservative extension result to higher-order languages. This column contains an exposition on existing conservative extension formats for SOS, and their applications with respect to term rewriting systems and completeness of axiomatizations. Predicates in SOS semantics can be coded as binary relations [34]. Moreover, negative premises can often be expressed positively using predicates [9]. However, in the literature SOS definitions are often decorated with predicates and/or negative premises. For example, predicates are used to express matters like (un)successful termination, convergence, divergence [3], enabledness [14], maximal delay, and side conditions [42]. Negative premises are used to describe, e.g., deadlock detection [38], sequencing [17], priorities [7, 21], probabilistic behaviour [39], urgency [19], and various real [37] and discrete time [6, 35] settings. Since predicates and negative premises are so pervasive, and often lead to cleaner semantic descriptions for many features and constructs of interest, we deal explicitly with these notions. The organization of this column is as follows. Sect. 2 gives an overview of the basics of SOS. Sect. 3 presents syntactic constraints to ensure that an extension of a TSS is operationally conservative. Sect. 4 and 5 contain applications of conservative extension in equational specification and term rewriting. Sect. 6 nishes with some conclusions.","PeriodicalId":388781,"journal":{"name":"Bull. EATCS","volume":"78 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"1999-01-24","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"31","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Bull. EATCS","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.7146/BRICS.V6I24.20093","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 31

Abstract

Structural operational semantics (SOS) [44] provides a framework to give an operational semantics to programming and specification languages. In particular, because of its intuitive appeal and flexibility, SOS has found considerable application in the study of the semantics of concurrent processes. SOS generates a labelled transition system, whose states are the closed terms over an algebraic signature, and whose transitions are supplied with labels. The transitions between states are obtained inductively from a transition system specification (TSS), which consists of so-called transition rules of the form premises / conclusion . A typical example of a transition rule is: ... stipulating that if t -> t' holds for closed terms t and t', then so does t||u -> t'||u for each closed term u. In general, validity (or invalidity) of the positive (or negative) premises of a transition rule, under a certain substitution implies validity of the conclusion of this rule under the same substitution. This column is an excerpt from [2], which gives an overview of recent results in the field of SOS, with an emphasis on existing formats for TSSs. Each of these formats comes equipped with a rich body of results that are guaranteed to hold for any process calculus whose TSS is within that format. Over and over again, process calculi such as CCS [40], CSP [47], and ACP [11] have been extended with new features, and the TSSs that provide the operational semantics for these process algebras were extended with transition rules to describe these features; see, e.g. [10] for a systematic approach. A question that arises naturally is whether or not the original and the extended TSS induce the same transitions t -> t' for closed terms t in the original domain. Usually it is desirable that an extension is operationally conservative, meaning that the provable transitions for an original term are the same both in the original and in the extended TSS. Groote and Vaandrager [34, Thm. 7.6] proposed syntactic restrictions on a TSS, which automatically yield that an extension of this TSS with transition rules that contain fresh function symbols in their sources is operationally conservative. Bol and Groote [18, 33] supplied this conservative extension format with negative premises. Verhoef [49] showed that, under certain conditions, a transition rule in the extension can be allowed to have an original term as its source. D'Argenio and Verhoef [22, 23] formulated a generalization in the context of inequational specifications. Fokkink and Verhoef [25] relaxed the syntactic restrictions on the original TSS, and lifted the operational conservative extension result to higher-order languages. This column contains an exposition on existing conservative extension formats for SOS, and their applications with respect to term rewriting systems and completeness of axiomatizations. Predicates in SOS semantics can be coded as binary relations [34]. Moreover, negative premises can often be expressed positively using predicates [9]. However, in the literature SOS definitions are often decorated with predicates and/or negative premises. For example, predicates are used to express matters like (un)successful termination, convergence, divergence [3], enabledness [14], maximal delay, and side conditions [42]. Negative premises are used to describe, e.g., deadlock detection [38], sequencing [17], priorities [7, 21], probabilistic behaviour [39], urgency [19], and various real [37] and discrete time [6, 35] settings. Since predicates and negative premises are so pervasive, and often lead to cleaner semantic descriptions for many features and constructs of interest, we deal explicitly with these notions. The organization of this column is as follows. Sect. 2 gives an overview of the basics of SOS. Sect. 3 presents syntactic constraints to ensure that an extension of a TSS is operationally conservative. Sect. 4 and 5 contain applications of conservative extension in equational specification and term rewriting. Sect. 6 nishes with some conclusions.
结构操作语义中的保守扩展
结构操作语义(SOS)[44]提供了一个框架,为编程和规范语言提供操作语义。特别是,由于其直观的吸引力和灵活性,SOS在并发进程的语义研究中得到了相当大的应用。SOS生成一个有标记的转换系统,其状态是代数签名上的闭项,并且其转换提供了标签。状态之间的转换是从转换系统规范(TSS)中归纳得到的,该规范由所谓的前提/结论形式的转换规则组成。转换规则的一个典型例子是:……规定如果t -> t'对封闭项t和t'成立,那么t||u -> t'| u对每个封闭项u也成立。一般来说,过渡规则的正(负)前提在某种替换下的有效性(或无效性)意味着该规则的结论在同一替换下的有效性。本专栏节选自[2],概述了SOS领域的最新成果,重点介绍了tss的现有格式。每种格式都配备了丰富的结果体,保证TSS在该格式内的任何过程演算都适用。CCS[40]、CSP[47]和ACP[11]等过程演算一次又一次被扩展为新的特征,为这些过程代数提供操作语义的tss被扩展为描述这些特征的转换规则;参见,例如[10]的系统方法。一个自然产生的问题是,原始的和扩展的TSS是否会在原始域中对封闭项t产生相同的转换t -> t'。通常,期望扩展是操作保守的,这意味着原始项的可证明转换在原始和扩展的TSS中都是相同的。Groote和Vaandrager [34, Thm. 7.6]提出了对TSS的语法限制,这自动产生了在TSS的源中包含新函数符号的转换规则的扩展在操作上是保守的。Bol和Groote[18,33]为这种保守的扩展格式提供了否定前提。Verhoef[49]表明,在一定条件下,扩展中的过渡规则可以允许有一个原项作为其来源。D'Argenio和Verhoef[22,23]在不平等规范的背景下提出了一个概括。Fokkink和Verhoef[25]放宽了对原始TSS的句法限制,将运算保守的扩展结果提升到高阶语言。本专栏介绍了SOS的现有保守扩展格式,以及它们在项重写系统和公理化完备性方面的应用。SOS语义中的谓词可以编码为二元关系[34]。此外,否定前提通常可以用谓语来表示[9]。然而,在文献中,SOS定义通常用谓词和/或否定前提修饰。例如,谓词用于表示(不)成功终止、收敛、发散[3]、启用[14]、最大延迟和侧条件[42]等事项。否定前提用于描述,例如死锁检测[38]、排序[17]、优先级[7,21]、概率行为[39]、紧迫性[19]以及各种真实[37]和离散时间[6,35]设置。由于谓词和否定前提是如此普遍,并且经常导致对许多感兴趣的特征和结构的更清晰的语义描述,因此我们明确地处理这些概念。本专栏的组织结构如下。第2节概述了SOS的基本知识。第3节介绍了语法约束,以确保TSS的扩展在操作上是保守的。第4节和第5节包含保守扩展在方程规范和项重写中的应用。第六节以一些结论结束。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术官方微信