喇叭约束系统的单元可辩驳性——认证和并行复杂性

IF 1 4区 计算机科学 Q3 COMPUTER SCIENCE, THEORY & METHODS
P. Wojciechowski, K. Subramani
{"title":"喇叭约束系统的单元可辩驳性——认证和并行复杂性","authors":"P. Wojciechowski,&nbsp;K. Subramani","doi":"10.1016/j.tcs.2025.115419","DOIUrl":null,"url":null,"abstract":"<div><div>This paper is concerned with algorithmic procedures for checking if a Horn Constraint System (HCS) has unit refutations of linear feasibility. A Horn constraint is a linear constraint of the form <span><math><mi>a</mi><mo>⋅</mo><mi>x</mi><mo>≥</mo><mi>b</mi></math></span>, where each <span><math><msub><mrow><mi>a</mi></mrow><mrow><mi>i</mi></mrow></msub><mo>∈</mo><mo>{</mo><mn>0</mn><mo>,</mo><mn>1</mn><mo>,</mo><mo>−</mo><mn>1</mn><mo>}</mo></math></span> and at most one of the <span><math><msub><mrow><mi>a</mi></mrow><mrow><mi>i</mi></mrow></msub></math></span>'s is positive. Horn constraints generalize Horn clauses and find applications in a number of practical domains such as program verification and econometrics. There exist quite a few algorithms in the literature for checking linear (and hence integer) feasibility in HCSs. We are concerned with the complementary problem, viz., that of finding refutations. In particular, we focus on unit refutations, i.e., refutations in which a unit variable constraint <strong>must</strong> be used in each inference step. Unit refutations are an analogue of unit resolution, which is a widely used refutation system in Boolean constraint solving. Whereas unit resolution is <strong>complete</strong> for Horn clausal systems, unit refutation is <strong>incomplete</strong> for HCSs. Although incomplete, unit refutations are very useful from the perspective of establishing a certain type of infeasibility. Our main contribution is showing that the problem of checking if an infeasible HCS has a unit refutation is in <strong>P</strong>. Towards this end, we provide two algorithms: a non-certifying algorithm which runs in <span><math><mi>O</mi><mo>(</mo><mi>m</mi><mo>⋅</mo><msup><mrow><mi>n</mi></mrow><mrow><mn>2</mn></mrow></msup><mo>)</mo></math></span> time and a certifying algorithm which runs in <span><math><mi>O</mi><mo>(</mo><msup><mrow><mi>m</mi></mrow><mrow><mn>2</mn></mrow></msup><mo>⋅</mo><msup><mrow><mi>n</mi></mrow><mrow><mn>2</mn></mrow></msup><mo>)</mo></math></span> time, where <em>m</em> and <em>n</em> are the number of constraints and number of variables in the input HCS, respectively. Our algorithms are based on a combination of new and existing insights regarding Horn constraints. What is particularly interesting about our approach is that we are able to efficiently certify the existence of a unit refutation, although the actual refutation itself could be <em>exponential</em> in the size of the input. From the perspective of parallel algorithms, we show that the unit refutation problem in HCSs is <strong>P-complete</strong>.<span><span><sup>2</sup></span></span> </div></div>","PeriodicalId":49438,"journal":{"name":"Theoretical Computer Science","volume":"1053 ","pages":"Article 115419"},"PeriodicalIF":1.0000,"publicationDate":"2025-06-16","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Unit refutability of horn constraint systems - certification and parallel complexity\",\"authors\":\"P. Wojciechowski,&nbsp;K. Subramani\",\"doi\":\"10.1016/j.tcs.2025.115419\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<div><div>This paper is concerned with algorithmic procedures for checking if a Horn Constraint System (HCS) has unit refutations of linear feasibility. A Horn constraint is a linear constraint of the form <span><math><mi>a</mi><mo>⋅</mo><mi>x</mi><mo>≥</mo><mi>b</mi></math></span>, where each <span><math><msub><mrow><mi>a</mi></mrow><mrow><mi>i</mi></mrow></msub><mo>∈</mo><mo>{</mo><mn>0</mn><mo>,</mo><mn>1</mn><mo>,</mo><mo>−</mo><mn>1</mn><mo>}</mo></math></span> and at most one of the <span><math><msub><mrow><mi>a</mi></mrow><mrow><mi>i</mi></mrow></msub></math></span>'s is positive. Horn constraints generalize Horn clauses and find applications in a number of practical domains such as program verification and econometrics. There exist quite a few algorithms in the literature for checking linear (and hence integer) feasibility in HCSs. We are concerned with the complementary problem, viz., that of finding refutations. In particular, we focus on unit refutations, i.e., refutations in which a unit variable constraint <strong>must</strong> be used in each inference step. Unit refutations are an analogue of unit resolution, which is a widely used refutation system in Boolean constraint solving. Whereas unit resolution is <strong>complete</strong> for Horn clausal systems, unit refutation is <strong>incomplete</strong> for HCSs. Although incomplete, unit refutations are very useful from the perspective of establishing a certain type of infeasibility. Our main contribution is showing that the problem of checking if an infeasible HCS has a unit refutation is in <strong>P</strong>. Towards this end, we provide two algorithms: a non-certifying algorithm which runs in <span><math><mi>O</mi><mo>(</mo><mi>m</mi><mo>⋅</mo><msup><mrow><mi>n</mi></mrow><mrow><mn>2</mn></mrow></msup><mo>)</mo></math></span> time and a certifying algorithm which runs in <span><math><mi>O</mi><mo>(</mo><msup><mrow><mi>m</mi></mrow><mrow><mn>2</mn></mrow></msup><mo>⋅</mo><msup><mrow><mi>n</mi></mrow><mrow><mn>2</mn></mrow></msup><mo>)</mo></math></span> time, where <em>m</em> and <em>n</em> are the number of constraints and number of variables in the input HCS, respectively. Our algorithms are based on a combination of new and existing insights regarding Horn constraints. What is particularly interesting about our approach is that we are able to efficiently certify the existence of a unit refutation, although the actual refutation itself could be <em>exponential</em> in the size of the input. From the perspective of parallel algorithms, we show that the unit refutation problem in HCSs is <strong>P-complete</strong>.<span><span><sup>2</sup></span></span> </div></div>\",\"PeriodicalId\":49438,\"journal\":{\"name\":\"Theoretical Computer Science\",\"volume\":\"1053 \",\"pages\":\"Article 115419\"},\"PeriodicalIF\":1.0000,\"publicationDate\":\"2025-06-16\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Theoretical Computer Science\",\"FirstCategoryId\":\"94\",\"ListUrlMain\":\"https://www.sciencedirect.com/science/article/pii/S0304397525003573\",\"RegionNum\":4,\"RegionCategory\":\"计算机科学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q3\",\"JCRName\":\"COMPUTER SCIENCE, THEORY & METHODS\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Theoretical Computer Science","FirstCategoryId":"94","ListUrlMain":"https://www.sciencedirect.com/science/article/pii/S0304397525003573","RegionNum":4,"RegionCategory":"计算机科学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q3","JCRName":"COMPUTER SCIENCE, THEORY & METHODS","Score":null,"Total":0}
引用次数: 0

