Skip to content
Topos Uranos

Summary

This lesson closes the unit devoted to deduction. It rebuilds the deductive chain that runs from the definition of Łukasiewicz's system (three axiom schemas and modus ponens) to the deduction theorem and to the limit of that system in the language of joint denial; from there to the four basic techniques and to the rule of replacement of double negation, which completes the course system; from the fundamental lemma of joint denial to the replacement of equivalents and to the symmetries, and from there to the rules of classical logic and to De Morgan's laws and the distributive laws, pointing out at each link which results it uses and in which lesson it is proved. It distinguishes what the unit proved from what it accepted, places what has been achieved within the plan of the course and explains why the question that the unit leaves open, that of knowing whether what is derivable coincides with what is true, leads to the unit on semantics. It repeats in its exit assessment the skills of the entry assessment, and it ends with six challenges, harder than the problems of the lessons, which require combining the tools of several of them.

Learning objectives

  1. Rebuild the logical order of the results of the unit, identifying the earlier results on which each one rests and the lesson in which it is proved.
  2. Explain how the deduction theorem, double negation, the rule of replacement of double negation, contraposition, the fundamental lemma and the replacement of equivalents are linked, and why the classical rules, De Morgan's laws and the distributive laws depend on them.
  3. Distinguish what the unit proved from what it accepted (the axiom schemas, the two primitive rules, strong and structural induction and unique readability) and from what it left for the following units, in particular the relation between deduction and truth.
  4. Solve problems that combine markings, the rule of replacement of double negation, the deduction theorem, proof by cases, reductio ad absurdum, the replacement of equivalents, De Morgan's laws and the distributive laws.

What the unit achieved

The unit set out to provide the language of the previous unit with a deductive system, that is, with a purely syntactic way of obtaining formulas from others, and to prove with that system, line by line, the techniques with which mathematics reasons. The purpose has been fulfilled with a few reservations, each one declared in its place: the three axiom schemas and the two primitive rules, which are not proved but chosen, and whose right choice is a question that the unit raises without fully answering it; strong and structural induction, unique readability and definition by recursion, which were proved in the previous unit and are used here; and the indispensable minimum of set theory (subsets, unions and finite sets), which was recalled where it was needed. With those reservations, the path travelled can be read as a single deductive chain in four segments.

Łukasiewicz's system and its limit

The lesson on formal deductive systems defined a system as a language, some axioms and some rules, all of them checkable by looking only at the strings, and fixed the first stage of the course system, Łukasiewicz's system: the schemas A1, A2 and A3 and modus ponens as the only rule, which unique readability makes applicable without ambiguity. It defined deduction from a set Γ\Gamma of premises and the relation Γ⊢φ\Gamma \vdash \varphi, deduced ⊢(φ→φ)\vdash (\varphi \rightarrow \varphi) in five lines and proved the structural properties: reflexivity, monotonicity, modus ponens between deductions, cut and finiteness. With them and with strong induction on the number of lines it proved the deduction theorem, whose second case requires having deduced (φ→φ)(\varphi \rightarrow \varphi) beforehand, and its converse; from them it obtained provable equivalence, which is reflexive, symmetric and transitive. Finally, it established the limit of that system: a marking with values 00 and 11, defined by recursion on the primitive form (α↓β)(\alpha \downarrow \beta), treats negation and implication as usual, is preserved by A1, A2, A3 and modus ponens, and leaves free the value of formulas such as (v1↓v2)(v_{1} \downarrow v_{2}). It follows that ((v1↓v2)→¬v1)((v_{1} \downarrow v_{2}) \rightarrow \neg v_{1}) is not a theorem of Łukasiewicz's system, and that from (v1↓v2)(v_{1} \downarrow v_{2}) one does not deduce (¬¬v1↓v2)(\neg\neg v_{1} \downarrow v_{2}), nor conversely. Since every marking gives the same value to θ\theta and to ¬¬θ\neg\neg\theta, the lesson also warned that not even double negation, once proved, would remedy that limit.

The four techniques and the new rule

