首页 > 最新文献

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

英文 中文
A logical account of subtyping for session types 会话类型子类型的逻辑说明
IF 0.9 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-10-01 Epub Date: 2024-05-28 DOI: 10.1016/j.jlamp.2024.100986
Ross Horne , Luca Padovani

We study iso-recursive and equi-recursive subtyping for session types in a logical setting, where session types are propositions of multiplicative/additive linear logic extended with least and greatest fixed points. Both subtyping relations admit a simple characterization that can be roughly spelled out as the following lapalissade: every session type is larger than the smallest session type and smaller than the largest session type. We observe that, because of the logical setting in which they arise, these subtyping relations preserve termination in addition to the usual safety properties of sessions.

我们研究了逻辑环境中会话类型的等递归和等递归子类型,其中会话类型是乘法/加法线性逻辑的命题,扩展有最小和最大定点。这两种子类型关系都有一个简单的表征,大致可以表述为:每个会话类型都比最小的会话类型大,比最大的会话类型小。我们注意到,由于它们产生的逻辑环境,这些子类型关系除了保留会话的通常安全属性外,还保留了终止属性。
{"title":"A logical account of subtyping for session types","authors":"Ross Horne ,&nbsp;Luca Padovani","doi":"10.1016/j.jlamp.2024.100986","DOIUrl":"10.1016/j.jlamp.2024.100986","url":null,"abstract":"<div><p>We study iso-recursive and equi-recursive subtyping for session types in a logical setting, where session types are propositions of multiplicative/additive linear logic extended with least and greatest fixed points. Both subtyping relations admit a simple characterization that can be roughly spelled out as the following lapalissade: every session type is larger than the smallest session type and smaller than the largest session type. We observe that, because of the logical setting in which they arise, these subtyping relations preserve termination in addition to the usual safety properties of sessions.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"141 ","pages":"Article 100986"},"PeriodicalIF":0.9,"publicationDate":"2024-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.sciencedirect.com/science/article/pii/S2352220824000403/pdfft?md5=b08604bd6126c32af455466713f5ba78&pid=1-s2.0-S2352220824000403-main.pdf","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141196225","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
Towards the exact complexity of realizability for Safety LTL 实现安全 LTL 可实现性的精确复杂性
IF 0.7 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-10-01 Epub Date: 2024-07-31 DOI: 10.1016/j.jlamp.2024.101002
Noel Arteche , Montserrat Hermo

We study the realizability and strong satisfiability problems for Safety LTL, a syntactic fragment of Linear Temporal Logic (

) capturing safe formulas. While it is well-known that realizability for this fragment lies in
, the best-known lower bound is
-hardness. Surprisingly, closing this gap has proven an elusive task. Previous works have claimed first
-completeness [1] and later
-completeness [2] for this problem, but both of these proofs turned out to be incorrect.

We revisit the problem of the exact classification of the complexity of realizability for

through the lens of seemingly weaker fragments. While we cannot settle the question for
, we study a subfragment of it consisting of formulas of the form
, where α is a present formula over system variables and ψ contains Next as the only temporal operator. We prove that the realizability problem for this new fragment, which we call
, is
-complete, and observe that this fragment is equirealizable to existing more expressive fragments, such as the class
[3].

Furthermore, we revisit the techniques used in the purported proof of

-completeness of Arteche and Hermo [1], and observe that, while incorrect in their original claims, their proofs can be modified to classify the complexity of strong satisfiability, a necessary condition for realizability introduced by Kupferman, Sadigh, and Seshia [4]. We prove that, with regards to strong satisfiability, the fragments
and
are in fact equivalent under polynomial-time many-one reductions.

我们研究了线性时态逻辑 (▪) 的一个语法片段--捕捉安全公式的可实现性和强可满足性问题。众所周知,该语法片段的可实现性在▪范围内,而最著名的下限是▪-硬度。令人惊讶的是,缩小这一差距已被证明是一项难以实现的任务。以前的著作先是声称这个问题具有 ▪ 可完备性,后来又声称它具有 ▪ 可完备性,但结果证明这两个证明都是不正确的。
{"title":"Towards the exact complexity of realizability for Safety LTL","authors":"Noel Arteche ,&nbsp;Montserrat Hermo","doi":"10.1016/j.jlamp.2024.101002","DOIUrl":"10.1016/j.jlamp.2024.101002","url":null,"abstract":"<div><p>We study the realizability and strong satisfiability problems for <span>Safety<!--> <!-->LTL</span>, a syntactic fragment of Linear Temporal Logic (<figure><img></figure>) capturing safe formulas. While it is well-known that realizability for this fragment lies in <figure><img></figure>, the best-known lower bound is <figure><img></figure>-hardness. Surprisingly, closing this gap has proven an elusive task. Previous works have claimed first <figure><img></figure>-completeness <span><span>[1]</span></span> and later <figure><img></figure>-completeness <span><span>[2]</span></span> for this problem, but both of these proofs turned out to be incorrect.</p><p>We revisit the problem of the exact classification of the complexity of realizability for <figure><img></figure> through the lens of seemingly weaker fragments. While we cannot settle the question for <figure><img></figure>, we study a subfragment of it consisting of formulas of the form <figure><img></figure>, where <em>α</em> is a present formula over system variables and <em>ψ</em> contains Next as the only temporal operator. We prove that the realizability problem for this new fragment, which we call <figure><img></figure>, is <figure><img></figure>-complete, and observe that this fragment is equirealizable to existing more expressive fragments, such as the class <figure><img></figure> <span><span>[3]</span></span>.</p><p>Furthermore, we revisit the techniques used in the purported proof of <figure><img></figure>-completeness of Arteche and Hermo <span><span>[1]</span></span>, and observe that, while incorrect in their original claims, their proofs can be modified to classify the complexity of <em>strong satisfiability</em>, a necessary condition for realizability introduced by Kupferman, Sadigh, and Seshia <span><span>[4]</span></span>. We prove that, with regards to strong satisfiability, the fragments <figure><img></figure> and <figure><img></figure> are in fact equivalent under polynomial-time many-one reductions.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"141 ","pages":"Article 101002"},"PeriodicalIF":0.7,"publicationDate":"2024-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141936878","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
Controlling stormwater detention ponds under partial observability 在部分可观测条件下控制暴雨蓄水池
IF 0.9 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-10-01 Epub 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-10-01","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
Formal definitions and proofs for partial (co)recursive functions 部分(共)递归函数的形式定义和证明
IF 0.9 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-10-01 Epub Date: 2024-06-17 DOI: 10.1016/j.jlamp.2024.100999
Horaţiu Cheval , David Nowak , Vlad Rusu

Partial functions are a key concept in programming. Without partiality a programming language has limited expressiveness – it is not Turing-complete, hence, it excludes some constructs such as while-loops. In functional programming languages, partiality mostly originates from the non-termination of recursive functions. Corecursive functions are another source of partiality: here, the issue is not termination, but the inability to produce arbitrary large, finite approximations of a theoretically infinite output.

Partial functions have been formally studied in the branch of theoretical computer science called domain theory. In this paper we propose to step up the level of formality by using the Coq proof assistant. The main difficulty is that Coq requires all functions to be total, since partiality would break the soundness of its underlying logic. We propose practical solutions for this issue, and others, which appear when one attempts to define and reason about partial (co)recursive functions in a total functional language.

偏函数是编程中的一个关键概念。如果没有部分性,编程语言的表达能力就会受到限制--它不是图灵完备的,因此,它排除了一些构造,如 while-loops。在函数式编程语言中,偏倚性主要源于递归函数的非终结性。核心递归函数是偏倚性的另一个来源:在这里,问题不在于终止,而在于无法对理论上无限的输出产生任意大的、有限的近似值。在本文中,我们建议使用 Coq 证明助手来提高正式程度。主要困难在于,Coq 要求所有函数都是全函数,因为偏函数会破坏其底层逻辑的健全性。我们针对这个问题和其他问题提出了切实可行的解决方案,这些问题会在人们尝试用完全函数式语言定义和推理部分(共)递归函数时出现。
{"title":"Formal definitions and proofs for partial (co)recursive functions","authors":"Horaţiu Cheval ,&nbsp;David Nowak ,&nbsp;Vlad Rusu","doi":"10.1016/j.jlamp.2024.100999","DOIUrl":"https://doi.org/10.1016/j.jlamp.2024.100999","url":null,"abstract":"<div><p>Partial functions are a key concept in programming. Without partiality a programming language has limited expressiveness – it is not Turing-complete, hence, it excludes some constructs such as while-loops. In functional programming languages, partiality mostly originates from the non-termination of recursive functions. Corecursive functions are another source of partiality: here, the issue is not termination, but the inability to produce arbitrary large, finite approximations of a theoretically infinite output.</p><p>Partial functions have been formally studied in the branch of theoretical computer science called domain theory. In this paper we propose to step up the level of formality by using the Coq proof assistant. The main difficulty is that Coq requires all functions to be total, since partiality would break the soundness of its underlying logic. We propose practical solutions for this issue, and others, which appear when one attempts to define and reason about partial (co)recursive functions in a total functional language.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"141 ","pages":"Article 100999"},"PeriodicalIF":0.9,"publicationDate":"2024-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141429499","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
Efficient analysis of belief properties in process algebra 过程代数中信念属性的高效分析
IF 0.7 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-10-01 Epub Date: 2024-07-08 DOI: 10.1016/j.jlamp.2024.101001
Zahra Moezkarimi , Fatemeh Ghassemi

Protocols are typically specified in an operational manner by specifying the communication patterns among the different involved principals. However, many properties are of epistemic nature, e.g., what each principal believes after having seen a run of the protocol. We elaborate on a unified algebraic framework suitable for epistemic reasoning about operational protocols. This reasoning framework is based on a logic of beliefs and allows for the operational specification of untruthful communications. The information recorded in the semantic models to support reasoning about the interaction between the operational and epistemic aspects intensifies the state-space explosion. We propose an efficient on-the-fly reduction for such a unifying framework by providing a set of operational rules. These operational rules automatically generate efficient reduced semantics for a class of epistemic properties, specified in a rich extension of modal μ-calculus with past and belief modality, and can potentially reduce an infinite state space into a finite one. We reformulate and prove criteria that guarantee belief consistency for credulous agents, i.e., agents that are ready to believe what is told unless it is logically inconsistent. We adjust our reduction so that the belief consistency of an original model is preserved. We prove the soundness and completeness result for the specified class of properties.

协议通常是通过指定不同参与主体之间的通信模式,以可操作的方式指定的。然而,许多属性是认识论性质的,例如,每个委托人在看到协议运行后相信什么。我们阐述了一个适用于对运行协议进行认识论推理的统一代数框架。这个推理框架以信念逻辑为基础,允许对不真实的通信进行操作规范。语义模型中记录的用于支持操作和认识方面交互推理的信息加剧了状态空间爆炸。我们通过提供一系列操作规则,为这样一个统一框架提出了一种高效的即时还原方法。这些运算规则能自动为一类认识论属性生成高效的还原语义,并在具有过去和信念模态的模态μ计算的丰富扩展中加以指定,从而有可能将无限的状态空间还原为有限的状态空间。我们重新制定并证明了保证可信代理的信念一致性的标准,即除非逻辑上不一致,否则代理愿意相信别人所说的话。我们调整了还原方法,从而保留了原始模型的信念一致性。我们证明了指定属性类别的健全性和完备性结果。
{"title":"Efficient analysis of belief properties in process algebra","authors":"Zahra Moezkarimi ,&nbsp;Fatemeh Ghassemi","doi":"10.1016/j.jlamp.2024.101001","DOIUrl":"10.1016/j.jlamp.2024.101001","url":null,"abstract":"<div><p>Protocols are typically specified in an operational manner by specifying the communication patterns among the different involved principals. However, many properties are of epistemic nature, e.g., what each principal believes after having seen a run of the protocol. We elaborate on a unified algebraic framework suitable for epistemic reasoning about operational protocols. This reasoning framework is based on a logic of beliefs and allows for the operational specification of untruthful communications. The information recorded in the semantic models to support reasoning about the interaction between the operational and epistemic aspects intensifies the state-space explosion. We propose an efficient on-the-fly reduction for such a unifying framework by providing a set of operational rules. These operational rules automatically generate efficient reduced semantics for a class of epistemic properties, specified in a rich extension of modal <em>μ</em>-calculus with past and belief modality, and can potentially reduce an infinite state space into a finite one. We reformulate and prove criteria that guarantee belief consistency for credulous agents, i.e., agents that are ready to believe what is told unless it is logically inconsistent. We adjust our reduction so that the belief consistency of an original model is preserved. We prove the soundness and completeness result for the specified class of properties.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"141 ","pages":"Article 101001"},"PeriodicalIF":0.7,"publicationDate":"2024-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141638494","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
When causality meets fairness: A survey 当因果关系遇上公平一项调查
IF 0.7 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-10-01 Epub Date: 2024-06-20 DOI: 10.1016/j.jlamp.2024.101000
Karima Makhlouf , Sami Zhioua , Catuscia Palamidessi

Addressing the problem of fairness is crucial to safely using machine learning algorithms to support decisions that have a critical impact on people's lives, such as job hiring, child maltreatment, disease diagnosis, loan granting, etc. Several notions of fairness have been defined and examined in the past decade, such as statistical parity and equalized odds. However, the most recent notions of fairness are causal-based and reflect the now widely accepted idea that using causality is necessary to appropriately address the problem of fairness. This paper examines an exhaustive list of causal-based fairness notions and studies their applicability in real-world scenarios. As most causal-based fairness notions are defined in terms of non-observable quantities (e.g., interventions and counterfactuals), their deployment in practice requires computing or estimating those quantities using observational data. This paper offers a comprehensive report of the different approaches to infer causal quantities from observational data, including identifiability (Pearl's SCM framework) and estimation (potential outcome framework). The main contributions of this survey paper are (1) a guideline to help select a suitable causal fairness notion given a specific real-world scenario and (2) a ranking of the fairness notions according to Pearl's causation ladder, indicating how difficult it is to deploy each notion in practice.

要安全地使用机器学习算法来支持对人们生活有重要影响的决策,如工作招聘、儿童虐待、疾病诊断、贷款发放等,解决公平性问题至关重要。过去十年间,人们定义并研究了几种公平概念,如统计均等和赔率均等。不过,最近的公平概念都是基于因果关系的,反映了现在被广泛接受的观点,即要恰当地解决公平问题,就必须使用因果关系。本文详尽列举了基于因果关系的公平概念,并研究了它们在现实世界中的适用性。由于大多数基于因果关系的公平概念都是以不可观测的量(如干预和反事实)来定义的,因此在实际应用中需要利用观测数据来计算或估计这些量。本文全面报告了从观察数据中推断因果量的不同方法,包括可识别性(珀尔的单片机框架)和估算(潜在结果框架)。本调查报告的主要贡献在于:(1) 提供了一个指南,帮助人们在特定的现实世界场景中选择合适的因果公平概念;(2) 根据珀尔的因果关系阶梯对公平概念进行了排序,指出了在实践中采用每种概念的难度。
{"title":"When causality meets fairness: A survey","authors":"Karima Makhlouf ,&nbsp;Sami Zhioua ,&nbsp;Catuscia Palamidessi","doi":"10.1016/j.jlamp.2024.101000","DOIUrl":"https://doi.org/10.1016/j.jlamp.2024.101000","url":null,"abstract":"<div><p>Addressing the problem of fairness is crucial to safely using machine learning algorithms to support decisions that have a critical impact on people's lives, such as job hiring, child maltreatment, disease diagnosis, loan granting, etc. Several notions of fairness have been defined and examined in the past decade, such as statistical parity and equalized odds. However, the most recent notions of fairness are causal-based and reflect the now widely accepted idea that using causality is necessary to appropriately address the problem of fairness. This paper examines an exhaustive list of causal-based fairness notions and studies their applicability in real-world scenarios. As most causal-based fairness notions are defined in terms of non-observable quantities (e.g., interventions and counterfactuals), their deployment in practice requires computing or estimating those quantities using observational data. This paper offers a comprehensive report of the different approaches to infer causal quantities from observational data, including identifiability (Pearl's SCM framework) and estimation (potential outcome framework). The main contributions of this survey paper are (1) a guideline to help select a suitable causal fairness notion given a specific real-world scenario and (2) a ranking of the fairness notions according to Pearl's causation ladder, indicating how difficult it is to deploy each notion in practice.</p></div>","PeriodicalId":48797,"journal":{"name":"Journal of Logical and Algebraic Methods in Programming","volume":"141 ","pages":"Article 101000"},"PeriodicalIF":0.7,"publicationDate":"2024-10-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"141486837","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
Realizability modulo theories 可实现性模态理论
IF 0.9 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-08-01 Epub 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-08-01","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
Bunch theory: Axioms, logic, applications and model 束理论:公理、逻辑、应用和模型
IF 0.9 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-08-01 Epub 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-08-01","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-08-01 Epub 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-08-01","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
Determinism of multirelations 多重关系的决定论
IF 0.9 4区 数学 Q3 COMPUTER SCIENCE, THEORY & METHODS Pub Date : 2024-06-01 Epub 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-06-01","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
期刊
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学术文献互助群
群 号:604180095
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1