Manuscript Offprint
arXiv:2609.07483Modus Tollens and Counterfactuals and Counterfactual Reasoning Based on Three Types of Negation
Open access. PaperVantage converted this article to text, so layout and figures may differ from the original.
Zhenghua Pan
School of Science, Institute of Mathematics and Physics, Jiangnan University, Wuxi 214122, China
Abstract: Modus Tollens (MT) is a classical logical inference rule, while counterfactuals are hypothetical statements that are contrary to facts, and counterfactual reasoning is a process of reasoning based on counterfactuals. Negation is an indispensable core concept in them. In this paper, based on the logical systems LCOI&PLCOI with contradictory negation, opposite negation and intermediary negation, we propose three variants of Modus Tollens corresponding to distinct negation types, namely “MTc: Modus Tollens based on contradictory negation”, “MTo: Modus Tollens based on opposite negation”, and “MTi: Modus Tollens based on intermediary negation”. We define the implications within MTc, MTo and MTi, provide the truth value algorithms of MTc, MTo and MTi, and discuss the reducibility of these algorithms. To incorporate these three types of negation into counterfactuals and counterfactual reasoning, we differentiate counterfactuals into two types based on whether they possess logical negation, thereby proposing three counterfactuals and counterfactuals reasoning based on different logical negations.
In this paper, we further argue that the three counterfactuals reasoning based on different logical negations have the same inference form as , and , respectively. In other words, they share the same inference structure. As a result, the truth value algorithms for , and can be as the truth value algorithms for the three counterfactuals reasoning based on different logical negations. The algorithms indicates that if the first premise of the reasoning is true, the truth values of the reasoning conclusions are identical to the truth values of the three negative premises in the reasoning premises, respectively. This reflects the consistency and accuracy of the truth value algorithms.
Keywords: Modus Tollens; counterfactual and counterfactual reasoning; negation; logic LCOI&PLCOI
This work was supported by the National Natural Science Foundation of China [60575038, 60973156, 61375004]; the State Key Laboratory for Novel Software Technology, Nanjing University, P.R. China [KFKT2020B01]
1 Introduction
“Negation” is a common feature of natural language and an important fundamental concept in knowledge [1]. Broadly speaking, negation connects an expression E with another expression whose meaning is, in some sense, opposed to that of E [2]. Therefore, the key challenge in understanding negation is to identify the meaning that is in some way opposed to E—this is a semantically complex and highly vague task [3]. Due to its complexity, the various linguistic forms it can take, and the different ways it interacts with words within its scope, the computational processing of negation remains unresolved and has become a research hotspot across different knowledge domains [4].
Modus Tollens (MT) is a classical rule of logical inference, also known as the method of denying the consequent. Its basic structure: If P then Q, not Q, therefore not P. This form of inference has important applications in fields such as logic, mathematics, philosophy, computer science, and artificial intelligence. The core idea of MT is to derive the negation of the premise (antecedent) of a conditional proposition by denying its result (consequent). It can be said that MT has a direct logical relationship with negation. Negation is not only a key part of MT but also reveals the important mechanism of how conditional reasoning works in reverse [5-9].
Counterfactuals and counterfactual reasoning are cognitive processes of human thought and have long been subjects of extensive research in the fields of philosophy, logic, and artificial intelligence. A counterfactual refers to a hypothetical statement that is contrary to the facts, often used to describe a "what if things had not happened as they actually did" scenario. Counterfactual reasoning is a process that involves reasoning based on counterfactuals, with its basic structure being the negation of facts to construct a hypothetical premise that supports hypothetical reasoning. Negation occupies a central position in both counterfactual statements and reasoning [10-15].
In summary, in both Modus Tollens and counterfactuals with counterfactual reasoning, negation is an indispensable core concept. Modus Tollens employs negation to form valid inferences, while counterfactual reasoning uses conditional negation to explore possible outcomes or inferences. The negation in Modus Tollens typically employs the expression of negation in classical logic. However, in counterfactuals and counterfactual reasoning, the semantic model of negation is not based on a single form of negation logic. The complexity of counterfactual reasoning necessitates considering various forms of negation and different contexts. Non-classical logic, possible world's semantics, conditional logic, causal logic, and modal logic together explain the mechanisms and inference rules of negation in counterfactuals and counterfactual reasoning, forming the foundation for understanding counterfactual reasoning [16-19].
In the development of artificial intelligence, new demands have arisen for the understanding and handling of “negation”. Some studies advocate for distinguishing between different types of negation in information processing [20-29]. In these studies, researchers such as Wagner [21] and Analyti et al. [22] argue that the concept of negation plays a special role in any information computational system, where negated information holds equal value to affirmed information. They propose distinguishing between “strong negation” and “weak negation” in information computational systems, with strong negation representing 'explicit falsity' and weak negation denoting 'non-truth'. Kaneiya argues that description logic should differentiate between two types of negation [26], while Ferré introduces a distinction among “negation”, “opposition” and “possibility” in Logical Concept Analysis [27]. Almeida explores lattices with different negation operations and their properties and structures, providing a new perspective for the normative extension of lattices and relational representation [28]. Vinkov et al. propose a stepwise theoretical formalism that includes two types of negation, applicable to a domain of Active Logic [29]. These studies on different types of negation in information share a common feature: they primarily focus on the practical needs of knowledge processing, proposing methods for distinguishing and handling different negations in knowledge from a semantic perspective. However, they do not fundamentally recognize and differentiate the various forms of negation in knowledge, nor do they examine the theoretical foundations that could reflect the properties, relationships, and laws of these different negations [30-34].
In references [33] and [34], we propose that there are three distinct types of negation in knowledge from a conceptual perspective: contradictory negation, opposite negation and intermediary negation, and establish the set SCOI and logic LCOI&PLCOI with three kinds of negation. In this study grounded in the LCOI&PLCOI framework, we propose three variants of Modus Tollens corresponding to distinct negation types, namely “: Modus Tollens based on contradictory negation”, “: Modus Tollens based on opposite negation”, and “: Modus Tollens based on intermediary negation”. We define the implications within , and , provide the truth value algorithms of , and , and discuss the reducibility of these algorithms. We introduce contradictory negation, opposite negation and intermediary negation into counterfactual and counterfactual reasoning, presenting three types of counterfactuals and counterfactual reasoning based on different logical negations. We also discussed the relationship between , , and the three types of counterfactual reasoning based on different logical negations in terms of their inference structure, as well as the truth value algorithms of three counterfactual reasoning based on different logical negations.
The main contributions of this paper are as follows:
-
Proposing three variants of Modus Tollens corresponding to distinct negation types, namely ‘: Modus Tollens based on contradictory negation’, ‘: Modus Tollens based on opposite negation’, and ‘: Modus Tollens based on intermediary negation’, and give their truth value algorithms.
-
Proposing three counterfactuals and counterfactual reasoning based on different logical negations.
-
It has been confirmed that the three types of counterfactual reasoning based on different logical negations have the same inference form as MTC, MTO, and MTI, respectively. That is, they have the same inference structure.
-
The truth value algorithms for the three types of counterfactual reasoning based on different logical negations indicates that if the first premise of the reasoning is true, the truth values of the reasoning conclusions are identical to the truth values of the three negative premises in the reasoning premises. This reflects the consistency and accuracy of the truth value algorithms
The structure of this paper is as follows. Section 2 introduces three types of negation in knowledge and their characteristics. Section 3 presents the basic theory of the logic LCOI&PLCOI with three kinds of negation. In Section 4, we propose three types of Modus Tollens based on different negations, grounded in LCOI&PLCOI. Section 5 introduces the three types of negation into counterfactuals and counterfactual reasoning, and proposes three different counterfactuals and counterfactual reasoning approaches based on distinct logical negations. Additionally, it discusses the algorithms for counterfactual reasoning based on these different logical negations. Section 6 summarizes the main research findings of this paper and outlines future work.
The following three different forms of negation exist in both clear and fuzzy concepts:
(1) Contradictory Negation. For a species concept under a genus concept, another species concept that has a contradictory relationship with it constitutes a form of negation. We refer to this type of negation as “contradictory negation”. In this form of negation, the intensions (connotations) of the two species concepts mutually negate each other, the extensions (denotations) are mutually exclusive (either one or the other), and the sum of the extensions equals the extension of the genus concept. From this, it can be known that the negation in classical logic is precisely this kind of negation.
(2) Opposite Negation. For a species concept under a genus concept, another species concept that has an oppositional relationship with it constitutes another form of negation. We refer to this type of negation as “opposite negation”. In this form of negation, the intensions of the two species concepts mutually negate each other and exhibit the greatest difference in intension, but their extensions are not mutually exclusive (not either-or), and the sum of their extensions is less than the extension of the genus concept.
(3) Intermediary Negation. The intermediary concept between opposite concepts constitutes a (weak) form of negation of the opposite concepts. We refer to this type of negation as “intermediary negation”. In this form of negation, the opposite concepts transition through the intermediary concept and the sum of their extensions equals the extension of the genus concept.
We must point out that in reality there are cases where “contradiction” and “opposition” appear identical. Such situations should be understood as contradiction rather than opposition. For example, under the genus concept of ‘real numbers’, the species concepts ‘rational numbers’ and ‘irrational numbers’ (i.e., non-rational numbers) are both contradictory and oppositional. However, since there is no “intermediary” between rational and irrational numbers, they are not oppositional concepts.
To fully understand the meaning of the above three kinds of negation, we further discuss their characteristics in terms of both the intension of the concepts as well as their extensional relations.
(1) Contradictory Negation in Clear Concepts (CNC)
Characteristics of CNC: Extensions are clear, either this or that, and the sum of extensions is equal to the extension of the genus concept.
For example, the positive integer and non-positive integer under the genus concept of “integer” are clear concepts, while the non-positive integer is the contradictory negation of positive integer. The diagram illustrating the extensional relationship between them is shown below (Figure 1).
| positive integer | non-positive integer |
Fig. 1 The extensional relationship between positive integer and non-positive integer
(2) Opposite Negation in Clear Concepts (ONC)
Characteristics of ONC: Extensions are clear, not “either this or that”, and the sum of the extensions is less than the extension of the genus concept.
For example, the positive integer and negative integer under the genus concept of “integer” are clear concepts, while the negative integer is the opposite negation of positive integer. The diagram illustrating the extensional relationship between them is shown below (Figure 2).
| positive integer | negative integer |
Fig. 2 The extensional relationship between positive integer and negative integer
(3) Intermediary Negation in Clear Concepts (INC)
Characteristics of INC: Extensions are clear, opposing sides transition to each other through ‘intermediaries’, and the sum of the extensions equals the extension of the genus concept.
For example, zero, positive integer and negative integer are clear concepts under the genus concept of “integer”. Zero serves as an ‘intermediary’ between positive integer and negative integer, and it is the intermediary negation of both positive integer and negative integer. The diagram illustrating the extensional relationship between them is shown below (Figure 3).

