Back to search

The University of Texas at Austin

Program verification and refactoring in answer set programming

Abstract

dc:description.abstract

This 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

Rights

Language dc:language.iso
English

Identifiers

dc:identifier.*

Chain of custody

source
Harvested from
University of Texas
Base URL
repositories.lib.utexas.edu/server/oai/request
Last updated
2026-11-20
Source record
OAI-PMH GetRecord
citation

Temple, Nathan, M.S. in Computer Science. Program verification and refactoring in answer set programming. Masters thesis, The University of Texas at Austin, 2024. https://doi.org/10.26153/tsw/59441