SlideShare a Scribd company logo
1 of 6
Artifical Intelligence Excercise 1
1. Semantic Network
2. Semantice Network
3. Truth Tables
a) ɿ(ɿP) = P
P ɿP ɿ (ɿP)
T
F
T
F
F
T
F
T
T
F
T
F
Has
Property
Has
Property
Has
Property
Is - a
Is - a
Has
Property
Is - a
Has
Color
Has
Property
Has
Covering
Is - a
White
Singing
Tweety
Canary
FlyingBirdFeatherd
Animal
Equilateral
Triangle
Triangle
Closed Shape
3 Angles 3 Sides
Equal Slides
B) (P v Q) Ξ (ɿP → Q)
C) (P → Q) Ξ (ɿQ → ɿP)
D) (i) ɿ (P v Q) Ξ (ɿP ^ ɿQ)
(ii) ɿ (P ^ Q) Ξ (ɿP v ɿQ)
P Q P v Q ɿP ɿP → Q
T
F
T
F
T
T
F
F
T
T
T
F
F
T
F
T
T
T
T
F
P Q ɿQ ɿP P → Q ɿQ → ɿP
T
F
T
F
T
T
F
F
F
F
T
T
F
T
F
T
T
T
F
T
T
T
F
T
P Q ɿQ ɿP P v Q ɿ (P v Q) ɿP ^ ɿQ
T
F
T
F
T
T
F
F
F
F
T
T
F
T
F
T
T
T
T
F
F
F
F
T
F
F
F
T
P Q ɿQ ɿP P ^ Q ɿ (P ^ Q) ɿP v ɿQ
T
F
T
F
T
T
F
F
F
F
T
T
F
T
F
T
T
F
F
F
F
T
T
T
F
T
T
T
e) i) (P v Q) Ξ (Q v P)
ii) (P ^ Q) Ξ (Q ^ P)
f) (P ^ Q) ^ R Ξ P ^ (Q ^ R)
P Q P v Q Q v P
T
F
T
F
T
T
F
F
T
T
T
F
T
T
T
F
P Q P ^ Q Q ^ P
T
F
T
F
T
T
F
F
T
F
F
F
T
F
F
F
P Q R P ^ Q (Q ^ R) (P ^ Q) ^ R P ^ (Q ^ R)
T
T
T
T
F
F
F
F
T
T
F
F
T
T
F
F
T
F
T
F
T
F
T
F
T
T
F
F
F
F
F
F
T
F
F
F
T
F
F
F
T
F
F
F
F
F
F
F
T
F
F
F
F
F
F
F
g) (P v Q) v R Ξ P v (Q v R)
h) P v (Q ^ R) Ξ (P v Q) ^ (P v R)
P Q R P v Q Q v R (P v Q) v R P v (Q v R)
T
T
T
T
F
F
F
F
T
T
F
F
T
T
F
F
T
F
T
F
T
F
T
F
T
T
T
T
T
T
F
F
T
T
T
T
T
T
T
F
T
T
T
F
T
T
T
F
T
T
T
T
T
T
T
F
P Q R Q ^ R P v Q P v R P v (Q ^ R) (P v Q) ^ (P v R)
T
T
T
T
F
F
F
F
T
T
F
F
T
T
F
F
T
F
T
F
T
F
T
F
T
F
F
F
T
F
F
F
T
T
T
T
T
T
F
F
T
T
T
T
T
F
T
F
T
T
T
T
T
F
T
F
T
T
T
T
T
F
T
F
i) P ^ (Q v R) Ξ (P ^ Q) v (P ^ R)
4. Truth Tables
i) (p ^ (p → q)) → q
ii) (p → q) ^ ɿq → ɿq
P Q R Q v R P ^ Q P ^ R P ^ (Q v R) (P ^ Q) v (P ^ R)
T
T
T
T
F
F
F
F
T
T
F
F
T
T
F
F
T
F
T
F
T
F
T
F
T
T
T
F
T
T
T
F
T
T
F
F
F
F
F
F
T
F
T
F
F
F
F
F
T
T
T
F
F
F
F
F
T
T
T
F
F
F
F
F
p q p → q p ^ (p → q) (p ^ (p → q)) → q
T
F
T
F
T
T
F
F
T
T
F
T
T
F
F
F
T
T
T
T
P q p → q ɿq (p → q) ^ ɿq (p → q) ^ ɿq → ɿq
T
F
T
F
T
T
F
F
T
T
F
T
F
F
T
T
F
F
T
T
T
T
T
T
iii) (P → (Q → R)) → (P → Q)) → (P → R)
5.
(P → Q) ^ (Q → P) Ξ P ↔ Q
P Q R Q → R P → Q P → R P → (Q →
R)
P → (Q →
R)→ (P →
Q))
P → (Q →
R)→ (P →
Q))→ (P →
R)
T
T
T
T
F
F
F
F
T
T
F
F
T
T
F
F
T
F
T
F
T
F
T
F
T
F
T
T
T
F
T
T
T
T
F
F
T
T
T
T
T
F
T
F
T
T
T
T
T
F
T
T
T
T
T
T
T
F
T
T
T
T
T
T
T
T
T
T
T
T
T
T
P Q P → Q Q → P (p → q) ^
Q → P
P ↔ Q
T
F
T
F
T
T
F
F
T
T
F
T
T
F
T
T
T
F
F
T
T
F
F
T

