Lecture-06_student
Lecture-06_student
1 2 3 4 ....
Discrete mathematics
The
Foundations:
x y ( x y )
Logic and
x( | x )
1
Proofs
x 1 ?
x
x 1 x ?
RIZOAN TOUFIQ
ASSISTANT PROFESSOR
DEPARTMENT OF COMPUTER SCIENCE & ENGINEERING
RAJSHAHI UNIVERSITY OF ENGINEERING & TECHNOLOGY
Introduction to Proofs
Section 1.7
Section Summary
Mathematical Proofs
Forms of Theorems
Direct Proofs
Indirect Proofs
– Proof of the Contrapositive
– Proof by Contradiction
Proofs of Mathematical
Statements
A proof is a valid argument that establishes the truth of a
statement.
In math, CS, and other disciplines, informal proofs which
are generally shorter, are generally used.
– More than one rule of inference are often used in a step.
– Steps may be skipped.
– The rules of inference used are not explicitly stated.
– Easier for to understand and to explain to people.
– But it is also easier to introduce errors.
Proofs have many practical applications:
– verification that computer programs are correct
– establishing that operating systems are secure
– enabling programs to make inferences in artificial intelligence
– showing that system specifications are consistent
Some Terminology
Home Task
Proof by Contraposition
(Proving Conditional Statements: p → q)
[Even though these examples seem silly, both trivial and vacuous proofs are often
used in mathematical induction, as we will see in Chapter 5) ]
Proof by Contradiction
(Proving Conditional Statements: p → q)
Proof by Contradiction:
To prove p
Assume ¬p
Derive a contradiction such as p ∧ ¬p. (an indirect form of
proof).
{ 0 , 1 },
0 1 1 3
Mistakes in Proofs
“Proof” that 1 = 2
1 2 3 4 ....
x y ( x y ) ?
1
x 1 x ?
x 1 ?
x
x( | x ) ? x y ( x y ) ?
1
1 2 3 4 .... ?
x 1 ?
1 1 1 1 1 ......... ? x