Prepared by :
1) Drishti Bhalla − 1838
2) Dimpy Chugh − 1831
A PROPOSITION is a statement which has truth value: it is either true (T)
or false (F).
Example 1
Which of the following are propositions?
(a)17 + 25 = 42
(b) July 4 occurs in the winter in the Northern Hemisphere.
(c) The population of the United States is less than 250 million.
(d) Is the moon round?
(e) 7 is greater than 12.
(f) x is greater than y.
Answers
(a)is a proposition; and of course it has the 'truth value' true.
(b) is a proposition. Of course, it's false, but it's still a proposition.
(c) is a proposition, but we may not actually know whether it's true or false.
Nevertheless, the fact is that the statement itself is a proposition, because it
is definitely either true or false.
(d) is not a proposition. It's a question.
(e) is a proposition. It's false again, of course 7>12.
(f) is a bit more debatable! It's certainly a potential proposition, but until we
know the values of x and y, we can't actually say whether it is true or false.
Note that this isn't quite the same as (c), where we may not know the truth
value because we aren't well-enough informed.
Propositions - Discrete Structures
Corresponding Tautology:
(p ∧ (p →q)) → q
Corresponding Tautology:
(¬p∧(p →q))→¬q
Corresponding Tautology:
((p →q) ∧ (q→r))→(p→ r)
Corresponding Tautology:
(¬p∧(p ∨q))→q
Corresponding Tautology:
(p∧q) →p
Corresponding Tautology:
p →(p ∨q)
Corresponding Tautology:
((¬p ∨ r ) ∧ (p ∨ q)) →(q ∨ r)
Propositions - Discrete Structures
SOL:
•If the butler is telling the truth, then by (a) the cook is telling the truth.
•If the cook is telling the truth, then by (b) the gardener is lying.
•If the gardener is lying, then by (c) the handyman is telling the truth.
•If the handyman is telling the truth, they by (d) the cook is lying.
This leads to a contradiction (the cook can not be both telling the truth and
lying)! Therefore the butler and cook must be lying.
But this can also be solved by using the rules of inference
Let B be ‘the butler is telling the truth’, C be ‘the cook is telling the truth’, G be ‘the gardener is
telling the truth’, H be ‘the handyman is telling the truth’
The given premises are:
(1) B  C
(2) ~ (C  G) = ~C V ~G
(3) ~ (~G  ~H) = G V H
(4) H  ~C
Assume that C is true.
(5) C
From (5) and (2) by Disjunctive Syllogism
we conclude
(6) ~G
From (6) and (3) by Disjunctive Syllogism
we conclude
(7) H
From (7) and (4) by Modus Ponens
we conclude
(8) ~C
This conclusion contradicts the assumption that C is true, therefore C is false,
i.e. ~C is true.
Therefore, we can conclude that the cook is lying
Next, we use ~C in conjunction with the given premises to derive new conclusions.
(9) ~C
From (9) and (1) by Modus Tollens we conclude
(10) ~B
Therefore the butler is lying
SOL: Let and be the statements that and ,
respectively, so that and are the statements that and
, respectively.
this is the statement that . If A is a knight, then he is telling the truth
when he says that B is a knight, so that , and A and B are the same
type. However, if B is a knight, then B’s statement that A and B are of opposite
types, the statement would have to be true, which it is not,
because A and B are both knights. Consequently, we can conclude that A is not
a knight, that is, that .
Then because everything a knave says is false, A’s statement that B is a knight,
that is, that , is a lie. This means that and B is also a knave.
Furthermore, if B is a knave, then B’s statement that A and B are opposite types
is a lie, which is consistent with both A and B being knaves.
Propositions - Discrete Structures
 A fuzzy logic proposition, P, is a statement involving some concept without clearly
defined boundaries .
 Fuzzy logic is a form of many-valued logic ; it deals with reasoning that is
