arXivDaily arXiv每日学术速递 周一至周五更新
重置
cs.LO计算机逻辑8
2606.11993 2026-06-11 cs.LO math.LO 新提交

A Rank-Preserving Gaifman Normal Form

保秩的盖夫曼范式

Martin Grohe, Nicole Schweikardt

AI总结 提出一阶逻辑的秩度量,并证明保秩的盖夫曼定理,简化了先前结果并用于证明无稠密结构的一阶性质可在近线性时间内判定。

详情
AI中文摘要

我们为一阶逻辑引入了一个秩度量,并证明了盖夫曼定理的一个“保秩”版本。与早期的“保秩局部性定理”(特别是 [Grohe, Kreutzer, Siebertz, JACM 2017])相比,我们的定理不仅更简单,而且生成的公式与盖夫曼原始定理中的范式完全相同。作为该定理的一个应用,我们给出了 [Grohe, Kreutzer, Siebertz, JACM 2017] 主要结果的一个简化证明,即无稠密结构的一阶性质可以在近线性时间内判定。

英文摘要

We introduce a rank measure for first-order logic and prove a "rank-preserving'" version of Gaifman's theorem. Compared to earlier "rank-preserving locality theorems'" (in particular, [Grohe, Kreutzer, Siebertz, JACM 2017]), our theorem is not only much simpler, but also yields formulas in exactly the same normal form as Gaifman's original theorem. As an application of this theorem, we give a simplified proof of the main result of [Grohe, Kreutzer, Siebertz, JACM 2017] that first-order properties of nowhere-dense structures can be decided in almost linear time.

2606.11946 2026-06-11 cs.DB cs.CC cs.LG cs.LO 新提交

Neuro-Relational Programs: Unifying Queries and Neural Computation over Structured Data

神经关系程序:统一结构化数据上的查询与神经计算

Arie Soeteman, Balder ten Cate, Maurice Funk, Benny Kimelfeld, Carsten Lutz, Moritz Schönherr

AI总结 提出神经关系程序(NRP),一种扩展Datalog规则的声明式查询语言,通过嵌入操作融合关系推理与可学习神经组件,实现关系数据上的通用神经计算。

详情
Comments
37 pages
AI中文摘要

在关系数据库上进行深度学习的传统方法是将图神经网络(GNN)等神经模型应用于数据库的图表示。最近的方法则直接操作数据库,将元组与嵌入关联,并扩展查询机制以联合处理嵌入和关系内容。受这些发展的启发,我们引入了神经关系程序(NRP),这是一种针对关系数据库的声明式查询语言,其事实携带数值向量嵌入。NRP扩展了Datalog风格的规则,增加了组合、聚合和转换嵌入的操作,从而在单一形式主义中交错关系推理和可学习神经组件。这产生了一种对关系数据进行神经计算的通用方法:NRP既可以看作带有可训练组件的查询计划,也可以看作内置关系结构的神经架构。NRP的自然语法片段恢复了现有架构和查询形式主义。零元NRP对应于非自适应查询算法;一元NRP推广了GNN风格的消息传递,并精确捕捉了深度同态网络,我们将这一联系扩展到带有行ID的数据库上的前沿保护NRP。我们通过FOCQ(一阶逻辑在实权重结构上的计数扩展)刻画了带有ReLU-FFN变换的无限制NRP的表达能力,从而建立了与有序数据库上的均匀TC$^0$的精确联系。这些结果共同确立了NRP作为关系数据上查询和神经计算的广泛声明式框架。

英文摘要

