Summary
This lesson closes the unit on deduction with two families of equivalences that all of mathematics uses: De Morgan's laws, which say how negation passes through a conjunction or a disjunction, and the distributive laws, which say how a conjunction distributes over a disjunction and a disjunction over a conjunction. Before proving them, a distinction on which they depend is made clear: two expressions that designate the same string can replace each other without further ado, because they are the same formula; two formulas that are merely equivalent, by contrast, can replace each other inside another formula only by means of the replacement of equivalents, layer by layer. With that precaution, both of De Morgan's laws, their variants (among them, the negation of an implication) and the two distributive laws are proved by deduction, each in both directions. The problems use them to obtain idempotence, absorption and associativity, simple normal forms and deductions that combine De Morgan with contraposition.
Learning objectives
- Distinguish the identity of strings, which allows an abbreviation to be replaced by its unfolding anywhere, from provable equivalence, which allows replacement inside a formula only by means of the replacement of equivalents, and chain equivalences in a deduction.
- Prove by deduction both of De Morgan's laws and their variants, including the negation of an implication, and recognize in them the role of the rule of replacement of double negation.
- Prove in both directions the distributivity of conjunction over disjunction and of disjunction over conjunction, choosing in each case the appropriate proof by cases.
- Transform formulas into simple normal forms by means of a chain of equivalences justified step by step, and obtain by deduction the laws of idempotence, absorption and associativity.
- Construct deductions with premises that combine De Morgan's laws with contraposition and with the introduction and elimination rules for the connectives.
The previous lessons of this unit built, one upon another, the tools of deduction: the system of axioms and modus ponens, the four basic techniques and the replacement of double negation, the symmetries of the connectives and the techniques of classical logic. This lesson adds no new rule; it puts them to work together. If this is so, its interest lies not so much in the statements, which may already be known from other courses, as in the way of obtaining them: each line must be justified by an axiom, a premise, a definition, one of the two primitive rules or a result already proved, and none may rest on what “seems evident”.
What is used and how it is chained
From the lesson on formal deductive systems are taken Łukasiewicz's axioms A1, A2 and A3, modus ponens (MP), also with premises, reflexivity (Refl: if , then ), monotonicity (Mon), cut (Cut: if for each and , then ), the deduction theorem (DT) and provable equivalence ( if and ), with its properties: it is reflexive, symmetric and transitive, and, if , then if and only if . From the lesson on the four deduction techniques, double negation (DN: ), contraposition (CP), in particular , and the second primitive rule of the course system, the replacement of double negation (RDN), with which the deduction theorem still holds: if results from by replacing an occurrence of a subformula by , or one of by , from one infers ; the line obtained in this way from line is justified RDN. Among its immediate consequences are , and, in general, when results from by RDN; from this it follows that RDN also applies to a line of the form , to change a double negation in . From the lesson on the symmetries of the connectives, the replacement of equivalents (Repl) and the symmetries (Sym), among them and .
From the lesson on the techniques of classical logic the following rules are taken, all with a set of premises. Disjunction introduction (I): if , then and . Disjunction elimination (E, disjunctive syllogism): if and , then . Conjunction introduction (I): if and , then . Conjunction elimination (E): if , then and . The excluded middle (EM): . And proof by cases (Cases) in its two forms: if and , then ; and if , and , then . In deductions, the first form is cited with two lines, Cases, and the second, with three, Cases, in the order of the statement: the two cases and, at the end, the disjunction. That lesson also recalls that every rule already proved holds within a context , and this is how double negation and contraposition are used here.
Names of a string and equivalent formulas
Recall, from the lesson on the language of propositional logic, that the connectives other than are abbreviations with an official and unique definition: , , , , and . A definition asserts nothing about formulas: it gives a second name to a string that already existed. From this it follows that, if two expressions designate the same string, one can be put in place of the other anywhere, also inside a larger formula, because what is written is the same sequence of circles and disks. Thus and are the same string: the second results from writing, inside the first, the unfolding of the conjunction. In deductions, this change of name is justified with “Def”, followed by the connective that is unfolded or folded.
Now, a provable equivalence is not an identity. That means that each one is deduced from the other, not that they are the same string: is much longer than . Therefore, knowing that does not by itself authorize writing in place of inside a larger formula. Nor does it authorize “negating both sides”: that yields is a theorem, the replacement of equivalents, whose proof uses contraposition, and not an evident operation. There is a single case in which the system authorizes replacement directly, at any place in a formula: that of by , or conversely, which is the rule RDN; and the lesson on deductive systems showed, with the marking, that not even that case is deduced from the axioms and modus ponens, so that it had to be postulated. This care is not pedantry; it is what distinguishes a proof from a manipulation of symbols that could, applied to other connectives or in other systems, lead to falsehoods.
Two results fix precisely what is permitted. The first is the proposition on the properties of provable equivalence from the lesson on formal deductive systems: if and , then , so that a provable equivalence can be applied to the whole formula of a line; and provable equivalence is reflexive, symmetric and transitive, so that equivalences are chained (if and , then ) and two expressions that designate the same string are, by reflexivity, provably equivalent. The second, the following lemma, gathers for convenient citation the extension of the replacement of equivalents to disjunction and conjunction, which the lesson on the symmetries proves for negation, implication and joint denial and extends to these two connectives in one of its solved problems.
If , then, for every formula , , , and .
Proof
Disjunction is, by definition, the negation of a joint denial.
The replacement of equivalents for joint denial gives the equivalence of the inner layer.
The replacement of equivalents for negation carries it to the outer layer, , which is the disjunction. In the same way, with , the replacement on the right is obtained.
Conjunction is the negation of a disjunction of negations. The replacement for negation first gives .
The part already proved for disjunction, applied to and , gives , and once again the replacement for negation carries the equivalence to the conjunction; on the right one reasons in the same way.
From now on, “Repl” designates the replacement of equivalents in any of its forms, including those of this lemma, and it can be applied several times in succession, layer by layer, to reach a subformula located at any depth. When a line is obtained from line by applying an equivalence already proved, either to the whole formula or, with Repl, to one of its parts, it is justified with the name of that equivalence and the number of the line: DN, “Repl, DM”. A change of name, which applies no equivalence but rewrites the same string, is justified in the same way, with Def followed by the connective that is unfolded or folded: Def . The proposition of the lesson on formal deductive systems guarantees that such lines are justified, whether line asserts or asserts an equivalence that is being extended.
Loading the content…
Completed
Sign in to save your progress