approximate rather than fixed and exact. Fuzzy logic variables may have a truth
value that ranges in degree between 0 and 1 rather than usual true(1) or false(0).
 Main difference between classical propositions and fuzzy propositions: –
The range of their truth values : [0, 1] .
bool speed;
get the speed
if ( speed == 0) {
// speed is slow
}
else {
// speed is fast
}
float speed;
get the speed
if ((speed >= 0.0)&&(speed < 0.25)) {
// speed is slowest
}
else if ((speed >= 0.25)&&(speed < 0.5))
{
// speed is slow
}
else if ((speed >= 0.5)&&(speed < 0.75))
{
// speed is fast
}
else // speed >= 0.75 && speed < 1.0
{
// speed is fastest
}
Suppose we wish to divide height into three classes : short , average and tall .
A Boolean representation would look something like this :
A fuzzy representation on the other hand would look something like this :
Suppose height is 182cm . Find the value on horizontal axis and see where it intersects
the membership functions for the three variables .
182cm is outside the range of “SHORT” , so short->0. It intersects average at 0.4
and tall at 0.08 .
OR : MAX(A,B)
AND : MIN(A,B)
NOT : ¬A=1-A
Let Height=165 and Weight=100.Consider “ Height is short or Weight is heavy ”.
Propositions - Discrete Structures
Suppose we want to design A risk-assessment system for some form of project . We
wish to determine the risk depending on project funding and staffing.
1. The first step is to design fuzzy variables , which are funding , staffing, and risk .For
each of these variables, we define the membership functions :
The next step is to define the rules for the system , using these variables. For instance
, we have :
1. If funding is adequate or staffing is small , then risk is low.
2. If funding is marginal and staffing is large then risk is normal.
3. If funding is inadequate then risk is high.
Suppose we have a funding of f0 and a staffing of s0 people. What would the risk r0
be ?
We have mapped the ‘crisp’ (i.e. raw values ) f0 and s0 to the membership functions
and found (for instance) that f0 has a 0.5 membership degree of “inadequate” and a
0.2 membership degree of “marginal”. The same way s0 has a 0.1 membership degree
of “small” and a 0.7 membership degree of “large”.
The next step is to evaluate the basic rules we defined :
Now we need to aggregate the results to a single output area :
The output area is then defuzzified to get a crisp output r0. A common solution is
to take the center of mass of the result output area .
THANK YOU !!!

More Related Content

PPT
unemployment powerpoint presentation
PPTX
PDF
Pseudocode & flowchart examples
PDF
A1/1 An Introductory Lesson to German (for speakers of English)
PDF
Problemes chap1 toc
PDF
MDD and the Tautology Problem: Discussion Notes.
PPTX
Truth tables complete and p1 of short method
PPTX
Truth table
unemployment powerpoint presentation
Pseudocode & flowchart examples
A1/1 An Introductory Lesson to German (for speakers of English)
Problemes chap1 toc
MDD and the Tautology Problem: Discussion Notes.
Truth tables complete and p1 of short method
Truth table

Viewers also liked (14)

PDF
Logic (slides)
PPT
Propositional logic
PPT
Discrete mathematics
PPTX
Want to know about java
PPT
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
PPT
Propositional logic
PPTX
Discrete Mathematics - Propositional Logic
PDF
Discrete Structures lecture 2
PPTX
The logic
PDF
Chapter 1 Logic of Compound Statements
PPT
Mathematical Logic - Part 1
PPT
Lec 02 logical eq (Discrete Mathematics)
PPTX
Introduction to parliamentary debate
PPTX
Propositional logic
Logic (slides)
Propositional logic
Discrete mathematics
Want to know about java
Discrete mathematics Ch2 Propositional Logic_Dr.khaled.Bakro د. خالد بكرو
Propositional logic
Discrete Mathematics - Propositional Logic
Discrete Structures lecture 2
The logic
Chapter 1 Logic of Compound Statements
Mathematical Logic - Part 1
Lec 02 logical eq (Discrete Mathematics)
Introduction to parliamentary debate
Propositional logic
Ad