摘要

本文研究了角约束系统是否具有线性可行性的单元驳斥的算法过程。Horn约束是形式为A⋅x≥b的线性约束,其中每个ai∈{0,1,−1}且ai中最多有一个是正的。霍恩约束概括了霍恩子句,并在程序验证和计量经济学等许多实际领域中找到了应用。文献中存在相当多的算法来检查hcs的线性(因此是整数)可行性。我们关心的是补充问题,即寻找反驳的问题。特别地,我们专注于单位反驳,即在每个推理步骤中必须使用单位变量约束的反驳。单位反驳是一种类似于单位分辨的反驳系统,是布尔约束求解中广泛使用的一种反驳系统。对于Horn子句系统,单位解析是完整的,而对于hcs,单位驳斥是不完整的。虽然不完整,但从建立某种不可行性的角度来看,单位反驳是非常有用的。我们的主要贡献是证明了检验不可行HCS是否具有单位反驳的问题在p中。为此,我们提供了两种算法:一种运行时间为O(m·n2)的非证明算法和一种运行时间为O(m2·n2)的证明算法,其中m和n分别是输入HCS中的约束数和变量数。我们的算法基于对霍恩约束的新见解和现有见解的结合。我们的方法特别有趣的是,我们能够有效地证明一个单位反驳的存在,尽管实际的反驳本身可能是输入大小的指数级。从并行算法的角度,我们证明了hcs中的单元反驳问题是p完全的
本文章由计算机程序翻译,如有差异,请以英文原文为准。
Unit refutability of horn constraint systems - certification and parallel complexity
This paper is concerned with algorithmic procedures for checking if a Horn Constraint System (HCS) has unit refutations of linear feasibility. A Horn constraint is a linear constraint of the form axb, where each ai{0,1,1} and at most one of the ai's is positive. Horn constraints generalize Horn clauses and find applications in a number of practical domains such as program verification and econometrics. There exist quite a few algorithms in the literature for checking linear (and hence integer) feasibility in HCSs. We are concerned with the complementary problem, viz., that of finding refutations. In particular, we focus on unit refutations, i.e., refutations in which a unit variable constraint must be used in each inference step. Unit refutations are an analogue of unit resolution, which is a widely used refutation system in Boolean constraint solving. Whereas unit resolution is complete for Horn clausal systems, unit refutation is incomplete for HCSs. Although incomplete, unit refutations are very useful from the perspective of establishing a certain type of infeasibility. Our main contribution is showing that the problem of checking if an infeasible HCS has a unit refutation is in P. Towards this end, we provide two algorithms: a non-certifying algorithm which runs in O(mn2) time and a certifying algorithm which runs in O(m2n2) time, where m and n are the number of constraints and number of variables in the input HCS, respectively. Our algorithms are based on a combination of new and existing insights regarding Horn constraints. What is particularly interesting about our approach is that we are able to efficiently certify the existence of a unit refutation, although the actual refutation itself could be exponential in the size of the input. From the perspective of parallel algorithms, we show that the unit refutation problem in HCSs is P-complete.2
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
Theoretical Computer Science
Theoretical Computer Science 工程技术-计算机:理论方法
CiteScore
2.60
自引率
18.20%
发文量
471
审稿时长
12.6 months
期刊介绍: Theoretical Computer Science is mathematical and abstract in spirit, but it derives its motivation from practical and everyday computation. Its aim is to understand the nature of computation and, as a consequence of this understanding, provide more efficient methodologies. All papers introducing or studying mathematical, logic and formal concepts and methods are welcome, provided that their motivation is clearly drawn from the field of computing.
×
引用
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学术文献互助群
群 号:604180095
Book学术官方微信