More Related Content

What's hot

Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
taimoor iftikhar
 
Truth tables
Truth tablesTruth tables
Truth tables
walkerlj
 
Group 9.1 formal validity and 9 elementary valid argument rules
Group 9.1 formal validity and 9 elementary valid argument rulesGroup 9.1 formal validity and 9 elementary valid argument rules
Group 9.1 formal validity and 9 elementary valid argument rules
Kristel Joy Jadormio
 

What's hot (20)

Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
Disrete mathematics and_its application_by_rosen _7th edition_lecture_1
 
Propositional Logic (Descreate Mathematics)
Propositional Logic (Descreate Mathematics)Propositional Logic (Descreate Mathematics)
Propositional Logic (Descreate Mathematics)
 
La fuga de Elena Garro
La fuga de Elena GarroLa fuga de Elena Garro
La fuga de Elena Garro
 
Logic - Logical Propositions
Logic - Logical Propositions Logic - Logical Propositions
Logic - Logical Propositions
 
Relations
RelationsRelations
Relations
 
Cylindrical and spherical coordinates shalini
Cylindrical and spherical coordinates shaliniCylindrical and spherical coordinates shalini
Cylindrical and spherical coordinates shalini
 
Isomorphism (Graph)
Isomorphism (Graph) Isomorphism (Graph)
Isomorphism (Graph)
 
Tim Maudlin: New Foundations for Physical Geometry
Tim Maudlin: New Foundations for Physical GeometryTim Maudlin: New Foundations for Physical Geometry
Tim Maudlin: New Foundations for Physical Geometry
 
Complex Numbers and Functions. Complex Differentiation
Complex Numbers and Functions. Complex DifferentiationComplex Numbers and Functions. Complex Differentiation
Complex Numbers and Functions. Complex Differentiation
 
Proposition (Logic)
Proposition (Logic)Proposition (Logic)
Proposition (Logic)
 
Conjunction And Disjunction
 Conjunction And Disjunction Conjunction And Disjunction
Conjunction And Disjunction
 
Formal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical EquivalenceFormal Logic - Lesson 5 - Logical Equivalence
Formal Logic - Lesson 5 - Logical Equivalence
 
CMSC 56 | Lecture 11: Mathematical Induction
CMSC 56 | Lecture 11: Mathematical InductionCMSC 56 | Lecture 11: Mathematical Induction
CMSC 56 | Lecture 11: Mathematical Induction
 
Truth tables
Truth tablesTruth tables
Truth tables
 
Mathematical Logic - Part 1
Mathematical Logic - Part 1Mathematical Logic - Part 1
Mathematical Logic - Part 1
 
Group 9.1 formal validity and 9 elementary valid argument rules
Group 9.1 formal validity and 9 elementary valid argument rulesGroup 9.1 formal validity and 9 elementary valid argument rules
Group 9.1 formal validity and 9 elementary valid argument rules
 
Truth table
Truth tableTruth table
Truth table
 
Logic and proof
Logic and proofLogic and proof
Logic and proof
 
Discrete mathematics
Discrete mathematicsDiscrete mathematics
Discrete mathematics
 
Logic (PROPOSITIONS)
Logic (PROPOSITIONS)Logic (PROPOSITIONS)
Logic (PROPOSITIONS)
 

