Truth versus Information in Logic Programming. Naish, L. & Søndergaard, H. Theory and Practice of Logic Programming, 14(6):803–840, November, 2014.
Paper doi abstract bibtex 1 download The semantics of logic programs was originally described in terms of two-valued logic. Soon, however, it was realised that three-valued logic had some natural advantages, as it provides distinct values not only for truth and falsehood, but also for ``undefined''. The three-valued semantics proposed by Fitting and by Kunen are closely related to what is computed by a logic program, the third truth value being associated with non-termination. A different three-valued semantics, proposed by Naish, shared much with those of Fitting and Kunen but incorporated allowances for programmer intent, the third truth value being associated with underspecification. Naish used an (apparently) novel ``arrow'' operator to relate the intended meaning of left and right sides of predicate definitions. In this paper we suggest that the additional truth values of Fitting/Kunen and Naish are best viewed as duals. We use Belnap's four-valued logic, also used elsewhere by Fitting, to unify the two three-valued approaches. The truth values are arranged in a bilattice which supports the classical ordering on truth values as well as the ``information ordering''. We note that the ``arrow'' operator of Naish (and our four-valued extension) is essentially the information ordering, whereas the classical arrow denotes the truth ordering. This allows us to shed new light on many aspects of logic programming, including program analysis, type and mode systems, declarative debugging and the relationships between specifications and programs, and successive executions states of a program.
@article{Nai-Son_TPLP14,
author = {Lee Naish and
Harald S{\o}ndergaard},
title = {Truth versus Information in Logic Programming},
journal = {Theory and Practice of Logic Programming},
volume = {14},
number = {6},
pages = {803--840},
month = {November},
year = {2014},
url_Paper = {http://journals.cambridge.org/repo_A89XyMV9},
doi = {10.1017/S1471068413000069},
abstract = {The semantics of logic programs was originally described in
terms of two-valued logic. Soon, however, it was realised that
three-valued logic had some natural advantages, as it provides
distinct values not only for truth and falsehood, but also for
``undefined''. The three-valued semantics proposed by Fitting
and by Kunen are closely related to what is computed by a
logic program, the third truth value being associated with
non-termination. A different three-valued semantics, proposed
by Naish, shared much with those of Fitting and Kunen but
incorporated allowances for programmer intent, the third truth
value being associated with underspecification. Naish used an
(apparently) novel ``arrow'' operator to relate the intended
meaning of left and right sides of predicate definitions. In
this paper we suggest that the additional truth values of
Fitting/Kunen and Naish are best viewed as duals. We use
Belnap's four-valued logic, also used elsewhere by Fitting,
to unify the two three-valued approaches. The truth values are
arranged in a bilattice which supports the classical ordering
on truth values as well as the ``information ordering''. We
note that the ``arrow'' operator of Naish (and our four-valued
extension) is essentially the information ordering, whereas the
classical arrow denotes the truth ordering. This allows us to
shed new light on many aspects of logic programming, including
program analysis, type and mode systems, declarative debugging
and the relationships between specifications and programs, and
successive executions states of a program.},
keywords = {Logic programming, Semantics, Many-valued logic},
}
Downloads: 1
{"_id":"qsnhhoKneQ2mTY5yu","bibbaseid":"naish-sndergaard-truthversusinformationinlogicprogramming-2014","author_short":["Naish, L.","Søndergaard, H."],"bibdata":{"bibtype":"article","type":"article","author":[{"firstnames":["Lee"],"propositions":[],"lastnames":["Naish"],"suffixes":[]},{"firstnames":["Harald"],"propositions":[],"lastnames":["Søndergaard"],"suffixes":[]}],"title":"Truth versus Information in Logic Programming","journal":"Theory and Practice of Logic Programming","volume":"14","number":"6","pages":"803–840","month":"November","year":"2014","url_paper":"http://journals.cambridge.org/repo_A89XyMV9","doi":"10.1017/S1471068413000069","abstract":"The semantics of logic programs was originally described in terms of two-valued logic. Soon, however, it was realised that three-valued logic had some natural advantages, as it provides distinct values not only for truth and falsehood, but also for ``undefined''. The three-valued semantics proposed by Fitting and by Kunen are closely related to what is computed by a logic program, the third truth value being associated with non-termination. A different three-valued semantics, proposed by Naish, shared much with those of Fitting and Kunen but incorporated allowances for programmer intent, the third truth value being associated with underspecification. Naish used an (apparently) novel ``arrow'' operator to relate the intended meaning of left and right sides of predicate definitions. In this paper we suggest that the additional truth values of Fitting/Kunen and Naish are best viewed as duals. We use Belnap's four-valued logic, also used elsewhere by Fitting, to unify the two three-valued approaches. The truth values are arranged in a bilattice which supports the classical ordering on truth values as well as the ``information ordering''. We note that the ``arrow'' operator of Naish (and our four-valued extension) is essentially the information ordering, whereas the classical arrow denotes the truth ordering. This allows us to shed new light on many aspects of logic programming, including program analysis, type and mode systems, declarative debugging and the relationships between specifications and programs, and successive executions states of a program.","keywords":"Logic programming, Semantics, Many-valued logic","bibtex":"@article{Nai-Son_TPLP14,\n author = {Lee Naish and \n\t\tHarald S{\\o}ndergaard},\n title = {Truth versus Information in Logic Programming},\n journal = {Theory and Practice of Logic Programming},\n volume = {14},\n number = {6},\n pages = {803--840},\n month = {November},\n year = {2014},\n url_Paper = {http://journals.cambridge.org/repo_A89XyMV9},\n doi = {10.1017/S1471068413000069},\n abstract = {The semantics of logic programs was originally described in \n\t\tterms of two-valued logic. Soon, however, it was realised that\n\t\tthree-valued logic had some natural advantages, as it provides \n\t\tdistinct values not only for truth and falsehood, but also for \n\t\t``undefined''. The three-valued semantics proposed by Fitting \n\t\tand by Kunen are closely related to what is computed by a \n\t\tlogic program, the third truth value being associated with \n\t\tnon-termination. A different three-valued semantics, proposed \n\t\tby Naish, shared much with those of Fitting and Kunen but \n\t\tincorporated allowances for programmer intent, the third truth \n\t\tvalue being associated with underspecification. Naish used an \n\t\t(apparently) novel ``arrow'' operator to relate the intended\n\t\tmeaning of left and right sides of predicate definitions. In \n\t\tthis paper we suggest that the additional truth values of \n\t\tFitting/Kunen and Naish are best viewed as duals. We use \n\t\tBelnap's four-valued logic, also used elsewhere by Fitting, \n\t\tto unify the two three-valued approaches. The truth values are \n\t\tarranged in a bilattice which supports the classical ordering \n\t\ton truth values as well as the ``information ordering''. We \n\t\tnote that the ``arrow'' operator of Naish (and our four-valued\n\t\textension) is essentially the information ordering, whereas the\n\t\tclassical arrow denotes the truth ordering. This allows us to \n\t\tshed new light on many aspects of logic programming, including \n\t\tprogram analysis, type and mode systems, declarative debugging \n\t\tand the relationships between specifications and programs, and \n\t\tsuccessive executions states of a program.},\n keywords = {Logic programming, Semantics, Many-valued logic},\n}\n\n","author_short":["Naish, L.","Søndergaard, H."],"key":"Nai-Son_TPLP14","id":"Nai-Son_TPLP14","bibbaseid":"naish-sndergaard-truthversusinformationinlogicprogramming-2014","role":"author","urls":{" paper":"http://journals.cambridge.org/repo_A89XyMV9"},"keyword":["Logic programming","Semantics","Many-valued logic"],"metadata":{"authorlinks":{}},"downloads":1,"html":""},"bibtype":"article","biburl":"https://people.eng.unimelb.edu.au/harald/bibbase.bib","dataSources":["yWvm3kzg5vKQAPLm7","ofmsZryxNDBSpE7j5","9aC4cxLD8D6oJ3FLN","wpkuJrZJJtqra3FbL","W7ih7WyQivP4EDh83","BNGFBQQncqevukxoe","q5pWX4XZgAS4TQBof","yb3uN577XrYa7qf57","9jmvjAEoFta6emcgS","XqcrNTrCCBr9mSd37"],"keywords":["logic programming","semantics","many-valued logic"],"search_terms":["truth","versus","information","logic","programming","naish","søndergaard"],"title":"Truth versus Information in Logic Programming","year":2014,"downloads":1}