https://arxiv.org/api/+a+OMEPPRtenKotvuE6QTby7SuU2026-03-26T08:30:14Z1892412015http://arxiv.org/abs/2603.10236v1WME: Extending CDCL-based Model Enumeration with Weights2026-03-10T21:22:51ZIn this work we investigate Weighted Model Enumeration (WME): given a Boolean formula and a weight function over its satisfying assignments, enumerate models while accounting for their weights. This setting supports weight-driven queries, such as producing the top-k models or all models above a threshold. While related to AllSAT, Weighted Model Counting, and MaxSAT, these paradigms do not treat selective enumeration under weights as a native solver task. We present CDCL-based algorithms for WME that integrate weight propagation, weight-based pruning, and weight-aware conflict analysis into both chronological and non-chronological backtracking frameworks. Chronological backtracking exploits implicit blocking and keeps the clause database compact, thereby reducing memory footprint and enabling efficient propagation. In contrast, non-chronological backtracking with clause learning supports explicit blocking and restarts. We show that both approaches are feasible and complementary, highlighting trade-offs in pruning effectiveness with weights and clarifying when each performs best. This work establishes WME as a solver-level reasoning task and provides a systematic exploration of its algorithmic foundations.2026-03-10T21:22:51ZGiuseppe SpallittaMoshe Y. Vardihttp://arxiv.org/abs/2405.12917v3Commutativity and Kleisli laws of codensity monads of probability measures2026-03-10T16:54:11ZSeveral monads of probability measures have been shown to have presentations as codensity monads over small categories of stochastic maps. This paper studies how three key properties of these probability monads, relevant to categorical approaches to probability, can arise from their codensity presentations. We first derive the existence of a Kleisli law into the Giry monad, which provides a formal connection to measurable probability. In particular, from their codensity presentations, we prove a novel universal property of several probability monads as terminal liftings of the Giry monad. This generalises a result by Van Breugel on the Kantorovich monad, and proves the existence of such Kleisli laws. We additionally provide sufficient conditions for a codensity monad to be lax monoidal and affine, which provides a connection to the theory of Markov categories. In particular, we introduce the condition for a codensity monad to be exactly pointwise monoidal, which is then lax monoidal, and prove a characterisation of this condition in terms of Day convolution. We show that the Radon monad is exactly pointwise monoidal, and use our characterisation to give a description of the tensor product of free algebras of the Radon monad in terms of Day convolution. Finally, we show that the Giry monad is only exactly pointwise monoidal when restricted to standard Borel spaces, due to the existence of probability bimeasures that do not extend to measures.2024-05-21T16:39:26Z40 pages. Version published in Theory and Applications of CategoriesTheory and Applications of Categories. 45 (2026), No. 14, 461-500Zev Shirazihttp://arxiv.org/abs/2603.06931v2LLM2SMT: Building an SMT Solver with Zero Human-Written Code2026-03-10T14:13:09ZWhether LLMs can reason or write software is widely debated, but whether they can write software that itself reasons is largely unexplored. We present a case study in which an LLM coding agent builds a complete DPLL(T)-style SMT solver for QF_UF with zero human-written code. The solver implements the Nieuwenhuis-Oliveras congruence closure algorithm, includes preprocessing, and emits Lean proofs for unsatisfiable instances. We describe the development process and key challenges, and show that the resulting solver is competitive on SMT-LIB benchmarks.2026-03-06T23:03:27ZMikoláš JanotaMirek Olšákhttp://arxiv.org/abs/2512.24594v2A Tale of 1001 LoC: Potential Runtime Error-Guided Specification Synthesis for Verifying Large-Scale Programs2026-03-10T14:02:58ZFully automated verification of large-scale software and hardware systems is arguably the holy grail of formal methods. Large language models (LLMs) have recently demonstrated their potential for enhancing the degree of automation in formal verification by, e.g., generating formal specifications as essential to deductive verification, yet exhibit poor scalability due to long-context reasoning limitations and, more importantly, the difficulty of inferring complex, interprocedural specifications. This paper presents Preguss -- a modular, fine-grained framework for automating the generation and refinement of formal specifications. Preguss synergizes between static analysis and deductive verification by steering two components in a divide-and-conquer fashion: (i) potential runtime error-guided construction and prioritization of verification units, and (ii) LLM-aided synthesis of interprocedural specifications at the unit level. We show that Preguss substantially outperforms state-of-the-art LLM-based approaches and, in particular, it enables highly automated RTE-freeness verification for real-world programs with over a thousand LoC, with a reduction of 80.6%~88.9% human verification effort.2025-12-31T03:31:51ZAccepted at OOPSLA 2026. Publication date: April 2026Zhongyi WangTengjie LinMingshuai ChenHaokun LiMingqi YangXiao YiShengchao QinYixing LuoXiaofeng LiBin GuLiqiang LuJianwei Yin10.1145/3798268http://arxiv.org/abs/2603.07595v2Proceedings Eighth International Conference on Applied Category Theory2026-03-10T12:47:17ZThe Eighth International Conference on Applied Category Theory took place at the University of Florida on June 2-6 2025. The conference consisted of 2 plenary invited talks, 28 contributed talks, an online community meeting, a general community meeting, and 4 talks by junior researchers who attended the Adjoint School to present the results of their research at the school. Information regarding the conference may be found at https://gataslab.org/act2025/act2025.html. Submission to ACT2025 had three tracks: extended abstracts, software demonstrations, and proceedings. Accepted proceedings track submissions are included in this volume. The contributions to ACT2025 ranged from pure to applied and included contributions in a wide range of disciplines. ACT2025 included talks related to computer science, probability theory, chemistry, string diagrams, game semantics, quantum computation, and more.
2026-03-08T11:41:37ZEPTCS 442, 2026Amar HadzihasanovicTallinn University of TechnologyJean-Simon Pacaud LemayMacquarie University10.4204/EPTCS.442http://arxiv.org/abs/2603.09455v1Declarative Scenario-based Testing with RoadLogic2026-03-10T10:11:09ZScenario-based testing is a key method for cost-effective and safe validation of autonomous vehicles (AVs). Existing approaches rely on imperative scenario definitions, requiring developers to manually enumerate numerous variants to achieve coverage. Declarative languages, such as OpenSCENARIO DSL (OS2), raise the abstraction level but lack systematic methods for instantiating concrete, specification-compliant scenarios as simulations. To our knowledge, currently, no open-source solution provides this capability.
We present RoadLogic that bridges declarative OS2 specifications and executable simulations. It uses Answer Set Programming to generate abstract plans satisfying scenario constraints, motion planning to refine the plans into feasible trajectories, and specification-based monitoring to verify correctness.
We evaluate RoadLogic on instantiating representative OS2 scenarios as simulations in the CommonRoad framework. Results show that RoadLogic consistently produces realistic, specification-satisfying simulations within minutes and captures diverse behavioral variants through parameter sampling, thus opening the door to systematic scenario-based testing for autonomous driving systems.2026-03-10T10:11:09ZAccepted at the 29th ACM International Conference on Hybrid Systems: Computation and Control (HSCC 2026). The final version will appear in the ACM Digital LibraryEzio BartocciAlessio GambiFelix GiglerCristinel MateisDejan Ničkovićhttp://arxiv.org/abs/2503.05457v2Dependent Directed Wiring Diagrams for Composing Instantaneous Systems2026-03-10T09:43:45ZDirected wiring diagrams can be used as a composition pattern for composing input/output systems such as Moore machines. In a Moore machine, the input parametrizes an internal state and the internal state defines the output. Because the value of the output is shielded from the input by the internal state, Moore machines can compose by connecting the output of any machine to the input of any other machine. These connections are defined by the trace wires in a directed wiring diagram. Unlike Moore machines, Mealy machines allow the output to be directly and instantaneously affected by the input. In order to compose such machines via directed wiring diagrams, it is necessary to avoid cycles between trace wires in the wiring digram and dependencies of outputs on inputs. To capture these patterns of composition, we introduce an operad of dependent directed wiring diagrams. We then define an algebra of Mealy machines on this operad and an algebra of stock and flow diagrams in which the values of auxiliary variables are parameterized by inputs. Finally, we give a semantics for this algebra of stock and flow diagrams by giving a morphism of algebras from stock and flow diagrams into Mealy machines.2025-03-07T14:30:10ZIn Proceedings ACT 2025, arXiv:2603.07595EPTCS 442, 2026, pp. 15-29Keri D'AngeloCornell UniversitySophie LibkindTopos Institute10.4204/EPTCS.442.2http://arxiv.org/abs/2603.09379v1A Simple Constructive Bound on Circuit Size Change Under Truth Table Perturbation2026-03-10T08:53:54ZThe observation that optimum circuit size changes by at most $O(n)$ under a one-point truth table perturbation is implicit in prior work on the Minimum Circuit Size Problem. This note states the bound explicitly for arbitrary fixed finite complete bases with unit-cost gates, extends it to general Hamming distance via a telescoping argument, and verifies it exhaustively at $n = 4$ in the AIG basis using SAT-derived exact circuit sizes for 220 of 222 NPN equivalence classes. Among 987 mutation edges, the maximum observed difference is $4 = n$, confirming the bound is tight at $n = 4$ for AIG.2026-03-10T08:53:54Z4 pages, 1 table. Code and data: https://github.com/krinkin/boundsKirill Krinkinhttp://arxiv.org/abs/2603.08646v1On the expressive power of inquisitive team logic and inquisitive first-order logic2026-03-09T17:24:20ZInquisitive team logic is a variant of inquisitive logic interpreted in team semantics, which has been argued to provide a natural setting for the regimentation of dependence claims. With respect to sentences, this logic is known to be expressively equivalent with first-order logic. In this article we show that, on the contrary, the expressive power of open formulas in this logic properly exceeds that of first-order logic. On the way to this result, we show that if inquisitive team logic is extended with the range-generating universal quantifier adopted in dependence logic, the resulting logic can express finiteness, and as a consequence, it is neither compact nor recursively axiomatizable. We further extend our results to standard inquisitive first-order logic, showing that some sentences of this logic express non first-order properties of models.2026-03-09T17:24:20ZJuha KontinenIvano Ciardellihttp://arxiv.org/abs/2406.17082v6A Strongly Normalising System of Dependent Types for Transparent and Opaque Probabilistic Computation2026-03-09T15:07:33ZWe define an extension of lambda-calculus with dependents types that enables us to encode transparent and opaque probabilistic programs and prove a strong normalisation result for it by a reducibility technique. While transparent nondeterministic programs are formalised by rather usual techniques, opaque nondeterministic programs are formalised by introducing in the syntax oracle constants, the behaviour of which is governed by oracular functions. The generality of these functions and the fact that their values are determined by the form of the whole term inside which the relative oracle occurs also enable us to simulate learning-like behaviours. We then extend the calculus in order to define a computational trustworthiness predicate. The extension of the calculus does not only enable us to precisely formalise a notion of trustworthiness and to encode the procedures required to test it on programs, but also to reason, by means of the type system, on the behaviour of programs with respect to trustworthiness.2024-06-24T19:14:06ZFrancesco A. Gencohttp://arxiv.org/abs/2310.04764v9Characterizations of Monadic Second Order Definable Context-Free Sets of Graphs2026-03-09T14:47:17ZWe give a characterization of the sets of graphs that are both definable in Counting Monadic Second Order Logic (CMSO) and context-free, i.e., least solutions of Hyperedge-Replacement (HR) grammars introduced by Courcelle and Engelfriet. We prove the equivalence of these sets with: (a) recognizable sets (in the algebra of graphs with HR-operations) of bounded tree-width; we refine this condition further and show equivalence with recognizability in a finitely generated subalgebra of the HR-algebra of graphs; (b) parsable sets, for which there is a definable transduction from graphs to a set of derivation trees labelled by HR operations, such that the set of graphs is the image of the set of derivation trees under the canonical evaluation of the HR operations; (c) images of recognizable unranked sets of trees under a definable transduction, whose inverse is also definable. We rely on a novel connection between two seminal results, a logical characterization of context-free graph languages in terms of tree-to-graph definable transductions, by Courcelle and Engelfriet and a proof that an optimal-width tree decomposition of a graph can be built by an definable transduction, by Bojanczyk and Pilipczuk.2023-10-07T09:53:52ZLogical Methods in Computer Science, Volume 22, Issue 1 (March 10, 2026) lmcs:13735Radu IosifFlorian Zuleger10.46298/lmcs-22(1:22)2026http://arxiv.org/abs/2407.18420v5On Polynomial-Time Decidability of k-Negations Fragments of First-Order Theories2026-03-09T14:38:08ZThis paper introduces a generic framework that provides sufficient conditions for guaranteeing polynomial-time decidability of fixed-negation fragments of first-order theories that adhere to certain fixed-parameter tractability requirements. It enables deciding sentences of such theories with arbitrary existential quantification, conjunction and a fixed number of negation symbols in polynomial time. It was recently shown by Nguyen and Pak [SIAM J. Comput. 51(2): 1--31 (2022)] that an even more restricted such fragment of Presburger arithmetic (the first-order theory of the integers with addition and order) is NP-hard. In contrast, by application of our framework, we show that the fixed negation fragment of weak Presburger arithmetic, which drops the order relation from Presburger arithmetic in favour of equality, is decidable in polynomial time. We give two further examples of instantiations of our framework, showing polynomial-time decidability of the fixed negation fragments of weak linear real arithmetic and of the restriction of Presburger arithmetic in which each inequality contains at most one variable.2024-07-25T22:41:24ZLogical Methods in Computer Science, Volume 22, Issue 1 (March 10, 2026) lmcs:14041Christoph HaaseAlessio MansuttiAmaury Pouly10.46298/lmcs-22(1:21)2026http://arxiv.org/abs/2602.12446v2Model checking with temporal graphs and their derivative2026-03-09T14:35:45ZTemporal graphs are graphs where the presence or properties of their vertices and edges change over time. When time is discrete, a temporal graph can be defined as a sequence of static graphs over a discrete time span, called lifetime, or as a single graph where each edge is associated with a specific set of time instants where the edge is alive. For static graphs, Courcelle's Theorem asserts that any graph problem expressible in monadic second-order logic can be solved in linear time on graphs of bounded tree-width. We propose the first adaptation of Courcelle's Theorem for monadic second-order logic on temporal graphs that does not explicitly rely on the lifetime as a parameter. We then introduce the notion of derivative over a sliding time window of a chosen size, and define the tree-width and twin-width of the temporal graph's derivative. We exemplify its usefulness with meta theorems with respect to a temporal variant of first-order logic. The resulting logic expresses a wide range of temporal graph problems including a version of temporal cliques, an important notion when querying time series databases for community structures.2026-02-12T22:10:09ZBinh-Minh Bui-XuanFlorent KrasnopolBruno MonassonNathalie Sznajderhttp://arxiv.org/abs/2411.10229v3Optimally Rewriting Formulas and Database Queries: A Confluence of Term Rewriting, Structural Decomposition, and Complexity2026-03-09T12:29:00ZA central computational task in database theory, finite model theory, and computer science at large is the evaluation of a first-order sentence on a finite structure. In the context of this task, the \emph{width} of a sentence, defined as the maximum number of free variables over all subformulas, has been established as a crucial measure, where minimizing width of a sentence (while retaining logical equivalence) is considered highly desirable. An undecidability result rules out the possibility of an algorithm that, given a first-order sentence, returns a logically equivalent sentence of minimum width; this result motivates the study of width minimization via syntactic rewriting rules, which is this article's focus. For a number of common rewriting rules (which are known to preserve logical equivalence), including rules that allow for the movement of quantifiers, we present an algorithm that, given a positive first-order sentence $φ$, outputs the minimum-width sentence obtainable from $φ$ via application of these rules. We thus obtain a complete algorithmic understanding of width minimization up to the studied rules; this result is the first one -- of which we are aware -- that establishes this type of understanding in such a general setting. Our result builds on the theory of term rewriting and establishes an interface among this theory, query evaluation, and structural decomposition theory.2024-11-15T14:41:47ZHubie ChenStefan Mengelhttp://arxiv.org/abs/2603.08266v1Central Limits via Dilated Categories2026-03-09T11:38:32ZThe Central Limit Theorem (CLT) establishes that sufficiently large sequences of independent and identically distributed random variables converge in probability to a normal distribution. This makes the CLT a fundamental building block of statistical reasoning and, by extension, in reasoning about computing systems that are based on statistical inference such as probabilistic programing languages, programs with optimisation, and machine learning components. However, there is no general theory of CLT-like results currently, which forces practitioners to redo proofs without having a good handle on the essential ingredients of CLT-type results. In this paper, we introduce dilated seminorm-enriched category theory as a unifying framework for central limits, and we establish an abstract central limit theorem within that framework. We illustrate how a strengthened version of the classical CLT and the law of large numbers can be obtained as instances of our framework. Moreover, we derive from our framework a novel central limit theorem for symplectic manifolds, the CLT for observables, which finds applications in statistical mechanics.2026-03-09T11:38:32ZHenning BasoldOisín Flynn-ConnollyChase FordHao Wang