Demonstration of Classical Logic Techniques

Demonstration of Classical Logic Techniques

Demonstration of Classical Logic Techniques

SUMMARY
In this class, several techniques of classical logic for introducing and eliminating conjunctions and disjunctions are presented, along with the law of the excluded middle and the law of contradiction, also known as the principle of explosion. Additionally, the technique of proof by cases and reduction to absurdity are explained, both of which are very useful in mathematical and logical demonstrations in general. Each technique is formally presented and a step-by-step demonstration is provided for understanding. If you want to deepen your understanding of propositional logic and improve your theorem demonstration skills, this class will be very useful to you.


LEARNING OBJECTIVES:

  1. Understand the justification behind the techniques of introducing and eliminating conjunction and disjunction.
  2. Understand the property of the excluded middle or tautology (TAU) in classical logic.
  3. Understand the rule of contradiction (CON) or principle of explosion in classical logic.
  4. Understand the technique of eliminating disjuncts (∨-elimination3) in classical logic.
  5. Understand the technique of proof by cases (CAS) in classical logic.
  6. Understand the technique of reduction to absurdity (absurd) in classical logic.
  7. Apply the knowledge of the different techniques of classical logic to solve complex problems and demonstrations.

INDEX
INTRODUCTION AND ELIMINATION OF CONJUNCTIONS AND DISJUNCTIONS
∨-INTRODUCTION
∨-ELIMINATION
∧-INTRODUCTION
∧-ELIMINATION
TECHNIQUES OF CONTRADICTIONS AND TAUTOLOGIES
RULE OF THE EXCLUDED MIDDLE OR TAUTOLOGY (TAU)
RULE OF CONTRADICTION OR PRINCIPLE OF EXPLOSION
∨-ELIMINATION3
PROOF BY CASES (CAS)
REDUCTION TO ABSURDITY (ABSURD)





Introduction and Elimination of Conjunctions and Disjunctions

One of the techniques of classical logic is the introduction and elimination of connectors and disjuncts. Although these techniques are executed in a more or less intuitive way, their justification is not entirely trivial but can be obtained from the rules of propositional logic that we have already demonstrated in previous classes. Formally, the techniques of introducing and eliminating connectors and disjuncts are as follows:

∨-Introduction\{\alpha \} \vdash (\alpha \vee \beta)
∨-Elimination\{(\alpha\vee\beta), \neg\alpha \} \vdash\beta
∧-Introduction\{\alpha.\beta \} \vdash(\alpha \wedge \beta)
∧-Elimination\{(\alpha \wedge \beta) \} \vdash \alpha

And their demonstrations from propositional logic are shown below:




∨-Introduction

(1)\{\alpha\} \vdash \alpha; Pre
(2)\{\alpha\} \vdash( \alpha \rightarrow (\neg \beta \rightarrow \alpha)); A1, Mon
(3)\{\alpha\} \vdash (\neg \beta \rightarrow \alpha); MP(1,2)
(4)\boxed{\{\alpha\} \vdash (\beta \vee \alpha)}; \rightarrow-Definition(3)




∨-Elimination

(1)\{(\alpha \vee \beta), \neg\alpha\}\vdash (\alpha \vee\beta); Pre
(2)\{(\alpha \vee \beta), \neg\alpha\}\vdash \neg\alpha ; Pre
(3)\{(\alpha \vee \beta), \neg\alpha\}\vdash (\neg \alpha \rightarrow \beta); \rightarrow-Definition (1)
(4)\boxed{\{(\alpha \vee \beta), \neg\alpha\}\vdash \beta}; MP(2,3)




∧-Introduction

