https://arxiv.org/api/ILMmibLXa+ASzUGL2AD5J1SSfb0 2026-06-14T21:37:39Z 3138 495 15 http://arxiv.org/abs/2503.04810v1 Network Simulator-centric Compositional Testing 2025-03-04T08:58:53Z This article introduces a novel methodology, Network Simulator-centric Compositional Testing (NSCT), to enhance the verification of network protocols with a particular focus on time-varying network properties. NSCT follows a Model-Based Testing (MBT) approach. These approaches usually struggle to test and represent time-varying network properties. NSCT also aims to achieve more accurate and reproducible protocol testing. It is implemented using the Ivy tool and the Shadow network simulator. This enables online debugging of real protocol implementations. A case study on an implementation of QUIC (picoquic) is presented, revealing an error in its compliance with a time-varying specification. This error has subsequently been rectified, highlighting NSCT's effectiveness in uncovering and addressing real-world protocol implementation issues. The article underscores NSCT's potential in advancing protocol testing methodologies, offering a notable contribution to the field of network protocol verification. 2025-03-04T08:58:53Z Tom Rousseaux Christophe Crochet John Aoga Axel Legay 10.1007/978-3-031-62645-6_10 http://arxiv.org/abs/2502.05834v3 What Kind of Morphisms Induces Covering Maps over a Real Closed Field? 2025-03-04T08:57:58Z In this article, we show that a flat morphism of $k$-varieties ($\mathop{\mathrm{char}} k=0$) with locally constant geometric fibers becomes finite étale after reduction. When $k$ is a real closed field, we prove that such a morphism induces a covering map on the rational points. We further give a triviality result different from Hardt's and a new interpretation of the construction of cylindrical algebraic decomposition as applications. 2025-02-09T09:50:17Z 17 pages, 5 figures. Submitted version Rizeng Chen http://arxiv.org/abs/2503.02413v1 PANTHER: Pluginizable Testing Environment for Network Protocols 2025-03-04T08:56:03Z In this paper, we introduce PANTHER, a modular framework for testing network protocols and formally verifying their specification. The framework incorporates a plugin architecture to enhance flexibility and extensibility for diverse testing scenarios, facilitate reproducible and scalable experiments leveraging Ivy and Shadow, and improve testing efficiency by enabling automated workflows through YAML-based configuration management. Its modular design validates complex protocol properties, adapts to dynamic behaviors, and facilitates seamless plugin integration for scalability. Moreover, the framework enables a stateful fuzzer plugin to enhance implementation robustness checks. 2025-03-04T08:56:03Z Christophe Crochet John Aoga Axel Legay http://arxiv.org/abs/2503.01389v1 Learning Conjecturing from Scratch 2025-03-03T10:39:38Z We develop a self-learning approach for conjecturing of induction predicates on a dataset of 16197 problems derived from the OEIS. These problems are hard for today's SMT and ATP systems because they require a combination of inductive and arithmetical reasoning. Starting from scratch, our approach consists of a feedback loop that iterates between (i) training a neural translator to learn the correspondence between the problems solved so far and the induction predicates useful for them, (ii) using the trained neural system to generate many new induction predicates for the problems, (iii) fast runs of the z3 prover attempting to prove the problems using the generated predicates, (iv) using heuristics such as predicate size and solution speed on the proved problems to choose the best predicates for the next iteration of training. The algorithm discovers on its own many interesting induction predicates, ultimately solving 5565 problems, compared to 2265 problems solved by CVC5, Vampire or Z3 in 60 seconds. 2025-03-03T10:39:38Z Thibault Gauthier Josef Urban http://arxiv.org/abs/2503.00727v1 From Understanding the World to Intervening in It: A Unified Multi-Scale Framework for Embodied Cognition 2025-03-02T04:43:08Z In this paper, we propose AUKAI, an Adaptive Unified Knowledge-Action Intelligence for embodied cognition that seamlessly integrates perception, memory, and decision-making via multi-scale error feedback. Interpreting AUKAI as an embedded world model, our approach simultaneously predicts state transitions and evaluates intervention utility. The framework is underpinned by rigorous theoretical analysis drawn from convergence theory, optimal control, and Bayesian inference, which collectively establish conditions for convergence, stability, and near-optimal performance. Furthermore, we present a hybrid implementation that combines the strengths of neural networks with symbolic reasoning modules, thereby enhancing interpretability and robustness. Finally, we demonstrate the potential of AUKAI through a detailed application in robotic navigation and obstacle avoidance, and we outline comprehensive experimental plans to validate its effectiveness in both simulated and real-world environments. 2025-03-02T04:43:08Z Maijunxian Wang http://arxiv.org/abs/2501.00364v3 FORM: Learning Expressive and Transferable First-Order Logic Reward Machines 2025-02-28T17:13:11Z Reward machines (RMs) are an effective approach for addressing non-Markovian rewards in reinforcement learning (RL) through finite-state machines. Traditional RMs, which label edges with propositional logic formulae, inherit the limited expressivity of propositional logic. This limitation hinders the learnability and transferability of RMs since complex tasks will require numerous states and edges. To overcome these challenges, we propose First-Order Reward Machines ($\texttt{FORM}$s), which use first-order logic to label edges, resulting in more compact and transferable RMs. We introduce a novel method for $\textbf{learning}$ $\texttt{FORM}$s and a multi-agent formulation for $\textbf{exploiting}$ them and facilitate their transferability, where multiple agents collaboratively learn policies for a shared $\texttt{FORM}$. Our experimental results demonstrate the scalability of $\texttt{FORM}$s with respect to traditional RMs. Specifically, we show that $\texttt{FORM}$s can be effectively learnt for tasks where traditional RM learning approaches fail. We also show significant improvements in learning speed and task transferability thanks to the multi-agent learning framework and the abstraction provided by the first-order language. 2024-12-31T09:31:15Z AAMAS'25 Leo Ardon Daniel Furelos-Blanco Roko Parac Alessandra Russo http://arxiv.org/abs/2502.19944v1 Algebraic Machine Learning: Learning as computing an algebraic decomposition of a task 2025-02-27T10:13:42Z Statistics and Optimization are foundational to modern Machine Learning. Here, we propose an alternative foundation based on Abstract Algebra, with mathematics that facilitates the analysis of learning. In this approach, the goal of the task and the data are encoded as axioms of an algebra, and a model is obtained where only these axioms and their logical consequences hold. Although this is not a generalizing model, we show that selecting specific subsets of its breakdown into algebraic atoms obtained via subdirect decomposition gives a model that generalizes. We validate this new learning principle on standard datasets such as MNIST, FashionMNIST, CIFAR-10, and medical images, achieving performance comparable to optimized multilayer perceptrons. Beyond data-driven tasks, the new learning principle extends to formal problems, such as finding Hamiltonian cycles from their specifications and without relying on search. This algebraic foundation offers a fresh perspective on machine intelligence, featuring direct learning from training data without the need for validation dataset, scaling through model additivity, and asymptotic convergence to the underlying rule in the data. 2025-02-27T10:13:42Z Fernando Martin-Maroto Nabil Abderrahaman David Mendez Gonzalo G. de Polavieja http://arxiv.org/abs/2312.17380v2 Factoring sparse polynomials fast 2025-02-25T10:38:32Z Consider a sparse polynomial in several variables given explicitly as a sum of non-zero terms with coefficients in an effective field. In this paper, we present several algorithms for factoring such polynomials and related tasks (such as gcd computation, square-free factorization, content-free factorization, and root extraction). Our methods are all based on sparse interpolation, but follow two main lines of attack: iteration on the number of variables and more direct reductions to the univariate or bivariate case. We present detailed probabilistic complexity bounds in terms of the complexity of sparse interpolation and evaluation. 2023-12-28T22:06:11Z Alexander Demin Joris van der Hoeven http://arxiv.org/abs/2401.12618v2 Computation of classical and $v$-adic $L$-series of $t$-motives 2025-02-24T09:56:55Z We design an algorithm for computing the $L$-series associated to an Anderson $t$-motives, exhibiting quasilinear complexity with respect to the target precision. Based on experiments, we conjecture that the order of vanishing at $T=1$ of the $v$-adic $L$-series of a given Anderson $t$-motive with good reduction does not depend on the finite place $v$. 2024-01-23T10:16:47Z Research in Number Theory, 2025. Xavier Caruso IMB, CANARI Quentin Gazda CMLS 10.1007/s40993-024-00588-5 http://arxiv.org/abs/2404.13042v2 Reduction systems and degree bounds for integration 2025-02-18T18:10:26Z In symbolic integration, the Risch--Norman algorithm aims to find closed forms of elementary integrals over differential fields by an ansatz for the integral, which usually is based on heuristic degree bounds. Norman presented an approach that avoids degree bounds and only relies on the completion of reduction systems. We give a formalization of his approach and we develop a refined completion process, which terminates in more instances. In some situations when the completion process does not terminate, one can detect patterns allowing to still describe infinite reduction systems that are complete. We present such infinite systems for the fields generated by Airy functions and complete elliptic integrals, respectively. Moreover, we show how complete reduction systems can be used to find rigorous degree bounds. In particular, we give a general formula for weighted degree bounds and we apply it to find tight bounds in the above examples. 2024-04-19T17:54:58Z 45 pages; accepted manuscript Journal of Symbolic Computation 130 (2025), Article 102432 Hao Du Clemens G. Raab 10.1016/j.jsc.2025.102432 http://arxiv.org/abs/2502.11606v1 Modular Algorithms For Computing Gröbner Bases in Free Algebras 2025-02-17T09:47:23Z In this work, we extend modular techniques for computing Gröbner bases involving rational coefficients to (two-sided) ideals in free algebras. We show that the infinite nature of Gröbner bases in this setting renders the classical approach infeasible. Therefore, we propose a new method that relies on signature-based algorithms. Using the data of signatures, we can overcome the limitations of the classical approach and obtain a practical modular algorithm. Moreover, the final verification test in this setting is both more general and more efficient than the classical one. We provide a first implementation of our modular algorithm in SageMath. Initial experiments show that the new algorithm can yield significant speedups over the non-modular approach. 2025-02-17T09:47:23Z 27 pages, including 3 pages appendix Clemens Hofstadler Viktor Levandovskyy http://arxiv.org/abs/2502.11269v1 Unlocking the Potential of Generative AI through Neuro-Symbolic Architectures: Benefits and Limitations 2025-02-16T21:06:33Z Neuro-symbolic artificial intelligence (NSAI) represents a transformative approach in artificial intelligence (AI) by combining deep learning's ability to handle large-scale and unstructured data with the structured reasoning of symbolic methods. By leveraging their complementary strengths, NSAI enhances generalization, reasoning, and scalability while addressing key challenges such as transparency and data efficiency. This paper systematically studies diverse NSAI architectures, highlighting their unique approaches to integrating neural and symbolic components. It examines the alignment of contemporary AI techniques such as retrieval-augmented generation, graph neural networks, reinforcement learning, and multi-agent systems with NSAI paradigms. This study then evaluates these architectures against comprehensive set of criteria, including generalization, reasoning capabilities, transferability, and interpretability, therefore providing a comparative analysis of their respective strengths and limitations. Notably, the Neuro > Symbolic < Neuro model consistently outperforms its counterparts across all evaluation metrics. This result aligns with state-of-the-art research that highlight the efficacy of such architectures in harnessing advanced technologies like multi-agent systems. 2025-02-16T21:06:33Z 54 pages, 7 figures Oualid Bougzime Samir Jabbar Christophe Cruz Frédéric Demoly http://arxiv.org/abs/2502.10005v1 Discovering Polynomial and Quadratic Structure in Nonlinear Ordinary Differential Equations 2025-02-14T08:39:30Z Dynamical systems with quadratic or polynomial drift exhibit complex dynamics, yet compared to nonlinear systems in general form, are often easier to analyze, simulate, control, and learn. Results going back over a century have shown that the majority of nonpolynomial nonlinear systems can be recast in polynomial form, and their degree can be reduced further to quadratic. This process of polynomialization/quadratization reveals new variables (in most cases, additional variables have to be added to achieve this) in which the system dynamics adhere to that specific form, which leads us to discover new structures of a model. This chapter summarizes the state of the art for the discovery of polynomial and quadratic representations of finite-dimensional dynamical systems. We review known existence results, discuss the two prevalent algorithms for automating the discovery process, and give examples in form of a single-layer neural network and a phenomenological model of cell signaling. 2025-02-14T08:39:30Z Survey paper Boris Kramer Gleb Pogudin http://arxiv.org/abs/2502.09217v1 Modular Stochastic Rewritable Petri Nets 2025-02-13T11:49:33Z Petri Nets (PN) are widely used for modeling concurrent and distributed systems, but face challenges in modeling adaptive systems. To address this, we have formalized "rewritable" PT nets (RwPT) using Maude, a declarative language with sound rewriting logic semantics. Recently, we introduced a modular approach that utilizes algebraic operators to construct large RwPT models. This technique employs composite node labeling to outline symmetries in hierarchical organization, preserved through net rewrites. Once stochastic parameters are added to the formalism, we present an automated process to derive a lumped CTMC from the quotient graph generated by an RwPT. 2025-02-13T11:49:33Z In Proceedings ICLP 2024, arXiv:2502.08453 EPTCS 416, 2025, pp. 128-134 Lorenzo Capra 10.4204/EPTCS.416.11 http://arxiv.org/abs/2502.09206v1 Efficient OWL2QL Meta-reasoning Using ASP-based Hybrid Knowledge Bases 2025-02-13T11:46:10Z Metamodeling refers to scenarios in ontologies in which classes and roles can be members of classes or occur in roles. This is a desirable modelling feature in several applications, but allowing it without restrictions is problematic for several reasons, mainly because it causes undecidability. Therefore, practical languages either forbid metamodeling explicitly or treat occurrences of classes as instances to be semantically different from other occurrences, thereby not allowing metamodeling semantically. Several extensions have been proposed to provide metamodeling to some extent. Building on earlier work that reduces metamodeling query answering to Datalog query answering, recently reductions to query answering over hybrid knowledge bases were proposed with the aim of using the Datalog transformation only where necessary. Preliminary work showed that the approach works, but the hoped-for performance improvements were not observed yet. In this work we expand on this body of work by improving the theoretical basis of the reductions and by using alternative tools that show competitive performance. 2025-02-13T11:46:10Z In Proceedings ICLP 2024, arXiv:2502.08453 EPTCS 416, 2025, pp. 188-200 Haya Majid Qureshi University of Klagenfurt Wolfgang Faber University of Klagenfurt 10.4204/EPTCS.416.17