Fires of Heaven Guild Message Board  

Go Back   Fires of Heaven Guild Message Board > General forums > Development
User Name
Password
Or, use your gamerDNA username: (more...)
ForumSpy Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Rate Thread Display Modes
Old 11-02-2009, 12:21 PM   #1 (permalink)
CnCGOD
Conservative Whipping Post
 
Join Date: Jan 2003
Posts: 1,380
-55 Internets
Anyone good at AI Theory?

I am taking a course on AI and this class has me flummoxed. I am terrible at logical proofs and such and this shit takes the cake.

Huge +internets for anyone who can help with the following within 6hrs(the A at the begging for the knowlege base is that upside down A thingy):

Code:
Assume the following partial knowledge base for natural numbers:
Ax : Plus(x, 0, x)
Ax, y, z : Plus(x, y, z) ) Plus(x, s(y), s(z))
Ax : Minus(x, 0, x)
Ax, y, z : Minus(x, y, s(z)) ) Minus(x, s(y), z)
Ax, y : Minus(0, s(y),NULL)
Note that there are two special constants, 0 and NULL (NULL means that the result is not
a natural number). There is 1 function, s (with one argument). There are 2 predicates, one
that corresponds to a normal ”+”, and one that corresponds to a normal ”-”.
1
Show that
a) Plus(s(0), s(s(0)), s(s(s(0)))), i.e. 1+2 = 3
b) Minus(s(s(0)), s(0), s(0)), i.e. 2-1=1
You can use any inference method (e.g. resolution for first-order logic), but make sure your
proof is solid. Always show what rule you used, and if you used unification, show the used
most general unifier.
CnCGOD is offline   Reply With Quote
Old 11-02-2009, 02:00 PM   #2 (permalink)
Tenks
Registered User
 
Join Date: Nov 2003
Posts: 1,624
Maybe I won't get that masters of AI that I've been eyeballing
__________________
Quote:
Originally Posted by GrobbeeTrull2.0 View Post
If you can stomach it, most chicks I've been with absolutely go bananas when you blow your load in them, go down on them, make them cum, suck it out, and feed it to them in a big wet kiss.
Tenks is offline   Reply With Quote
Old 11-02-2009, 03:10 PM   #3 (permalink)
simeon
Registered User
 
Join Date: Jan 2005
Location: Bloomington, IL
Posts: 927
+8 Internets
AI Theory?
Anyone who has any idea of first order logic should be able to hammer this out. I'm assuming you're taking an AI course and they're going to have you use Prolog, thus this is an introduction to the skills you need to successfully do your assignments.

If you still need the help, I'll take a look at it when I get home.
simeon is offline   Reply With Quote
Old 11-02-2009, 04:02 PM   #4 (permalink)
CnCGOD
Conservative Whipping Post
 
Join Date: Jan 2003
Posts: 1,380
-55 Internets
Yea its a standalone AI course, and hes hammering first order logic to a bunch of computer science students (its a masters level CS course) without the background to know wtf is going on. Its so far from any of my experience/strengths that the basics make me want to scream. I took discrete math like 7-8years ago and remember 0 from it. I could never do proofs in math worth a damn, just bombed those and got everything else right. I hate formal logic and either I have formed a block or my mind works so differently that it makes no sense lol. I am the type to get to the solution intuativly without some formal process and doing the process is harder than getting to the solution for me.

The odd thing is we are over 1/2 way through the class and there seems to be no plans to do prolog , I just want to get a B so my company pays for the course and forget everything asap as it has 0 value in my field.
Of course that is going to be hard to do as the class average is 62% and I am hovering just above that.


The help would be to late for the homework but it could help me know wtf to do on the test so would still appreciate the help.

Last edited by CnCGOD; 11-02-2009 at 04:36 PM..
CnCGOD is offline   Reply With Quote
Old 11-03-2009, 05:49 PM   #5 (permalink)
Fog
Registered User
 
Join Date: Feb 2006
Posts: 1,971
-1 Internets
You should probably post this on the general forum or in another place altogether. That said, for the first proof, the outline of what you want to do will be something like this:

- Take the first theorem, specify X as s(0), yielding Plus(s(0), 0, s(0))
- Apply the second theorem, which implies Plus(s(0), s(0), s(s(0)))
- Apply the second theorem again, which implies Plus(s(0), s(s(0)), s(s(s(0))))
- QED

And for the second proof, something like this:

- Take the third theorem, specify X as s(s(0)), yielding Minus(s(s(0)), 0, s(s(0)))
- Apply the fourth theorem, which implies Minus(s(s(0)), s(0), s(0))
- QED

Formalize as necessary. By the way, this is supposed to be the intuitive part.

Last edited by Fog; 11-03-2009 at 05:55 PM..
Fog is offline   Reply With Quote
Old 11-04-2009, 08:39 AM   #6 (permalink)
CnCGOD
Conservative Whipping Post
 
Join Date: Jan 2003
Posts: 1,380
-55 Internets
Thanks fog, I think I see whats going on better now... the way our professor words shit is terrible.
CnCGOD is offline   Reply With Quote
Old 11-05-2009, 01:01 PM   #7 (permalink)
ToeMissile
more than a feelin'
 
ToeMissile's Avatar
 
Join Date: Oct 2007
Location: not Vegas
Posts: 1,520
-34 Internets
Quote:
Originally Posted by CnCGOD View Post
Thanks fog, I think I see whats going on better now... the way our professor words shit is terrible.
At least he isn't an Indian version of Milton from Office Space...
__________________
ToeMissile is offline   Reply With Quote
Old 11-05-2009, 05:49 PM   #8 (permalink)
CnCGOD
Conservative Whipping Post
 
Join Date: Jan 2003
Posts: 1,380
-55 Internets
lol
CnCGOD is offline   Reply With Quote
Old 11-05-2009, 09:17 PM   #9 (permalink)
lendarios
weeeeee
 
Join Date: Jun 2005
Location: Miami, Fl.
Posts: 1,259
Prolog class was for me one of the hardest one i took. Im good at logic proofs but the excess numbers of parenthesis of prolog always threw me off. Im glad i dont have to work with that at all. All you need to know is Boolean algebra.
__________________
Quote:
Originally Posted by Lusiphur View Post
Best raiding game ? Wow.
lendarios is online now   Reply With Quote
Old 11-14-2009, 10:18 AM   #10 (permalink)
Luthair
Registered User
 
Join Date: May 2002
Posts: 1,538
Quote:
Originally Posted by lendarios View Post
Prolog class was for me one of the hardest one i took. Im good at logic proofs but the excess numbers of parenthesis of prolog always threw me off. Im glad i dont have to work with that at all. All you need to know is Boolean algebra.
There are barely any parenthesis in prolog.
Luthair is offline   Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is On
Trackbacks are On
Pingbacks are On
Refbacks are On

uberguilds network



All times are GMT -7. The time now is 08:12 AM.


Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.0.0 RC6