To Be or Not To Be: Adding Integrity Constraints to stableKanren to Make a Decision

Xiangyu Guo, Ajay Bansal
{"title":"To Be or Not To Be: Adding Integrity Constraints to stableKanren to Make a Decision","authors":"Xiangyu Guo, Ajay Bansal","doi":"arxiv-2408.16699","DOIUrl":null,"url":null,"abstract":"We integrate integrity constraints to stableKanren to enable a new\nproblem-solving paradigm in combinatorial search problems. stableKanren extends\nminiKanren to reasoning about contradictions under stable model semantics.\nHowever, writing programs to solve combinatorial search problems in\nstableKanren did not fully utilize the contradiction reasoning. This is mainly\ndue to the lack of control over the predicate (goal function) outcome during\nresolution. Integrity constraints defined by answer set programming (ASP)\nprovide the ability to constrain the predicate outcome. However, integrity\nconstraints are headless normal clauses, and stableKanren cannot create a goal\nfunction without a valid head. There are two approaches to handling integrity\nconstraints, but they do not fit stableKanren. Therefore, we design a new\napproach to integrate integrity constraints into stableKanren. We show a\nuniform framework to solve combinatorial search problems using integrity\nconstraints in extended stableKanren.","PeriodicalId":501197,"journal":{"name":"arXiv - CS - Programming Languages","volume":null,"pages":null},"PeriodicalIF":0.0000,"publicationDate":"2024-08-29","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Programming Languages","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.16699","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

We integrate integrity constraints to stableKanren to enable a new problem-solving paradigm in combinatorial search problems. stableKanren extends miniKanren to reasoning about contradictions under stable model semantics. However, writing programs to solve combinatorial search problems in stableKanren did not fully utilize the contradiction reasoning. This is mainly due to the lack of control over the predicate (goal function) outcome during resolution. Integrity constraints defined by answer set programming (ASP) provide the ability to constrain the predicate outcome. However, integrity constraints are headless normal clauses, and stableKanren cannot create a goal function without a valid head. There are two approaches to handling integrity constraints, but they do not fit stableKanren. Therefore, we design a new approach to integrate integrity constraints into stableKanren. We show a uniform framework to solve combinatorial search problems using integrity constraints in extended stableKanren.
要还是不要:为稳定的 Kanren 添加完整性约束以做出决定
我们将完整性约束集成到了稳定坎仁算法中,从而在组合搜索问题中实现了一种新的问题解决范式。稳定坎仁算法将迷你坎仁算法扩展到了稳定模型语义下的矛盾推理。然而,编写程序来解决组合搜索问题时,不稳定坎仁算法并没有充分利用矛盾推理。这主要是由于在求解过程中缺乏对谓词(目标函数)结果的控制。由答案集编程(ASP)定义的完整性约束提供了约束谓词结果的能力。但是,完整性约束是无头正常从句,而稳定坎儿井无法创建没有有效头部的目标函数。有两种方法可以处理完整性约束,但它们并不适合稳定的 Kanren。因此,我们设计了一种新方法,将完整性约束集成到稳定坎儿井中。我们展示了在扩展稳定坎伦中使用完整性约束解决组合搜索问题的统一框架。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术官方微信