https://arxiv.org/api/846NIYcahNDidiWZTvIEEfMhTis2026-03-24T08:26:05Z189206015http://arxiv.org/abs/2509.18434v2Singleton algorithms for the Constraint Satisfaction Problem2026-03-16T09:11:13ZA natural strengthening of an algorithm for the (promise) constraint satisfaction problem is its singleton version: we first fix a constraint to a tuple from the constraint relation, then run the algorithm, and remove the tuple from the constraint if the answer is negative. We characterize the power of the singleton versions of standard universal algorithms for the (promise) CSP over a fixed template in terms of the existence of a minion homomorphism. Using the Hales-Jewett theorem, we show that for finite relational structures this minion condition is equivalent to the existence of polymorphisms with certain symmetries, which we call palette symmetric polymorphisms. By proving the existence of such polymorphisms we establish that the singleton version of the BLP+AIP algorithm solves all (multi-sorted) tractable CSPs over domains of size at most 7. We further show that already for domain size 8 there exists a relational structure arising from the dihedral group $D_4$ that does not admit palette symmetric polymorphisms and cannot be solved by singleton BLP+AIP. By providing concrete CSP templates, we illustrate the limitations of linear programming, the power of the singleton versions, and the elegance of palette symmetric polymorphisms. Surprisingly, we also identify a concrete temporal relational structure whose CSP can be solved by a singleton algorithm after sampling, yet it does not admit palette symmetric polymorphisms. This highlights that the Hales-Jewett argument applies only to finite structures. Nevertheless, we introduce generalized palette polymorphisms for every tractable temporal relational structure and show that they yield a rounding procedure implying that the corresponding singleton algorithm solves its CSP after sampling.2025-09-22T21:40:00ZA proof of the existence of palette symmetric polymorphisms for small domains has been added. In addition, a new section devoted to temporal CSPs has been includedDmitriy Zhukhttp://arxiv.org/abs/2603.14955v1Convex algebras on an interval with semicontinuous monotone operations2026-03-16T08:10:05ZIn a recent work of Matteo Mio on compact quantitative equational theories (here compact means that all its consequences are derivable by means of finite proofs) convex algebras on the carrier set [0,1] whose operations are monotone and satisfy certain semicontinuity properties occurred. We fully classify those algebraic structures by giving an explicit construction of all possible convex operations on [0,1] possessing the mentioned properties. Our result thus describes exactly the range of theories to which Mio's theorem applies.2026-03-16T08:10:05ZAna SokolovaHarald Woracekhttp://arxiv.org/abs/2603.14933v1From Herbrand schemes to functional interpretation2026-03-16T07:35:53ZHerbrand schemes are a method to extract Herband disjunctions directly from sequent calculus proofs, without appealing to cut elimination, using a formal grammar known as a higher-order recursion scheme. In this note, we show that the core ideas of Herbrand schemes can be reformulated as a functional interpretation of classical sequent calculus, similar to the functional interpretation of classical logic due to Gerhardy and Kohlenbach.2026-03-16T07:35:53ZSebastian Enqvist-Pykhttp://arxiv.org/abs/2502.20751v2Terminating Hybrid Tableaus for Ordered Models2026-03-16T04:57:44ZHybrid logic extends modal logic with special propositions called nominals, each of which is true at only one state in a model. This enables us to describe some properties of binary relations, such as irreflexivity and anti-symmetry, which are essential to treat partial orders. We present terminating tableau calculi complete with respect to models whose accessibility relations are strictly partially ordered, unbounded strictly partially ordered, and partially ordered.2025-02-28T06:00:49Z29 pages, 8 figuresYuki Nishimurahttp://arxiv.org/abs/2603.14692v1Applications of Intuitionistic Temporal Logic to Temporal Answer Set Programming2026-03-16T01:02:02ZThe relationship between intuitionistic or intermediate logics and logic programming has been extensively studied,
prominently featuring Pearce's equilibrium logic and Osorio's safe beliefs.
Equilibrium logic admits a fixpoint characterization based on the logic of here-and-there,
akin to theory completion in default and autoepistemic logics.
Safe beliefs are similarly defined via a fixpoint operator,
albeit under the semantics of intuitionistic or other intermediate logics.
In this paper,
we investigate the logical foundations of Temporal Answer Set Programming through the lens of Temporal Equilibrium Logic,
a formalism combining equilibrium logic with linear-time temporal operators.
We lift the seminal approaches of Pearce and Osorio to the temporal setting,
establishing a formal correspondence between temporal intuitionistic logic and temporal logic programming.
Our results deepen the theoretical underpinnings of Temporal Answer Set Programming and
provide new avenues for research in temporal reasoning.2026-03-16T01:02:02ZUnder consideration in Theory and Practice of Logic Programming (TPLP)Pedro CabalarMartín DiéguezDavid Fernández-DuqueFrançois LaferrièreTorsten SchaubIgor Stéphanhttp://arxiv.org/abs/2603.14663v1Formalizing the Classical Isoperimetric Inequality in the Two-Dimensional Case2026-03-15T23:35:15ZWe present a formal verification of the classical isoperimetric inequality in the plane using the Lean 4 proof assistant and its mathematical library Mathlib. We follow Adolf Hurwitz's analytic approach to establish the inequality $L^2 \ge 4πA$, which states that among all simple closed curves of a given perimeter $L$, the circle uniquely maximizes the enclosed area $A$. The formalization proceeds in two phases. In the first phase, we establish the Fourier-analytic foundations required by Hurwitz's approach: we formalize orthogonality relations for trigonometric functions over $[-π,π]$, Parseval's theorem for classical Fourier series, uniform convergence of Fourier partial sums via the Weierstrass M-test, term-by-term differentiability, and Wirtinger's inequality. In the second phase, we carry out Hurwitz's proof itself: working with simple closed $C^1$ curves given in arc-length parametrization, we reparametrize over $[0,2π]$, establish the shoelace area formula, apply integration by parts, invoke the AM--GM inequality, apply Wirtinger's inequality, and use the arc-length constraint to derive the bound $A \le L^2/(4π)$. We discuss the key formalization challenges encountered, including the interchange of infinite sums and integrals, term-by-term differentiation, and the coordination of different indexing conventions within Mathlib. The complete formalization is available at https://github.com/mirajcs/IsoperimetricInequality2026-03-15T23:35:15ZMiraj Samarakkodyhttp://arxiv.org/abs/2603.14628v1s2n-bignum-bench: A practical benchmark for evaluating low-level code reasoning of LLMs2026-03-15T21:55:59ZNeurosymbolic approaches leveraging Large Language Models (LLMs) with formal methods have recently achieved strong results on mathematics-oriented theorem-proving benchmarks. However, success on competition-style mathematics does not by itself demonstrate the ability to construct proofs about real-world implementations. We address this gap with a benchmark derived from an industrial cryptographic library whose assembly routines are already verified in HOL Light. s2n-bignum is a library used at AWS for providing fast assembly routines for cryptography, and its correctness is established by formal verification. The task of formally verifying this library has been a significant achievement for the Automated Reasoning Group. It involved two tasks: (1) precisely specifying the correct behavior of a program as a mathematical proposition, and (2) proving that the proposition is correct. In the case of s2n-bignum, both tasks were carried out by human experts. In \textit{s2n-bignum-bench}, we provide the formal specification and ask the LLM to generate a proof script that is accepted by HOL Light within a fixed proof-check timeout. To our knowledge, \textit{s2n-bignum-bench} is the first public benchmark focused on machine-checkable proof synthesis for industrial low-level cryptographic assembly routines in HOL Light. This benchmark provides a challenging and practically relevant testbed for evaluating LLM-based theorem proving beyond competition mathematics. The code to set up and use the benchmark is available here: \href{https://github.com/kings-crown/s2n-bignum-bench}{s2n-bignum-bench}.2026-03-15T21:55:59ZUnder review as a Workshop paper at AIPV 2026Balaji RaoJohn HarrisonSoonho KongJuneyoung LeeCarlo Lipizzihttp://arxiv.org/abs/2603.14594v1Scaling the Explanation of Multi-Class Bayesian Network Classifiers2026-03-15T20:38:06ZWe propose a new algorithm for compiling Bayesian network classifier (BNC) into class formulas. Class formulas are logical formulas that represent a classifier's input-output behavior, and are crucial in the recent line of work that uses logical reasoning to explain the decisions made by classifiers. Compared to prior work on compiling class formulas of BNCs, our proposed algorithm is not restricted to binary classifiers, shows significant improvement in compilation time, and outputs class formulas as negation normal form (NNF) circuits that are OR-decomposable, which is an important property when computing explanations of classifiers.2026-03-15T20:38:06ZTo appear in the 4th World Conference on Explainable Artificial Intelligence (XAI), 2026Yaofang ZhangAdnan Darwichehttp://arxiv.org/abs/2602.08362v2Circuit Representations of Random Forests with Applications to XAI2026-03-15T07:58:38ZWe make three contributions in this paper. First, we present an approach for compiling a random forest classifier into a set of circuits, where each circuit directly encodes the instances in some class of the classifier. We show empirically that our proposed approach is significantly more efficient than existing similar approaches. Next, we utilize this approach to further obtain circuits that are tractable for computing the complete and general reasons of a decision, which are instance abstractions that play a fundamental role in computing explanations. Finally, we propose algorithms for computing the robustness of a decision and all shortest ways to flip it. We illustrate the utility of our contributions by using them to enumerate all sufficient reasons, necessary reasons and contrastive explanations of decisions; to compute the robustness of decisions; and to identify all shortest ways to flip the decisions made by random forest classifiers learned from a wide range of datasets.2026-02-09T07:59:51ZWill appear in proceedings of the 4th World Conference on eXplainable Artificial Intelligence, XAI 2026Chunxi JiAdnan Darwichehttp://arxiv.org/abs/2301.11842v4Normalization for multimodal type theory2026-03-14T10:36:45ZWe prove normalization for MTT, a general multimodal dependent type theory capable of expressing modal type theories for guarded recursion, internalized parametricity, and various other prototypical modal situations. We prove that deciding type checking and conversion in MTT can be reduced to deciding the equality of modalities in the underlying modal situation, immediately yielding a type checking algorithm for all instantiations of MTT in the literature.
This proof uses a generalization of synthetic Tait computability -- an abstract approach to gluing proofs -- to account for modalities. This extension is based on MTT itself, so that this proof also constitutes a significant case study of MTT.2023-01-27T16:47:10ZDaniel Gratzerhttp://arxiv.org/abs/2603.13854v1Power Term Polynomial Algebra for Boolean Logic2026-03-14T09:22:52ZWe 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.2026-03-14T09:22:52ZEmanuele SansoneArmando Solar-Lezamahttp://arxiv.org/abs/2603.12204v2Coalgebraic Path Constraints2026-03-13T23:31:11ZAxiomatizing covarieties of coalgebras for an endofunctor is less intuitive than axiomatizing varieties of algebras via equations (Dahlqvist and Schmid, 2022). Existing techniques come from coalgebraic modal logic, pattern avoidance specifications, and hidden algebra. We introduce equational path constraints, a well-behaved and relatively easy to describe class of finitary behavioural properties that provide an algebra-flavoured alternative to coequations. The basic idea is to assign a pair of values to each path through a coalgebra and posit that the two values coincide. We show that equational path constraints define covarieties and construct final coalgebras relative to equational path constraints in some concrete cases. We connect equational path constraints to coequations when values computed from paths live in a monad, and we compute an upper bound on the number of colours needed to express the coequation. One of our constructions is reminiscent of the initial/terminal sequences of (Adámek, 1974) and (Barr, 1993). Motivating examples include commutativity conditions in automata theory, differential equations, bi-infinite streams, and frame conditions.2026-03-12T17:28:56ZTodd Schmidhttp://arxiv.org/abs/2603.13574v1State Algebra for Probabilistic Logic2026-03-13T20:28:45ZThis paper presents a Probabilistic State Algebra as an extension of deterministic propositional logic, providing a computational framework for constructing Markov Random Fields (MRFs) through pure linear algebra. By mapping logical states to real-valued coordinates interpreted as energy potentials, we define an energy-based model where global probability distributions emerge from coordinate-wise Hadamard products. This approach bypasses the traditional reliance on graph-traversal algorithms and compiled circuits, utilising $t$-objects and wildcards to embed logical reduction natively within matrix operations.
We demonstrate that this algebra constructs formal Gibbs distributions, offering a rigorous mathematical link between symbolic constraints and statistical inference. A central application of this framework is the development of Probabilistic Rule Models (PRMs), which are uniquely capable of incorporating both probabilistic associations and deterministic logical constraints simultaneously. These models are designed to be inherently interpretable, supporting a human-in-the-loop approach to decisioning in high-stakes environments such as healthcare and finance. By representing decision logic as a modular summation of rules within a vector space, the framework ensures that complex probabilistic systems remain auditable and maintainable without compromising the rigour of the underlying configuration space.2026-03-13T20:28:45Z31 pagesDmitry LesnikTobias Schäferhttp://arxiv.org/abs/2603.13554v1Bit-Vector Abstractions to Formally Verify Quantum Error Detection & Entanglement2026-03-13T19:45:57ZWe present a scalable formal verification methodology for Quantum Phase Estimation (QPE) circuits. Our approach uses a symbolic qubit abstraction based on quantifier-free bit-vector logic, capturing key quantum phenomena, including superposition, rotation, and measurement. The proposed methodology maps quantum circuit functional behaviour from Hilbert space to a bit-vector domain. We develop formal properties aligned with this abstraction to ensure functional correctness of QPE circuits. The method scales efficiently, verifying QPE circuits with up to 6 precision qubits and 1,024 phase qubits using under 3.5 GB of memory.2026-03-13T19:45:57ZThe paper is accepted as a full research paper at IEEE-DCAS 2026 and final version will be available via IEEE-Xplore after the conferenceArun Govindankuttyhttp://arxiv.org/abs/2603.13514v1Executable Archaeology: Reanimating the Logic Theorist from its IPL-V Source2026-03-13T18:47:31ZThe Logic Theorist (LT), created by Allen Newell, J. C. Shaw, and Herbert Simon in 1955-1956, is widely regarded as the first artificial intelligence program. While the original conceptual model was described in 1956, it underwent several iterations as the underlying Information Processing Language (IPL) evolved. Here I describe the construction of a new IPL-V interpreter, written in Common Lisp, and the faithful reanimation of the Logic Theorist from code transcribed directly from Stefferud's 1963 RAND technical report. Stefferud's version represents a pedagogical re-coding of the original heuristic logic into the standardized IPL-V. The reanimated LT successfully proves 16 of 23 attempted theorems from Chapter 2 of Principia Mathematica, results that are historically consistent with the original system's behavior within its search limits. To the author's knowledge, this is the first successful execution of the original Logic Theorist code in over half a century.2026-03-13T18:47:31ZJeff Shrager