The conventional approach to deep learning over relational databases applies neural models, such as Graph Neural Networks (GNNs), to a graph representation of the database. Recent approaches instead operate on databases directly, associating tuples with embeddings and extending query mechanisms to jointly process embeddings and relational content. Inspired by these developments, we introduce Neuro-Relational Programs (NRPs), a declarative query language for relational databases whose facts carry numeric vector embeddings. NRPs extend Datalog-style rules with operations that combine, aggregate, and transform embeddings, thereby interleaving relational reasoning and learnable neural components within a single formalism. This yields a general approach to neural computation over relational data: an NRP can be read both as a query plan with trainable components and as a neural architecture with relational structure built in. Natural syntactic fragments of NRPs recover existing architectures and query formalisms. Zero-ary NRPs correspond to non-adaptive query algorithms; monadic NRPs generalize GNN-style message passing and precisely capture Deep Homomorphism Networks, a connection that we extend to frontier-guarded NRPs over databases with row-ids. We characterize the expressive power of unrestricted NRPs with ReLU-FFN transformations by FOCQ, an extension of first-order logic with counting interpreted over real-weighted structures, yielding a precise connection with uniform TC$^0$ over ordered databases. Together, these results establish NRPs as a broad declarative framework for querying and neural computation over relational data.

2606.11750 2026-06-11 math.LO cs.LO 新提交

Russell's Theory of Definite Descriptions in the Light of Structural Proof Theory

罗素的限定摹状词理论在结构证明论视角下的审视

Andrzej Indrzejczak, Nils Kürbis

AI总结 本文从结构证明论角度,系统化、比较并扩展了罗素限定摹状词理论的三种形式化方法(二元量词、iota算子、iota+lambda算子),所有系统满足现代证明论标准(如切割消去)。

详情
AI中文摘要

在《论指称》中,罗素提出了最具影响力的限定摹状词理论,即形如“the F”的表达。罗素方法的特征在于,限定摹状词不被视为表面上的单称词项,而是通过语境定义消除。罗素在形如“The F is G”的完整句子语境中形式化限定摹状词,这需要作用域标记来区分内部否定和外部否定。然而,Burge、Kalish和Montague认识到,罗素方法的基本特征可以在尊重限定摹状词所属句法范畴的同时进行形式化。Neale青睐的另一种方法遵循罗素,将完整句子“The F is G”用二元量词形式化。限定摹状词理论对逻辑、数学和哲学的不可否认的重要性要求其形式化必须满足现代证明论的标准。这正是本文的主题。我们系统化、比较并扩展了现有方法。在呈现其基本特征后,我们在相继式演算中形式化了罗素的限定摹状词理论。将考虑三种方法:第一种使用二元量词,其余两种使用形成词项的iota算子。其中一种仅使用iota算子,另一种额外使用lambda算子作为作用域标记。所有系统均满足现代证明论的标准,特别是切割消去。附录将这些系统重述为自然演绎形式,更便于实际应用。

英文摘要

In 'On Denoting' Russell proposed the most influential theory of definite descriptions, expressions of the form 'the F'. Characteristic for Russell's approach is that definite descriptions are not treated as what they appear to be on the surface, i.e. as singular terms. Instead they are eliminated by a contextual definition. Russell formalises definite descriptions in the context of complete sentences of the form 'The F is G'. This requires scope markers to distinguish, e.g., internal from external negation. It was recognised by Burge, and Kalish and Montague, however, that the essential features of Russell's approach may be formalised while respecting the syntactic category to which definite descriptions appear to belong. An alternative, favoured by Neale, follows Russell in that complete sentences 'The F is G' are formalised by a binary quantifier. The undeniable importance of the theory of definite descriptions for logic, mathematics and philosophy demands that it be formalised to meet the standards of modern proof theory. This is the topic of the present paper. We systematise, compare and extend existing approaches. After presenting its essential features, we formalise Russell's theory of definite descriptions in sequent calculus. Three approaches will be considered. The first uses a binary quantifier, whereas the remaining two employ the term-forming iota operator. The first of these employs only the iota operator, the other employs in addition the lambda operator which does duty as a scope marker. All systems satisfy the standards for modern proof theory, in particular cut elimination. The appendix reformulates these systems in natural deduction, which is more convenient for practical purposes.

2606.11430 2026-06-11 cs.DL cs.AI cs.LO 新提交

Towards a Bridge Layer Between Bibliographic and Formalized Mathematical Knowledge

迈向文献与形式化数学知识之间的桥梁层

A. Mayeux

