–
Questions
–
1. Deduction Theorem
Given an expression, write a program to decide whether its a theorem or not Steps
- Write a parser to isolate the clauses around the implication in the expressions
Test Cases :
- (P => Q ) => ((~Q => P) => Q)
- P => (P V Q)
- (P ^ Q) => (P V R)
2. Prolog Programing
- Write a program in Prolog to represent the following knowledge and find the answer to the given questions
- Knowledge
A, B and C belong to Himalayan club. Every member in the club is either a mountain climber or skier or both. A likes whatever B dislikes and dislikes whatever B likes. A likes rain and snow. No mountain climber likes rain. Every skiers likes snow
Question : Is there a member who is mountain climber but not a skier?

![[Solved] (CS571) Intelligence Assignment-3](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip.jpg)

![[Solved] CS571 Assignment 3](https://assignmentchef.com/wp-content/uploads/2022/08/downloadzip-1200x1200.jpg)
Reviews
There are no reviews yet.