The lesson on the four deduction techniques first proved the lemma “from result to rule”: if {α1,…,αn}⊢β\{\alpha_{1}, \ldots, \alpha_{n}\} \vdash \beta, the same conclusion is obtained from any Γ\Gamma that deduces each αi\alpha_{i}, and moreover ⊢(α1→(α2→⋯(αn→β)⋯ ))\vdash (\alpha_{1} \rightarrow (\alpha_{2} \rightarrow \cdots (\alpha_{n} \rightarrow \beta) \cdots)). That lemma is what allows each technique to be used in three presentations (from premises, as a theorem and as a rule), and the lessons on the symmetries and on De Morgan, which put together chains of equivalences with cut, rest for this on the properties of provable equivalence from the first lesson, which are the same idea applied to a single premise; in the chain each result appears only once, where it is proved. With it, the lesson deduced hypothetical syllogism from A1 and A2 in seven lines, interchange of premises with the deduction theorem, double negation (whose first direction applies A3 twice to an implication manufactured with A1, and whose second applies the first to ¬φ\neg\varphi and A3) and contraposition in its three forms, which distribute in three ways the negations of an implication; all four already hold in Łukasiewicz's system.

Once double negation had been proved, the lesson completed the course system with a second primitive rule, replacement of double negation (RDN): from χ\chi one infers χ′\chi' when χ′\chi' results from replacing in χ\chi an occurrence of a subformula θ\theta by ¬¬θ\neg\neg\theta, or one of ¬¬θ\neg\neg\theta by θ\theta. The rule must be postulated, because the marking m1m_{1} gives 11 to the theorems of double negation and yet separates (v1↓v2)(v_{1} \downarrow v_{2}) from (¬¬v1↓v2)(\neg\neg v_{1} \downarrow v_{2}); RDN does not preserve m1m_{1}, and that is why it enlarges what is derivable, but it preserves the honest marking, and that is why it does not enlarge it too much. The rule acts on the string of the base language, where a negation duplicates its argument: (φ→ψ)(\varphi \rightarrow \psi) contains the subformula ¬φ\neg\varphi twice, and putting a double negation before its antecedent requires two applications. That same observation supports the extension of the deduction theorem: if a line is obtained by the rule, the induction hypothesis gives the implication whose consequent is the previous line, and two applications of the rule, one in each copy of that consequent, give the required implication; the other structural properties hold with the same proof. The first consequences are that a formula is equivalent to every formula that results from it by the rule, in particular (φ↓ψ)⊣⊢(¬¬φ↓ψ)(\varphi \downarrow \psi) \dashv\vdash (\neg\neg\varphi \downarrow \psi) and (φ↓ψ)⊣⊢(φ↓¬¬ψ)(\varphi \downarrow \psi) \dashv\vdash (\varphi \downarrow \neg\neg\psi), and that the corresponding implications, which other systems take as axioms, are theorems here.

Connectives and replacement

The lesson on the symmetries of the connectives faced the difficulty peculiar to the language of circles and disks: Łukasiewicz's axioms speak only of negations and implications, and almost no joint denial is one or the other. The fundamental lemma, (φ↓ψ)⊣⊢¬(¬φ→ψ)(\varphi \downarrow \psi) \dashv\vdash \neg(\neg\varphi \rightarrow \psi), builds the bridge: since ¬(¬φ→ψ)\neg(\neg\varphi \rightarrow \psi) is ¬¬(¬¬φ↓ψ)\neg\neg(\neg\neg\varphi \downarrow \psi), the rule RDN puts in the inner double negation and double negation, the outer one; in the reverse direction, double negation and the rule remove them. With it, the replacement of equivalents, proved first under negation and on both sides of implication with contraposition and hypothetical syllogism, was extended to both arguments of joint denial and, from there, to disjunction and conjunction. The rule and the replacement do not make each other superfluous: the rule only interchanges θ\theta and ¬¬θ\neg\neg\theta, whereas the replacement admits any equivalents; and the replacement, proved with the fundamental lemma, rests in turn on the rule. The lesson then proved that the forms that other texts take as definitions are equivalences: (φ∨ψ)⊣⊢(¬φ→ψ)(\varphi \vee \psi) \dashv\vdash (\neg\varphi \rightarrow \psi), which requires two applications of the rule, one in each copy that the outer negation creates, and (φ∧ψ)⊣⊢(¬φ↓¬ψ)(\varphi \wedge \psi) \dashv\vdash (\neg\varphi \downarrow \neg\psi), which requires double negation; on the other hand, (φ∧ψ)(\varphi \wedge \psi) and ¬(φ→¬ψ)\neg(\varphi \rightarrow \neg\psi) are the same string. Finally, it proved the five symmetries in the order imposed by the definitions: that of joint denial with the fundamental lemma and contraposition, and each of the others with the previous one, carried with the replacement under negation when needed.

