Interpretations of logical formulas over semirings have applications in various areas of computer science including logic, AI, databases, and security. Such interpretations provide richer information beyond the truth or falsity of a statement. Examples of such semirings include Viterbi semiring, min-max or access control semiring, tropical semiring, and fuzzy semiring. The present work investigates the complexity of constraint optimization problems over semirings. The generic optimization problem we study is the following: Given a propositional formula $\varphi$ over $n$ variable and a semiring $(K,+,\cdot,0,1)$, find the maximum value over all possible interpretations of $\varphi$ over $K$. This can be seen as a generalization of the well-known satisfiability problem. A related problem is to find an interpretation that achieves the maximum value. In this work, we first focus on these optimization problems over the Viterbi semiring, which we call optConfVal and optConf. We show that for general propositional formulas in negation normal form, optConfVal and optConf are in ${\mathrm{FP}}^{\mathrm{NP}}$. We investigate optConf when the input formula $\varphi$ is represented as a CNF. For CNF formulae, we first derive an upper bound on optConfVal as a function of the number of maximum satisfiable clauses. In particular, we show that if $r$ is the maximum number of satisfiable clauses in a CNF formula with $m$ clauses, then its optConfVal is at most $1/4^{m-r}$. Building on this we establish that optConfVal for CNF formulae is hard for the complexity class ${\mathrm{FP}}^{\mathrm{NP}[\log]}$. We also design polynomial-time approximation algorithms and establish an inapproximability for optConfVal. We establish similar complexity results for these optimization problems over other semirings including tropical, fuzzy, and access control semirings.
翻译:对半环的逻辑公式解释有多种计算机科学领域的应用,包括逻辑、AI、数据库和安全。这些解释提供了比声明真实性或虚假性更丰富的信息。这些半环的例子包括维泰比半量值、微麦或存取控制半量值、热带半量值和模糊性半量值。当前工作调查了半环的限制优化问题的复杂性。我们研究的通用优化问题如下:鉴于一个提议公式 $\ varphy$ 超过美元变数, 以及半价 $ (K,+,\cdot,0,1美元), 找到所有可能对美元或超美元的解释的最大值。 这样的半量值的例子包括维特半量值的优化问题。 我们首先用可选择 Comforf 价 值来建立这些最优化问题。 我们用普通公式来否定正常的美元格式, 选择Confrl dal=lor fal maim mail 。当我们用Cfral- flalmax 来显示一个硬值时,我们也可以 max max a max a max max a max max, 当我们用Cfl max a max a mox a fl lax lax,我们用Cfl=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx。</s>