Fig. 3 The extensional relationship between positive integers, negative integers, and zero.
(4) Contradictory Negation in Fuzzy Concepts (CNF)
Characteristics of CNF: Extensions are not clear, either this or that, and the sum of extensions is equal to the extension of the genus concept.
For example, the daytime and non-daytime under the genus concept of “day” are fuzzy concepts, while the non-daytime is the contradictory negation of daytime. The diagram illustrating the extensional relationship between them is shown below (Figure 4).

Fig. 4 The extensional relationship between daytime and non-daytime
(5) Opposite Negation in Fuzzy Concepts (ONF)
Characteristics of ONF: Extensions are not clear, not “either this or that”, and the sum of the extensions is less than the extension of the genus concept.
For example, the daytime and night under the genus concept of “day” are fuzzy concepts, while the night is the opposite negation of daytime. The diagram illustrating the extensional relationship between them is shown below (Figure 5).

Fig. 5 The extensional relationship between daytime and night
(6) Intermediary Negation in Fuzzy Concepts (INF)
Characteristics of IFC: Extensions are not clear, opposing sides transition to each other through ‘intermediaries’, and the sum of the extensions equals the extension of the genus concept.
For example, dusk, daytime and night are fuzzy concepts under the genus concept of “day”. Dusk serves as an ‘intermediary’ between daytime and night, and it is the intermediary negation of both daytime and night. The diagram illustrating the extensional relationship between them is shown below (Figure 6).

