Logic Programming: From Underspecification to Undefinedness. Naish, L., Søndergaard, H., & Horsfall, B. In Theory of Computing 2012, volume 128, of Conferences in Research and Practice in Information Technology, pages 49–58, 2012.
Paper abstract bibtex 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 Fitting's later four-valued approach to unify the two three-valued approaches. The additional truth value has very little affect on the Fitting three-valued semantics, though it can be useful when finding approximations to this semantics for program analysis. For the Naish semantics, the extra truth value allows intended interpretations to be more expressive, allowing us to verify and debug a larger class of programs. We also explain that the "arrow" operator of Naish (and our four-valued extension) is essentially the information ordering. This sheds new light on the relationships between specifications and programs, and successive executions states of a program.
@InProceedings{Nai-Son-Hor_CATS12,
author = {Lee Naish and
Harald S{\o}ndergaard and
Benjamin Horsfall},
title = {Logic Programming: From Underspecification to Undefinedness},
editor = {J. Mestre},
booktitle = {Theory of Computing 2012},
series = {Conferences in Research and Practice in Information Technology},
volume = {128},
pages = {49--58},
year = {2012},
url = {http://crpit.com/Vol128.html},
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
Fitting's later four-valued approach to unify the two
three-valued approaches. The additional truth value has very
little affect on the Fitting three-valued semantics, though it
can be useful when finding approximations to this semantics for
program analysis. For the Naish semantics, the extra truth
value allows intended interpretations to be more expressive,
allowing us to verify and debug a larger class of programs.
We also explain that the "arrow" operator of Naish (and our
four-valued extension) is essentially the information ordering.
This sheds new light on the relationships between
specifications and programs, and successive executions states
of a program.},
keywords = {Logic programming, Semantics, Many-valued logic},
}
Downloads: 0
{"_id":"QZJdgN5snmWDfNjyk","bibbaseid":"naish-sndergaard-horsfall-logicprogrammingfromunderspecificationtoundefinedness-2012","author_short":["Naish, L.","Søndergaard, H.","Horsfall, B."],"bibdata":{"bibtype":"inproceedings","type":"inproceedings","author":[{"firstnames":["Lee"],"propositions":[],"lastnames":["Naish"],"suffixes":[]},{"firstnames":["Harald"],"propositions":[],"lastnames":["Søndergaard"],"suffixes":[]},{"firstnames":["Benjamin"],"propositions":[],"lastnames":["Horsfall"],"suffixes":[]}],"title":"Logic Programming: From Underspecification to Undefinedness","editor":[{"firstnames":["J."],"propositions":[],"lastnames":["Mestre"],"suffixes":[]}],"booktitle":"Theory of Computing 2012","series":"Conferences in Research and Practice in Information Technology","volume":"128","pages":"49–58","year":"2012","url":"http://crpit.com/Vol128.html","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 Fitting's later four-valued approach to unify the two three-valued approaches. The additional truth value has very little affect on the Fitting three-valued semantics, though it can be useful when finding approximations to this semantics for program analysis. For the Naish semantics, the extra truth value allows intended interpretations to be more expressive, allowing us to verify and debug a larger class of programs. We also explain that the \"arrow\" operator of Naish (and our four-valued extension) is essentially the information ordering. This sheds new light on the relationships between specifications and programs, and successive executions states of a program.","keywords":"Logic programming, Semantics, Many-valued logic","bibtex":"@InProceedings{Nai-Son-Hor_CATS12,\n author = {Lee Naish and \n\t\tHarald S{\\o}ndergaard and \n\t\tBenjamin Horsfall},\n title = {Logic Programming: From Underspecification to Undefinedness},\n editor = {J. Mestre},\n booktitle = {Theory of Computing 2012},\n series = {Conferences in Research and Practice in Information Technology},\n volume = {128},\n pages = {49--58},\n year = {2012},\n url = {http://crpit.com/Vol128.html},\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 and\n\t\tby Kunen are closely related to what is computed by a logic \n\t\tprogram, 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\tFitting's later four-valued approach to unify the two \n\t\tthree-valued approaches. The additional truth value has very \n\t\tlittle affect on the Fitting three-valued semantics, though it\n\t\tcan be useful when finding approximations to this semantics for\n\t\tprogram analysis. For the Naish semantics, the extra truth \n\t\tvalue allows intended interpretations to be more expressive, \n\t\tallowing us to verify and debug a larger class of programs. \n\t\tWe also explain that the \"arrow\" operator of Naish (and our \n\t\tfour-valued extension) is essentially the information ordering.\n\t\tThis sheds new light on the relationships between \n\t\tspecifications and programs, and successive executions states \n\t\tof a program.},\n keywords = {Logic programming, Semantics, Many-valued logic},\n}\n\n","author_short":["Naish, L.","Søndergaard, H.","Horsfall, B."],"editor_short":["Mestre, J."],"key":"Nai-Son-Hor_CATS12","id":"Nai-Son-Hor_CATS12","bibbaseid":"naish-sndergaard-horsfall-logicprogrammingfromunderspecificationtoundefinedness-2012","role":"author","urls":{"Paper":"http://crpit.com/Vol128.html"},"keyword":["Logic programming","Semantics","Many-valued logic"],"metadata":{"authorlinks":{}},"html":""},"bibtype":"inproceedings","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":["logic","programming","underspecification","undefinedness","naish","søndergaard","horsfall"],"title":"Logic Programming: From Underspecification to Undefinedness","year":2012}