arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2605.15002cs.LOcs.CC
收藏

将CDCL扩展到异或方程的析取式

Extending CDCL to disjunctions of parity equations

University of Washington(华盛顿大学)

Paul Beame, Glenn Sun

AI总结:

本文提出CDCL(⊕)算法,扩展到XNF公式,证明其与Res(⊕)的双向连接,并在XNF公式基准上优于现有求解器。

摘要:

由于CDCL生成的是分辨率证明系统中的证明,因此在分辨率中证明为难题的问题也证明在CDCL中是难题。有时可以使用更强大的证明系统,如Res(⊕),其是将分辨率扩展到XNF公式的一般化,其约束是异或方程的析取式(“线性子句”),例如(x⊕y)∨¬(y⊕z)。虽然一些现代求解器如CryptoMiniSAT在布尔子句上分别处理奇偶方程,但对更一般的线性子句的推理则较少被探索。我们提出了CDCL(⊕),将CDCL扩展到XNF公式,并证明其与Res(⊕)之间存在双向连接:CDCL(⊕)不仅生成Res(⊕)证明,而且在非确定性决策和重启的情况下,可以多项式模拟Res(⊕),这与CDCL和分辨率之间的经典关系相呼应。我们的关键技术工具是新的Res(⊕)推理规则,这帮助我们将基于分辨率的子程序如1-UIP子句学习进行转换。总体而言,CDCL(⊕)的奇偶推理包括对任意奇偶方程的分支、在单位传播期间的线性代数推理以及通过冲突分析学习线性子句。我们提供了一个名为Xorcle的CDCL(⊕)的证明概念实现,其中包括将现有CDCL启发式方法适应到XNF公式中的调整,以及我们称为LRUP(⊕)的LRUP证明日志的扩展。在一组专注于原生XNF公式基准上,Xorcle在现有求解器如Kissat和CryptoMiniSAT上表现更优。此外,在Tseitin公式中,即使没有预处理,Xorcle的运行时间似乎也几乎呈多项式增长。

英文摘要:

Problems provably hard for Resolution are also provably hard for CDCL, but shorter proofs can sometimes be found using stronger proof systems such as Res($\oplus$), a generalization of Resolution to XNF formulas, whose constraints are disjunctions of parity equations, called linear clauses. While some solvers like CryptoMiniSat reason on Boolean clauses with separate parity equations in a system called CNF-XOR, general XNF reasoning is less explored. We present CDCL($\oplus$), a generalization of CDCL to XNF formulas that includes branching on arbitrary parity equations, linear-algebraic reasoning during unit propagation, and learning linear clauses in conflict analysis. Our key tool is the affine resolution rule, which generalizes classical resolution and allows translations of 1-UIP clause learning and variable elimination. We develop a theory of UIPs to show that we learn an asserting clause with the largest possible backjump, the same guarantee as classical CDCL. We prove that CDCL($\oplus$) not only produces Res($\oplus$) proofs, but also polynomially simulates Res($\oplus$) given nondeterministic decisions and restarts, much like the relationship between CDCL and Resolution. We implement CDCL($\oplus$) in our solver Xorcle, which cleanly adapts over a dozen major classical CDCL heuristics. We introduce the CSIDS decision heuristic, which selects decisions from activity-ranked clauses, and the LRUP($\oplus$) proof logging format. On a suite of cryptographic benchmarks, Xorcle is generally competitive with or outperforms Kissat, CaDiCaL, and CryptoMiniSat, and beats the concurrently developed XNF solver Xorricane. Additionally, Xorcle's reasoning and search alone (i.e., without detecting XORs) solves CNF versions of Tseitin formulas, perfect matching formulas, and bijective pigeonhole formulas with $n+1$ pigeons into $n$ holes using apparently polynomial running time.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