Similar to Exercise 1

Mathematical foundations of computer science
Mathematical foundations of computer scienceMathematical foundations of computer science
Mathematical foundations of computer science
BindhuBhargaviTalasi
 
Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statements
guestd166eb5
 

Similar to Exercise 1 (20)

null-12.pdf
null-12.pdfnull-12.pdf
null-12.pdf
 
null-12.pdf
null-12.pdfnull-12.pdf
null-12.pdf
 
LOGIC
LOGICLOGIC
LOGIC
 
Truth table analysis
Truth table analysisTruth table analysis
Truth table analysis
 
Formal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth TablesFormal Logic - Lesson 3 - Truth Tables
Formal Logic - Lesson 3 - Truth Tables
 
Discrete Structures
Discrete Structures Discrete Structures
Discrete Structures
 
Maths teachers guide For freshman course.pdf
Maths teachers guide For freshman course.pdfMaths teachers guide For freshman course.pdf
Maths teachers guide For freshman course.pdf
 
Discrete mathematic question answers
Discrete mathematic question answersDiscrete mathematic question answers
Discrete mathematic question answers
 
M4 logic-midterm-153
M4 logic-midterm-153M4 logic-midterm-153
M4 logic-midterm-153
 
Doc1.doc nobel[1]2
Doc1.doc nobel[1]2Doc1.doc nobel[1]2
Doc1.doc nobel[1]2
 
Doc1.doc nobel[1]3
Doc1.doc nobel[1]3Doc1.doc nobel[1]3
Doc1.doc nobel[1]3
 
Doc1.doc nobel[1]1[1]
Doc1.doc nobel[1]1[1]Doc1.doc nobel[1]1[1]
Doc1.doc nobel[1]1[1]
 
Mathematical foundations of computer science
Mathematical foundations of computer scienceMathematical foundations of computer science
Mathematical foundations of computer science
 
Truth table a.r
Truth table a.rTruth table a.r
Truth table a.r
 
Solutions Manual for Mathematical Proofs A Transition to Advanced Mathematics...
Solutions Manual for Mathematical Proofs A Transition to Advanced Mathematics...Solutions Manual for Mathematical Proofs A Transition to Advanced Mathematics...
Solutions Manual for Mathematical Proofs A Transition to Advanced Mathematics...
 
Formal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 6 - Switching CircuitsFormal Logic - Lesson 6 - Switching Circuits
Formal Logic - Lesson 6 - Switching Circuits
 
Nature of Logic.pptx
Nature of Logic.pptxNature of Logic.pptx
Nature of Logic.pptx
 
Chapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound StatementsChapter 1 Logic of Compound Statements
Chapter 1 Logic of Compound Statements
 
Discrete mathematics
Discrete mathematicsDiscrete mathematics
Discrete mathematics
 
Logic worksheet
Logic worksheetLogic worksheet
Logic worksheet
 

Recently uploaded

Pakistani Call girls in Deira 0567006274 Deira Call girls
Pakistani Call girls in Deira 0567006274 Deira Call girlsPakistani Call girls in Deira 0567006274 Deira Call girls
Pakistani Call girls in Deira 0567006274 Deira Call girls
Monica Sydney
 

Recently uploaded (20)

Hire 💕 8617370543 Lunawada Call Girls Service Call Girls Agency
Hire 💕 8617370543 Lunawada Call Girls Service Call Girls AgencyHire 💕 8617370543 Lunawada Call Girls Service Call Girls Agency
Hire 💕 8617370543 Lunawada Call Girls Service Call Girls Agency
 
Banda call girls 📞 8617370543At Low Cost Cash Payment Booking
Banda call girls 📞 8617370543At Low Cost Cash Payment BookingBanda call girls 📞 8617370543At Low Cost Cash Payment Booking
Banda call girls 📞 8617370543At Low Cost Cash Payment Booking
 
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service Bhubaneswar
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service BhubaneswarCall Girls Bhubaneswar 9777949614 call me Independent Escort Service Bhubaneswar
Call Girls Bhubaneswar 9777949614 call me Independent Escort Service Bhubaneswar
 
Call Girls In Gandhinagar 📞 8617370543 At Low Cost Cash Payment Booking
Call Girls In Gandhinagar 📞 8617370543  At Low Cost Cash Payment BookingCall Girls In Gandhinagar 📞 8617370543  At Low Cost Cash Payment Booking
Call Girls In Gandhinagar 📞 8617370543 At Low Cost Cash Payment Booking
 
