Lecture 42 min.
The laws of double negation make it possible to remove and introduce such a negation. They can be expressed as follows: if it is not true that not-A, then A; if A, then it is not true that not-A. For example: "If it is not true that Aristotle did not know the law of double negation, then Aristotle knew this law" and vice versa.
The law of identity is the principle of constancy, or preservation, of the referential and semantic meanings of propositions (statements) within some known or implied context (in an inference, a proof, a theory) . It is one of the laws of classical logic.

Fig. 1 The law of identity
According to the law of identity, every statement about one and the same object, at one and the same time and in one and the same respect, must be identical to itself, however many times it is reproduced. The law of identity can be expressed by the formula p→p (Fig. 1).
The simplest of all logical laws is, perhaps, the law of identity. It says: if a statement is true, then it is true, "if A, then A". For example, if the Earth rotates, then it rotates, and so on. The pure assertion of identity seems so devoid of content that it is rarely used by anyone.
The ancient Chinese philosopher Confucius taught his pupil: "What you know, consider that you know; what you do not know, consider that you do not know." This is not just a repetition of the same thing: to know something and to know that you know it are not the same.
The law of identity seems extremely simple and obvious. Yet even it has been managed to be interpreted incorrectly. It was claimed, for example, that this law asserts that things always remain unchanged, identical to themselves. This is, of course, a misunderstanding. The law says nothing about changeability or unchangeability. It asserts only that if a thing changes, then it changes, and if it remains one and the same, then it remains the same.
In the process of reasoning, every concept and proposition must be used in one and the same sense. The precondition of this is the possibility of distinguishing and identifying the objects under discussion. . A thought about an object must have a definite, stable content, however many times it is repeated. The most important property of thinking — its definiteness — is expressed by this logical law .
The law of identity was first formulated by Aristotle in the treatise "Metaphysics" as follows:
"...to have not one meaning is to have no meaning; and if words have no meanings, then all possibility of reasoning with one another is lost, and in fact with oneself as well; for it is impossible to think anything if one does not think one thing"
— Aristotle, "Metaphysics"
In formal logic the law of identity is usually expressed by the formula: is
, or
, where
stands for any thought.
Symbolic logic, when constructing propositional calculi, operates with the formulas (read as "
implies
") and
≡
(read as "
is equivalent to
"), where:
These formulas correspond to the law of identity.
In predicate logic the law of identity is expressed by the formula , that is, for every
it is true that if
has the property
, then
has that property.
Any acquaintance of ours changes with every year, yet we still distinguish him from other acquaintances and from people unknown to us (there is a possibility of distinguishing), because he retains the main features, which appear as the same throughout the whole life of our acquaintance (there is a possibility of identifying). That is, in accordance with Leibniz's law (which defines the concept of identity) we assert that our acquaintance has changed. However, in accordance with the law of identity we assert that this is one and the same person, since the definition is based on the concept of personality. The law of identity requires that to describe one and the same concept we always use one and the same expression (name). Thus we consider one object (the acquaintance) simultaneously at two different levels of abstraction. The possibility of distinguishing and identifying is determined in accordance with the law of sufficient reason. In this case our sensory perception (see recognition) serves as the sufficient reason.
By the identity of a thought with itself, formal logic understands the identity of its extension . This means that in place of the logical variable in the formula "
is
" thoughts of different specific content may be substituted, provided they have one and the same extension. In place of the first
in the formula "
is
" we can substitute the concept "an animal having a soft earlobe", and in place of the second — the concept "an animal having the ability to produce tools" (from the point of view of formal logic, both these thoughts are considered equivalent and indistinguishable, since they have one and the same extension, namely — the features reflected in these concepts pertain only to the class of human beings), and the result is the true proposition "An animal having a soft earlobe is an animal having the ability to produce tools".
In mathematical logic the law of identity is the identically true implication of a logical variable with itself .
In algebra the concept of arithmetic equality of numbers is treated as a special case of the general concept of logical identity. However, there are mathematicians who, in opposition to this view, do not identify the symbol "" found in arithmetic with the symbol of logical identity; they do not consider that equal numbers are necessarily identical, and therefore treat the concept of numerical equality as a specifically arithmetical concept. That is, they hold that the very fact of the presence or absence of a special case of logical identity must be determined within logic.[10].
When the law of identity is violated involuntarily, through ignorance, logical errors arise that are called paralogisms; but when this law is violated deliberately, with the aim of confusing an interlocutor and proving some false thought to him, errors called sophisms appear .
The following errors are possible when the law of identity is violated:
"The law of contraposition" is the general name for a group of logical laws that use negation to swap the antecedent and the consequent of a conditional statement.
The law of contraposition is a law of classical logic stating that if some premise A implies some consequence B, then the negation of that consequence (that is, "not B") implies the negation of that premise (that is, "not A").
Like any valid implicative statement, it can also serve as a rule of inference.
As a formula of the algebra of propositions, the law of contraposition has the form . The following similar formulas are also tautologies:
,
. Substituting arbitrary formulas for
also yields tautologies.
The law of contraposition is provable in the propositional calculus, but the formula is not derivable in the intuitionistic propositional calculus, where p, q are propositional variables.
One of these laws, sometimes called the law of simple contraposition, runs as follows: if the first implies the second, then the negation of the second implies the negation of the first.
For example: "If it is true that a number divisible by six is divisible by three, then it is true that a number not divisible by three is not divisible by six."
Another law of contraposition says: if it is true that if not-first, then not-second, then it is true that if second, then first.
For example: "If it is true that a manuscript that has not received a positive review is not published, then it is true that a published manuscript has a positive review." Or another example: "If there is no smoke when there is no fire, then if there is fire, there is also smoke."
Two more laws of contraposition:
• if it is the case that if A, then not-B, then if B, then not-A, for example: "If a square is not a triangle, then a triangle is not a square";
• if it is true that if not-A, then B, then if not-B, then A; for example: "If what is not obvious is doubtful, then what is not doubtful is obvious."
De Morgan's laws (De Morgan's rules) are logical rules that connect pairs of logical operations by means of logical negation. They are named after the Scottish mathematician Augustus De Morgan. In brief, they read as follows:
The negation of a conjunction is the disjunction of the negations.
The negation of a disjunction is the conjunction of the negations.
"The contradictory opposite of a disjunctive proposition is a conjunctive proposition composed of the contradictories of the parts of the disjunctive proposition (The contradictory opposite of a disjunctive proposition is a conjunctive proposition composed of the contradictories of the parts of the disjunctive proposition)" (William of Ockham, Summa Logicae).
The name of the nineteenth-century English logician A. De Morgan is attached to the logical laws that use negation to connect statements formed with the conjunctions "and" or "or". One of these laws can be expressed as follows: the negation of the statement "A and B" is equivalent to the statement "not-A or not-B".
Another law: it is false that A or B if and only if A is false and B is false. For example: "It is false that a student knows arithmetic or knows geometry if and only if he knows neither arithmetic nor geometry."
On the basis of these laws, using negation, the connective "and" can be defined in terms of "or", and vice versa:
"A and B" means "it is false that not-A or not-B",
"A or B" means "it is false that not-A and not-B".
For example: "It is raining and it is snowing" means "It is false that there is no rain or there is no snow"; "Today it is cold or damp" means "It is false that today it is not cold and not damp."
Augustus De Morgan originally noticed that the following relations hold in classical propositional logic:
not (a and b) = (not a) or (not b)
not (a or b) = (not a) and (not b)
In mathematics this looks as follows:
or, alternatively:
In set theory:
or, alternatively:
These rules are also valid for collections of elements (families):
and
.
In predicate calculus:
Corollaries:
Using De Morgan's laws, one can express a conjunction through a disjunction and three negations. A disjunction can be expressed similarly:
In the form of a theorem:
If there is a proposition expressed by the operation of logical multiplication of two or more elements, i.e. the operation "and": , then in order to find the inverse
of the whole proposition, one must find the inverse of each element and combine them with the operation of logical addition, i.e. the operation "or":
. The law works similarly in the opposite direction:
.
De Morgan's laws are used in such important fields as discrete mathematics, electrical engineering, physics and computer science; for example, they are used to optimize digital circuits by replacing some logic gates with others.

Venn diagrams illustrating De Morgan's laws

Representation of De Morgan's rules through logic gates
A "mood" (modus) in logic is a variety of some general form of reasoning. Below, four closely related moods, already known to medieval logicians, are listed.
Modus ponens ("rule of inference"): if and
are derivable formulas, then
is also derivable.
Notation: , where
are any formulas.
The rule of inference modus ponens, usually called the rule of detachment or the hypothetical syllogism, allows one to pass from the assertion of a conditional statement and the assertion of its antecedent
to the assertion of its consequent
. For example, metals conduct electric current, zinc is a metal, therefore zinc conducts current. The converse is not always true: nickel and seawater conduct current, but nickel is a metal while seawater is not. In sum, if
implies
, and
is true, then
may be either true or false.
Modus ponens is a rule of inference in the propositional calculus. It is a special case of the resolution rule.
Modus ponens, sometimes called the hypothetical syllogism, allows one to pass from the assertion of a conditional statement and the assertion of its antecedent to the assertion of the consequent of that statement:

Here the statements "if A, then B" and "A" are the premises, and the statement "B" is the conclusion.
The horizontal line stands in place of the word "therefore".
Another notation: If A, then B. A. Therefore, B.
Thanks to this mood, from the premise "if A, then B", using the premise "A", we, as it were, detach the conclusion "B". For this reason the mood is sometimes called the "rule of detachment".
For example: If a person has diabetes, he is ill. This person has diabetes. The person is ill.
Reasoning by the rule of detachment proceeds from the assertion of the antecedent of a true conditional statement to the assertion of its consequent. This logically correct movement of thought is sometimes confused with a similar but logically incorrect movement from the assertion of the consequent of a true conditional statement to the assertion of its antecedent.
For example, the following inference is correct:
But an inference that looks similar to it:
If an electrolyte were a metal, it would conduct electric current. An electrolyte conducts electric current.
An electrolyte is a metal, which is logically incorrect. By reasoning according to the latter scheme, one can arrive from true premises at a false conclusion. Against confusing the rule of detachment with this incorrect scheme of reasoning, the following advice warns: it is permissible to reason from the affirmation of the antecedent to the affirmation of the consequent, but not from the affirmation of the consequent to the affirmation of the antecedent.
Modus tollens is reasoning by contradiction (the Latin "modus tollendo tollens" means "the way that denies by denying").
Notation: .
For example, let be "a gold coin" and
be "cannot be dented by teeth" ; then modus tollens allows us, from the property "gold coins cannot be dented by teeth", to conclude that if a coin can be dented by teeth, then it is not gold.
Modus tollens is the name given to the following scheme of reasoning:

Here the statements "if A, then B" and "not B" are the premises, and the statement "not A" is the conclusion. Another notation:
If A, then B. Not-B. Therefore, not-A.
By means of this scheme, from the assertion of a conditional statement and the negation of its consequent, one passes to the negation of its antecedent. For example: "If helium is a metal, it is electrically conductive. Helium is not electrically conductive. Therefore, helium is not a metal."
The process of falsification, the establishment of the falsity of a theory or hypothesis as a result of its empirical testing, follows the modus tollens scheme. From the theory T under test, some empirical statement A is derived, i.e. the conditional statement "if T, then A" is established. By means of empirical methods of cognition (observation, measurement or experiment), the proposition A is compared with the actual state of affairs.
It turns out that A is false and the proposition not-A is true. From the premises "if T, then A" and "not-A" it follows that "not-T", i.e. the falsity of the theory T.
Modus tollens is often confused with an outwardly similar inference:

In this last inference, from the assertion of a conditional statement and the negation of its antecedent, one passes to the negation of its consequent, which is a logically incorrect step. Reasoning by such a scheme can lead from true premises to a false conclusion.
For example:
All metals are malleable, and if clay were a metal, it too would be malleable. However, clay is not a metal. But it obviously does not follow from this that clay is not malleable. Besides metals, there are other malleable substances, and clay is among them.
Against confusing modus tollens with this incorrect scheme of reasoning, the following advice warns: from the negation of the consequent of a conditional statement one may conclude to the negation of its antecedent, but from the negation of the antecedent to the negation of the consequent one may not.
In the affirming-denying mood (modus ponendo tollens) the minor premise, a categorical proposition, affirms one member of the disjunction, and the conclusion, also a categorical proposition, denies its other member. E.g.: Bonds may be bearer bonds (p) or registered bonds (q).
This bond is a bearer bond (p). This bond is not a registered bond (q).
Scheme of the affirming-denying mood:

The conclusion in this mood is always certain if the following rule is observed: the major premise must be an exclusive-disjunctive proposition, that is, a proposition of strict disjunction. If this rule is not observed, a certain conclusion cannot be obtained. Indeed, from the premises "The theft was committed by K. or L." and "The theft was committed by K." the conclusion "L. did not commit the theft" does not necessarily follow. It is possible that L. was also involved in the theft, as an accomplice of K.
The following schemes of reasoning are called the affirming-denying mood:
Either A or B: A
It is false that B
and
Either A or B: B
It is false that A
Another notation:
Either A, or B. A. Therefore, not-B.
Either A, or B. B. Therefore, not-A.
By means of these schemes, from the assertion of two mutually exclusive alternatives and the establishment of which of them holds, one passes to the denial of the second alternative: either the first or the second, but not both together; the first holds; hence the second does not. For example:
Lermontov was born either in Moscow or in Petersburg. He was born in Moscow.
It is false that Lermontov was born in Petersburg.

The connective "either... or" in the affirming-denying mood is exclusive; it means: either the first is true or the second is true, but not both together. The same reasoning with the non-exclusive "or" (the first or the second holds, but it is possible that both hold) is logically incorrect. From true premises it can lead to a false conclusion. For example:
Amundsen was at the South Pole, or Scott was. Amundsen was at the South Pole.
It is false that Scott was there.
Both premises are true: both Amundsen and Scott reached the South Pole, yet the conclusion is false. The following inference is correct:
The first at the South Pole was either Amundsen or Scott. The first at this pole was Amundsen.
It is false that Scott was the first there.

In the denying-affirming mood (modus tollendo ponens) the minor premise denies one disjunct, and the conclusion affirms the other. E.g.: Bonds may be bearer bonds (p) or registered bonds (q). This bond is not a bearer bond (⌉p). This bond is a registered bond (q).
Scheme of the denying-affirming mood:

The affirmative conclusion is obtained by means of negation: by denying one disjunct, we affirm the other.
The conclusion in this mood is always certain if the following rule is observed: the major premise must list all possible propositions, the disjuncts; in other words, the major premise must be a complete (closed) disjunctive statement.
The denying-affirming mood is a disjunctive-categorical inference: the first or the second; not the first; hence the second. The first premise is a statement with "or"; the second is a categorical statement denying one of the members of the first compound statement; the conclusion is the second member of that statement.
A or B: not A
B
or
A or B; not B
A
Another form of notation:
A or B. Not-A. Therefore, B.
A or B. Not-B. Therefore, A.
For example:
A set is finite or it is infinite. The set is not finite.
The set is infinite.
Medieval logicians called the affirming-denying mood modus ponendo tollens, and the denying-affirming mood modus tollendo ponens.
Dilemmas are arguments whose premises are at least two conditional statements (statements with "if... then") and one disjunctive statement (a statement with "or").
A dilemma is a conditional-categorical inference in which one premise consists of two or more conditional propositions, and the other is a disjunctive proposition, the disjunctive proposition containing two members.
The simple constructive dilemma consists of two premises. The first asserts that one consequent follows from two different antecedents. The second asserts that one or the other of these antecedents is true. The conclusion asserts the consequent. "If I cross by the bridge, I will be noticed. If I cross by the ford, I will be noticed. I can cross by the bridge or by the ford. I will be noticed."
The complex constructive dilemma. There are two antecedents in the first premise; the second premise asserts the truth of one or the other antecedent; the conclusion asserts the truth of one or the other consequent. "If I set off a bomb in the city, I will kill many people. If I set off a bomb in the forest, I will kill only myself. I can set off a bomb in the city or in the forest. I may kill many people or I may kill only myself." The simple destructive dilemma: the first, conditional premise indicates that two different consequents follow from one and the same antecedent, the second premise is the negation of both of these consequents, and the conclusion negates the antecedent. "If a person has tetanus, he will die in one day. After one day the person has not died. This person does not have tetanus."
The complex destructive dilemma: the first premise consists of two conditional propositions with different antecedents and different consequents, and the second premise is the negation of both consequents. "If Petrov is honest, he will do the assignment today, and if Petrov is conscientious, he will do the assignment tomorrow. But Petrov did not do the assignment today and did not do it tomorrow. Petrov is neither honest nor conscientious.
The following varieties of dilemma are distinguished.
The simple constructive (affirming) dilemma:
If A, then C.
If B, then C.
A or B.
C

Reasoning of this type is customarily called proof by cases in mathematics. However, the number of cases examined in turn in a mathematical proof usually exceeds two, so the dilemma takes the form:
If the first assumption were valid, the theorem would be true; if the second assumption were valid, the theorem would also be true; if the third assumption is correct, the theorem is true; if the fourth assumption is correct, the theorem is true; either the first, or the second, or the third, or the fourth assumption is valid.
Therefore, the theorem is true.
The complex constructive dilemma:
If A, then B. If C, then D.
A or C.
B or D.

For example: "If it rains, we will go to the cinema; if it is cold, we will go to the theater; it will rain or it will be cold; therefore, we will go to the cinema or go to the theater."
The simple destructive (denying) dilemma:
If A, then B. If A, then C.
It is false that B or it is false that C. It is false that A.

For example: "If a number is divisible by 6, then it is divisible by 3; if a number is divisible by 6, then it is divisible by 2; the number under consideration is not divisible by 2 or not divisible by 3; therefore, the number is not divisible by 6."
The complex destructive dilemma:
If A, then B. If C, then D. Not-B or not-D. Not-A or not-C.

For example: "If I travel north, I will end up in Tver; if I travel south, I will end up in Tula; but I will not be in Tver or I will not be in Tula; therefore, I will not travel north or I will not travel south."
This law can be stated as follows: if a statement follows from its own negation, then it is true. Or, more briefly: a statement that follows from its own negation is true.

If it is false that A, then A.
A.
For example: if the condition for a machine not to work is its working, then the machine works.
The law is named after Clavius, a Jesuit scholar of the sixteenth century, one of the creators of the Gregorian calendar. Clavius drew attention to this law in his commentary on Euclid's Elements. Euclid proved one of his theorems from the assumption that it is false.
Clavius's law underlies a recommendation concerning proof: if you want to prove A, derive A from the assumption that not-A is true. For example, suppose we need to prove the statement "A trapezoid has four sides." The negation of this statement is: "It is false that a trapezoid has four sides." If we manage to derive the statement from this negation, the statement is true.
In I. S. Turgenev's novel "Rudin" there is the following dialogue:
— So, in your opinion, there are no convictions?
— No, and there are none.
— Is that your conviction? — Yes.
— How can you say there are none? Here is one for you already, to start with.
The erroneous opinion that there are no convictions is opposed by its negation: there is at least one conviction, namely the conviction that there are no convictions. It follows that convictions exist.
Another law that fits the same general scheme is close in logical structure to Clavius's law: if a statement's negation follows from the statement itself, then the negation is true. For example, if the condition for a train to arrive on time is its being late, then the train will be late.
The scheme of this reasoning:
If A, then not-A.
Not-A.

This scheme was once used by the ancient Greek philosopher Democritus in a dispute with the sophist Protagoras. The latter asserted:
"Everything that occurs to anyone is true."
To this Democritus replied that from the thesis
"Every statement is true" the truth of its negation also follows: "Not all statements are true."
And so it is this negation, not Protagoras's thesis, that is actually true.
1. Relying on the law of identity, determine in which case the identity of the propositions is preserved if the highlighted concept is replaced with another: The criminal, fleeing pursuit, turned into a deserted alley.
2. The law of contradiction is violated in the following statement:
The law of contradiction states: two statements that stand in the relation of negation cannot both be true at the same time; at least one of them is false. For the law of contradiction to apply, one must reason about one and the same object, at the same time, and in the same respect. The law of contradiction can be expressed by the formula ¬(p∧¬p) (fig. 2)

Fig. 2 The law of non-contradiction
3. In this humorous quatrain
We were walking down Neglinnaya,
We stopped by the boulevard,
They bought us a blue-blue,
Green-ish, red balloon.
(S.V. Mikhalkov)
the following law is deliberately violated
4. Two contrary propositions about two different objects
5. Two contradictory propositions about one object must be
6. Relying on the law of non-contradiction and the law of excluded middle, determine which of the pairs of propositions can be false at the same time.
The law of excluded middle: two mutually contradictory statements cannot be both true or both false at the same time; one of them is true and the other is false, and there is no third possibility. The law of excluded middle is written as a formula as follows: p ∨ ¬p (Fig. 3).

Fig. 3 The law of excluded middle
7. Indicate which of the formal laws of logic is violated in the following reasoning: "This person is not sick, because he does not have a fever."
1. Determine which of the following sentences are statements:
2. Determine the type of simple statement by the nature of the predicate.
3. Write the statements in correct logical form and identify the subject and predicate.
4. Determine the type of attributive statement by quality and quantity, and identify the subject, predicate, copula and quantifier word.
5. Determine the type of attributive statement by the combined classification, identify the subject and predicate, depict the relations
between the terms by means of circle diagrams, and establish the distribution of the terms in the statement.
6. Come up with your own examples of universal affirmative, particular affirmative, universal negative and particular negative statements.
7. Compose statements with the given subject and predicate in accordance with the following conditions of distribution of terms:
a) S- P+; b) S+ P+; c) S- P-; d) S+ P-, and say which of the resulting statements are true and which are false:
8. What logical connectives are expressed by the following grammatical conjunctions:
9. Translate the compound statements into the language of logic.
10. Formalize the following reasoning.
11. Construct truth tables for the following formulas and determine the type of each formula (tautology, contradiction, contingent):






12. Transform the following simple statements with external negation into statements without external negation.
13. Statements are given. Relying on the logical square, derive the subaltern, subcontrary and contradictory statements of the original one.
Determine the truth values of the derived statements, if by hypothesis the original statement is true.
14. A pair of statements is given.
Answer the following questions:
15. Check the correctness of the reasoning based on the "logical square", indicate in which examples errors have been made and
what they consist in.
16. Are the following pairs of statements equivalent (if not, establish the type of relation between their logical forms)?
17. Find, among the listed compound statements, the contradictory and the equivalent ones.
18. Using truth tables, determine whether the following inferences correspond to laws of logic:
19. Which of the basic laws of thought is violated?
20. Jokes are based on violations of the basic laws of logic.
For example:
Students are deciding what to do on the eve of an exam. They decide to toss a coin.
The requirements of which law are violated in this joke? If you can, give your own examples
Purely conditional inference
Comments