Truth versus Information in Logic Programming. Naish, L. & Søndergaard, H. Theory and Practice of Logic Programming, 14(6):803–840, November, 2014.
Truth versus Information in Logic Programming [link]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