Relating Answer Set Programming and Many-sorted Logics for Formal Verification

📅 2025-02-11
🏛️ Electronic Proceedings in Theoretical Computer Science
📈 Citations: 0
Influential: 0
📄 PDF

career value

120K/year
🤖 AI Summary
To address three key challenges in Answer Set Programming (ASP) formal verification—lack of modularity, grounding dependence, and tool limitations—this paper introduces a novel semantic framework grounded in Here-and-There (HT) logic and multi-sorted first-order logic (FOL). Our method establishes, for the first time, a verifiable semantic mapping from ASP rules to multi-sorted FOL, enabling rule-level independence and data-agnostic semantics without requiring grounding. This framework supports modular modeling and compositional verification, and is compatible with mainstream automated theorem provers (e.g., Vampire, SPASS). Experimental evaluation demonstrates end-to-end automatic verification of semantic properties for full classes of ASP rules; on standard benchmarks, it achieves significant improvements in scalability and composability. The approach thus establishes a new paradigm for trustworthy verification of AI systems grounded in declarative logic programming.

Technology Category

Application Category

📝 Abstract
Answer Set Programming (ASP) is an important logic programming paradigm within the field of Knowledge Representation and Reasoning. As a concise, human-readable, declarative language, ASP is an excellent tool for developing trustworthy (especially, artificially intelligent) software systems. However, formally verifying ASP programs offers some unique challenges, such as 1. a lack of modularity (the meanings of rules are difficult to define in isolation from the enclosing program), 2. the ground-and-solve semantics (the meanings of rules are dependent on the input data with which the program is grounded), and 3. limitations of existing tools. My research agenda has been focused on addressing these three issues with the intention of making ASP verification an accessible, routine task that is regularly performed alongside program development. In this vein, I have investigated alternative semantics for ASP based on translations into the logic of here-and-there and many-sorted first-order logic. These semantics promote a modular understanding of logic programs, bypass grounding, and enable us to use automated theorem provers to automatically verify properties of programs.
Problem

Research questions and friction points this paper is trying to address.

Addressing modularity in ASP verification
Overcoming ground-and-solve semantics challenges
Enhancing tools for ASP program verification
Innovation

Methods, ideas, or system contributions that make the work stand out.

Answer Set Programming verification
Many-sorted first-order logic
Automated theorem provers