The University of Texas at Austin
Program verification and refactoring in answer set programming
Abstract
dc:description.abstractThis thesis addresses the verification and refactoring of programs written in Answer Set Programming (ASP), a declarative programming paradigm used for solving complex combinatorial problems. The focus is on the use of the Anthem verification tool, which translates ASP programs into a two-sorted first-order logic that can be processed by the Vampire theorem prover. The study begins by exploring the verification of safety and efficiency in logic programs. We present detailed examples, including the verification of programs for calculating prime numbers and the safe refactoring of composite number programs. We introduce methods to ensure the preservation of program behavior during refactoring, employing the Anthem-p2p tool to verify programs for solving the frame problem in artificial intelligence. We extend existing verification frameworks to locally tight programs, which may contain recursion but not infinite recursion. We provide formal definitions of local tightness and demonstrate how these definitions can be applied to verify the correctness of logic programs in broader contexts. The contributions of this thesis include new techniques for verifying the equivalence of logic programs, improvements to existing verification tools, and a comprehensive framework for ensuring program correctness in ASP. These advancements facilitate the development of reliable and efficient logic programs, enhancing the applicability of ASP in various computational domains.
Degree
thesis:*- Name thesis:degree_name
- Master of Science
- Level thesis:degree_level
- Masters
- Discipline thesis:degree_discipline
- Computer Science
- Department thesis:degree_department
- Computer Science
- Grantor
- The University of Texas at Austin
- Year dc:date.issued
- 2024
Author and committee
dc:creator, dc:contributor.*- Author dc:creator
-
- Temple, Nathan, M.S. in Computer Science
- Advisors dc:contributor.advisor
-
- Fussell, Donald S., 1951-
- Lifschitz, Vladimir
Subjects
dc:subject × 20- Refactoring
- Anthem verification tool
- Vampire theorem prover
- Answer set programming (ASP)
- Logic programming
- Prime numbers
- Bishops on a chessboard
- Induction axioms
- Composite numbers
- Formal methods
- Computational domains
- Program behavior preservation
- Local tightness
- Combinatorial problems
- Declarative programming paradigm
- Two-sorted first-order logic
- Optimization in ASP
- Safety in logic programs
- Equivalence verification
- Program verification
Rights
- Language dc:language.iso
- English
Identifiers
dc:identifier.*- Identifier URI
- https://hdl.handle.net/2152/132097