要还是不要:为稳定的 Kanren 添加完整性约束以做出决定

Xiangyu Guo, Ajay Bansal
{"title":"要还是不要:为稳定的 Kanren 添加完整性约束以做出决定","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":"{\"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}","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

摘要

我们将完整性约束集成到了稳定坎仁算法中,从而在组合搜索问题中实现了一种新的问题解决范式。稳定坎仁算法将迷你坎仁算法扩展到了稳定模型语义下的矛盾推理。然而,编写程序来解决组合搜索问题时,不稳定坎仁算法并没有充分利用矛盾推理。这主要是由于在求解过程中缺乏对谓词(目标函数)结果的控制。由答案集编程(ASP)定义的完整性约束提供了约束谓词结果的能力。但是,完整性约束是无头正常从句,而稳定坎儿井无法创建没有有效头部的目标函数。有两种方法可以处理完整性约束,但它们并不适合稳定的 Kanren。因此,我们设计了一种新方法,将完整性约束集成到稳定坎儿井中。我们展示了在扩展稳定坎伦中使用完整性约束解决组合搜索问题的统一框架。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
To Be or Not To Be: Adding Integrity Constraints to stableKanren to Make a Decision
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.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Repr Types: One Abstraction to Rule Them All $μλεδ$-Calculus: A Self Optimizing Language that Seems to Exhibit Paradoxical Transfinite Cognitive Capabilities Expressing and Analyzing Quantum Algorithms with Qualtran Conversational Concurrency The MLIR Transform Dialect. Your compiler is more powerful than you think
×
引用
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