The classical rules and the laws

The lesson on the techniques of classical logic proved, all of them with a set Γ\Gamma of premises carried from line to line, the introduction and elimination of disjunction and of conjunction, the excluded middle and non-contradiction, explosion, reductio ad absurdum in its two forms and proof by cases, with a formula and its negation and with an arbitrary disjunction. The order of dependencies is strict: explosion rests on the rules of disjunction; classical reductio ad absurdum, on explosion and on A3; proof by cases, on contraposition and on reductio ad absurdum. None of those proofs invokes the rule RDN directly: the rule acts through the equivalent forms and the replacement of equivalents. The lesson on De Morgan’s laws and the distributive laws put these rules to work together: the first De Morgan law results from the definition of conjunction and from double negation; the second requires entering joint denial, where the rule RDN intervenes twice, once in each argument and with no need for symmetry, and from it it follows that (φ↓ψ)(\varphi \downarrow \psi) is equivalent to (¬φ∧¬ψ)(\neg\varphi \wedge \neg\psi), the reading “neither φ\varphi nor ψ\psi” that the previous unit had stipulated; the variants include ¬(φ→ψ)⊣⊢(φ∧¬ψ)\neg(\varphi \rightarrow \psi) \dashv\vdash (\varphi \wedge \neg\psi). The two distributive laws were proved in both directions by cases, choosing in each the form of proof by cases that suits it.

The following figure gathers the four segments into a single chain. Each node of the column is a definition or a result, numbered according to the logical order and joined by an arc to the earlier links that its proof uses; around them float the supports, that is, the principles and tools to which the chain turns again and again, each joined by a solid line to the links that rest on it and by a dotted one to the link where it is established, except those that this chain does not prove (the axiom schemas, which are accepted, and the tools of the previous unit), which are drawn as rings. The rule of replacement of double negation, although it too is accepted without proof, appears joined to the link that introduces it, because that is where it is explained why it must be postulated. Clicking a support highlights all the links that use it, and each link refers to the lesson in which it is proved. Note that the deduction theorem and double negation are, after the axioms, the most visited supports of the unit, and that the new rule supports everything the unit says about joint denial: the extended deduction theorem, the fundamental lemma, the equivalent forms and the second De Morgan law.

