首页 > 最新文献

Journal of Logical and Algebraic Methods in Programming最新文献

英文 中文
Controlling stormwater detention ponds under partial observability 在部分可观测条件下控制暴雨蓄水池
IF 0.9 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-05-21 DOI: 10.1016/j.jlamp.2024.100979
Esther H. Kim, Martijn A. Goorden, Kim G. Larsen, Thomas D. Nielsen

Stormwater detention ponds play an important role in urban water management for collecting and conveying rainfall runoff from urban catchment areas to nearby streams. Their purpose is not only to avoid flooding but also to reduce stream erosion and degradation caused by the direct discharge of pollutants to the stream. We model the problem of controlling the discharge rate of water from the ponds as a partially observable hybrid Markov decision process and subsequently use Uppaal Stratego for synthesizing safe and near optimal control strategies. The generated strategies are based on noisy sensor measurements of the water height in the pond, hence the underlying system is only partially observable. We present results analyzing how sensitive the synthesized strategies are with respect to the accuracy of the measurement sensors in both offline and online settings. These types of analyses not only provide insight into the robustness of the generated strategies, but they can also be used for deciding on which measurement sensors to use, thereby balancing sensor cost and accuracy.

雨水滞留池在城市水资源管理中发挥着重要作用,它收集并将城市集水区的降雨径流输送到附近的溪流中。其目的不仅在于避免洪水泛滥,还在于减少直接向溪流排放污染物造成的溪流侵蚀和退化。我们将池塘排水量的控制问题建模为一个部分可观测的混合马尔可夫决策过程,然后使用 Uppaal Stratego 合成安全和接近最优的控制策略。生成的策略基于对池塘水高的噪声传感器测量,因此底层系统仅为部分可观测。我们展示的结果分析了在离线和在线环境下,合成策略对测量传感器精度的敏感程度。这类分析不仅能让我们深入了解所生成策略的鲁棒性,还能用于决定使用哪种测量传感器,从而平衡传感器成本和精度。
{"title":"Controlling stormwater detention ponds under partial observability","authors":"Esther H. Kim,&nbsp;Martijn A. Goorden,&nbsp;Kim G. Larsen,&nbsp;Thomas D. Nielsen","doi":"10.1016/j.jlamp.2024.100979","DOIUrl":"10.1016/j.jlamp.2024.100979","url":null,"abstract":"<div><p>Stormwater detention ponds play an important role in urban water management for collecting and conveying rainfall runoff from urban catchment areas to nearby streams. Their purpose is not only to avoid flooding but also to reduce stream erosion and degradation caused by the direct discharge of pollutants to the stream. We model the problem of controlling the discharge rate of water from the ponds as a partially observable hybrid Markov decision process and subsequently use <span>Uppaal Stratego</span> for synthesizing safe and near optimal control strategies. The generated strategies are based on noisy sensor measurements of the water height in the pond, hence the underlying system is only partially observable. We present results analyzing how sensitive the synthesized strategies are with respect to the accuracy of the measurement sensors in both offline and online settings. These types of analyses not only provide insight into the robustness of the generated strategies, but they can also be used for deciding on which measurement sensors to use, thereby balancing sensor cost and accuracy.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"141 ","pages":"Article 100979"},"PeriodicalIF":0.9,"publicationDate":"2024-05-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2352220824000336/pdfft?md5=9bbbbf2738bc98b9610d871cccaf8c97&pid=1-s2.0-S2352220824000336-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141144083","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Bunch theory: Axioms, logic, applications and model 束理论:公理、逻辑、应用和模型
IF 0.9 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-05-15 DOI: 10.1016/j.jlamp.2024.100977
Bill Stoddart , Steve Dunne , Chunyan Mu , Frank Zeyda

In his book A practical theory of programming [10], [12], Eric Hehner proposes and applies a radical reformulation of set theory in which the collection and packaging of elements are seen as separate activities. This provides for unpackaged collections, referred to as “bunches”. Bunches allow us to reason about non-determinism at the level of terms, and, very remarkably, allow us to reason about the conceptual entity “nothing”, which is just an empty bunch (and very different from an empty set). This eliminates mathematical “gaps” caused by undefined terms. We have made use of bunches in a number of papers that develop a refinement calculus for backtracking programs. We formulate our bunch theory as an extension of the set theory used in the B-Method, and provide a denotational model to give this formulation a sound mathematical basis. We replace the classical logic that underpins B with a version that is still able to prove the laws of our logic toolkit, but is unable to prove the property, derivable in classical logic, that every term denotes an element, which for us is pathological since we hold that terms such as 1/0 simply denote “nothing”. This change facilitates our ability to reason about partial functions and backtracking programs. We include a section on our backtracking program calculus, showing how it is derived from WP and how bunch theory simplifies its formulation. We illustrate its use with two small case studies.

埃里克-海纳(Eric Hehner)在其著作《程序设计实用理论》[10]、[12]中提出并应用了集合论的根本重述,将元素的收集和打包视为不同的活动。这就提供了未打包的集合,称为 "束"。集合允许我们在术语的层面上推理非确定性,而且,非常值得注意的是,它允许我们推理概念实体 "无",而 "无 "只是一个空的集合(与空集截然不同)。这就消除了因术语未定义而造成的数学 "空白"。我们在多篇论文中使用了束,这些论文为回溯程序开发了一种细化微积分。我们将束理论表述为 B 方法中使用的集合理论的扩展,并提供了一个指称模型,为这一表述奠定了坚实的数学基础。我们用一个版本取代了支持 B 方法的经典逻辑,这个版本仍然能够证明我们逻辑工具包中的定律,但无法证明经典逻辑中可推导出的属性,即每个术语都表示一个元素,这对我们来说是病态的,因为我们认为诸如 1/0 这样的术语仅仅表示 "无"。这一变化有助于我们推理部分函数和回溯程序。我们将在本节中介绍我们的回溯程序微积分,说明它是如何从 WP 派生的,以及束理论是如何简化其表述的。我们用两个小案例来说明它的使用。
{"title":"Bunch theory: Axioms, logic, applications and model","authors":"Bill Stoddart ,&nbsp;Steve Dunne ,&nbsp;Chunyan Mu ,&nbsp;Frank Zeyda","doi":"10.1016/j.jlamp.2024.100977","DOIUrl":"10.1016/j.jlamp.2024.100977","url":null,"abstract":"<div><p>In his book <em>A practical theory of programming</em> <span>[10]</span>, <span>[12]</span>, Eric Hehner proposes and applies a radical reformulation of set theory in which the collection and packaging of elements are seen as separate activities. This provides for unpackaged collections, referred to as “bunches”. Bunches allow us to reason about non-determinism at the level of terms, and, very remarkably, allow us to reason about the conceptual entity “nothing”, which is just an empty bunch (and very different from an empty set). This eliminates mathematical “gaps” caused by undefined terms. We have made use of bunches in a number of papers that develop a refinement calculus for backtracking programs. We formulate our bunch theory as an extension of the set theory used in the B-Method, and provide a denotational model to give this formulation a sound mathematical basis. We replace the classical logic that underpins B with a version that is still able to prove the laws of our logic toolkit, but is unable to prove the property, derivable in classical logic, that every term denotes an element, which for us is pathological since we hold that terms such as 1/0 simply denote “nothing”. This change facilitates our ability to reason about partial functions and backtracking programs. We include a section on our backtracking program calculus, showing how it is derived from WP and how bunch theory simplifies its formulation. We illustrate its use with two small case studies.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"140 ","pages":"Article 100977"},"PeriodicalIF":0.9,"publicationDate":"2024-05-15","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2352220824000312/pdfft?md5=ca874c97c090c6c332b31c73bdbde60a&pid=1-s2.0-S2352220824000312-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141035057","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Succinct ordering and aggregation constraints in algebraic array theories 代数阵列理论中的简洁排序和聚合约束
IF 0.9 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-05-14 DOI: 10.1016/j.jlamp.2024.100978
Rodrigo Raya , Viktor Kunčak

We discuss two extensions to a recently introduced theory of arrays, which are based on considerations coming from the model theory of power structures. First, we discuss how the ordering relation on the index set can be expressed succinctly by referring to arbitrary Venn regions. Second, we show how to add general aggregators to the calculus. The result is a logic that subsumes four previous fragments discussed in the literature and is distinct from array fold logic, in that it can express summations, while its satisfiability problem remains in non-deterministic polynomial time.

我们讨论了最近引入的数组理论的两个扩展,这两个扩展是基于权力结构模型理论的考虑。首先,我们讨论了如何通过引用任意维恩区域来简洁地表达索引集上的排序关系。其次,我们展示了如何将一般聚合器添加到微积分中。由此产生的逻辑包含了之前文献中讨论过的四个片段,并且与数组折叠逻辑不同,它可以表达求和,而其可满足性问题仍然是非确定性多项式时间。
{"title":"Succinct ordering and aggregation constraints in algebraic array theories","authors":"Rodrigo Raya ,&nbsp;Viktor Kunčak","doi":"10.1016/j.jlamp.2024.100978","DOIUrl":"10.1016/j.jlamp.2024.100978","url":null,"abstract":"<div><p>We discuss two extensions to a recently introduced theory of arrays, which are based on considerations coming from the model theory of power structures. First, we discuss how the ordering relation on the index set can be expressed succinctly by referring to arbitrary Venn regions. Second, we show how to add general aggregators to the calculus. The result is a logic that subsumes four previous fragments discussed in the literature and is distinct from array fold logic, in that it can express summations, while its satisfiability problem remains in non-deterministic polynomial time.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"140 ","pages":"Article 100978"},"PeriodicalIF":0.9,"publicationDate":"2024-05-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2352220824000324/pdfft?md5=673bb612f5206a7bb2a19b66ffdcb29a&pid=1-s2.0-S2352220824000324-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141056110","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Realizability modulo theories 可实现性模态理论
IF 0.9 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-05-09 DOI: 10.1016/j.jlamp.2024.100971
Andoni Rodríguez , César Sánchez

In this paper we study the problem of realizability of reactive specifications written in LTLT, which is the extension of LTL where atomic propositions can be literals from a first-order theory, including arithmetic theories. We present a solution based on transforming LTLT specifications into purely Boolean specifications by (1) substituting theory literals by Boolean variables, and (2) computing an additional Boolean formula that captures the dependencies between the new variables imposed by the literals. We prove that the resulting specification is realizable if and only if the original specification is realizable. Moreover, the resulting specification can be passed to existing Boolean off-the-shelf synthesis and realizability tools, which can handle only Boolean LTL specifications.

A second contribution is to prove that LTLT realizability of theories with a decidable fragment is decidable for all combinations of LTL temporal modalities. We present a simple version of our method, which relies on SMT solving, and performs a brute-force search to construct the “extra requirement”. A third contribution is an algorithm that checks whether a candidate is a correct Booleanization in non-Boolean LTL realizability.

LTLT 是 LTL 的扩展,在 LTL 中,原子命题可以是一阶理论(包括算术理论)的字面。我们提出了一种将 LTLT 规范转化为纯布尔规范的解决方案,具体方法是:(1)用布尔变量代替理论字面量;(2)计算一个额外的布尔公式,以捕捉字面量施加的新变量之间的依赖关系。我们证明,当且仅当原始规范是可实现的,由此产生的规范才是可实现的。我们的第二个贡献是证明了具有可判定∃⁎∀⁎片段的理论的 LTLT 可实现性对于 LTL 时态模态的所有组合都是可判定的。我们介绍了我们方法的一个简单版本,它依赖于 SMT 求解,并通过暴力搜索来构建 "额外要求"。第三个贡献是一种算法,它可以检查候选项在非布尔 LTL 可实现性中是否是正确的布尔化。
{"title":"Realizability modulo theories","authors":"Andoni Rodríguez ,&nbsp;César Sánchez","doi":"10.1016/j.jlamp.2024.100971","DOIUrl":"10.1016/j.jlamp.2024.100971","url":null,"abstract":"<div><p>In this paper we study the problem of realizability of reactive specifications written in <span><math><msub><mrow><mi>LTL</mi></mrow><mrow><mi>T</mi></mrow></msub></math></span>, which is the extension of LTL where atomic propositions can be literals from a first-order theory, including arithmetic theories. We present a solution based on transforming <span><math><msub><mrow><mi>LTL</mi></mrow><mrow><mi>T</mi></mrow></msub></math></span> specifications into purely Boolean specifications by (1) substituting theory literals by Boolean variables, and (2) computing an additional Boolean formula that captures the dependencies between the new variables imposed by the literals. We prove that the resulting specification is realizable if and only if the original specification is realizable. Moreover, the resulting specification can be passed to existing Boolean off-the-shelf synthesis and realizability tools, which can handle only Boolean LTL specifications.</p><p>A second contribution is to prove that <span><math><msub><mrow><mi>LTL</mi></mrow><mrow><mi>T</mi></mrow></msub></math></span> realizability of theories with a decidable <span><math><msup><mrow><mo>∃</mo></mrow><mrow><mo>⁎</mo></mrow></msup><msup><mrow><mo>∀</mo></mrow><mrow><mo>⁎</mo></mrow></msup></math></span> fragment is decidable for all combinations of LTL temporal modalities. We present a simple version of our method, which relies on SMT solving, and performs a brute-force search to construct the “extra requirement”. A third contribution is an algorithm that checks whether a candidate is a correct <em>Booleanization</em> in non-Boolean LTL realizability.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"140 ","pages":"Article 100971"},"PeriodicalIF":0.9,"publicationDate":"2024-05-09","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141054141","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Determinism of multirelations 多重关系的决定论
IF 0.9 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-05-08 DOI: 10.1016/j.jlamp.2024.100976
Hitoshi Furusawa , Walter Guttmann , Georg Struth

Binary multirelations allow modelling alternating nondeterminism, for instance, in games or nondeterministically evolving systems interacting with an environment. Such systems can show partial or total functional behaviour at both levels of alternation, so that nondeterministic behaviour may occur only at one level or both levels, or not at all. We study classes of inner and outer partial and total functional multirelations in a multirelational language based on relation algebra and power allegories. While it is known that general multirelations do not form a category, we show in the multirelational language that the classes of deterministic multirelations mentioned form categories with respect to Peleg composition from concurrent dynamic logic, and sometimes quantaloids. Some of these categories are isomorphic to the category of binary relations. We also introduce determinisation maps that approximate multirelations either by binary relations or by deterministic multirelations. Such maps are useful for defining modal operators on multirelations.

二元多重关系可以模拟交替的非确定性,例如在游戏或与环境相互作用的非确定性演化系统中。这些系统可以在交替的两个层次上表现出部分或全部功能行为,因此非确定性行为可能只发生在一个层次上,也可能发生在两个层次上,或者根本不发生。我们用一种基于关系代数和幂寓言的多关系语言来研究内部和外部部分和全部功能多关系的类别。众所周知,一般多重关系并不构成一个范畴,但我们用多重关系语言证明,上述确定性多重关系类构成了与并发动态逻辑中的 Peleg 构成有关的范畴,有时还构成了量子范畴。其中一些类别与二元关系类别同构。我们还引入了确定性映射,用二元关系或确定性多重关系来近似多重关系。这些映射对于定义多关系上的模态算子非常有用。
{"title":"Determinism of multirelations","authors":"Hitoshi Furusawa ,&nbsp;Walter Guttmann ,&nbsp;Georg Struth","doi":"10.1016/j.jlamp.2024.100976","DOIUrl":"10.1016/j.jlamp.2024.100976","url":null,"abstract":"<div><p>Binary multirelations allow modelling alternating nondeterminism, for instance, in games or nondeterministically evolving systems interacting with an environment. Such systems can show partial or total functional behaviour at both levels of alternation, so that nondeterministic behaviour may occur only at one level or both levels, or not at all. We study classes of inner and outer partial and total functional multirelations in a multirelational language based on relation algebra and power allegories. While it is known that general multirelations do not form a category, we show in the multirelational language that the classes of deterministic multirelations mentioned form categories with respect to Peleg composition from concurrent dynamic logic, and sometimes quantaloids. Some of these categories are isomorphic to the category of binary relations. We also introduce determinisation maps that approximate multirelations either by binary relations or by deterministic multirelations. Such maps are useful for defining modal operators on multirelations.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"139 ","pages":"Article 100976"},"PeriodicalIF":0.9,"publicationDate":"2024-05-08","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2352220824000300/pdfft?md5=b0bbae83b171bd8e2197a34c294926eb&pid=1-s2.0-S2352220824000300-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141060560","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
The generalised distribution semantics and projective families of distributions 广义分布语义和分布的投影族
IF 0.9 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-05-07 DOI: 10.1016/j.jlamp.2024.100975
Felix Weitkämper

We generalise the distribution semantics underpinning probabilistic logic programming by distilling its essential concept, the separation of a free random component and a deterministic part. This abstracts the core ideas beyond logic programming as such to encompass frameworks from probabilistic databases, probabilistic finite model theory and discrete lifted Bayesian networks. To demonstrate the usefulness of such a general approach, we completely characterise the projective families of distributions representable in the generalised distribution semantics and we demonstrate both that large classes of interesting projective families cannot be represented in a generalised distribution semantics and that already a very limited fragment of logic programming (acyclic determinate logic programs) in the deterministic part suffices to represent all those projective families that are representable in the generalised distribution semantics at all.

我们通过提炼概率逻辑编程的基本概念--自由随机部分和确定性部分的分离--来概括支撑概率逻辑编程的分布语义。这就抽象出了逻辑编程之外的核心思想,涵盖了概率数据库、概率有限模型理论和离散提升贝叶斯网络的框架。为了证明这种通用方法的实用性,我们完整地描述了可在广义分布语义中表示的分布的投影族,并证明了一大类有趣的投影族无法在广义分布语义中表示,而且确定性部分中非常有限的逻辑编程片段(非循环确定性逻辑程序)就足以表示所有可在广义分布语义中表示的投影族。
{"title":"The generalised distribution semantics and projective families of distributions","authors":"Felix Weitkämper","doi":"10.1016/j.jlamp.2024.100975","DOIUrl":"https://doi.org/10.1016/j.jlamp.2024.100975","url":null,"abstract":"<div><p>We generalise the distribution semantics underpinning probabilistic logic programming by distilling its essential concept, the separation of a free random component and a deterministic part. This abstracts the core ideas beyond logic programming as such to encompass frameworks from probabilistic databases, probabilistic finite model theory and discrete lifted Bayesian networks. To demonstrate the usefulness of such a general approach, we completely characterise the projective families of distributions representable in the generalised distribution semantics and we demonstrate both that large classes of interesting projective families cannot be represented in a generalised distribution semantics and that already a very limited fragment of logic programming (acyclic determinate logic programs) in the deterministic part suffices to represent all those projective families that are representable in the generalised distribution semantics at all.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"139 ","pages":"Article 100975"},"PeriodicalIF":0.9,"publicationDate":"2024-05-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2352220824000294/pdfft?md5=f13ab58ad152ad08f7f859220723fc5d&pid=1-s2.0-S2352220824000294-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140906730","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
Preface to selected papers from 20th Workshop on Programming and Languages (PROLE 2021) 第 20 届编程与语言研讨会(PROLE 2021)论文选序言
IF 0.9 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-05-07 DOI: 10.1016/j.jlamp.2024.100974
Narciso Martí-Oliet

This special issue collects extended versions of selected papers presented at the 20th Workshop on Programming and Languages (PROLE 2021), held as a hybrid event in Málaga from September 22 to 24, 2021.

本特刊收集了第 20 届编程与语言研讨会(PROLE 2021)上发表的部分论文的扩展版本,该研讨会于 2021 年 9 月 22 日至 24 日在马拉加举行,是一次混合型活动。
{"title":"Preface to selected papers from 20th Workshop on Programming and Languages (PROLE 2021)","authors":"Narciso Martí-Oliet","doi":"10.1016/j.jlamp.2024.100974","DOIUrl":"https://doi.org/10.1016/j.jlamp.2024.100974","url":null,"abstract":"<div><p>This special issue collects extended versions of selected papers presented at the 20th Workshop on Programming and Languages (PROLE 2021), held as a hybrid event in Málaga from September 22 to 24, 2021.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"139 ","pages":"Article 100974"},"PeriodicalIF":0.9,"publicationDate":"2024-05-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140918804","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
A framework for formal verification of robot kinematics 机器人运动学形式化验证框架
IF 0.9 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-04-29 DOI: 10.1016/j.jlamp.2024.100972
Guojun Xie , Huanhuan Yang , Gang Chen

As robotic applications continue to expand and task complexity increases, the adoption of more advanced and sophisticated control algorithms and models becomes critical. Traditional methods, relying on manual abstraction and modeling to verify these algorithms and models, may not fully encompass all potential design paths, leading to incomplete models, design defects, and increased vulnerability to security risks. The verification of control systems using formal methods is crucial for ensuring the safety of robots. This paper introduces a formal verification framework for robot kinematics implemented in Coq. It constructs a formal proof for the theory of robot motion and control algorithms, specifically focusing on the theory of robot kinematics, which includes the homogeneous representation of robot coordinates and the transformation relations between different coordinate systems. Subsequently, we provide formal definitions and verification for several commonly used structural robots, along with their coordinate transformation algorithms. Finally, we extract the Coq code, convert the functional algorithms into OCaml code, and perform data validation using various examples. It is worth emphasizing that the framework we have built possesses a high level of reusability, providing a solid technological foundation for the development of kinematics theorem libraries.

随着机器人应用的不断扩展和任务复杂性的增加,采用更先进、更复杂的控制算法和模型变得至关重要。传统方法依赖手动抽象和建模来验证这些算法和模型,可能无法完全涵盖所有潜在的设计路径,从而导致模型不完整、设计缺陷和安全风险的增加。使用形式化方法验证控制系统对于确保机器人的安全性至关重要。本文介绍了用 Coq 实现的机器人运动学形式化验证框架。它为机器人运动和控制算法理论构建了一个形式化证明,尤其侧重于机器人运动学理论,其中包括机器人坐标的同质表示和不同坐标系之间的变换关系。随后,我们对几种常用的结构机器人及其坐标变换算法进行了形式化定义和验证。最后,我们提取了 Coq 代码,将函数式算法转换为 OCaml 代码,并使用各种示例进行了数据验证。值得强调的是,我们构建的框架具有很高的可重用性,为运动学定理库的开发提供了坚实的技术基础。
{"title":"A framework for formal verification of robot kinematics","authors":"Guojun Xie ,&nbsp;Huanhuan Yang ,&nbsp;Gang Chen","doi":"10.1016/j.jlamp.2024.100972","DOIUrl":"https://doi.org/10.1016/j.jlamp.2024.100972","url":null,"abstract":"<div><p>As robotic applications continue to expand and task complexity increases, the adoption of more advanced and sophisticated control algorithms and models becomes critical. Traditional methods, relying on manual abstraction and modeling to verify these algorithms and models, may not fully encompass all potential design paths, leading to incomplete models, design defects, and increased vulnerability to security risks. The verification of control systems using formal methods is crucial for ensuring the safety of robots. This paper introduces a formal verification framework for robot kinematics implemented in Coq. It constructs a formal proof for the theory of robot motion and control algorithms, specifically focusing on the theory of robot kinematics, which includes the homogeneous representation of robot coordinates and the transformation relations between different coordinate systems. Subsequently, we provide formal definitions and verification for several commonly used structural robots, along with their coordinate transformation algorithms. Finally, we extract the Coq code, convert the functional algorithms into OCaml code, and perform data validation using various examples. It is worth emphasizing that the framework we have built possesses a high level of reusability, providing a solid technological foundation for the development of kinematics theorem libraries.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"139 ","pages":"Article 100972"},"PeriodicalIF":0.9,"publicationDate":"2024-04-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140946872","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
An algebraic approach to simulation and verification for cyber-physical systems with shared-variable concurrency 用代数方法模拟和验证具有共享变量并发性的网络物理系统
IF 0.9 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-04-26 DOI: 10.1016/j.jlamp.2024.100973
Ran Li , Huibiao Zhu , Richard Banach

Cyber-Physical systems (CPS), containing discrete behaviors of the cyber and continuous behaviors of the physical, have gained wide applications in many fields. Since CPS subsume the intersection of cyber systems and physical processes, the traditional modeling languages which merely include discrete variables are no longer applicable to CPS. Accordingly, a shared variable language called CPSLsc was proposed to specify CPS. In this paper, we elaborate the algebraic semantics for this language, so that every program of CPSLsc can be converted into a unified form called guarded choice form and the sequentialization of parallel programs is achieved. Additionally, we formalize the algebraic semantics in the rewriting engine Real-Time Maude. With the algebraic laws constructed, for every program specified with CPSLsc, we can simulate its execution step by step. Furthermore, automatic transformation and execution are attained. As a consequence, if the program and its initial data state are provided, the corresponding trace of data states during execution can be generated. In the light of the generated trace, automatic verification can be carried out as well.

网络物理系统(CPS)包含离散的网络行为和连续的物理行为,已在许多领域得到广泛应用。由于 CPS 包含网络系统和物理过程的交集,仅包含离散变量的传统建模语言已不再适用于 CPS。因此,我们提出了一种名为 CPSLsc 的共享变量语言来指定 CPS。本文详细阐述了该语言的代数语义,从而使 CPSLsc 的每个程序都能转换成一种统一的形式,即守护选择形式,并实现了并行程序的顺序化。此外,我们还在重写引擎 Real-Time Maude 中形式化了代数语义。有了所构建的代数法则,对于每个用 CPSLsc 指定的程序,我们都可以逐步模拟其执行。此外,还可以实现自动转换和执行。因此,只要提供程序及其初始数据状态,就能生成执行过程中相应的数据状态跟踪。根据生成的轨迹,还可以进行自动验证。
{"title":"An algebraic approach to simulation and verification for cyber-physical systems with shared-variable concurrency","authors":"Ran Li ,&nbsp;Huibiao Zhu ,&nbsp;Richard Banach","doi":"10.1016/j.jlamp.2024.100973","DOIUrl":"https://doi.org/10.1016/j.jlamp.2024.100973","url":null,"abstract":"<div><p>Cyber-Physical systems (CPS), containing discrete behaviors of the cyber and continuous behaviors of the physical, have gained wide applications in many fields. Since CPS subsume the intersection of cyber systems and physical processes, the traditional modeling languages which merely include discrete variables are no longer applicable to CPS. Accordingly, a shared variable language called <em>CPSL</em><span><math><msup><mrow></mrow><mrow><mi>s</mi><mi>c</mi></mrow></msup></math></span> was proposed to specify CPS. In this paper, we elaborate the algebraic semantics for this language, so that every program of <em>CPSL</em><span><math><msup><mrow></mrow><mrow><mi>s</mi><mi>c</mi></mrow></msup></math></span> can be converted into a unified form called guarded choice form and the sequentialization of parallel programs is achieved. Additionally, we formalize the algebraic semantics in the rewriting engine Real-Time Maude. With the algebraic laws constructed, for every program specified with <em>CPSL</em><span><math><msup><mrow></mrow><mrow><mi>s</mi><mi>c</mi></mrow></msup></math></span>, we can simulate its execution step by step. Furthermore, automatic transformation and execution are attained. As a consequence, if the program and its initial data state are provided, the corresponding trace of data states during execution can be generated. In the light of the generated trace, automatic verification can be carried out as well.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"139 ","pages":"Article 100973"},"PeriodicalIF":0.9,"publicationDate":"2024-04-26","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140813608","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
A computational framework based on the dynamic pipeline approach 基于动态管道方法的计算框架
IF 0.9 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-04-22 DOI: 10.1016/j.jlamp.2024.100966
Edelmira Pasarella , Maria-Esther Vidal , Cristina Zoltan , Juan Pablo Royo Sales

Stream processing has inspired new computational approaches to facilitate effectiveness and efficiency. One such approach is the dynamic pipeline, which serves as a powerful computational model for stream processing. It is particularly well suited for solving problems that require incremental generation of results, making it an approach for scenarios where real-time analysis and responsiveness are critical. This paper aims to address a family of problems using the Dynamic Pipeline approach, and as a first step, we provide a comprehensive characterization of this problem family. In addition, we present the definition of a Dynamic Pipeline framework. To demonstrate the practicality of this framework, we present a proof of concept through its implementation and perform an empirical performance study. To this end, we focus on solving the problem of enumerating or listing the weakly connected components of a graph within the proposed framework. We provide two implementations of this algorithm to demonstrate the computational power and continuous behavior of the Dynamic Pipeline framework. The first implementation serves as a baseline for our experiments, representing an ad hoc solution based on the Dynamic Pipeline approach. In contrast, the second implementation is built on top of the developed framework. The observed results strongly support the suitability and effectiveness of the Dynamic Pipeline framework for implementing graph stream processing problems, especially those where continuous and real-time result generation is essential.

流处理激发了新的计算方法,以提高效率和效益。动态流水线就是其中一种方法,它是流处理的强大计算模型。它特别适用于解决需要增量生成结果的问题,使其成为实时分析和响应速度至关重要的一种方法。本文旨在利用动态流水线方法解决一系列问题,作为第一步,我们对这一系列问题进行了全面描述。此外,我们还提出了动态管道框架的定义。为了证明该框架的实用性,我们通过其实施进行了概念验证,并进行了实证性能研究。为此,我们将重点放在解决在拟议框架内枚举或列出图中弱连接组件的问题上。我们提供了该算法的两个实施方案,以展示动态管道框架的计算能力和连续行为。第一个实现是我们实验的基线,代表了基于动态管道方法的临时解决方案。与此相反,第二个实施方案建立在已开发的框架之上。观察到的结果有力地证明了动态流水线框架在实现图流处理问题上的适用性和有效性,尤其是那些需要连续和实时生成结果的问题。
{"title":"A computational framework based on the dynamic pipeline approach","authors":"Edelmira Pasarella ,&nbsp;Maria-Esther Vidal ,&nbsp;Cristina Zoltan ,&nbsp;Juan Pablo Royo Sales","doi":"10.1016/j.jlamp.2024.100966","DOIUrl":"https://doi.org/10.1016/j.jlamp.2024.100966","url":null,"abstract":"<div><p>Stream processing has inspired new computational approaches to facilitate effectiveness and efficiency. One such approach is the dynamic pipeline, which serves as a powerful computational model for stream processing. It is particularly well suited for solving problems that require incremental generation of results, making it an approach for scenarios where real-time analysis and responsiveness are critical. This paper aims to address a family of problems using the Dynamic Pipeline approach, and as a first step, we provide a comprehensive characterization of this problem family. In addition, we present the definition of a Dynamic Pipeline framework. To demonstrate the practicality of this framework, we present a proof of concept through its implementation and perform an empirical performance study. To this end, we focus on solving the problem of <em>enumerating or listing the weakly connected components</em> of a graph within the proposed framework. We provide two implementations of this algorithm to demonstrate the computational power and continuous behavior of the Dynamic Pipeline framework. The first implementation serves as a baseline for our experiments, representing an <em>ad hoc</em> solution based on the Dynamic Pipeline approach. In contrast, the second implementation is built on top of the developed framework. The observed results strongly support the suitability and effectiveness of the Dynamic Pipeline framework for implementing graph stream processing problems, especially those where continuous and real-time result generation is essential.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"139 ","pages":"Article 100966"},"PeriodicalIF":0.9,"publicationDate":"2024-04-22","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2352220824000245/pdfft?md5=1b361518db75a9926da8a7684cf4574c&pid=1-s2.0-S2352220824000245-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"140640964","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":4,"RegionCategory":"数学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"OA","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
引用次数: 0
期刊
Journal of Logical and Algebraic Methods in Programming
全部 Acc. Chem. Res. ACS Applied Bio Materials ACS Appl. Electron. Mater. ACS Appl. Energy Mater. ACS Appl. Mater. Interfaces ACS Appl. Nano Mater. ACS Appl. Polym. Mater. ACS BIOMATER-SCI ENG ACS Catal. ACS Cent. Sci. ACS Chem. Biol. ACS Chemical Health & Safety ACS Chem. Neurosci. ACS Comb. Sci. ACS Earth Space Chem. ACS Energy Lett. ACS Infect. Dis. ACS Macro Lett. ACS Mater. Lett. ACS Med. Chem. Lett. ACS Nano ACS Omega ACS Photonics ACS Sens. ACS Sustainable Chem. Eng. ACS Synth. Biol. Anal. Chem. BIOCHEMISTRY-US Bioconjugate Chem. BIOMACROMOLECULES Chem. Res. Toxicol. Chem. Rev. Chem. Mater. CRYST GROWTH DES ENERG FUEL Environ. Sci. Technol. Environ. Sci. Technol. Lett. Eur. J. Inorg. Chem. IND ENG CHEM RES Inorg. Chem. J. Agric. Food. Chem. J. Chem. Eng. Data J. Chem. Educ. J. Chem. Inf. Model. J. Chem. Theory Comput. J. Med. Chem. J. Nat. Prod. J PROTEOME RES J. Am. Chem. Soc. LANGMUIR MACROMOLECULES Mol. Pharmaceutics Nano Lett. Org. Lett. ORG PROCESS RES DEV ORGANOMETALLICS J. Org. Chem. J. Phys. Chem. J. Phys. Chem. A J. Phys. Chem. B J. Phys. Chem. C J. Phys. Chem. Lett. Analyst Anal. Methods Biomater. Sci. Catal. Sci. Technol. Chem. Commun. Chem. Soc. Rev. CHEM EDUC RES PRACT CRYSTENGCOMM Dalton Trans. Energy Environ. Sci. ENVIRON SCI-NANO ENVIRON SCI-PROC IMP ENVIRON SCI-WAT RES Faraday Discuss. Food Funct. Green Chem. Inorg. Chem. Front. Integr. Biol. J. Anal. At. Spectrom. J. Mater. Chem. A J. Mater. Chem. B J. Mater. Chem. C Lab Chip Mater. Chem. Front. Mater. Horiz. MEDCHEMCOMM Metallomics Mol. Biosyst. Mol. Syst. Des. Eng. Nanoscale Nanoscale Horiz. Nat. Prod. Rep. New J. Chem. Org. Biomol. Chem. Org. Chem. Front. PHOTOCH PHOTOBIO SCI PCCP Polym. Chem.
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1