{"id":{"repo_id":"texas","oai_identifier":"oai:repositories.lib.utexas.edu:2152/132097"},"canonical_url":"https://search.ndltd.org/etd/texas/oai:repositories.lib.utexas.edu:2152/132097","repository":{"repo_id":"texas","name":"University of Texas","base_url":"https://repositories.lib.utexas.edu/server/oai/request"},"display":{"title":"Program verification and refactoring in answer set programming","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.","abstract_html":"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.","abstract_has_math":false,"creators":["Temple, Nathan, M.S. in Computer Science"],"institution":"The University of Texas at Austin","degree_name":"Master of Science","degree_level":"Masters","degree_discipline":"Computer Science","degree_department":"Computer Science","school":null,"contributors":[],"advisors":["Fussell, Donald S., 1951-","Lifschitz, Vladimir"],"committee_chairs":[],"committee_members":[],"year":2024,"date_issued":"2024-12","date_published":"2024-12","updated_at":"2026-11-20T21:52:04Z","subjects":["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"],"languages":["English"],"rights":[],"rights_urls":[],"identifier_entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/2152/132097"],"render_values":[{"text":"https://hdl.handle.net/2152/132097","href":"https://hdl.handle.net/2152/132097","code":true}]}],"person_identifier_entries":[]},"links":{"outbound_url":"https://doi.org/10.26153/tsw/59441","outbound_label":"DOI","outbound_source":"dc:identifier.uri","record_url":"https://doi.org/10.26153/tsw/59441","record_label":"Repository record","record_kind":"doi","record_source":"dc:identifier.uri","access_status":null,"embargo_until":null,"access_note":null},"oai_pmh_record":{"url":"https://union.ndltd.org/oai-pmh/?verb=GetRecord&metadataPrefix=oai_dc&identifier=oai%3Aunion.ndltd.org%3Arepo%3Atexas%3Aoai%3Arepositories.lib.utexas.edu%3A2152%2F132097","prefix":"oai_dc"},"source_record":{"url":"https://repositories.lib.utexas.edu/server/oai/request?verb=GetRecord&metadataPrefix=dim&identifier=oai%3Arepositories.lib.utexas.edu%3A2152%2F132097","prefix":"dim"},"metadata_groups":[{"id":"people","label":"People","entries":[{"key":"dc:contributor.advisor","label":"Advisor","values":["Fussell, Donald S., 1951-","Lifschitz, Vladimir"]},{"key":"dc:contributor.department","label":"Department","values":["Computer Science"]},{"key":"dc:creator","label":"Author","values":["Temple, Nathan, M.S. in Computer Science"]}]},{"id":"academic_context","label":"Academic Context","entries":[{"key":"dc:date.accessioned","label":"Dc Date Accessioned","values":["2025-03-24T20:59:11Z"]},{"key":"dc:date.available","label":"Dc Date Available","values":["2025-03-24T20:59:11Z"]},{"key":"dc:date.created","label":"Dc Date Created","values":["2024-12"]},{"key":"dc:date.issued","label":"Date","values":["2024-12"]},{"key":"dc:date.submitted","label":"Dc Date Submitted","values":["December 2024"]},{"key":"dc:date.updated","label":"Dc Date Updated","values":["2025-03-24T20:59:12Z"]},{"key":"dc:type","label":"Dc Type","values":["Thesis","text"]},{"key":"thesis:degree_college","label":"Thesis Degree College","values":["College of Natural Sciences"]},{"key":"thesis:degree_department","label":"Department","values":["Computer Science"]},{"key":"thesis:degree_discipline","label":"Discipline","values":["Computer Science"]},{"key":"thesis:degree_level","label":"Degree Level","values":["Masters"]},{"key":"thesis:degree_name","label":"Degree Name","values":["Master of Science"]},{"key":"thesis:institution_name","label":"Thesis Institution Name","values":["The University of Texas at Austin","University of Texas at Austin"]}]},{"id":"subjects_keywords","label":"Subjects and Keywords","entries":[{"key":"dc:subject","label":"Dc Subject","values":["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"]}]},{"id":"language_rights","label":"Language and Rights","entries":[{"key":"dc:language.iso","label":"Language (ISO)","values":["English"]}]},{"id":"identifiers","label":"Identifiers","entries":[{"key":"dc:identifier.uri","label":"Identifier URI","values":["https://hdl.handle.net/2152/132097","https://doi.org/10.26153/tsw/59441"]}]},{"id":"additional","label":"Additional Metadata","entries":[{"key":"dc:description.abstract","label":"Abstract","values":["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."]},{"key":"dc:format.mimetype","label":"Dc Format Mimetype","values":["application/pdf"]},{"key":"dc:title","label":"Title","values":["Program verification and refactoring in answer set programming"]},{"key":"others:access_status","label":"Others Access Status","values":["open.access"]}]}],"canonical_facts":{"dc:contributor.advisor":["Fussell, Donald S., 1951-","Lifschitz, Vladimir"],"dc:contributor.department":["Computer Science"],"dc:creator":["Temple, Nathan, M.S. in Computer Science"],"dc:date.accessioned":["2025-03-24T20:59:11Z"],"dc:date.available":["2025-03-24T20:59:11Z"],"dc:date.created":["2024-12"],"dc:date.issued":["2024-12"],"dc:date.submitted":["December 2024"],"dc:date.updated":["2025-03-24T20:59:12Z"],"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."],"dc:format.mimetype":["application/pdf"],"dc:identifier.uri":["https://hdl.handle.net/2152/132097","https://doi.org/10.26153/tsw/59441"],"dc:language.iso":["English"],"dc:subject":["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"],"dc:title":["Program verification and refactoring in answer set programming"],"dc:type":["Thesis","text"],"others:access_status":["open.access"],"thesis:degree_college":["College of Natural Sciences"],"thesis:degree_department":["Computer Science"],"thesis:degree_discipline":["Computer Science"],"thesis:degree_level":["Masters"],"thesis:degree_name":["Master of Science"],"thesis:institution_name":["The University of Texas at Austin","University of Texas at Austin"]},"updated_at":"2026-11-20T21:52:04Z"}