Similar to Propositions - Discrete Structures (20)

PPTX
True but Unprovable
PPTX
Mathreasoning
PPT
Introduction to linear and logistic regression
PPTX
Formal-Proof-of-Validity Formal proof of validity(1).pptx
PPT
Jarrar.lecture notes.aai.2011s.ch7.p logic
PPT
Artificial intelligent Lec 5-logic
PPTX
DM(1).pptx
DOCX
1Week 3 Section 1.4 Predicates and Quantifiers As.docx
PPTX
Lecture_-_Logic.pptttttttttttttr5rr55rtt
PDF
Contradiction
PDF
Contradiction
PPTX
Probability Homework Help
PDF
IRJET - Equivalence Relation on Fuzzy Meet Hyperlattice
PPTX
probability assignment help
PPTX
Proving existential statements
PPTX
EQUIVALENCES and ARGUMENT FORMS and VALIDITY (Updated, 11-10-23) [GROUP 7 REP...
DOCX
Module code 124ms Tajvinder Virdee Sets and Log.docx
PPTX
Propositional Logics in Theoretical computer science
DOCX
Basic statistics by_david_solomon_hadi_-_split_and_reviewed
PDF
Proposition Logic in Discrete Structure
True but Unprovable
Mathreasoning
Introduction to linear and logistic regression
Formal-Proof-of-Validity Formal proof of validity(1).pptx
Jarrar.lecture notes.aai.2011s.ch7.p logic
Artificial intelligent Lec 5-logic
DM(1).pptx
1Week 3 Section 1.4 Predicates and Quantifiers As.docx
Lecture_-_Logic.pptttttttttttttr5rr55rtt
Contradiction
Contradiction
Probability Homework Help
IRJET - Equivalence Relation on Fuzzy Meet Hyperlattice
probability assignment help
Proving existential statements
EQUIVALENCES and ARGUMENT FORMS and VALIDITY (Updated, 11-10-23) [GROUP 7 REP...
Module code 124ms Tajvinder Virdee Sets and Log.docx
Propositional Logics in Theoretical computer science
Basic statistics by_david_solomon_hadi_-_split_and_reviewed
Proposition Logic in Discrete Structure
Ad

More from Drishti Bhalla (16)

PDF
Physical Layer Numericals - Data Communication & Networking
PPT
Determinants - Mathematics
PPT
Matrices - Mathematics
PPTX
Holy Rivers - Hindi
PPTX
Mid point line Algorithm - Computer Graphics
ODP
Unix Memory Management - Operating Systems
PDF
Collections Api - Java
PDF
Airline Reservation System - Software Engineering
PDF
Performance Management and Feedback - SHRM
PPTX
Computer System Architecture - BUN instruction
PPTX
King of acids -Sulphuric Acid H2SO4
PPTX
Information Technology - System Threats
PPTX
Software Metrics - Software Engineering
PDF
Binary Search - Design & Analysis of Algorithms
PPTX
CNF & Leftmost Derivation - Theory of Computation
PPTX
Fd & Normalization - Database Management System
Physical Layer Numericals - Data Communication & Networking
Determinants - Mathematics
Matrices - Mathematics
Holy Rivers - Hindi
Mid point line Algorithm - Computer Graphics
Unix Memory Management - Operating Systems
Collections Api - Java
Airline Reservation System - Software Engineering
Performance Management and Feedback - SHRM
Computer System Architecture - BUN instruction
King of acids -Sulphuric Acid H2SO4
Information Technology - System Threats
Software Metrics - Software Engineering
Binary Search - Design & Analysis of Algorithms
CNF & Leftmost Derivation - Theory of Computation
Fd & Normalization - Database Management System

Recently uploaded (20)

PPTX
Amdahl’s law is explained in the above power point presentations
PDF
737-MAX_SRG.pdf student reference guides
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PPTX
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
PDF
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
PPTX
Management Information system : MIS-e-Business Systems.pptx
PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PDF
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
PDF
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
PPTX
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
PDF
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
PPT
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
PDF
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
PPTX
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PDF
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
PPT
Total quality management ppt for engineering students
PDF
August -2025_Top10 Read_Articles_ijait.pdf
PPTX
Software Engineering and software moduleing
PPTX
introduction to high performance computing
PDF
Improvement effect of pyrolyzed agro-food biochar on the properties of.pdf
Amdahl’s law is explained in the above power point presentations
737-MAX_SRG.pdf student reference guides
III.4.1.2_The_Space_Environment.p pdffdf
Chemical Technological Processes, Feasibility Study and Chemical Process Indu...
Level 2 – IBM Data and AI Fundamentals (1)_v1.1.PDF
Management Information system : MIS-e-Business Systems.pptx
"Array and Linked List in Data Structures with Types, Operations, Implementat...
EXPLORING LEARNING ENGAGEMENT FACTORS INFLUENCING BEHAVIORAL, COGNITIVE, AND ...
Influence of Green Infrastructure on Residents’ Endorsement of the New Ecolog...
Graph Data Structures with Types, Traversals, Connectivity, and Real-Life App...
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
SMART SIGNAL TIMING FOR URBAN INTERSECTIONS USING REAL-TIME VEHICLE DETECTI...
AUTOMOTIVE ENGINE MANAGEMENT (MECHATRONICS).pptx
PREDICTION OF DIABETES FROM ELECTRONIC HEALTH RECORDS
Total quality management ppt for engineering students
August -2025_Top10 Read_Articles_ijait.pdf
Software Engineering and software moduleing
introduction to high performance computing
Improvement effect of pyrolyzed agro-food biochar on the properties of.pdf

Propositions - Discrete Structures

  • 1. Prepared by : 1) Drishti Bhalla − 1838 2) Dimpy Chugh − 1831
  • 2. A PROPOSITION is a statement which has truth value: it is either true (T) or false (F). Example 1 Which of the following are propositions? (a)17 + 25 = 42 (b) July 4 occurs in the winter in the Northern Hemisphere. (c) The population of the United States is less than 250 million. (d) Is the moon round? (e) 7 is greater than 12. (f) x is greater than y. Answers (a)is a proposition; and of course it has the 'truth value' true. (b) is a proposition. Of course, it's false, but it's still a proposition. (c) is a proposition, but we may not actually know whether it's true or false. Nevertheless, the fact is that the statement itself is a proposition, because it is definitely either true or false. (d) is not a proposition. It's a question. (e) is a proposition. It's false again, of course 7>12. (f) is a bit more debatable! It's certainly a potential proposition, but until we know the values of x and y, we can't actually say whether it is true or false. Note that this isn't quite the same as (c), where we may not know the truth value because we aren't well-enough informed.
  • 4. Corresponding Tautology: (p ∧ (p →q)) → q Corresponding Tautology: (¬p∧(p →q))→¬q
  • 5. Corresponding Tautology: ((p →q) ∧ (q→r))→(p→ r) Corresponding Tautology: (¬p∧(p ∨q))→q
  • 7. Corresponding Tautology: ((¬p ∨ r ) ∧ (p ∨ q)) →(q ∨ r)
  • 9. SOL: •If the butler is telling the truth, then by (a) the cook is telling the truth. •If the cook is telling the truth, then by (b) the gardener is lying. •If the gardener is lying, then by (c) the handyman is telling the truth. •If the handyman is telling the truth, they by (d) the cook is lying. This leads to a contradiction (the cook can not be both telling the truth and lying)! Therefore the butler and cook must be lying. But this can also be solved by using the rules of inference
  • 10. Let B be ‘the butler is telling the truth’, C be ‘the cook is telling the truth’, G be ‘the gardener is telling the truth’, H be ‘the handyman is telling the truth’ The given premises are: (1) B  C (2) ~ (C  G) = ~C V ~G (3) ~ (~G  ~H) = G V H (4) H  ~C Assume that C is true. (5) C From (5) and (2) by Disjunctive Syllogism we conclude (6) ~G From (6) and (3) by Disjunctive Syllogism we conclude (7) H From (7) and (4) by Modus Ponens we conclude (8) ~C This conclusion contradicts the assumption that C is true, therefore C is false, i.e. ~C is true. Therefore, we can conclude that the cook is lying Next, we use ~C in conjunction with the given premises to derive new conclusions. (9) ~C From (9) and (1) by Modus Tollens we conclude (10) ~B Therefore the butler is lying
  • 11. SOL: Let and be the statements that and , respectively, so that and are the statements that and , respectively. this is the statement that . If A is a knight, then he is telling the truth when he says that B is a knight, so that , and A and B are the same type. However, if B is a knight, then B’s statement that A and B are of opposite types, the statement would have to be true, which it is not, because A and B are both knights. Consequently, we can conclude that A is not a knight, that is, that . Then because everything a knave says is false, A’s statement that B is a knight, that is, that , is a lie. This means that and B is also a knave. Furthermore, if B is a knave, then B’s statement that A and B are opposite types is a lie, which is consistent with both A and B being knaves.
  • 13.  A fuzzy logic proposition, P, is a statement involving some concept without clearly defined boundaries .  Fuzzy logic is a form of many-valued logic ; it deals with reasoning that is approximate rather than fixed and exact. Fuzzy logic variables may have a truth value that ranges in degree between 0 and 1 rather than usual true(1) or false(0).  Main difference between classical propositions and fuzzy propositions: – The range of their truth values : [0, 1] . bool speed; get the speed if ( speed == 0) { // speed is slow } else { // speed is fast } float speed; get the speed if ((speed >= 0.0)&&(speed < 0.25)) { // speed is slowest } else if ((speed >= 0.25)&&(speed < 0.5)) { // speed is slow } else if ((speed >= 0.5)&&(speed < 0.75)) { // speed is fast } else // speed >= 0.75 && speed < 1.0 { // speed is fastest }
  • 14. Suppose we wish to divide height into three classes : short , average and tall . A Boolean representation would look something like this : A fuzzy representation on the other hand would look something like this :
  • 15. Suppose height is 182cm . Find the value on horizontal axis and see where it intersects the membership functions for the three variables . 182cm is outside the range of “SHORT” , so short->0. It intersects average at 0.4 and tall at 0.08 .
  • 16. OR : MAX(A,B) AND : MIN(A,B) NOT : ¬A=1-A
  • 17. Let Height=165 and Weight=100.Consider “ Height is short or Weight is heavy ”.
  • 19. Suppose we want to design A risk-assessment system for some form of project . We wish to determine the risk depending on project funding and staffing. 1. The first step is to design fuzzy variables , which are funding , staffing, and risk .For each of these variables, we define the membership functions :
  • 20. The next step is to define the rules for the system , using these variables. For instance , we have : 1. If funding is adequate or staffing is small , then risk is low. 2. If funding is marginal and staffing is large then risk is normal. 3. If funding is inadequate then risk is high. Suppose we have a funding of f0 and a staffing of s0 people. What would the risk r0 be ?
  • 21. We have mapped the ‘crisp’ (i.e. raw values ) f0 and s0 to the membership functions and found (for instance) that f0 has a 0.5 membership degree of “inadequate” and a 0.2 membership degree of “marginal”. The same way s0 has a 0.1 membership degree of “small” and a 0.7 membership degree of “large”. The next step is to evaluate the basic rules we defined :
  • 22. Now we need to aggregate the results to a single output area : The output area is then defuzzified to get a crisp output r0. A common solution is to take the center of mass of the result output area .