AI总结 提出一个关系型桥接数据库,对齐出版物元数据与形式化工件,并引入论文级形式化评分,通过跨文档对齐估计形式化覆盖度,以整合文献与形式化数学生态系统。

详情
AI中文摘要

数学知识分散在文献数据库(如MathSciNet、zbMATH Open)和形式化证明库(如Lean mathlib)中,阻碍了已发表结果与其形式化之间的统一访问。我们提出了一个关系型桥接数据库,将出版物元数据与形式化工件对齐,为数学文献和机器可验证证明提供互操作层。我们引入了一个论文级形式化评分,衡量一篇出版物在形式化系统中的覆盖程度。作为可行性研究,我们展示了如何通过非正式文本与Lean形式化之间的跨文档对齐来估计此类评分,从而实现对形式化覆盖度的大规模分析。该框架是将文献和形式化数学生态系统整合为可扩展、机器可操作的知识图谱的第一步,该图谱将出版物与形式化证明对象关联起来。

英文摘要

Mathematical knowledge is split between bibliographic databases (e.g., MathSciNet, zbMATH Open) and formal proof libraries (e.g., Lean mathlib), preventing unified access between published results and their formalizations. We propose a relational bridge-database that aligns publication metadata with formal artifacts, providing an interoperability layer between mathematical literature and machine-verifiable proofs. We introduce a paper-level formalization score that measures how much of a publication is covered in formal systems. As a feasibility study, we show how such scores can be estimated via cross-document alignment between informal texts and Lean formalizations, enabling large-scale analysis of formalization coverage. This framework is a first step toward integrating bibliographic and formal mathematical ecosystems into scalable, machine-actionable knowledge graphs linking publications to formal proof objects.

2210.09899 2026-06-11 cs.DS cs.CC cs.LO 版本更新

First Order Logic on Pathwidth Revisited Again

再论路径宽度上的一阶逻辑

Michael Lampis

AI总结 研究有界路径宽度图上一阶逻辑可表达性质的可判定性,证明其具有初等依赖,与树宽度情况形成对比。

详情
AI中文摘要

Courcelle 著名定理指出,所有 MSO 可表达的性质可以在有界树宽的图上在线性时间内判定。不幸的是,该定理隐含的常数是一个指数塔,其高度随公式中的量词交替次数增加。更糟糕的是,在标准假设下,即使考虑在树上判定 FO 可表达性质这个更受限的问题,也无法改进。本文重新审视这个被广泛研究的主题,并识别出一个自然特例,其中 Courcelle 定理的依赖关系实际上可以改进。具体来说,我们证明,如果输入图具有有界路径宽度(而非树宽度),则所有 FO 可表达的性质都可以用关于输入公式的初等依赖来判定。这是树宽度和路径宽度具有不同复杂度行为的一个罕见例子。我们的结果也与有界路径宽度图上的 MSO 逻辑形成鲜明对比,因为在标准假设下,已知后者的依赖必须是非初等的。我们的工作建立在 Gajarský 和 Hliněný 针对更受限的有界树深图类的相应元定理之上,并对其进行了推广。

英文摘要

Courcelle's celebrated theorem states that all MSO-expressible properties can be decided in linear time on graphs of bounded treewidth. Unfortunately, the hidden constant implied by this theorem is a tower of exponentials whose height increases with each quantifier alternation in the formula. More devastatingly, this cannot be improved, under standard assumptions, even if we consider the much more restricted problem of deciding FO-expressible properties on trees. In this paper we revisit this well-studied topic and identify a natural special case where the dependence of Courcelle's theorem can, in fact, be improved. Specifically, we show that all FO-expressible properties can be decided with an elementary dependence on the input formula, if the input graph has bounded pathwidth (rather than treewidth). This is a rare example of treewidth and pathwidth having different complexity behaviors. Our result is also in sharp contrast with MSO logic on graphs of bounded pathwidth, where it is known that the dependence has to be non-elementary, under standard assumptions. Our work builds upon, and generalizes, a corresponding meta-theorem by Gajarský and Hliněný for the more restricted class of graphs of bounded tree-depth.

2603.13854 2026-06-11 cs.LO cs.AI cs.SC 版本更新

