Abstract
Programming with logic for sophisticated applications must deal with recursion and negation, which have created significant challenges in logic, leading to many different, conflicting semantics of rules. This paper describes a unified language, DA logic, for design and analysis logic, based on the unifying founded semantics and constraint semantics, that support the power and ease of programming with different intended semantics. The key idea is to provide meta-constraints, support the use of uncertain information in the form of either undefined values or possible combinations of values, and promote the use of knowledge units that can be instantiated by any new predicates, including predicates with additional arguments.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
References
Apt, K.R., Blair, H.A., Walker, A.: Towards a theory of declarative knowledge. In: Foundations of Deductive Databases and Logic Programming, pp. 89–148. Morgan Kaufman (1988)
Apt, K.R., Bol, R.N.: Logic programming and negation: a survey. J. Log. Program. 19, 9–71 (1994)
Bruynooghe, M., Denecker, M., Truszczynski, M.: First order logic with inductive definitions for model-based problem solving. AI Mag. 37(3), 69–80 (2016)
Chan, D.: Constructive negation based on the completed database. In: Proceedings of the 5th International Conference and Symposium on Logic Programming, pp. 111–125. MIT Press (1988)
Clark, K.L.: Negation as failure. In: Gallaire, H., Minker, J. (eds.) Logic and Databases, pp. 293–322. Plenum Press (1978)
Dasseville, I., Van der Hallen, M., Janssens, G., Denecker, M.: Semantics of templates in a compositional framework for building logics. Theory Pract. Log. Program. 15(4–5), 681–695 (2015)
Denecker, M., Ternovska, E.: A logic of nonmonotone inductive definitions. ACM Trans. Comput. Log. 9(2), 14 (2008)
Dung, P.M.: On the relations between stable and well-founded semantics of logic programs. Theoret. Comput. Sci. 105(1), 7–25 (1992)
Ershov, Y.L., Goncharov, S.S., Sviridenko, D.I.: Semantic foundations of programming. In: Budach, L., Bukharajev, R.G., Lupanov, O.B. (eds.) FCT 1987. LNCS, vol. 278, pp. 116–122. Springer, Heidelberg (1987). https://doi.org/10.1007/3-540-18740-5_28
Fitting, M.: A Kripke-Kleene semantics for logic programs. J. Log. Program. 2(4), 295–312 (1985)
Fitting, M.: Fixpoint semantics for logic programming: a survey. Theoret. Comput. Sci. 278(1), 25–51 (2002)
Foo, N.Y., Rao, A.S., Taylor, A., Walker, A.: Deduced relevant types and constructive negation. In: Proceedings of the 5th International Conference and Symposium on Logic Programming, pp. 126–139 (1988)
Gelfond, M., Lifschitz, V.: The stable model semantics for logic programming. In: Proceedings of the 5th International Conference and Symposium on Logic Programming, pp. 1070–1080. MIT Press (1988)
Hou, P., De Cat, B., Denecker, M.: FO(FD): extending classical logic with rule-based fixpoint definitions. Theory Pract. Log. Program. 10(4–6), 581–596 (2010)
Jaffar, J., Lassez, J.-L., Maher, M.J.: Some issues and trends in the semantics of logic programming. In: Shapiro, E. (ed.) ICLP 1986. LNCS, vol. 225, pp. 223–241. Springer, Heidelberg (1986). https://doi.org/10.1007/3-540-16492-8_78
Lin, F., Zhao, Y.: ASSAT: computing answer sets of a logic program by sat solvers. Artif. Intell. 157(1–2), 115–137 (2004)
Liu, Y.A., Stoller, S.D.: Founded semantics and constraint semantics of logic rules. Computing Research Repository arXiv:1606.06269 [cs.LO], June 2016 (Revised April 2017)
Liu, Y.A., Stoller, S.D.: Founded semantics and constraint semantics of logic rules. In: Artemov, S., Nerode, A. (eds.) LFCS 2018. LNCS, vol. 10703, pp. 221–241. Springer, Cham (2018). https://doi.org/10.1007/978-3-319-72056-2_14
Lloyd, J.W., Topor, R.W.: Making Prolog more expressive. J. Log. Program. 1(3), 225–240 (1984)
Przymusinski, T.C.: Well-founded and stationary models of logic programs. Ann. Math. Artif. Intell. 12(3), 141–187 (1994)
Ramakrishnan, R., Ullman, J.D.: A survey of deductive database systems. J. Log. Program. 23(2), 125–149 (1995)
Sato, T., Tamaki, H.: Transformational logic program synthesis. In: Proceedings of the International Conference on Fifth Generation Computer Systems, pp. 195–201 (1984)
Stuckey, P.J.: Constructive negation for constraint logic programming. In: Proceedings of the 6th Annual IEEE Symposium on Logic in Computer Science, pp. 328–339 (1991)
Truszczynski, M.: An introduction to the stable and well-founded semantics of logic programs. In: Kifer, M., Liu, Y.A. (eds.) Declarative Logic Programming: Theory, Systems, and Applications, pp. 121–177. ACM and Morgan & Claypool (2018)
Van Gelder, A., Ross, K., Schlipf, J.S.: The well-founded semantics for general logic programs. J. ACM 38(3), 620–650 (1991)
Acknowledgments
This work was supported in part by NSF under grants CCF-1414078, CNS-1421893, and IIS-1447549.
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2020 Springer Nature Switzerland AG
About this paper
Cite this paper
Liu, Y.A., Stoller, S.D. (2020). Knowledge of Uncertain Worlds: Programming with Logical Constraints. In: Artemov, S., Nerode, A. (eds) Logical Foundations of Computer Science. LFCS 2020. Lecture Notes in Computer Science(), vol 11972. Springer, Cham. https://doi.org/10.1007/978-3-030-36755-8_8
Download citation
DOI: https://doi.org/10.1007/978-3-030-36755-8_8
Published:
Publisher Name: Springer, Cham
Print ISBN: 978-3-030-36754-1
Online ISBN: 978-3-030-36755-8
eBook Packages: Mathematics and StatisticsMathematics and Statistics (R0)