Professional Documents
Culture Documents
Lecture 1.
Introduce. Mathematical Logic (Logic of utterances and expressions).
The laws of the mathematical logic.
Normal forms of mathematical logic.
References
Basic
(1) Invitation to Discrete Mathematics (6) Graph Theory
J. Matousek and J. Nesetril Frank Harary
Clarendon Press, Oxford Narosa Publishing House
(2) Applied Combinatorics (7) Discrete Mathematics andIts Application
Fred S. Roberts and B. Tesman Kenneth H. Rosen
Pearson, Prentice Hall Monmouth University (and formerly AT&T Laboratories)
(3) Concrete Mathematics (8) Introduction to Mathematical Logic
Ronald L. Graham, Donald E. Knuth and O. Patashnik Elliott Mendelson
Pearson Education Litton Educational Publishing Inc.
(4) Elements of Discrete Mathematics (9) An Introduction to Algorithms
C. L. Liu T. H. Cormen, C. E. Leiserson, R. L. Rivest, C. Stein
Tata McGraw Hill Prentice Hall India
(5) Discrete Mathematical Structures (10) Introduction to Combinatorics
B. Kolman, R. C. Busby, S. C. Ross and N. Rehman Martin J. Erickson
Pearson Education Wiley Interscience Publication
Information resources
Lecture online course: Online course:
https://www.lektorium.tv/course/22893; https://www.coursera.org/learn/discrete-mathematics
Criteria for evaluating student work
All point
Practice part Exam part
for the course
45 55 100
5 10 10 10 10 15 40 100
0 0 0 1 1 0 0 0 1 1 1 1
1 0 1 1 0 0 1 1 1 0 1 0
2 1 0 0 1 0 1 1 0 0 1 0
3 1 1 0 0 1 1 0 1 1 0 0
21 20
2 1
f = ((р → 𝑞) ∧ р) → 𝑞
p q (р → 𝑞) ((р → 𝑞) ∧ р) ((р → 𝑞) ∧ р) → 𝑞
T T T T T
T F F F T
F T T F T
F F T F T
Bit presentation
The bit string is called the finite sequence of bits.
Find the results of operations of bitwise OR, bitwise AND and bitwise XOR bit
lines 1011000011 and 1101010101.
We get x y OR AND XOR
1011000011 0 0 0 0 0
1101010101 0 1 1 0 1
1111010111 - bitwise OR 1 0 1 0 1
1001000001 - bitwise AND 1 1 1 1 0
0110010110 - bitwise XOR
The laws of statement logic
1. Communicative
2. Associativity
3. Distributivity
4. Domination
5. Double denial
6. Idempotence
7. De Morgan
8. Absorption
9. The ratio for steaday
a) 𝑝 ∧ 𝑇 = 𝑝; б)𝑝 ∧ 𝐹 = 𝐹
The laws of statement logic
Formulas f and g are called equivalent, equal or identical (f = g) if their truth
values coincide in all the interpretations of these formulas.
The equivalent formulas that define the transformation rules called laws of
logic statements.
Convert perform replacement of some other formula as part of the formula for
equivalent formula.
Priority of using logical operations in expressions (formulas):
, , , , , → ,↔
• The rules for removing implication and equivalence
Step 1. Apply the rules for eliminating logical operations "->" and "~".
Step 2. Apply the law of double denial and the law of de Morgan to
transpose the denial sign directly to the atoms.
Step 3. Apply the appropriate distributive laws for building
normal shape
To build the CNF, you need to use the distributive law for disjunction with
respect to the conjunction (law 3а).
To construct DNF, you should apply the distributive law for
conjuncture on disjunction (law 3b).
Example of bringing to a normal form of
expression