Find Jobs
Hire Freelancers

lisp program need to be done

$30-250 USD

Cancelled
Posted over 13 years ago

$30-250 USD

Paid on delivery
Resolution theorem proover Write a program which takes as a input Statement1 Statement2 Conclusion Statement1 and Statement2 are the facts. We have to proove the Conclusion using resolution. The above three are infix expressions of first order predicate logic. Expression may have symbols,variables, existential quantifiers, universal quantifiers. Part 1: Convert all three expressions to CNF(Conjective Normal Form) form. a)While converting to CNF, If clauses have variables, Standardize variables 1. For sentences like (?x P(x)) ? (?x Q(x)) which use the same variable name twice, change the name of one of the variables. This avoids confusion later when we drop the quantifiers. 2. From ?x [?y Animal(y) ? ¬Loves(x, y)] ? [?y Loves(y, x)]. we obtain: ?x [?y Animal(y) ? ¬Loves(x, y)] ? [?z Loves(z,x)]. b)Removing quantifiers Existential Quantifiers are converted to skolem functions. Universal Quantifiers are dropped after variables are standardized. Part 2: Add individual clauses generated by converting to conjuctive normal form to a database using lisp alists. Add the negation of the conclusion to the database. Part 3: Resolution Try to find a contradiction by combining two clauses from the database. If we find a contradiction we exit, thus Conclusion is proven. If not we continue our search. If the clauses have variables use unification algorithm to equate the two clause. Sample formats (or p q) (implies p q) (not r) (forall ?x (forall ?y (exists ?z (implies (P ?x ?y) (Q ?x ?y ?z))))) this is equivalent to ?x [?y [?z [ P(x,y) -> Q(x,y,z) ]]] Note: A '?' before symbol indicates variable.
Project ID: 870006

About the project

2 proposals
Remote project
Active 13 yrs ago

Looking to make some money?

Benefits of bidding on Freelancer

Set your budget and timeframe
Get paid for your work
Outline your proposal
It's free to sign up and bid on jobs
2 freelancers are bidding on average $300 USD for this job
User Avatar
I think I'm the right person for this project. Ready to start now. Please check your PMB.
$200 USD in 7 days
0.0 (0 reviews)
0.0
0.0

About the client

Flag of OMAN
Mutrah, Oman
4.9
452
Payment method verified
Member since Nov 17, 2009

Client Verification

Thanks! We’ve emailed you a link to claim your free credit.
Something went wrong while sending your email. Please try again.
Registered Users Total Jobs Posted
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Loading preview
Permission granted for Geolocation.
Your login session has expired and you have been logged out. Please log in again.