Human Conditional Reasoning in Answer Set Programming

Chiaki Sakama

Theory and Practice of Logic Programming, 24(1), pages 157-192, Cambridge University Press, 2024. Shorter version: in Proceedings of the 21st International Workshop on Non-Monotonic Reasoning (NMR-2023), pages 101-114, 2023.

Abstract

Given a conditional sentence "p=>q" (if p then q) and respective facts, four different types of inferences are observed in human reasoning. Affirming the antecedent (AA) (or modus ponens) reasons q from p; affirming the consequent (AC) reasons p from q; denying the antecedent (DA) reasons ¬q from ¬p; and denying the consequent (DC) (or modus tollens) reasons ¬p from ¬q. Among them, AA and DC are logically valid, while AC and DA are logically invalid and often called logical fallacies. Nevertheless, humans often perform AC or DA as pragmatic inference in daily life. In this paper, we realize AC, DA and DC inferences in answer set programming. Eight different types of completion are introduced and their semantics are given by answer sets. We investigate formal properties and characterize human reasoning tasks in cognitive psychology. Those completions are also applied to commonsense reasoning in AI.


Full Paper (Open Access) Slide at NMR-2023