Call Girls Surat Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Surat Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Surat Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Surat Just Call 8617370543 Top Class Call Girl Service Available
 
Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...
Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...
Call Girls in Ernakulam - 9332606886 Our call girls are sure to provide you w...
 
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdfTop IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
Top IPTV Subscription Service to Stream Your Favorite Shows in 2024.pdf
 
Dahod Call Girl 📞 8617370543 Low Price Genuine Service
Dahod Call Girl 📞 8617370543 Low Price Genuine ServiceDahod Call Girl 📞 8617370543 Low Price Genuine Service
Dahod Call Girl 📞 8617370543 Low Price Genuine Service
 
Pakistani Call girls in Deira 0567006274 Deira Call girls
Pakistani Call girls in Deira 0567006274 Deira Call girlsPakistani Call girls in Deira 0567006274 Deira Call girls
Pakistani Call girls in Deira 0567006274 Deira Call girls
 
Call Girls in Perumbavoor / 9332606886 Genuine Call girls with real Photos an...
Call Girls in Perumbavoor / 9332606886 Genuine Call girls with real Photos an...Call Girls in Perumbavoor / 9332606886 Genuine Call girls with real Photos an...
Call Girls in Perumbavoor / 9332606886 Genuine Call girls with real Photos an...
 
Call Girls Bijnor Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Bijnor  Just Call 8617370543 Top Class Call Girl Service AvailableCall Girls Bijnor  Just Call 8617370543 Top Class Call Girl Service Available
Call Girls Bijnor Just Call 8617370543 Top Class Call Girl Service Available
 
Satara call girl 8617370543♥️ call girls in satara escort service
Satara call girl 8617370543♥️ call girls in satara escort serviceSatara call girl 8617370543♥️ call girls in satara escort service
Satara call girl 8617370543♥️ call girls in satara escort service
 
Hire 💕 8617370543 Kushinagar Call Girls Service Call Girls Agency
Hire 💕 8617370543 Kushinagar Call Girls Service Call Girls AgencyHire 💕 8617370543 Kushinagar Call Girls Service Call Girls Agency
Hire 💕 8617370543 Kushinagar Call Girls Service Call Girls Agency
 
Call girls Service Khammam - 9332606886 Rs 3000 Free Pickup & Drop Services 2...
Call girls Service Khammam - 9332606886 Rs 3000 Free Pickup & Drop Services 2...Call girls Service Khammam - 9332606886 Rs 3000 Free Pickup & Drop Services 2...
Call girls Service Khammam - 9332606886 Rs 3000 Free Pickup & Drop Services 2...
 
Bhubaneswar🌹Call Girls Kalpana Mesuem ❤Komal 9777949614 💟 Full Trusted CALL ...
Bhubaneswar🌹Call Girls Kalpana Mesuem  ❤Komal 9777949614 💟 Full Trusted CALL ...Bhubaneswar🌹Call Girls Kalpana Mesuem  ❤Komal 9777949614 💟 Full Trusted CALL ...
Bhubaneswar🌹Call Girls Kalpana Mesuem ❤Komal 9777949614 💟 Full Trusted CALL ...
 
Escorts Service Model mount abu 👉 Just CALL ME: 8617370543 💋 Call Out Call Bo...
Escorts Service Model mount abu 👉 Just CALL ME: 8617370543 💋 Call Out Call Bo...Escorts Service Model mount abu 👉 Just CALL ME: 8617370543 💋 Call Out Call Bo...
Escorts Service Model mount abu 👉 Just CALL ME: 8617370543 💋 Call Out Call Bo...
 
Vapi call girls 📞 8617370543At Low Cost Cash Payment Booking
Vapi call girls 📞 8617370543At Low Cost Cash Payment BookingVapi call girls 📞 8617370543At Low Cost Cash Payment Booking
Vapi call girls 📞 8617370543At Low Cost Cash Payment Booking
 
Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...
Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...
Call Girls In Amreli Escorts ☎️8617370543 🔝 💃 Enjoy 24/7 Escort Service Enjoy...
 
Tapi Escorts | 8617370543 call girls service for all Users
Tapi Escorts | 8617370543 call girls service for all UsersTapi Escorts | 8617370543 call girls service for all Users
Tapi Escorts | 8617370543 call girls service for all Users
 