Power Term Polynomial Algebra for Boolean Logic

布尔逻辑的幂项多项式代数

Emanuele Sansone, Armando Solar-Lezama

AI总结 提出幂项多项式代数,一种介于CNF和ANF之间的布尔公式表示语言,通过幂项和多项式直接编码CNF子句与单项式族,避免辅助变量和约束,支持代数运算与重写规则。

详情
Comments
Pragmatics of SAT
AI中文摘要

我们引入了幂项多项式代数,这是一种布尔公式的表示语言,旨在桥联合取范式(CNF)和代数范式(ANF)。该语言的动机是这些表示之间的平铺不匹配:直接CNF<->ANF转换可能导致指数爆炸,除非公式被分解成更小的片段,通常通过辅助变量和侧面约束。相比之下,我们的框架在表示本身内部解决了这种不匹配,紧凑地编码了单项式的结构化族,同时直接表示CNF子句,从而在抽象层次上避免了辅助变量和约束。我们通过幂项和幂项多项式形式化了该语言,定义了它们的语义,并展示了它们允许对应于布尔多项式加法和乘法的代数运算。我们证明了该语言的几个关键性质:析取子句允许紧凑的规范表示;幂项支持局部缩短和扩展重写规则;原子项的乘积可以在语言内部系统地重写。这些结果共同产生了一个符号演算,使得无需将公式展开为普通ANF即可直接操作公式。由此产生的框架提供了一种新的中间表示和重写演算,桥接了基于子句和代数的推理,并为结构感知的CNF<->ANF转换和混合推理方法提出了新的方向。

英文摘要

We introduce power term polynomial algebra, a representation language for Boolean formulae designed to bridge conjunctive normal form (CNF) and algebraic normal form (ANF). The language is motivated by the tiling mismatch between these representations: direct CNF<->ANF conversion may cause exponential blowup unless formulas are decomposed into smaller fragments, typically through auxiliary variables and side constraints. In contrast, our framework addresses this mismatch within the representation itself, compactly encoding structured families of monomials while representing CNF clauses directly, thereby avoiding auxiliary variables and constraints at the abstraction level. We formalize the language through power terms and power term polynomials, define their semantics, and show that they admit algebraic operations corresponding to Boolean polynomial addition and multiplication. We prove several key properties of the language: disjunctive clauses admit compact canonical representations; power terms support local shortening and expansion rewrite rules; and products of atomic terms can be systematically rewritten within the language. Together, these results yield a symbolic calculus that enables direct manipulation of formulas without expanding them into ordinary ANF. The resulting framework provides a new intermediate representation and rewriting calculus that bridges clause-based and algebraic reasoning and suggests new directions for structure-aware CNF<->ANF conversion and hybrid reasoning methods.

2601.14764 2026-06-11 cs.AI cs.HC cs.LO 版本更新

An XAI View on Explainable ASP: Methods, Systems, and Perspectives

可解释ASP的XAI视角:方法、系统与展望

Thomas Eiter, Tobias Geibinger, Zeynep G. Saribatur

AI总结 本文从XAI视角综述回答集编程(ASP)的解释方法,分类解释类型并评估现有理论与工具的覆盖范围,指出研究空白与未来方向。

详情
Comments
10 pages
AI中文摘要

回答集编程(ASP)是符号AI中一种流行的声明式推理和问题解决方法。其基于规则的形式化使其天生具有可解释和解释性推理的吸引力,随着可解释AI(XAI)的兴起,这一点日益重要。目前已经开发了许多针对ASP的解释方法和工具,它们通常处理特定的解释设置,可能无法覆盖ASP用户遇到的所有场景。在本综述中,我们从XAI视角出发,概述了与用户解释问题相关的ASP解释类型,并描述了当前理论和工具对其的覆盖情况。此外,我们指出了现有ASP解释方法中的空白,并确定了未来工作的研究方向。

英文摘要

