Lecture-02_student
Lecture-02_student
Lecture-02_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
Propositional
Equivalences
Section 1.3
Section Summary
p ¬p p ∨¬p p ∧¬p
T F T F
F T T F
Logically Equivalent
a b ¬a ¬a ∨ b a→ b p ↔q
T T F T T T
T F F F F T
F T T T T T
F F T T T T
De Morgan’s Laws
Augustus De
Morgan
1806-1871
For each cell with a given value, assert p(i,j,n), when the
cell in row i and column j has the given value.
Assert that every row contains every number.
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