AbstractGiven a conditional sentence “ ${\varphi}\Rightarrow \psi$ " (if ${\varphi}$ then $\psi$ ) and respective facts, four different types of inferences are observed in human reasoning: Affirming the antecedent (AA) (or modus ponens) reasons $\psi$ from ${\varphi}$ ; affirming the consequent (AC) reasons ${\varphi}$ from $\psi$ ; denying the antecedent (DA) reasons $\neg\psi$ from $\neg{\varphi}$ ; and denying the consequent (DC) (or modus tollens) reasons $\neg{\varphi}$ from $\neg\psi$ . 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.