Unit 1 - Logic and Proofs
Unit 1 - Logic and Proofs
DISCRETE MATHEMATICS
Regulation 2021
Combinatorics
Graphs
Algebraic Structures
UNIT - I
LOGIC AND PROOFS
Course Objective:
To understand mathematical reasoning in order to
read, comprehend and construct mathematical
arguments. This chapter starts with a discussion of
mathematical logic, which serves as the foundation for
the method of proofs.
Course Outcome:
To analyze the concepts needed to
test the logic of a program.
Evolution of Logic
Logic means thought or reason.
Informal Logic:
- Historically logic has been
studied in Philosophy by
ancient Greeks –
Natural arguments.
Formal Logic:
- Structure of arguments led by the
Mathematical Logic:
- Rules, Reasons and Proof
Computer Logic: Latest
To develop programming
languages and to
establish the correctness
of the programs. (Circuit
design of the Computer
and Artificial Intelligence)
LOGIC
• Logic is the discipline that deals with the
methods of reasoning.
PROPOSITIONAL LOGIC
NORMAL FORMS
INFERENCE THEORY
LOGIC
Sentences
Sentences is a group of clauses or words,
conveying a complete meaning.
TYPES:
1. Declarative Sentences (make a statement which
convey information)
2. Interrogative Sentences (always ask a question
and in the end question mark)
3. Imperative Sentences (issue commands or
requests or they can express a desire or wish)
4. Exclamatory Sentences (express strong emotion
and in the end always exclamation mark)
PROPOSITIONS
A proposition (Statement) is a declarative
sentence that is either true or false, but not
both.
Eg: "Grass is green", and "2 + 5 = 5"
NOTE:
Sentences which are exclamatory, interrogative
or imperative in nature are not propositions.
Identify the following sentences
are statements or not:
1. New Delhi is the capital of India.
2. Our team won the championship!
3. 100 – 25 =75.
4. Please bring a cup of coffee.
5. Moon is the satellite of earth.
6. Do you want food today?
Identify the following sentences
are statements or not:
1. New Delhi is the capital of India. ---S
2. Our team won the championship! ---NS
3. 100 – 25 =75. ---S
4. Please bring a cup of coffee. ---NS
5. Moon is the satellite of earth.---S
6. Do you want food today? ---NS
TRUTH VALUE OF A STATEMENT
2+6=7 False
16 - 8 = 8 True
X + 2 is positive T or F
X + y = 12 T or F
Write the truth values of the
following Propositions:-
1. Paris is in France.
2. 7 + 2 < 10.
3. Isosceles triangles are equilateral.
4. 64 = ±8.
TYPES OF STATEMENTS
Atomic Statements (Primary or
primitive or simple):
Declarative sentences which cannot be
further split into simpler sentences are called
Atomic Statements.
Mathematically,
Propositions which do not contain any of
the logical operators or connectives are called
atomic propositions.
Eg: Rama is a boy.
Compound statements (Molecular or
Composite):
If a statement is the combination of two
or more simple statements, then it is said to be
a Compound Statement.
Mathematically,
Many mathematical statements which can
be constructed by combining two or more
atomic statements using connectives are called
Compound Statements.
Eg: It is raining and it is cold.
PROPOSITIONAL LOGIC (OR)
PROPOSITIONAL CALCULUS