Ambassa Escorts | 8617370543 call girls service for all Users
Ambassa Escorts | 8617370543 call girls service for all UsersAmbassa Escorts | 8617370543 call girls service for all Users
Ambassa Escorts | 8617370543 call girls service for all Users
 

Exercise 1

  • 1. Artifical Intelligence Excercise 1 1. Semantic Network 2. Semantice Network 3. Truth Tables a) ɿ(ɿP) = P P ɿP ɿ (ɿP) T F T F F T F T T F T F Has Property Has Property Has Property Is - a Is - a Has Property Is - a Has Color Has Property Has Covering Is - a White Singing Tweety Canary FlyingBirdFeatherd Animal Equilateral Triangle Triangle Closed Shape 3 Angles 3 Sides Equal Slides
  • 2. B) (P v Q) Ξ (ɿP → Q) C) (P → Q) Ξ (ɿQ → ɿP) D) (i) ɿ (P v Q) Ξ (ɿP ^ ɿQ) (ii) ɿ (P ^ Q) Ξ (ɿP v ɿQ) P Q P v Q ɿP ɿP → Q T F T F T T F F T T T F F T F T T T T F P Q ɿQ ɿP P → Q ɿQ → ɿP T F T F T T F F F F T T F T F T T T F T T T F T P Q ɿQ ɿP P v Q ɿ (P v Q) ɿP ^ ɿQ T F T F T T F F F F T T F T F T T T T F F F F T F F F T P Q ɿQ ɿP P ^ Q ɿ (P ^ Q) ɿP v ɿQ T F T F T T F F F F T T F T F T T F F F F T T T F T T T
  • 3. e) i) (P v Q) Ξ (Q v P) ii) (P ^ Q) Ξ (Q ^ P) f) (P ^ Q) ^ R Ξ P ^ (Q ^ R) P Q P v Q Q v P T F T F T T F F T T T F T T T F P Q P ^ Q Q ^ P T F T F T T F F T F F F T F F F P Q R P ^ Q (Q ^ R) (P ^ Q) ^ R P ^ (Q ^ R) T T T T F F F F T T F F T T F F T F T F T F T F T T F F F F F F T F F F T F F F T F F F F F F F T F F F F F F F
  • 4. g) (P v Q) v R Ξ P v (Q v R) h) P v (Q ^ R) Ξ (P v Q) ^ (P v R) P Q R P v Q Q v R (P v Q) v R P v (Q v R) T T T T F F F F T T F F T T F F T F T F T F T F T T T T T T F F T T T T T T T F T T T F T T T F T T T T T T T F P Q R Q ^ R P v Q P v R P v (Q ^ R) (P v Q) ^ (P v R) T T T T F F F F T T F F T T F F T F T F T F T F T F F F T F F F T T T T T T F F T T T T T F T F T T T T T F T F T T T T T F T F
  • 5. i) P ^ (Q v R) Ξ (P ^ Q) v (P ^ R) 4. Truth Tables i) (p ^ (p → q)) → q ii) (p → q) ^ ɿq → ɿq P Q R Q v R P ^ Q P ^ R P ^ (Q v R) (P ^ Q) v (P ^ R) T T T T F F F F T T F F T T F F T F T F T F T F T T T F T T T F T T F F F F F F T F T F F F F F T T T F F F F F T T T F F F F F p q p → q p ^ (p → q) (p ^ (p → q)) → q T F T F T T F F T T F T T F F F T T T T P q p → q ɿq (p → q) ^ ɿq (p → q) ^ ɿq → ɿq T F T F T T F F T T F T F F T T F F T T T T T T
  • 6. iii) (P → (Q → R)) → (P → Q)) → (P → R) 5. (P → Q) ^ (Q → P) Ξ P ↔ Q P Q R Q → R P → Q P → R P → (Q → R) P → (Q → R)→ (P → Q)) P → (Q → R)→ (P → Q))→ (P → R) T T T T F F F F T T F F T T F F T F T F T F T F T F T T T F T T T T F F T T T T T F T F T T T T T F T T T T T T T F T T T T T T T T T T T T T T P Q P → Q Q → P (p → q) ^ Q → P P ↔ Q T F T F T T F F T T F T T F T T T F F T T F F T