0% found this document useful (0 votes)
24 views77 pages

DM Neso

This syllabus covers 4 units: 1. Propositional logic and methods of proof 2. Sets, relations, functions, and the size of sets 3. Algebraic structures and morphisms 4. Graphs and trees Unit 1 covers the syntax and semantics of propositional logic formulas. It also discusses other laws of logic like De Morgan's rules and the equivalence of a conditional and its contrapositive. Predicates and quantifiers are introduced to address limitations of propositional logic in representing statements with variables.

Uploaded by

Aarya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
24 views77 pages

DM Neso

This syllabus covers 4 units: 1. Propositional logic and methods of proof 2. Sets, relations, functions, and the size of sets 3. Algebraic structures and morphisms 4. Graphs and trees Unit 1 covers the syntax and semantics of propositional logic formulas. It also discusses other laws of logic like De Morgan's rules and the equivalence of a conditional and its contrapositive. Predicates and quantifiers are introduced to address limitations of propositional logic in representing statements with variables.

Uploaded by

Aarya
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 77

Syllabus of Discrete Structures

UNIT 1:
• Propositional Logic
• Methods of Proof
UNIT 2:
• Sets, Relations and Functions
• Size of a Set
UNIT 3:
• Algebraic Structures and Morphisms
UNIT 4:
• Graphs and Trees
UNIT 1: PROPOSITIONAL LOGIC
 SYNTAX
The syntax of propositional logic consists in the definition of the set of all propositional logic
formulae, or the language of propositional logic formulae, which will contain formulae like:

SEMANTICS
Semantics provides the “meaning” of propositional logic formulae. It is defined very precisely in a
mathematical way. The semantics allows us to identify correct inference rules.
Example: Intuitively, the meaning of “A ∧ B” is that “this is only true if both A and B are true”.
 Other Laws of Logic

NOTE:
Dual of proposition p:
If the proposition p,
contains only the logical
connectives only, AND
and OR, and no other
connectives are there, then
the dual of p is obtained
by replacing AND by OR
and OR by AND, then it is
dual.
De Morgan’s Rule
Let P AND Q are two compound propositions. And the connectives are the logical connectives
between the primitive propositions. So, logical connectives are the conjunction, disjunction and
negation.
• Now, the De Morgan’s rules tell that the negation of compound proposition P can be obtained by
replacing, AND by OR, the OR by AND, and making each primitive statements as the negation of
that.
Theorem: The conditional proposition (p → q) and its contrapositive (¬q → ¬p)
are equivalent
 PREDICATES AND QUANTIFIERS

 Why predicate logic is required??


The Limitation of Propositional Logic: see propositional logic discusses about the propositions or the statements which is
either true or false; but it is incapable of some statements which are normally used in mathematics or computer science and
the predicate logic will handle this type of statements.

Example- p: n is an odd integer


So, if n equal to 11, then it is true. But n can be 10 or 110. Then, it is false. So, this statement is neither true nor false. what
is n? So, n is an odd integer; n can take any value. So, n is a variable. So, the statements involving variable cannot be
handled by propositional logic and for this, predicate logic is needed.
NESTED QUANTIFIERS
NEGATING NESTED QUANTIFIERS

You might also like