Jaysen Tsao
Discrete Mathematics for Computer Science

Arguments and Proofs

Introduction to Proofs

Definition 30: Argument

An argument is a sequence of propositions 𝑃1,𝑃2,,𝑃𝑛 such that the last proposition 𝑃𝑛 is called the conclusion of the argument, and the preceding propositions 𝑃1,𝑃2,,𝑃𝑛1 are called the premises of the argument.

Notation: Therefore Symbol

The conclusion of an argument can be separated from the premises by the symbol ():

𝑃1,𝑃2,,𝑃𝑛1𝑃𝑛

Definition 31: Valid and Sound Arguments

An argument is valid iff, for all truth assignments 𝜎, 𝜎𝑃𝑖 for all premises 𝑃𝑖 implies 𝜎𝑃𝑛 for the conclusion 𝑃𝑛. Otherwise, the argument is invalid.

An argument is sound iff it is valid and all its premises are true. Otherwise, the argument is unsound.

Definition 32: Proof

A proof of a proposition 𝑃 is a sound argument whose conclusion is 𝑃.

Proof Trees

To represent proofs, we can use proof trees, which are tree diagrams that represent the structure of an argument.

Remark

Proof trees are an informal extension of the sequent calculus, which will be covered later.

Notation: Proof Tree for a Valid Argument

If the conclusion 𝑃𝑛 is derived from the premises 𝑃1,𝑃2,,𝑃𝑛1, then the proof tree for this argument is:

𝑃1𝑃2𝑃𝑛1𝑃𝑛

We can also label the rule with a name or reasoning:

𝑃1𝑃2𝑃𝑛1𝑃𝑛 (Common Sense)

Methods of Proof

Definition 33: Modus Ponens

Under some truth assignment 𝜎, if 𝜎𝑃 and 𝜎(𝑃𝑄), then 𝜎𝑄:

𝑃𝑄𝑃𝑄 (Modus Ponens)

This is often called a direct proof of 𝑄 from 𝑃.

Definition 34: Modus Tollens

Under some truth assignment 𝜎, if 𝜎¬𝑄 and 𝜎(𝑃𝑄), then 𝜎¬𝑃:

𝑃𝑄¬𝑄¬𝑃 (Modus Tollens)

This is often called a proof by contraposition of ¬𝑃 from ¬𝑄.

Definition 35: Proof by Contradiction

Under some truth assignment 𝜎, if 𝜎(¬𝑃), then 𝜎𝑃:

¬𝑃𝑃 (Contradiction)

Definition 36: Weak Mathematical Induction

Under some truth assignment 𝜎, to prove a predicate 𝑃(𝑛) for all 𝑛>𝑛0, show that:

  1. Base Case. 𝜎𝑃(𝑛0).
  2. Inductive Step. For all 𝑘>𝑛0, if 𝜎𝑃(𝑘), then 𝜎𝑃(𝑘+1).

The rule for weak induction is as follows:

𝑃(𝑛0)𝑘>𝑛0,𝑃(𝑘)𝑃(𝑘+1)𝑛>𝑛0,𝑃(𝑛) (Ind.)

Definition 37: Strong Mathematical Induction

Under some truth assignment 𝜎, to prove a predicate 𝑃(𝑛) for all 𝑛>𝑛0, show that:

  1. Base Case. 𝜎𝑃(𝑛0).
  2. Inductive Step. For all 𝑘>𝑛0, if 𝜎𝑃(𝑗) 𝑗 such that 𝑛0<𝑗𝑘, then 𝜎𝑃(𝑘+1).

The rule for strong induction is as follows:

𝑃(𝑛0)𝑘>𝑛0,(𝑗=𝑛0+1𝑘𝑃(𝑗))𝑃(𝑘+1)𝑛>𝑛0,𝑃(𝑛) (Str. Ind.)

Rules of Inference

Theorem 7: Rules of Inference for Conjunctions

Let 𝑃 and 𝑄 be propositional formulae, and 𝜎 be a truth assignment. Then:

  1. Introduction (I). If 𝜎𝑃 and 𝜎𝑄, then 𝜎𝑃𝑄.
  2. Right-Elimination (E1). If 𝜎𝑃𝑄, then 𝜎𝑃.
  3. Left-Elimination (E2). If 𝜎𝑃𝑄, then 𝜎𝑄.

Theorem 8: Rules of Inference for Disjunctions

Let 𝑃 and 𝑄 be propositional formulae, and 𝜎 be a truth assignment. Then:

  1. Left-Introduction (I1). If 𝜎𝑃, then 𝜎𝑃𝑄.
  2. Right-Introduction (I2). If 𝜎𝑄, then 𝜎𝑃𝑄.
  3. Elimination (E). If 𝜎𝑃𝑄, and if 𝜎𝑅 whenever 𝜎𝑃, and if 𝜎𝑅 whenever 𝜎𝑄, then 𝜎𝑅.

Theorem 9: Rules of Inference for Implications

Let 𝑃 and 𝑄 be propositional formulae, and 𝜎 be a truth assignment. Then:

  1. Introduction (I). If 𝜎(𝑄)= 𝖳  whenever 𝜎(𝑃)= 𝖳 , then 𝜎(𝑃𝑄)= 𝖳 .
  2. Modus Ponens (E1). If 𝜎(𝑃𝑄)= 𝖳  and 𝜎(𝑃)= 𝖳 , then 𝜎(𝑄)= 𝖳 .
  3. Modus Tollens (E2). If 𝜎(𝑃𝑄)= 𝖳  and 𝜎(𝑄)= 𝖥 , then 𝜎(𝑃)= 𝖥 .

Theorem 10: Rules of Inference for Biconditionals

Let 𝑃 and 𝑄 be propositional formulae, and 𝜎 be a truth assignment. Then:

  1. Introduction (I). If 𝜎(𝑃)=𝜎(𝑄), then 𝜎(𝑃𝑄)= 𝖳 .
  2. Right-Elimination (E1). If 𝜎(𝑃𝑄)= 𝖳  and 𝜎(𝑃)= 𝖳 , then 𝜎(𝑄)= 𝖳 .
  3. Left-Elimination (E2). If 𝜎(𝑃𝑄)= 𝖳  and 𝜎(𝑄)= 𝖳 , then 𝜎(𝑃)= 𝖳 .

Sequent Calculus and Natural Deduction

Definition 38: Sequent

Soundness and Completeness

Decidability

Higher-Order Logic