Answer Set Programming (ASP) is a popular declarative reasoning and problem solving approach in symbolic AI. Its rule-based formalism makes it inherently attractive for explainable and interpretive reasoning, which is gaining importance with the surge of Explainable AI (XAI). A number of explanation approaches and tools for ASP have been developed, which often tackle specific explanatory settings and may not cover all scenarios that ASP users encounter. In this survey, we provide, guided by an XAI perspective, an overview of types of ASP explanations in connection with user questions for explanation, and describe their coverage by current theory and tools. Furthermore, we pinpoint gaps in existing ASP explanations approaches and identify research directions for future work.

2601.00791 2026-06-11 cs.LG cs.AI cs.CL cs.LO 版本更新

Geometry of Reason: Spectral Signatures of Valid Mathematical Reasoning

推理的几何:有效数学推理的谱特征

Valentin Noël

AI总结 通过将注意力矩阵视为加权词图,提取四个无需学习的谱诊断指标(Fiedler值、高频能量比、谱熵和平滑度),有效区分有效推理与模式匹配,在多个模型上达到85-96%的分类准确率。

详情
Comments
30 pages, 13 figures, Accepted at ICML 2026 (main track)
AI中文摘要

验证语言模型是真正推理还是模式匹配仍然是一个开放问题:学习型验证器成本高昂,基于输出的启发式方法脆弱。我们证明,有效的数学推理在Transformer注意力中诱导出可测量的、无需训练的谱特征。通过将每个注意力矩阵视为加权词图,我们提取四个诊断指标:Fiedler值、高频能量比(HFER)、谱熵和平滑度,这些指标无需学习参数。在来自四个架构家族的七个模型上的实验产生了高达Cohen's $d = 3.30$($p < 10^{-116}$)的效应量,实现了$85$--$96\%$的单阈值分类准确率。两个发现加深了理解。首先,\emph{柏拉图式有效性}:谱信号追踪逻辑连贯性而非编译器接受性,因超时或缺失导入而被拒绝的证明被正确分类为有效,这一区别通过人工审核确认($\kappa = 0.82$,$n = 51$)。其次,\emph{架构确定性}:滑动窗口注意力将判别特征从HFER转移到平滑度($d = 2.09$,$p < 10^{-48}$),表明注意力设计决定了哪个谱通道编码推理质量。因果消融证实该特征追踪归纳头电路。该方法泛化到非形式化思维链($d = 0.78$,$p < 10^{-3}$),并且在证明搜索中,HFER重排序将Best-of-16 Pass@1提高了$+4.4$--$6.6\%$,匹配了完全监督探针AUC的$98\%$且无需标签。谱图分析是一种原则性的、架构感知的推理验证原语。

英文摘要

Verifying whether a language model is genuinely reasoning or pattern-matching remains an open problem: learned verifiers are expensive, and output-based heuristics are brittle. We show that valid mathematical reasoning induces a measurable, training-free spectral signature in transformer attention. By treating each attention matrix as a weighted token graph, we extract four diagnostics: Fiedler value, High-Frequency Energy Ratio (HFER), spectral entropy, and smoothness, that require no learned parameters. Experiments across seven models from four architectural families yield effect sizes up to Cohen's $d = 3.30$ ($p < 10^{-116}$), enabling $85$--$96\%$ single-threshold classification accuracy. Two findings sharpen the interpretation. First, \emph{Platonic validity}: the spectral signal tracks logical coherence rather than compiler acceptance, proofs rejected for timeouts or missing imports are correctly classified as valid, a distinction confirmed by a manual audit ($\kappa = 0.82$, $n = 51$). Second, \emph{architectural determinism}: Sliding Window Attention shifts the discriminative feature from HFER to smoothness ($d = 2.09$, $p < 10^{-48}$), showing that attention design governs which spectral channel encodes reasoning quality. Causal ablation confirms the signature traces induction-head circuits. The method generalises to informal chain-of-thought ($d = 0.78$, $p < 10^{-3}$), and in proof search, HFER reranking improves Best-of-16 Pass@1 by $+4.4$--$6.6$\%, matching $98\%$ of the AUC of fully supervised probes with zero labels. Spectral graph analysis is a principled, architecture-aware primitive for reasoning verification.