In this paper we propose a formalization of the features that a graph representation of logic programs under the answers set semantics should in our opinion exhibit in order to be a satisfactory and useful representation formalism. We introduce a concept of isomorphism between a program and the corresponding graph. Isomorphic graph representations guarantee that the graph corresponding to a program is unique, and that the original program can be reconstructed from the graph. We prove that the isomorphism is possible only if a graph representation formalism is able to distinguish the cycles occurring in the program, and the different connections among them. We consider and discuss some of the existing graph representations. We argue that understanding cycles and their connections is a key point for understanding program behavior and for checking consistency, for being then able to create, debug and combine good programs, and for developing program analysis techniques.

Conflict, Consistency and Truth-Dependencies in Graph Representations of Answer Set Logic Programs

COSTANTINI, STEFANIA;
2012-01-01

Abstract

In this paper we propose a formalization of the features that a graph representation of logic programs under the answers set semantics should in our opinion exhibit in order to be a satisfactory and useful representation formalism. We introduce a concept of isomorphism between a program and the corresponding graph. Isomorphic graph representations guarantee that the graph corresponding to a program is unique, and that the original program can be reconstructed from the graph. We prove that the isomorphism is possible only if a graph representation formalism is able to distinguish the cycles occurring in the program, and the different connections among them. We consider and discuss some of the existing graph representations. We argue that understanding cycles and their connections is a key point for understanding program behavior and for checking consistency, for being then able to create, debug and combine good programs, and for developing program analysis techniques.
File in questo prodotto:
File Dimensione Formato  
GKR2011 Costantini&Provetti.pdf

solo utenti autorizzati

Tipologia: Documento in Post-print
Licenza: Copyright dell'editore
Dimensione 162.31 kB
Formato Adobe PDF
162.31 kB Adobe PDF   Visualizza/Apri   Richiedi una copia
Pubblicazioni consigliate

I documenti in IRIS sono protetti da copyright e tutti i diritti sono riservati, salvo diversa indicazione.

Utilizza questo identificativo per citare o creare un link a questo documento: https://hdl.handle.net/11697/27224
Citazioni
  • ???jsp.display-item.citation.pmc??? ND
  • Scopus 4
  • ???jsp.display-item.citation.isi??? ND
social impact