Supports of the chain

  • AUnique readability and recursion. If ∙φψ=∙φ′ψ′\sigI\varphi\psi = \sigI\varphi'\psi', with all four strings formulas, then φ=φ′\varphi = \varphi' and ψ=ψ′\psi = \psi'; whence a rule that computes the value of ∙φψ\sigI\varphi\psi from φ\varphi, from ψ\psi and from their values defines a single function on formulas. It was proved in the previous unit. Admitted without proof in this unit.
  • BStrong induction. If a property holds for a natural number whenever it holds for all smaller ones, it holds for all natural numbers. It was deduced from simple induction in the previous unit, and here it is applied to the number of lines of a deduction. Admitted without proof in this unit.
  • CŁukasiewicz's axioms. The schemas A1, (φ→(ψ→φ))(\varphi \rightarrow (\psi \rightarrow \varphi)); A2, ((φ→(ψ→χ))→((φ→ψ)→(φ→χ)))((\varphi \rightarrow (\psi \rightarrow \chi)) \rightarrow ((\varphi \rightarrow \psi) \rightarrow (\varphi \rightarrow \chi))); and A3, ((¬ψ→¬φ)→(φ→ψ))((\neg\psi \rightarrow \neg\varphi) \rightarrow (\varphi \rightarrow \psi)). They are accepted. Admitted without proof in this unit.
  • DReplacement of double negation. Second primitive rule of the course system: from χ\chi one infers χ′\chi' if χ′\chi' results from χ\chi by replacing an occurrence of a subformula θ\theta by ¬¬θ\neg\neg\theta, or one of ¬¬θ\neg\neg\theta by θ\theta. It is postulated after double negation has been proved. Established in: 8. Replacement of double negation.
  • EDeduction theorem. Γ∪{φ}⊢ψ\Gamma \cup \{\varphi\} \vdash \psi if and only if Γ⊢(φ→ψ)\Gamma \vdash (\varphi \rightarrow \psi); it is proved in Łukasiewicz's system and holds, with one more case, in the course system. Established in: 3. Deduction theorem and provable equivalence.
  • FFrom result to rule. If {α1,…,αn}⊢β\{\alpha_{1}, \ldots, \alpha_{n}\} \vdash \beta and Γ⊢αi\Gamma \vdash \alpha_{i} for each ii, then Γ⊢β\Gamma \vdash \beta: every technique proved from premises applies under any set of premises. Established in: 5. From result to rule.
  • GDouble negation. φ⊣⊢¬¬φ\varphi \dashv\vdash \neg\neg\varphi, with the theorems ⊢(¬¬φ→φ)\vdash (\neg\neg\varphi \rightarrow \varphi) and ⊢(φ→¬¬φ)\vdash (\varphi \rightarrow \neg\neg\varphi). Established in: 7. Double negation.
  • HReplacement of equivalents. If φ⊣⊢φ′\varphi \dashv\vdash \varphi', φ′\varphi' may be put in place of φ\varphi under a negation, on either side of an implication, of a joint denial, of a disjunction and of a conjunction, without altering the equivalence. Established in: 12. Replacement of equivalents.
  1. Segment 1 Łukasiewicz's system and its limit

    • Recognize the instances of the schemas and decide whether a sequence of formulas is a deduction from a set of premises.
    • Prove the structural properties of deduction and the deduction theorem by strong induction on the number of lines.
    • Build deductions about deductions with reflexivity, monotonicity, cut, the deduction theorem and its converse.
    • Prove that a formula is not deduced by means of a marking that the axioms and modus ponens preserve, and explain with it the limit of Łukasiewicz's system.
    1. System, deduction and identity. The axioms of Łukasiewicz's system are the uniform instances of A1 to A3, and its only rule is modus ponens. Γ⊢φ\Gamma \vdash \varphi if there is a finite sequence of formulas ending in φ\varphi, each of which is an axiom, an element of Γ\Gamma or obtained by modus ponens from two earlier ones. The first theorem, ⊢(φ→φ)\vdash (\varphi \rightarrow \varphi), is deduced in five lines with A1 and A2.

      Rests on: A (Unique readability and recursion), C (Łukasiewicz's axioms). Proved in: Formal deductive systems.

    2. Structural properties. If φ∈Γ\varphi \in \Gamma, Γ⊢φ\Gamma \vdash \varphi; if Γ⊆Δ\Gamma \subseteq \Delta and Γ⊢φ\Gamma \vdash \varphi, Δ⊢φ\Delta \vdash \varphi; from Γ⊢φ\Gamma \vdash \varphi and Γ⊢(φ→ψ)\Gamma \vdash (\varphi \rightarrow \psi) follows Γ⊢ψ\Gamma \vdash \psi; if Γ⊢φi\Gamma \vdash \varphi_{i} for each ii and Γ∪{φ1,…,φr}⊢ψ\Gamma \cup \{\varphi_{1}, \ldots, \varphi_{r}\} \vdash \psi, Γ⊢ψ\Gamma \vdash \psi; and if Γ⊢φ\Gamma \vdash \varphi, some finite subset of Γ\Gamma suffices.

      Uses: 1. System, deduction and identity. Proved in: Formal deductive systems.

    3. Deduction theorem and provable equivalence. Γ∪{φ}⊢ψ\Gamma \cup \{\varphi\} \vdash \psi if and only if Γ⊢(φ→ψ)\Gamma \vdash (\varphi \rightarrow \psi), by strong induction on the number of lines, with A1, A2 and identity. From it, provable equivalence, φ⊣⊢ψ\varphi \dashv\vdash \psi, is reflexive, symmetric and transitive, and two equivalent formulas are deduced from the same sets.

      Uses: 1. System, deduction and identity, 2. Structural properties. Rests on: B (Strong induction), C (Łukasiewicz's axioms). Proved in: Formal deductive systems.

    4. Limit of Łukasiewicz's system. A marking with values 00 and 11 defined by recursion satisfies m(¬φ)=1−m(φ)m(\neg\varphi) = 1 - m(\varphi) and m((φ→ψ))=1−m(φ)(1−m(ψ))m((\varphi \rightarrow \psi)) = 1 - m(\varphi) \left( 1 - m(\psi) \right), and A1, A2, A3 and modus ponens preserve marking 11; whence ((v1↓v2)→¬v1)((v_{1} \downarrow v_{2}) \rightarrow \neg v_{1}) is not a theorem of Łukasiewicz's system, and {(v1↓v2)}⊬(¬¬v1↓v2)\{(v_{1} \downarrow v_{2})\} \nvdash (\neg\neg v_{1} \downarrow v_{2}), nor conversely. Since every marking gives 11 to double negation, the replacement must be postulated.

      Uses: 1. System, deduction and identity. Rests on: A (Unique readability and recursion), B (Strong induction), C (Łukasiewicz's axioms). Proved in: Formal deductive systems.

  2. Segment 2 The four techniques and the new rule

    • Turn a result from premises into a theorem and into a rule applicable under any set of premises.
    • Chain implications, reorder antecedents, put in and remove double negations and choose the form of contraposition that corresponds to each implication.
    • Apply the rule of replacement of double negation, locating the occurrences that the abbreviations hide and repeating it in each copy that a negation creates.
    • Explain with the marking why the rule is postulated, and prove that the deduction theorem holds with it.
    1. From result to rule. If {α1,…,αn}⊢β\{\alpha_{1}, \ldots, \alpha_{n}\} \vdash \beta, then from Γ⊢α1\Gamma \vdash \alpha_{1}, …\ldots, Γ⊢αn\Gamma \vdash \alpha_{n} follows Γ⊢β\Gamma \vdash \beta, and ⊢(α1→(α2→⋯(αn→β)⋯ ))\vdash (\alpha_{1} \rightarrow (\alpha_{2} \rightarrow \cdots (\alpha_{n} \rightarrow \beta) \cdots)); in particular, if α⊣⊢α′\alpha \dashv\vdash \alpha', Γ⊢α\Gamma \vdash \alpha if and only if Γ⊢α′\Gamma \vdash \alpha'.

      Uses: 2. Structural properties. Rests on: E (Deduction theorem). Proved in: Four deduction techniques.

    2. Hypothetical syllogism and interchange. {(φ→ψ),(ψ→χ)}⊢(φ→χ)\{(\varphi \rightarrow \psi), (\psi \rightarrow \chi)\} \vdash (\varphi \rightarrow \chi), with a deduction of seven lines from A1 and A2; and {(φ→(ψ→χ))}⊢(ψ→(φ→χ))\{(\varphi \rightarrow (\psi \rightarrow \chi))\} \vdash (\psi \rightarrow (\varphi \rightarrow \chi)).

      Uses: 1. System, deduction and identity. Rests on: C (Łukasiewicz's axioms), E (Deduction theorem), F (From result to rule). Proved in: Four deduction techniques.

    3. Double negation. ⊢(¬¬φ→φ)\vdash (\neg\neg\varphi \rightarrow \varphi), applying A3 twice to an implication that A1 manufactures from ¬¬φ\neg\neg\varphi; ⊢(φ→¬¬φ)\vdash (\varphi \rightarrow \neg\neg\varphi), applying the former to ¬φ\neg\varphi and A3; whence φ⊣⊢¬¬φ\varphi \dashv\vdash \neg\neg\varphi, already in Łukasiewicz's system.

      Rests on: C (Łukasiewicz's axioms), E (Deduction theorem). Proved in: Four deduction techniques.

    4. Replacement of double negation. The rule RDN is postulated, because the marking gives 11 to double negation and not to replacement inside a joint denial. If χ′\chi' results from χ\chi by the rule, χ⊣⊢χ′\chi \dashv\vdash \chi'; in particular, (φ↓ψ)⊣⊢(¬¬φ↓ψ)(\varphi \downarrow \psi) \dashv\vdash (\neg\neg\varphi \downarrow \psi) and (φ↓ψ)⊣⊢(φ↓¬¬ψ)(\varphi \downarrow \psi) \dashv\vdash (\varphi \downarrow \neg\neg\psi).

      Uses: 3. Deduction theorem and provable equivalence, 4. Limit of Łukasiewicz's system. Rests on: G (Double negation). Proved in: Four deduction techniques.

    5. Deduction theorem in the course system. Reflexivity, monotonicity, cut and finiteness hold with the new rule, and so does Γ∪{φ}⊢ψ\Gamma \cup \{\varphi\} \vdash \psi if and only if Γ⊢(φ→ψ)\Gamma \vdash (\varphi \rightarrow \psi): in the new case, since (φ→χ)(\varphi \rightarrow \chi) is ((¬φ↓χ)↓(¬φ↓χ))((\neg\varphi \downarrow \chi) \downarrow (\neg\varphi \downarrow \chi)), the rule is applied twice, once in each copy of χ\chi. From it, ⊢((φ↓ψ)→(¬¬φ↓ψ))\vdash ((\varphi \downarrow \psi) \rightarrow (\neg\neg\varphi \downarrow \psi)) and its converse are theorems.

      Uses: 2. Structural properties, 3. Deduction theorem and provable equivalence. Rests on: B (Strong induction), D (Replacement of double negation). Proved in: Four deduction techniques.

    6. Contraposition. (φ→ψ)⊣⊢(¬ψ→¬φ)(\varphi \rightarrow \psi) \dashv\vdash (\neg\psi \rightarrow \neg\varphi), (¬φ→ψ)⊣⊢(¬ψ→φ)(\neg\varphi \rightarrow \psi) \dashv\vdash (\neg\psi \rightarrow \varphi) and (φ→¬ψ)⊣⊢(ψ→¬φ)(\varphi \rightarrow \neg\psi) \dashv\vdash (\psi \rightarrow \neg\varphi): the members change sides, and each one changes sign on crossing over.

      Uses: 6. Hypothetical syllogism and interchange. Rests on: C (Łukasiewicz's axioms), E (Deduction theorem), G (Double negation), F (From result to rule). Proved in: Four deduction techniques.

  3. Segment 3 Connectives and replacement

    • Unfold the abbreviations to decide whether two expressions designate the same string or formulas whose equivalence requires a deduction.
    • Translate joint denial into negation and implication with the fundamental lemma.
    • Carry an equivalence into the interior of a formula with the replacement of equivalents, distinguish it from the rule of replacement of double negation and chain equivalences.
    • Prove the five symmetries in the order imposed by the definitions.
    1. Fundamental lemma. (φ↓ψ)⊣⊢¬(¬φ→ψ)(\varphi \downarrow \psi) \dashv\vdash \neg(\neg\varphi \rightarrow \psi): since ¬(¬φ→ψ)\neg(\neg\varphi \rightarrow \psi) is ¬¬(¬¬φ↓ψ)\neg\neg(\neg\neg\varphi \downarrow \psi), the rule RDN puts in the inner double negation and double negation, the outer one; in the reverse direction, double negation and the rule remove them.

      Rests on: D (Replacement of double negation), G (Double negation). Proved in: The symmetries of the connectives.

    2. Replacement of equivalents. If φ⊣⊢φ′\varphi \dashv\vdash \varphi', then ¬φ⊣⊢¬φ′\neg\varphi \dashv\vdash \neg\varphi', (φ→ψ)⊣⊢(φ′→ψ)(\varphi \rightarrow \psi) \dashv\vdash (\varphi' \rightarrow \psi) and (ψ→φ)⊣⊢(ψ→φ′)(\psi \rightarrow \varphi) \dashv\vdash (\psi \rightarrow \varphi'); with the fundamental lemma, the same on both sides of joint denial, and from there, of disjunction and of conjunction. Unlike the rule RDN, it admits any equivalents.

      Uses: 6. Hypothetical syllogism and interchange, 10. Contraposition, 11. Fundamental lemma. Rests on: E (Deduction theorem). Proved in: The symmetries of the connectives.

    3. Equivalent forms. (φ∨ψ)⊣⊢(¬φ→ψ)(\varphi \vee \psi) \dashv\vdash (\neg\varphi \rightarrow \psi), with two applications of the rule RDN, one in each copy that the outer negation creates; (φ∧ψ)⊣⊢(¬φ↓¬ψ)(\varphi \wedge \psi) \dashv\vdash (\neg\varphi \downarrow \neg\psi), by double negation; and (φ∧ψ)(\varphi \wedge \psi) is the same string as ¬(φ→¬ψ)\neg(\varphi \rightarrow \neg\psi).

      Rests on: D (Replacement of double negation), G (Double negation). Proved in: The symmetries of the connectives.

    4. The five symmetries. (φ↓ψ)⊣⊢(ψ↓φ)(\varphi \downarrow \psi) \dashv\vdash (\psi \downarrow \varphi), by the fundamental lemma and contraposition; from it, successively, the symmetries of ∨\vee, ∧\wedge, ↔\leftrightarrow and ⊻\veebar, each one with the previous one, carried with the replacement under negation when needed.

      Uses: 11. Fundamental lemma, 10. Contraposition. Rests on: H (Replacement of equivalents). Proved in: The symmetries of the connectives.

  4. Segment 4 The classical rules and the laws

    • Prove with premises the introduction and elimination of disjunction and of conjunction, the excluded middle and non-contradiction.
    • Prove explosion, reductio ad absurdum and proof by cases with premises, and explain why they do not suffice without them.
    • Prove by deduction De Morgan's laws, their variants and the distributive laws in both directions.
    • Transform formulas into simple normal forms by means of chains of justified equivalences.
    1. Rules of the connectives. With any Γ\Gamma: from φ\varphi follows (φ∨ψ)(\varphi \vee \psi); from (φ∨ψ)(\varphi \vee \psi) and ¬φ\neg\varphi, ψ\psi; from φ\varphi and ψ\psi, (φ∧ψ)(\varphi \wedge \psi); from (φ∧ψ)(\varphi \wedge \psi), φ\varphi and ψ\psi; moreover, ⊢(φ∨¬φ)\vdash (\varphi \vee \neg\varphi) and ⊢¬(φ∧¬φ)\vdash \neg(\varphi \wedge \neg\varphi).

      Uses: 1. System, deduction and identity, 2. Structural properties, 6. Hypothetical syllogism and interchange, 10. Contraposition, 13. Equivalent forms, 14. The five symmetries. Rests on: C (Łukasiewicz's axioms), E (Deduction theorem), F (From result to rule), G (Double negation). Proved in: The techniques of classical logic.

    2. Explosion and reductio ad absurdum. If Γ⊢φ\Gamma \vdash \varphi and Γ⊢¬φ\Gamma \vdash \neg\varphi, then Γ⊢ψ\Gamma \vdash \psi for every ψ\psi; if Γ∪{¬φ}\Gamma \cup \{\neg\varphi\} deduces ψ\psi and ¬ψ\neg\psi, then Γ⊢φ\Gamma \vdash \varphi; and if Γ∪{φ}\Gamma \cup \{\varphi\} deduces them, Γ⊢¬φ\Gamma \vdash \neg\varphi.

      Uses: 1. System, deduction and identity, 2. Structural properties, 15. Rules of the connectives. Rests on: C (Łukasiewicz's axioms), E (Deduction theorem), G (Double negation). Proved in: The techniques of classical logic.

    3. Proof by cases. If Γ∪{φ}⊢ψ\Gamma \cup \{\varphi\} \vdash \psi and Γ∪{¬φ}⊢ψ\Gamma \cup \{\neg\varphi\} \vdash \psi, then Γ⊢ψ\Gamma \vdash \psi; and if Γ∪{φ}⊢χ\Gamma \cup \{\varphi\} \vdash \chi, Γ∪{ψ}⊢χ\Gamma \cup \{\psi\} \vdash \chi and Γ⊢(φ∨ψ)\Gamma \vdash (\varphi \vee \psi), then Γ⊢χ\Gamma \vdash \chi.

      Uses: 2. Structural properties, 10. Contraposition, 15. Rules of the connectives, 16. Explosion and reductio ad absurdum. Rests on: E (Deduction theorem). Proved in: The techniques of classical logic.

    4. De Morgan's laws. ¬(φ∧ψ)⊣⊢(¬φ∨¬ψ)\neg(\varphi \wedge \psi) \dashv\vdash (\neg\varphi \vee \neg\psi), by the definition and double negation; ¬(φ∨ψ)⊣⊢(¬φ∧¬ψ)\neg(\varphi \vee \psi) \dashv\vdash (\neg\varphi \wedge \neg\psi), with one application of the rule RDN in each argument of joint denial; whence (φ↓ψ)⊣⊢(¬φ∧¬ψ)(\varphi \downarrow \psi) \dashv\vdash (\neg\varphi \wedge \neg\psi) and ¬(φ→ψ)⊣⊢(φ∧¬ψ)\neg(\varphi \rightarrow \psi) \dashv\vdash (\varphi \wedge \neg\psi).

      Rests on: D (Replacement of double negation), G (Double negation), H (Replacement of equivalents). Proved in: De Morgan’s laws and the distributive laws.

    5. Distributive laws. (φ∧(ψ∨χ))⊣⊢((φ∧ψ)∨(φ∧χ))(\varphi \wedge (\psi \vee \chi)) \dashv\vdash ((\varphi \wedge \psi) \vee (\varphi \wedge \chi)) and (φ∨(ψ∧χ))⊣⊢((φ∨ψ)∧(φ∨χ))(\varphi \vee (\psi \wedge \chi)) \dashv\vdash ((\varphi \vee \psi) \wedge (\varphi \vee \chi)), each one in both directions by cases; with the symmetries, also from the right.

      Uses: 14. The five symmetries, 15. Rules of the connectives, 17. Proof by cases. Rests on: H (Replacement of equivalents). Proved in: De Morgan’s laws and the distributive laws.

Towards semantics. The chain stops where deduction reaches all the techniques with which mathematics reasons. It remains to know whether what is deduced is exactly what is true under every valuation: the next unit will define truth, and the last one will compare both notions.

The abbreviations of the justifications

The deductions of the unit justify each line with an abbreviation, the same in all the lessons. They are gathered here, ordered by the lesson that introduces them. “Premise” designates a hypothesis of the statement and, in deductions about deductions, a hypothesis of the rule being proved. The numbers in parentheses cite the lines to which the rule is applied; an equivalence already proved is cited without a number when it is written as a line, and with the number of the line it transforms when it is applied to that line, also to one of its parts with “Repl”.

  • First lesson: A1, A2 and A3 (the axiom schemas); MP(i,j)(i, j) (modus ponens); Def (unfolding or folding of an abbreviation, with the connective that is unfolded: “Def ∨\vee”, “Def ⊣⊢\dashv\vdash”); Id (identity, the theorem ⊢(φ→φ)\vdash (\varphi \rightarrow \varphi)); Refl (reflexivity: if φ∈Γ\varphi \in \Gamma, then Γ⊢φ\Gamma \vdash \varphi); Mon (monotonicity); Cut (what has been deduced can be used as a premise); Fin (finiteness); DT (deduction theorem) and CDT (its converse).
  • Second lesson: HS (hypothetical syllogism); IP (interchange of premises); DN (double negation); RDN(i)(i) (replacement of double negation in line ii; RDN without a number cites the equivalence between a formula and the one that results from it by the rule); CP (contraposition, in any of its three forms); “Solved nn” (a result of solved problem nn of the same lesson, written as a line).
  • Third lesson: FL (fundamental lemma, (φ↓ψ)⊣⊢¬(¬φ→ψ)(\varphi \downarrow \psi) \dashv\vdash \neg(\neg\varphi \rightarrow \psi)); Repl (replacement of equivalents, in any of its forms, followed by the equivalence applied: “Repl, DM(i)(i)”); Eq (equivalent forms of disjunction and conjunction, (φ∨ψ)⊣⊢(¬φ→ψ)(\varphi \vee \psi) \dashv\vdash (\neg\varphi \rightarrow \psi) and (φ∧ψ)⊣⊢(¬φ↓¬ψ)(\varphi \wedge \psi) \dashv\vdash (\neg\varphi \downarrow \neg\psi)); Sym (symmetry of a connective).
  • Fourth lesson: ∨\veeI and ∨\veeE (disjunction introduction and elimination); ∧\wedgeI and ∧\wedgeE (conjunction introduction and elimination); EM (excluded middle); NC (non-contradiction; the abbreviation names the theorem, but justifies no line of the unit); Exp (explosion); Cases(i,j)(i, j) and Cases(i,j,k)(i, j, k) (proof by cases, with a formula and its negation or with a disjunction); “Cases without premises” (the proof by cases without a set Γ\Gamma, which appears only in one problem); RAA (reductio ad absurdum, in its two forms).
  • Fifth lesson: DM (De Morgan's laws); Dist (distributivity); Assoc (associativity of disjunction); Instance(i)(i) (line ii, which holds for arbitrary formulas, written again with other formulas in place of its metavariables; the substitution is indicated).
  • Challenges of this lesson: M3 (the schema that the third challenge puts in place of A3).