We discuss a number of distance functions encountered in the theory of computation, including metrics, ultra-metrics, quasi-metrics, generalized ultra-metrics, partial metrics, d-ultra-metrics and generalized metrics. We consider their properties, associated fixed-point theorems and some general applications they have within the theory of computation. We consider in detail the applications of generalized distance functions in giving a uniform treatment of several important semantics for logic programs, including acceptable programs and natural generalizations of them, and also the supported model and the stable model in the context of locally stratified extended disjunctive logic programs and databases.

VL - 53 UR - http://dx.doi.org/10.1093/comjnl/bxm108 ER - TY - BOOK T1 - Mathematical Aspects of Logic Programming Semantics T2 - Studies in Informatics Y1 - 2010 A1 - Pascal Hitzler A1 - Anthony K. Seda JF - Studies in Informatics PB - Chapman and Hall/CRC Press ER -