(1)\{(\neg\alpha \vee \neg \beta), \neg\neg\beta\} \vdash \neg\alpha; \vee-Elimination
(2)\{\neg\neg\beta\} \vdash ((\neg\alpha \vee \neg \beta) \rightarrow \neg\alpha); TD(1)
(3)\{\neg\neg\beta\} \vdash (\neg \neg\alpha \rightarrow \neg (\neg\alpha \vee \neg \beta)); CPI(2))
(4) \vdash (\neg\neg\beta \rightarrow (\neg \neg\alpha \rightarrow \neg (\neg\alpha \vee \neg \beta))); TD(3)
(5) \{\alpha, \beta \} \vdash (\neg\neg\beta \rightarrow (\neg \neg\alpha \rightarrow \neg (\neg\alpha \vee \neg \beta))); Monotonicity x2 (4)
(6) \{\alpha, \beta \} \vdash \beta; Pre
(7) \{\alpha, \beta \} \vdash \neg\neg\beta; DN(6)
(8) \{\alpha, \beta \} \vdash (\neg \neg\alpha \rightarrow \neg (\neg\alpha \vee \neg \beta)); MP(7,5)
(9) \{\alpha, \beta \} \vdash \alpha; Pre
(10) \{\alpha, \beta \} \vdash \neg\neg\alpha; DN(9)
(11) \{\alpha, \beta \} \vdash \neg (\neg\alpha \vee \neg \beta); MP(10,8)
(12)\boxed{\{\alpha, \beta \} \vdash (\alpha \wedge \beta)}; \wedge-Definition(11)




∧-Elimination

(1)\{(\alpha \wedge \beta)\} \vdash (\alpha \wedge \beta); Pre
(2)\{\neg \alpha\} \vdash (\neg \alpha \vee \neg\beta); \vee-Introduction
(3) \vdash (\neg \alpha \rightarrow (\neg \alpha \vee \neg\beta)); TD(2)
(4) \vdash (\neg(\neg \alpha \vee \neg\beta) \rightarrow \alpha); CPI(3))
(5) \vdash ( ( \alpha \wedge \beta) \rightarrow \alpha); \wedge-definition(4)
(6) \{(\alpha \wedge \beta)\} \vdash ( ( \alpha \wedge \beta) \rightarrow \alpha); Monotonicity(5)
(7)\boxed{\{(\alpha \wedge \beta)\} \vdash \alpha}; MP(1,6)




Techniques of Contradictions and Tautologies




Rule of the Excluded Middle or Tautology (tau)

Another notable characteristic of classical logic is the property of the excluded middle (tertium non datur). It states that if there are two statements where one negates the other, then necessarily one of the two must be true; in other words, the conjunction of two statements in which one negates the other necessarily forms a tautology. Formally, this is expressed as:

\vdash (\neg\alpha \vee\alpha)

And its demonstration is easy to obtain.

(1)\{\alpha\}\vdash \alpha; Pre
(2)\vdash (\alpha \rightarrow \alpha); TD(1)
(3)\boxed{\vdash (\neg \alpha \vee \alpha)}; from (2) because (\alpha \rightarrow \beta) := (\neg \alpha \vee \beta)

Another way to state the principle of the excluded middle is through the law of non-contradiction, which establishes that a statement cannot be true and false at the same time, and is formally stated as:

\vdash \neg(\neg\alpha \wedge \alpha)

This property does not need a demonstration, not because it is self-evident by itself, but because it is directly obtained by applying the definition of conjunction on the principle of the excluded middle.




Rule of Contradiction or Principle of Explosion

Another known property of classical logic is the principle of explosion, which is usually stated through the phrase “from contradictory premises, anything follows.” Its formulation is often presented in either of the following two ways:

\{(\neg\alpha \wedge \alpha)\}\vdash \beta

\{\alpha, \neg\alpha\}\vdash \beta

The demonstration of this rule is simple:

(1)\{\alpha ,\neg\alpha\} \vdash \neg\alpha ; Pre
(2)\{\alpha ,\neg\alpha\} \vdash (\neg\alpha \vee \beta) ; \vee-introduction
(3)\{\alpha ,\neg\alpha\} \vdash (\alpha \rightarrow \beta) ; \rightarrow-definition(2)
(4)\{\alpha ,\neg\alpha\} \vdash \alpha ; Pre
(5)\boxed{\{\alpha ,\neg\alpha\} \vdash \beta}; MP(4,3)




∨-Elimination3

Modus ponens can be written in two different ways. One form that we already know is \{\alpha,(\alpha \rightarrow \beta)\}\vdash \beta. The other is a little less familiar:

\{\alpha\}\vdash\beta \; \wedge \; \vdash \alpha \; \Longrightarrow \; \vdash \beta

Focusing on this second form, it is possible to visualize an expansion for this rule that we call ∨-Elimination3, because it resembles a simplification obtained from a disjunction. It tells us that if \gamma can be inferred from \alpha and from \beta (both at once) and at the same time the disjunction between \alpha and \beta is a theorem, then \gamma is a theorem. This is formally summarized as follows:

\{\alpha\}\vdash\gamma\; \wedge \; \{\beta\}\vdash\gamma \; \wedge \; \vdash (\alpha \vee \beta) \Longrightarrow \vdash \gamma

The demonstration of this technique of classical logic is as follows:

(1)\boxed{\alpha \vdash \gamma}; Premise
(2)\boxed{\beta \vdash \gamma}; Premise
(3)\boxed{\vdash (\alpha \vee \beta)}; Premise
(4) \vdash (\alpha \rightarrow \gamma); TD(1)
(5) \vdash (\beta \rightarrow \gamma); TD(2)
(6) \vdash (\neg \gamma \rightarrow \neg \alpha); CPI(4)
(7) \vdash (\neg \gamma \rightarrow \neg \beta); CPI(5)
(8) \{\neg \gamma \}\vdash \neg \alpha; RTD(6)
(9) \{\neg \gamma\}\vdash \neg \beta; RTD(7)
(10) \{\neg \gamma\}\vdash (\neg \alpha \wedge \neg \beta); \wedge-Introduction(8,9)
(11) \vdash (\neg \gamma \rightarrow (\neg \alpha \wedge \neg \beta)); TD(10)
(12) \vdash (\neg(\neg \alpha \wedge \neg \beta)\rightarrow \gamma ); CPI(11)
(13) (A \wedge B) := \neg(\neg A \vee \neg B); \wedge – Definition
(14) \neg(A \wedge B) := \neg\neg(\neg A \vee \neg B); Negating both sides in (13)
(15) \neg(\neg\alpha \wedge \neg\beta) := \neg\neg(\neg\neg\alpha \vee \neg\neg\beta); Replacing A:=\neg\alpha and B:=\neg\beta in (14)
(16) \neg(\neg\alpha \wedge \neg\beta) \dashv \vdash (\alpha \vee \beta); DN(15)
(17) \vdash ((\alpha \vee \beta) \rightarrow \neg(\neg\alpha \wedge \neg\beta) ); TD(16)
(17) \vdash ((\alpha \vee \beta) \rightarrow \gamma ); SH(17,12)
(18)\boxed{ \vdash \gamma}; MP(3,17)




Proof by Cases (cas)

Another technique of classical logic is proof by cases. If an expression \beta can be inferred from another expression \alpha as well as from its negation, then the expression \beta is necessarily a theorem. This is formally represented as: \alpha \vdash \beta \; \wedge \; \neg\alpha \vdash \beta \Longrightarrow \vdash \beta. Its demonstration is as follows:

\begin{array}{rll} (1) & \alpha \vdash \beta &; Premise\\ (2) & \neg \alpha \vdash \beta &; Premise \\ (3) & \vdash \alpha \vee \neg\alpha &; TAU \\ (4) & \vdash \beta &; \vee-Elimination3(1,2,3) \end{array}




Reduction to Absurdity (absurdo)

One of the most used techniques of classical logic in demonstrations, especially in mathematics, is the reduction to absurdity. This consists of that if a contradiction (a statement and its negation) is inferred from an expression \alpha, then the negation of \alpha is a tautology. Formally it is expressed as: \{\alpha\}\vdash \beta \; \wedge \; \{\alpha\}\vdash \neg\beta \Longrightarrow \vdash \neg\alpha. And it can be demonstrated through the following reasoning:

(1)\boxed{\{\alpha\}\vdash \beta}; Premise
(2)\boxed{\{\alpha\}\vdash \neg\beta}; Premise
(3)\vdash (\alpha \rightarrow \beta); TD(1)
(4)\vdash (\alpha \rightarrow \neg\beta); TD(2)
(5)\vdash (\neg \beta \rightarrow \neg \alpha); CPI(3)
(6)\vdash (\beta \rightarrow \neg \alpha); CPI(4)
(7)\{\neg \beta \}\vdash \neg \alpha; RTD(5)
(8)\{\beta \}\vdash \neg \alpha; RTD(6)
(9)\boxed{\vdash \neg \alpha}; CAS(7,8)
Views: 0

Leave a Reply

Your email address will not be published. Required fields are marked *