Fig. 6. The extensional relationship between daytime, night, and dusk
It is evident that, because concepts are the most fundamental components of knowledge, these three different negations also exist within knowledge itself.
3 Logic with three kinds of negation
For the three different types of negation present in the aforementioned knowledge, in order to establish a mathematical foundation (set and logic) that can fully reflect their properties, relations and laws, we proposed a “set SCOI and logic LCOI&PLCOI with contradictory negation, opposite negation and intermediary negation”[33, 34]. In this section, we summarize some basic concepts and main conclusions of LCOI&PLCOI as follows.
3.1 LCOI: Propositional Logic with three kinds of negation
The symbols , , and denote “contradictory negation”, “opposite negation” and “intermediary negation” respectively. The symbols , and denote ‘disjunction’, ‘conjunction’ and ‘implication’, respectively. The symbol “” denote formal deduction.
Definition 1. Let be set of atomic proposition. , A is called well-formed formula (or formula). If A, B are formulas, then and are formulas.
(I) The following formulas as axioms:
(a1)
(a2)
(a3)
(a4)
(a5)
(a6)
(a7)
(a8)
(a9)
(a10)
(a11)
(a12)
(a13)
(II) The deduction rules:
[D1] ( )
[D2]
The logic calculus formal system determined above is called “propositional logic with contradictory negation, opposite negation and intermediary negation”, for short LCOI.
3.2 PLCOI: Predicate logic with three kinds of negation
On the basis of LCOI, adding predicates, individual words, quantifiers and , as well as the following axioms and deduction rule, we can constitute a predicate logic PLCOI with contradictory negation, opposite negation and intermediary negation.
(I) Axioms:
(II) Deduction rule:
[D3] If ( is the set of formulas), where the individual constant does not appear in , then .
The logic calculus formal system determined above is called “predicate logic with contradictory negation, opposite negation and intermediary negation”, for short PLCOI.
The propositional logic LCOI and predicate logic PLCOI are denoted as LCOI&PLCOI. Regarding the semantics of LCOI&PLCOI, we provide an infinity-valued semantic interpretation. Under this semantic interpretation, it can be proven that LCOI&PLCOI is sound and complete.
Definition 2 (infinite-valued interpretation). Let be set of all formulas in LCOI&PLCOI, . , mapping is called a -assignment of , consists of the individual domain and the following assignments for each constant symbol, function symbol and predicate symbol in A:
(1) for each constant symbol, assign an object in D to correspond to it;
(2) for each n-variant function symbol, assign a mapping from to D to correspond to it;
(3) for each n-variant predicate symbol, assign a mapping from to [0, 1] to correspond to it, and
[1] If A is an atomic formula, takes only one value from [0, 1];
[2] ;
(a)
(b)
[3]
(c)
(d)
other
(e)
[4]
[5] ;
[6] ; ;
[7]
Definition 3 (-tautology). Let be set of -assignment of , . For any -assignment , if then is called a tautology, if (), is called a -tautology, and denoted . If there exist -assignment and , is said to be -satisfiable,
Based on the above, the following conclusions can be proved.
Theorem 1 (Soundness theorem). Let ( ) be a set of formulas in LCOI&PLCOI, and A be a formula in LCOI&PLCOI.
(a) If , then .
(b) If , then .
Theorem 2 (completeness theorem).
(a) If , then .
(b) If , then .
4 Modus Tollens based on three types of negation
Modus Tollens (MT) is a classic form of logical inference that is part of deductive reasoning. Its core lies in deriving the negation of the antecedent through the negation of the consequent, thereby ensuring the logical consistency and reliability of the inference process. In MT, the premises are the proposition “If A, then B” and the “negation of B”, leading to the conclusion “negation of A”. MT has a direct logical relation with negation; the negation is not only key to MT but also reveals the important mechanism of how conditional inference works in reverse.
In classical logic, which includes only one form of negation, one of the most important tautologies is the law of contraposition (LC):
(LC)
where, and are respectively negations of A and B.
Due to the differentiation of negation in knowledge into contradictory negation , opposite negation , and intermediary negation , we discuss Modus Tollens based on these different forms of negation according to the logic LCOI&PLCOI.
4.1 Modus Tollens based on distinct negation types:
In the logic LCOI&PLCOI [33, 34], we have proved the conclusions in the following formal Theorem 1.
Theorem 1. Let A, B be formulas in LCOI&PLCOI.
From this, we can further prove the following formal theorems in LCOI&PLCOI.
Theorem 2. A→B, ¬B ⊢ ¬A.
Proof:
(a)
(b)
(c)
(a1)
(d)
(b)(c)(D2)
(e)
(2)
(f)
(d)(e)(D2)
(g)
(a)(f)(D2)
Theorem 3. A→B, ¬B ⊢ ¬A.
Proof:
(a)
(b)
(c)
(a1)
(d)
(b)(c)(D2)
(e)
(3)
(f)
(a)(e)(D2)
(g)
(d)(f)(D2)
Theorem 4. A→B, ~B ⊢ ~A.
Proof:
(a)
(b)
(c)
(a13)
(d)
(b)(c)(D2)
(e)
(a10)
(f)
(d)(e)(D2)
(g)
(a6)
(h)
(f)(g)(D2)
(i)
(a3)
(j)
(a)(i)(D2)
(k)
(h)(j)(D2)
(l)
(4)
(m)
(a)(l)(D2)
(n)
(k)(m)(D2)
According to the soundness theorem (Theorem 1 in Section 3.2), the formal inferences relationships between the premises and conclusions reflected by the formal theorems in LCOI&PLCOI hold true in deductive reasoning. Therefore, the above theorems 2, 3 and 4 respectively express the following inferences meanings:
(1) With A implies B and the contradictory negation of B as premises, one can deduce the conclusion that the contradictory negation of A.
(2) With A implies B and the opposite negation of B as premises, one can deduce the conclusion that the opposite negation of A.
(3) With A implies B and the intermediary negation of B as premises, one can deduce the conclusion that the intermediary negation of A.
From this, we propose three variants of Modus Tollens corresponding to (1), (2) and (3), namely “: Modus Tollens based on contradictory negation”, “: Modus Tollens based on opposite negation”, and “: Modus Tollens based on intermediary negation”.
, and are indicated below:
| premise 1: A Bpremise 2: | premise 1: A Bpremise 2: | premise 1: A Bpremise 2: |
| conclusion: | conclusion: | conclusion: |
In the logic LCOI&PLCOI, the formal representations of , and as follows (the symbol represents deduction):
(C) :
(O) :
(I) :
4.2 Implications in , and
The implication function, commonly referred to as implication (usually denoted by ), is one of the most important logical connectives in logical inference. In Modus Tollens, implication is core concepts[39, 40]. Therefore, in , and , we need to further determine the implication in the premises and its relationship with the three different types of negation.
The implication is a binary operation in logic. For the implication in the premises of , and , we define it as follows with reference to [39] and [40].
Definition 1. A mapping is called a -norm, if it satisfies
(T1) Boundary conditions, , , ;
(T2) Monotony, if then , for all ;
(T3) Commutative, , for all ;
(T4) Associative, , for all .
Definition 2. A mapping is called an implication in , and , if it satisfies
According to the above definition, it is easy to prove that has the following properties:
(I1) If , then , for all .
(I2) If , then , for all .
(I3) , , ;
(I4) and , for all .
(I5) .
(I6) if and only if , for all .
In Modus Tollens, negation is typically expressed using classical logic negation. Since the negations , and are contradictory negation ( ), opposite negation ( ), and intermediary negation ( ) respectively, we use the symbol N to represent the negation in , and . Therefore, .
Examining the properties of Modus Tollens reveals that a reasoning framework capable of utilizing MT for backward reasoning must satisfy the following conditions [40, 41]:
(i) Contains three connectives: implication, negation, and the conjunction of implication and negation.
(ii) With respect to negation, implication should satisfy contraposition symmetry.
Therefore, the implication and negation N in , and should satisfy (i) and (ii) within the framework of LCOI&PLCOI. The conditions are as follows:
With respect to and N,
(SC)
From this, the following proposition can be proved.
Proposition 1. Regarding the negation N, satisfies the contraposition symmetry: .
Proof: Since , so . Let , as a result , . According to (SC), . Therefore, .
The definition 2 indicates that implication is unrelated to negation N. Hence, we define an implication “NR-implication” related to the negation N as follows:
Definition 3. Let T be a t-norm. A mapping , and
is called NR-implication.
NR-implication has the following properties.
Proposition 2. For all ,
(a)
(b)
(c) if and only if .
Proof:
(a). Since , so , that is by the definition 3.
(b). Suppose . Then and . According to , , thus . So, contradiction. Therefore, .
(c). If , then . If , then . From this, .
4.3 Algorithms of , and and their reducibility
From the nature of logical reasoning, inference is a logical process of deriving conclusions from premises.
However, the algorithm for reasoning calculates conclusions through prescribed methods rather than deriving them. The algorithmization of inference can employ different computational models [42, 43].
Based on the reasoning characteristic of Modus Tollens, which derives the conclusion from the premises A B and , the key to establishing an algorithm for MT lies in determining what kind of relational structure to use for the premises A B and . There are two main ideas to this:
(1) Consider as the “a conclusion deduced from the premises and ”. The inference relation is “if and , then ”, and the formal relation is .
(2) According to the law of contraposition, consider as “a conclusion deduced from using as a premise”. The inference relation is “if , then ”, and the formal relation is .
For these two different algorithms, from the perspective of logical syntax, and are different. From the perspective of logical semantics, the former aligns more closely with the inference meaning of MT (Modus Tollens) than the latter.
Regarding the algorithms for , and , we employ to the first idea and use an algorithm for solving truth values.
Based on the definition of the -assignment in the logic LCOI&PLCOI (Definition 2 in Section 3.2) and the conditions (SC) that should fulfill, we propose the following algorithms for , and .
(I) Algorithm of
Formal expression:
Algorithm: , .
(II) Algorithm of
Formal expression:
Algorithm: , .
(III) Algorithm of
Formal expression:
Algorithm: , .
Here , , , , and represent the truth values of , , , , and , respectively.
In the theory of logical inference, there is no universally accepted standard regarding the merits of reasoning algorithms. However, the “reducibility” of an algorithm is considered the most fundamental requirement of an algorithm [42, 43]. If the negation in MT is an extension of classical negation*, then the reducibility of the algorithm concerning MT is generally defined as follows [43]:
Definition 4. For an algorithm of MT, if then , this algorithm is referred to as a reducible algorithm.
According to this definition, we have the following results regarding the reducibility of the algorithms for , and .
Theorem 1. Let be a -norm, be the implication in . If , then the algorithm (I) of based on the contradictory negation is a reducible algorithm.
Proof: Let . According to MTC's algorithm (I), then
Thus, , that is . Therefore, regarding the algorithm (I) of , when , it follows that . According to Definition 4, the algorithm of is a reducible algorithm.
Similarly, the following theorems can be proved about algorithm (II) for and algorithm (III) for .
Theorem 2. Let be a -norm, be the implication in . If , then the algorithm (II) of based on the opposite negation is a reducible algorithm.
Theorem 3. Let be a -norm, be the implication in . If , then the algorithm (III) of based on the intermediary negation is a reducible algorithm.
5 Counterfactuals and counterfactual reasoning based on three types of negation
Counterfactual and counterfactual reasoning rely on negation. Counterfactuals are constructed based on a hypothetical negation of actual facts, and counterfactual reasoning is a process of reasoning based on counterfactuals. In counterfactuals and counterfactual reasoning, the semantic model of negation is not based on a single form of negation logic. Since negation in knowledge can be distinguished as contradictory negation, opposite negation, and mediating negation, in this section, we discuss counterfactuals and counterfactual reasoning based on these different types of negation within the framework of the logic LCOI&PLCOI.
5.1 Counterfactuals based on three types of negation
Counterfactuals are hypothetical statements that are contrary to facts, and a counterfactual is considered relative to a known fact. Counterfactuals are a type of conditional sentence, typically presented in the “if...then...” format. For example:
(1) Fact: It rained yesterday and the ground was wet. Counterfactual: “If the ground hadn't been wet yesterday, then it didn't rain yesterday”.
(2) Fact: If the butter is heated to 150 degrees Fahrenheit, then the butter will melt. Counterfactual: “If the butter didn't melt, then it wasn't heated to 150 degrees Fahrenheit”.
(3) Fact: I didn't stay up late last night and passed the exam today. Counterfactual: “If I had stayed up late last night, then I would not have passed the exam today”.
(4) Fact: It rained yesterday and I took an umbrella. Counterfactual: “If it hadn't rained yesterday, then I wouldn't have taken the umbrella”.
It is evident that counterfactuals have a dependent relationship with facts. The core of counterfactuals is to construct a hypothetical premise contrary to the known facts by negating them, thereby leading to different conclusions. Each counterfactual conditional sentence implicitly refers to a known fact, and its premise is typically a negation of the fact. However, due to the semantic intricacies of its premises, such as the complexity of possible world semantics, the dependency on causal inference, the implicit nature of background knowledge, non-monotonicity, and so on, such negation does not always equate to logical negation [44,45,46,13].
Logical negation is a fundamental concept in logic, referring to the negation of a proposition or statement. It is a unary operation that acts on a single proposition to produce a new proposition whose truth value is opposite to that of the original proposition [1, 45]. Therefore, we use the presence of logical negation as a criterion to differentiate counterfactual conditionals into the following two types:
-
Counterfactual conditionals with logical negation.
-
Counterfactual conditionals without logical negation.
The so-called counterfactual conditional with logical negation is relative to a factual conditional sentence. Its premise is the logical negation of the conclusion of the factual conditional sentence, and its conclusion is the logical negation of the premise of the factual conditional sentence. Aside from these, all other counterfactual conditionals are considered counterfactuals without logical negation. Based on the above classification, the counterfactuals in (1) and (2) are counterfactual conditionals with logical negation, while those in (3) and (4) are counterfactual conditionals without logical negation.
In the following discussion on counterfactuals and counterfactual reasoning, we will focus only on counterfactual with logical negation and counterfactual reasoning.
According to the definition of the logical negation [33, 34], the contradictory negation , opposite negation , and intermediary negation in the logic LCOI&PLCOI are three different types of logical negation. Therefore, within the framework of the logic LCOI&PLCOI, we propose the following three types of counterfactual conditionals based on the logical negations , and .
Let a factual conditional be : A B. The formal representations of the three types of counterfactual conditionals based on logical negations , and are as follows:
:
:
:
where, is called the ‘counterfactual conditional based on contradictory negation’, is the ‘counterfactual conditional based on opposite negation’, and is the ‘counterfactual conditional with intermediary negation’.
Three types of counterfactual conditionals based on different logical negations are commonly found in reality.
Example 1. Fact F1: For a car moving at a constant speed, if fuel is added to the car, it will accelerate. There are following counterfactuals:
(1) If the car did not accelerate, then it was not refueled.
(2) If the car decelerated, then it (had) reduced fuel.
(3) If the car neither accelerated nor decelerated (maintaining the original speed), then it neither refueled nor reduced fuel.
According to the logic LCOI&PLCOI, they can be formally represented as follows:
F1: A→B
A: the car is refueled; : the car is not refueled; : the car has been defueled; : the car neither refueled nor defueled.
B: the car accelerates; : the car does not accelerate; : the car decelerates; : the car neither accelerates nor decelerates (i.e., maintains its original speed).
Thus, the formal representations of the counterfactual conditionals (1), (2) and (3) are as follows:
(1)
(2)
(3)
Example 2. Fact F2: In the function , if is a positive even number, then is a positive integer. Thus, the following counterfactuals exist:
(4) If x is not a positive integer, then y is not a positive even number.
(5) If x is a negative integer, then y is a negative even number.
(6) If x is neither a positive integer nor a negative integer, then y is neither a positive even number nor a negative even number.
In the same way, they can be formally represented as follows:
F1: A→B
A: y is a positive even number; : y is not a positive even number; : y is a negative even number; : y is neither a positive even number nor a negative even number.
B: x is a positive integer; : x is not a positive integer; : x is a negative integer; : x is neither a positive integer nor a negative integer.
As in Example 1, the formal representations of the counterfactual conditionals (4), (5) and (6) are as follows:
(4)
(5)
(6)
5.2 Counterfactual reasoning based on three types of negation and their algorithms
Counterfactual Reasoning (CR) is a process of reasoning based on counterfactuals. According to the three types of counterfactuals based on different logical negations mentioned above, within the framework of the logic LCOI&PLCOI, we propose three types of counterfactual reasoning based on different logical negations: “CR_:: counterfactual reasoning based on contradictory negation ”, “CR_ : counterfactual reasoning based on opposite negation ”, and “CR_ : counterfactual reasoning based on intermediary negation ”.
For these three types of counterfactual reasoning based on different logical negations, we use Example 1 as an illustration. According to the counterfactuals (1), (2) and (3) in Example 1, the three types of counterfactual reasoning based on different logical negations are as follows:
-
For a car moving at a constant speed, if the car is refueled then it accelerates, and the car did not accelerate; therefore, the car was not refueled.
-
For a car moving at a constant speed, if the car is refueled then it accelerates, and the car decelerates; therefore, the car has reduced fuel.
-
For a car moving at a constant speed, if the car is refueled then it accelerates, and the car neither accelerates nor decelerates; therefore the car neither refuels nor reduces fuel.
Here, 1), 2) and 3) are , and , respectively.
They can be formally expressed as follows:
It can thus be seen that , and are respectively the same as the formal expressions (C), (O) and (I) of , and in Section 4.1.
Therefore, this indicates an important fact:
The three types of counterfactual reasoning based on contradictory negation, opposite negation and intermediary negation have the same inference form as the three types of Modus Tollens ( , and ) based on contradictory negation, opposite negation and intermediary negation, respectively. In other words, they each have the same inference structure.
The algorithmic implementation of counterfactual reasoning can employ different computational models, including the truth value model [47], causal computational model [48], possible world's model [49], and probabilistic model [50]. For the algorithms of the three counterfactual reasoning (CR_, CR_ and CR_) based on different logical negations, we adopt the truth value algorithm.
Since CR_, CR_ and CR_ each have the same inference form as , and respectively, the algorithms for , and can serve as a truth value algorithm for CR_, CR_ and CR_. These algorithms aim to solve the truth values , and of the contradictory negation , opposite negation and intermediary negation of A in the reasoning conclusions.
According to the algorithms of , and (I), (II) and (III) in Section 4.3) and the definition of the -assignment in the logic LCOI&PLCOI (Definition 2 in Section 3.2), we can solve , and as follows.
In formal logic, if a proposition is true, then its truth value is defined as 1. Therefore, we can make the following assumption:
If a statement is a fact (i.e., the proposition is true), then its truth value is 1.
Thus, for the counterfactual conditional (1), (2) and (3) in Example 1, since F1 is a fact, the truth value of is . Since represents the implication in , and , so
According to the -assignment , , i.e. . From this, according to the algorithms of , and , then
That is, there is the following truth-value equation:
(i) ;
(ii) ;
(iii) .
Therefore, regarding the truth value algorithms of three counterfactual reasoning based on contradictory negation¬, opposite negation and intermediary negation~, the truth value equations (i), (ii) and (iii) indicate that:
If the reasoning premise is true ( ), the truth values , and for the reasoning conclusions , and are identical to the truth values , and for the negations , and in the premises. This reflects the consistency and accuracy of the truth value algorithms for counterfactual reasoning based on different logical negations.
Below, we take the three counterfactual reasoning from Example 1 as a case to calculate the truth values , and of the reasoning conclusions , and according to the definition of the -assignment (Definition 2 in Section 3.2).
In the example 1, since is a fact, so . According to the -assignment , . Because of , , or satisfies .
If , then . By the [3] in the definition of , there are two situations (b) and (c) for when . For situation (b), when and , . For situation (b), when and , . By the [3] in the definition of , , so . Therefore, if , then , (), or .
In a similar way, If , then . There are two situations (a) and (d) for when . For situation (a), when and , , so . For situation (d), when and , . According to the [3] in the definition of , , so . Therefore, if , then , (), or . By the (i), (ii) and (iii), then , (), or (.
In summary, for the three counterfactual reasoning scenarios in Example 1, given the premise that F1 is a fact (i.e., ), the truth values , and of the reasoning conclusions , and :
where, is a variable parameter. The size and variation of determine the size and range of values for , and , i.e. is a “threshold” for the range of the values for these truth values. Regarding , its role and significance have been discussed in the set SCOI and the logic LCOI&PLCOI [33, 34].
Similarly, for the three types of counterfactual reasoning in Example 2, compute the truth values , and of the reasoning conclusions , and , as described above.
We believe that the three types of Modus Tollens and counterfactuals and counterfactual reasoning based on contradictory negation, opposite negation and intermediary negation proposed in this study, can be extended to fuzzy Modus Tollens, fuzzy counterfactuals and counterfactual reasoning. We will discuss this in a separate article.
6 Conclusions and future work
In Modus Tollens (MT) and the counterfactual and counterfactual reasoning, Negation is an indispensable core concept. The negation in Modus Tollens is typically expressed using the negation from classical logic. In counterfactual and counterfactual reasoning, the semantic model of negation is not based on a single form of negation logic.
Based on the logic LCOI&PLCOI with contradictory negation, opposite negation and intermediary negation, as well as the proofs for the three formal theorems (Theorems 2-4 in Section 4.1), we propose a “MTCOI: Modus Tollens based on the three kinds of negation”. The MTCOI consists of three different forms of inference: (1) : MT based on contradictory negation; (2) : MT based on opposite negation; and (3) : MT based on intermediary negation, and discusses the implications in , and , the algorithms of , and , and the reducibility of the algorithms.
To introduce the three different types of negation into counterfactuals, we use the presence of logical negation as a criterion to differentiate counterfactual conditionals into two types. We then discuss counterfactuals and counterfactual reasoning that involve logical negation. Since contradictory negation, opposite negation, and intermediary negation in the logic LCOI&PLCOI are three distinct forms of logical negation, we propose three types of counterfactuals and counterfactual reasoning based on contradictory negation, opposite negation, and intermediary negation.
Regarding the relationship between , , and the three types of counterfactual reasoning based on different logical negations in terms of their inference structure, we argue that the three counterfactuals reasoning based on different logical negations have the same inference form as , and , respectively. In other words, they share the same inference structure. As a result, the truth value algorithms for , and can be as the truth value algorithms for the three counterfactuals reasoning based on different logical negations. The algorithms indicates that if the first premise of the reasoning is true, the truth values of the reasoning conclusions are identical to the truth values of the three negative premises in the reasoning premises, respectively. This reflects the consistency and accuracy of the truth value algorithms.
For future research work, building on this paper, we will explore fuzzy counterfactuals and fuzzy counterfactual reasoning based on the three types of negation, Counterfactual Collaborative Reasoning (CCR), and causal reasoning within knowledge systems, etc.
References
[1] L. R. Horn, H. Wansing. Negation. Stanford Encyclopedia of Philosophy. Zalta, E.N. (ed.). Stanford University, 2020. http://plato.stanford.edu/entries/negation/
[2] K. Makkar et al. Improvisation in Opinion Mining Using Negation Detection and Negation Handling Techniques: A Survey. Soft Computing: Theories and Applications. Lecture Notes in Networks and Systems 627, 2023, 799–808
[3] Morante R, Blanco E. Recent advances in processing negation. Natural Language Engineering, 2021, 27(2): 121-130.
[4] SM Jiménez-Zafra, R Morante, MT Martín-Valdivia, et al. Corpora Annotated with Negation: An Overview. Computational Linguistics, 2020, 46(1): 190–244
[5] Dagli, M. M. (1998). Modus Ponens, Modus Tollens, and Likeness. In The Paideia Archive: Twentieth World Congress of Philosophy (pp. 45–52). Philosophy Documentation Center. https://doi.org/10.5840/wcp20-paideia19988179
[6] Sauerwald, K., Ismail-Tsaous, E., Ragni, M., Kern-Isberner, G., & Beierle, C. (2025). Sequential merging and construction of rankings as cognitive logic. International Journal of Approximate Reasoning, 176, 109321 https://doi.org/10.1016/j.ijar.2024.109321
[7] López-Astorga, M. (2025). Modus Tollendo Tollens with obligation conditionals: Towards a deontic inheritance logic respecting the Stoic criterion. Schole Ancient Philosophy and the Classical Tradition, 19(1), 77–94. https://doi.org/10.25205/1995-4328-2025-19-1-77-94
[8] Ri, Y.-S. (2017). MODUS PONENS AND MODUS TOLLENS: THEIR VALIDITY/INVALIDITY IN NATURAL LANGUAGE ARGUMENTS. Studies in Logic, Grammar and Rhetoric, 50(1), 253–267. https://doi.org/10.1515/slgr-2017-0028
[9] Widaman, K. F. (2023). A Note on Statistical Hypothesis Testing: Probabilifying Modus Tollens Invalidates Its Force? Not True! Educational and Psychological Measurement, 83(6), 1160–1172. https://doi.org/10.1177/00131644221145132
[10] Roese, N. J. (1997). Counterfactual thinking. Psychological bulletin, 121(1), 133
[11] Edgington, D. (2020). Counterfactual Conditionals. In The Routledge Handbook of Modality (pp. 30–39). Routledge. https://doi.org/10.4324/9781315742144-5
[12] Vorster, E. (2022). Does Counterfactual Reasoning Hold the Key to Artificial General Intelligence?. In: Pillay, A., Jembere, E., Gerber, A. (eds) Artificial Intelligence Research. SACAIR 2022. Communications in Computer and Information Science, vol 1734. Springer, Cham. https://doi.org/10.1007/978-3-031-22321-1_26
[13] Fan, D. (2023). Focused true–true counterfactuals. The Philosophical Forum, 54(3), 121–141. https://doi.org/10.1111/phil.12337
[14] Kühl, C. E. (2023). On Counterfactual Reasoning. Danish Yearbook of Philosophy, 56(2), 154–181. https://doi.org/10.1163/24689300-bja10043
[15] Chou, Y. L., Moreira, C., Bruza, P., Ouyang, C., & Jorge, J. (2022). Counterfactuals and causability in explainable artificial intelligence: Theory, algorithms, and applications. Information Fusion, 81, 59-83. https://doi.org/10.1016/j.inffus.2021.11.003
[16] Vandenburgh, J. (2022). Backtracking through interventions: An exogenous intervention model for counterfactual semantics. Mind & Language, 38(4), 981–999. https://doi.org/10.1111/mila.12447
[17] Espino, O., Orenes, I., & Moreno-Rós, S. (2022). Inferences from the negation of counterfactual and semifactual conditionals. Memory & Cognition, 50(5), 1090–1102. https://doi.org/10.3758/s13421-021-01252-4
[18] Orenes, I., Espino, O., & Byrne, R. M. (2022). Similarities and differences in understanding negative and affirmative counterfactuals and causal assertions: Evidence from eye-tracking. Quarterly Journal of Experimental Psychology, 75(4), 633-651.
[19] Gómez-Sánchez, J., Moreno-Ríos, S., & Frosch, C. (2021). Alternatives or syntactic negation? Adults' and children's preferences for constructing counterfactual possibilities. Current Psychology, 42(14), 11967–11979. https://doi.org/10.1007/s12144-021-02456-2
[20] Li, Y., Tian, J., He, H., & Jin, Y. (2024). Logical Negation Augmenting and Debiasing for Prompt-based Methods (Version 1). arXiv. https://doi.org/10.48550/ARXIV.2405.04872
[21] C Yang, F Xiao. An exponential negation of complex basic belief assignment in complex evidence theory. Information Sciences, 622 (2023): 1228–1251
[22] G Wagner. Web rules need two kinds of negation. Lecture Notes in Computer Science 2901, Springer, 2003, 33-50
[23] A. Analyti, G. Antoniou, C. V. Damasio, and G. Wagner. Negation and Negative Information in the W3C Resource Description Framework. Annals of Mathematics, Computing & Teleinformatics (AMCT), 2004, 1(2): 25–34
[24] Dimiter Vakarelov. Nelson's Negation on the Base of Weaker Versions of Intuitionistic Negation. Studia Logica, 2005 (80):
393-430
[25] Beeson, M., Veroff, R., Wos, L. Double-Negation Elimination in Some Propositional Logics. Studia Logica, 2005 (80): 195–234
[26] Dung P. M, Mancarella P. Production systems needs negation as failure. IEEE Transactions on Knowledge and Data Engineering, 2002, 14(2): 336–353
[27] K. Kaneiwa. Negations in description logic with contraries, contradictories, and subcontraries. New Generation Computing, 2007, 25(4): 443–468
[28] S. Ferré Negation, opposition, and possibility in logical concept analysis. Lecture Notes in Artificial intelligence 3874, Springer, 2006, 130–145
[29] Vinkov, M. M., & Fominykh, I. B. (2017). Stepping Theories of Active Logic with Two Kinds of Negation. Advances in Electrical and Electronic Engineering, 15(1). https://doi.org/10.15598/aeee.v15i1.1990
[30] Zhenghua Pan. Three Kinds of Negations in Fuzzy Knowledge and Applications to Decision Making in Financial Investment. Lecture Notes in Artificial Intelligence 6422, Springer, 2010, 391–401
[31] Pan, Z., Yang, L., Xu, J. Fuzzy Set with Three Kinds of Negations and Its Applications in Fuzzy Decision Making. Lecture Notes in Computer Science 7002, Springer, 2011, 533–542. https://doi.org/10.1007/978-3-642-23881-9_69
[32] Zhenghua Pan. Three Kinds of Negation of Fuzzy Knowledge and their Base of Logic. Lecture Notes in Artificial Intelligence 7996, Springer, 2013, 83–93. https://doi.org/10.1007/978-3-642-39482-9_10
[33] Zhenghua Pan, Yong Wang. Three Kinds of Negation in Knowledge and Their Mathematical Foundations. arXiv:2505.24422 https://doi.org/10.48550/arXiv.2505.24422
[34] Zhenghua Pan, Yong Wang. Different negations and fuzziness in Web resources and resource description and their mathematical foundation, Information Sciences, 689 (2025), 121254. https://doi.org/10.1016/j.ins.2024.121254
[35] Margolis, Eric and Stephen Laurence. “Concepts”, The Stanford Encyclopedia of Philosophy (Fall 2023 Edition), Edward N. Zalta & Uri Nodelman (eds.). Stanford University, 2023. https://plato.stanford.edu/archives/fall2023/entries/concepts/
[36] S. V. Ahamed. 1-Computational Framework, Editor(s): Syed V. Ahamed, Next Generation Knowledge Machines, Elsevier, 2014, 3–36.
[37] J. A. Carter. Digital Knowledge: A Philosophical Investigation. Taylor and Francis, 2023.
[38] M. Mas, M. Monserrat, J. Torrens, Modus ponens and modus tollens in discrete implications, International Journal of Approximate Reasoning, 2008, 49(2):422–435. https://doi.org/10.1016/j.ijar.2008.04.002.
[39] Bustince, H., Burillo, P. & Soria, F. (2003). Automorphisms, negations and implication operators. Fuzzy Sets & Systems, 134(2), 209–229.
[40] Aguiló I., Massanet, S., Riera, J.V., Ruiz-Aguilera, D. (2020). Modus Ponens Tollens for RU-Implications. In: Lesot, MJ., et al. Information Processing and Management of Uncertainty in Knowledge-Based Systems. IPMU 2020. Communications in Computer and Information Science, vol 1238. Springer, Cham. https://doi.org/10.1007/978-3-030-50143-3_61
[41] Mas, M., Monreal, J., Monserrat, M., Riera, J.V., Torrens Sastre, J. (2016). Modus Tollens on Fuzzy Implication Functions Derived from Uninorms. In: Calvo Sánchez, T., Torrens Sastre, J. (eds) Fuzzy Logic and Information Fusion. Studies in Fuzziness and Soft Computing, vol 339. Springer, Cham. https://doi.org/10.1007/978-3-319-30421-2_5
[42] H Kleine Brining, T Lettmann. Propositional Logic: Deduction and Algorithms. Cambridge University Press, 1999.
[43] Wang G J. On the logic foundation of fuzzy reasoning. Information Sciences, 1999, (117): 47-88
[44] Espino, O., Orenes, I., & Moreno-Rós, S. (2022). Inferences from the negation of counterfactual and semifactual conditionals. Memory & Cognition, 50(5), 1090–1102. https://doi.org/10.3758/s13421-021-01252-4
[45] De Clercq, K. (2020). Types of Negation. In The Oxford Handbook of Negation (pp. 58–74). Oxford University Press. https://doi.org/10.1093/oxfordhb/9780198830528.013.2
[46] Vandenburgh, J. (2022). Backtracking through interventions: An exogenous intervention model for counterfactual semantics. Mind & Language, 38(4), 981–999. https://doi.org/10.1111/mila.12447
[47] Claudio P. Counterfactuals and modus tollens in abductive arguments. Logic Journal of Igpl, 2013(6):962-979. DOI:10.1093/jigpal/jzt014.
[48] Pearl, J. Causality: Models, Reasoning, and Inference. Econometric Theory, 19, 2003, 675–685
[49] Pearl, J. The algorithmization of counterfactuals. Annals of Mathematics & Artificial Intelligence, 2011, 61(1):29-39. https://doi.org/10.1007/s10472-011-9247-9
[50] A. H áek, Counterfactual Reasoning, Quantitative: Philosophical Aspects, Editor(s): Neil J. Smelser, Paul B. Baltes, International Encyclopedia of the Social & Behavioral Sciences, Pergamon, 2001, 2872-2874. https://doi.org/10.1016/B0-08-043076-7/01015-9