Generating Minimal Unsatisfiable SAT Instances from Strong Digraphs

Gábor Kusper, Tamás Balla, C. Biró, T. Tajti, Zijian Győző Yang, Imre Baják
{"title":"Generating Minimal Unsatisfiable SAT Instances from Strong Digraphs","authors":"Gábor Kusper, Tamás Balla, C. Biró, T. Tajti, Zijian Győző Yang, Imre Baják","doi":"10.1109/SYNASC51798.2020.00024","DOIUrl":null,"url":null,"abstract":"We present a model generator which generates SAT problems from digraphs. There are a few restrictions on the input digraphs. There must be no self-loops, and its vertices must be Boolean variables or labeled by distinct Boolean variables. We call such digraphs communication graphs. The model is pretty straightforward: if the communication graph contains the edges ($a, b$) and ($a, c$), and there is no other edge from $a$, then this is encoded by the clause: $\\{\\neg a, b, c\\}$. The intuition is that $a$ can send a message to $b$ or $c$. We have to represent all cycles as well. If ($a, b, c, a$) is a cycle with the set of exit points $\\{d, e\\}$ in the input communication graph, then it is encoded by the clause: $\\{\\neg a,\\neg b,\\neg c, d, e\\}$, The intuition is the following: if there is a message in the cycle, then it has to leave the cycle and we have to be sent to $d$ or $e$. We call this model as the weak model of communication graphs. We show that the weak model is a Black-and-White SAT problem if and only if the input is a strongly connected communication graph. We prove also that all clauses in such models are independent. From this we obtain that a weak model generated from a strong digraph is a minimal unsatisfiable SAT instance if we add to it the black and the white clauses, which are the only solutions of a Black-and-White SAT problems. Minimal unsatisfiable SAT instances are one of the hardest unsatisfiable clause sets, so they are interesting from the viewpoint of testing SAT solvers. There are some techniques which generates special minimal unsatisfiable SAT instances from digraphs, see the work of H. Abbasizanjani, and O. Kullmann, but there was no general solution before our work. Although, our solution is a general one, the generation of weak models is difficult because we have to find all cycles, including non-simple cycles. Therefore, we discuss how to create models of digraphs without cycle detection. Finally, we present some test results using state-of-the-art SAT solvers. It seems that these minimal unsatisfiable SAT instances are very difficult for them even with 20 variables.","PeriodicalId":278104,"journal":{"name":"2020 22nd International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC)","volume":"24 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2020-09-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"3","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"2020 22nd International Symposium on Symbolic and Numeric Algorithms for Scientific Computing (SYNASC)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/SYNASC51798.2020.00024","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 3

Abstract

We present a model generator which generates SAT problems from digraphs. There are a few restrictions on the input digraphs. There must be no self-loops, and its vertices must be Boolean variables or labeled by distinct Boolean variables. We call such digraphs communication graphs. The model is pretty straightforward: if the communication graph contains the edges ($a, b$) and ($a, c$), and there is no other edge from $a$, then this is encoded by the clause: $\{\neg a, b, c\}$. The intuition is that $a$ can send a message to $b$ or $c$. We have to represent all cycles as well. If ($a, b, c, a$) is a cycle with the set of exit points $\{d, e\}$ in the input communication graph, then it is encoded by the clause: $\{\neg a,\neg b,\neg c, d, e\}$, The intuition is the following: if there is a message in the cycle, then it has to leave the cycle and we have to be sent to $d$ or $e$. We call this model as the weak model of communication graphs. We show that the weak model is a Black-and-White SAT problem if and only if the input is a strongly connected communication graph. We prove also that all clauses in such models are independent. From this we obtain that a weak model generated from a strong digraph is a minimal unsatisfiable SAT instance if we add to it the black and the white clauses, which are the only solutions of a Black-and-White SAT problems. Minimal unsatisfiable SAT instances are one of the hardest unsatisfiable clause sets, so they are interesting from the viewpoint of testing SAT solvers. There are some techniques which generates special minimal unsatisfiable SAT instances from digraphs, see the work of H. Abbasizanjani, and O. Kullmann, but there was no general solution before our work. Although, our solution is a general one, the generation of weak models is difficult because we have to find all cycles, including non-simple cycles. Therefore, we discuss how to create models of digraphs without cycle detection. Finally, we present some test results using state-of-the-art SAT solvers. It seems that these minimal unsatisfiable SAT instances are very difficult for them even with 20 variables.
从强有向图生成最小不满足SAT实例
我们提出了一个从有向图生成SAT问题的模型生成器。输入有向图有一些限制。必须没有自循环,并且它的顶点必须是布尔变量或由不同的布尔变量标记。我们称这种有向图为通信图。该模型非常简单:如果通信图包含边($a, b$)和($a, c$),并且没有来自$a$的其他边,则由子句:$\{\负a, b, c\}$进行编码。直觉是,$a$可以向$b$或$c$发送消息。我们也要表示所有的周期。如果($a, b, c, a$)是一个循环,在输入通信图中有一组出口点$\{d, e\}$,那么它由子句编码:$\{\neg a,\neg b,\neg c, d, e\}$,直觉如下:如果在循环中有消息,那么它必须离开循环,我们必须被发送到$d$或$e$。我们把这个模型称为通信图的弱模型。我们证明当且仅当输入是强连接通信图时,弱模型是一个黑白SAT问题。我们还证明了这些模型中的所有子句都是独立的。由此,我们得到了一个由强有向图生成的弱模型是一个最小的不满足SAT实例,如果我们给它加上黑白分句,这是黑白SAT问题的唯一解。最小不可满足的SAT实例是最难的不可满足子句集之一,因此从测试SAT解算者的角度来看,它们很有趣。有一些技术可以从有向图中生成特殊的最小不满足SAT实例,参见H. Abbasizanjani和O. Kullmann的工作,但在我们的工作之前没有一般的解决方案。虽然我们的解是一般的,但是弱模型的生成是困难的,因为我们必须找到所有的循环,包括非简单循环。因此,我们讨论了如何建立没有循环检测的有向图模型。最后,我们介绍了一些使用最先进的SAT求解器的测试结果。即使有20个变量,这些最小的不满意的SAT实例对他们来说似乎也很困难。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约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学术文献互助群
群 号:604180095
Book学术官方微信