arXiv:2508.11515cs.LOcs.AI2025-08被引 1

研究双关系公理下二阶逻辑加权模型计数的复杂性边界

Weighted First Order Model Counting for Two-variable Logic with Axioms on Two Relations

  • 在两个变量逻辑中引入双关系公理,分析其对模型计数的影响
  • 证明含两个线性序或两个无环关系时问题为#P₁难
  • 提出一种多项式时间算法处理特定双继承关系结构

加权一阶模型计数问题(WFOMC)要求计算给定一阶逻辑句子在指定域上的加权模型总和。已知在二元逻辑(FO²)与三元逻辑(FO³)之间存在复杂性分界:FO³的WFOMC为#P₁难,而FO²与C²在加入如线性序、无环、连通等公理后仍可多项式求解。现有研究多集中于单个特殊关系上的公理扩展,对多个关系上的公理影响尚不明确。本文研究在两个变量逻辑中加入两个关系的公理,揭示了两类负结果:含两个线性序关系或两个无环关系的FO²-WFOMC为#P₁难。同时,提出正结果:对于带线性序、其后继关系及另一后继关系的C²,存在关于域大小的多项式时间算法。

原文摘要 · Abstract (English)

The Weighted First-Order Model Counting Problem (WFOMC) asks to compute the weighted sum of models of a given first-order logic sentence over a given domain. The boundary between fragments for which WFOMC can be computed in polynomial time relative to the domain size lies between the two-variable fragment ($\text{FO}^2$) and the three-variable fragment ($\text{FO}^3$). It is known that WFOMC for \FOthree{} is $\mathsf{\#P_1}$-hard while polynomial-time algorithms exist for computing WFOMC for $\text{FO}^2$ and $\text{C}^2$, possibly extended by certain axioms such as the linear order axiom, the acyclicity axiom, and the connectedness axiom. All existing research has concentrated on extending the fragment with axioms on a single distinguished relation, leaving a gap in understanding the complexity boundary of axioms on multiple relations. In this study, we explore the extension of the two-variable fragment by axioms on two relations, presenting both negative and positive results. We show that WFOMC for $\text{FO}^2$ with two linear order relations and $\text{FO}^2$ with two acyclic relations are $\mathsf{\#P_1}$-hard. Conversely, we provide an algorithm in time polynomial in the domain size for WFOMC of $\text{C}^2$ with a linear order relation, its successor relation and another successor relation.

逻辑推理复杂性分析模型计数

Thank you to arXiv for use of its open access interoperability. PaperDance 不是 arXiv 官方产品;中文卡片由大模型生成,请以原文为准。