News for hackers. Stuff that matters.
Re:Ask HN: Production Prolog in 2020? by thom on Tuesday May 19, 2020 @08:50AM (#23234276)
Do any of the non-artificial intelligences walking around out there contain a logical inference engine similar to Prolog?
Re:Ask HN: Production Prolog in 2020? by felixyz on Tuesday May 19, 2020 @10:30AM (#23235248)
Yes. Logic wasn't conjured up from abstract ideas, but from a concerted effort to distill the essence of what humans (regular, average people) find reasonable and convincing. (To mention just one example, there is a reason one of George Boole's major works is called "The Laws of Thought".)

Our strategies for understanding language also involve inference and unification that is similar to logic programming. This is not to say the exact semantics and evaluation strategy of Prolog is what humans carry around, but part of our cognitive apparatus clearly operates in a manner similar to logic, and by extension Prolog.

I discussed this topic with one of the inventors of Prolog recently: https://thesearch.space/episodes/1-the-poet-of-logic-program...

Re:Ask HN: Production Prolog in 2020? by YeGoblynQueenne on Tuesday May 19, 2020 @01:10PM (#23237298)
Plotkin's thesis! You had an interview with Kowalski? Wow :)
Re:Ask HN: Production Prolog in 2020? by felixyz on Tuesday May 19, 2020 @03:43PM (#23239249)
You're on my wish list for interviewees too :)
Re:Ask HN: Production Prolog in 2020? by YeGoblynQueenne on Tuesday May 19, 2020 @05:33PM (#23240543)
Wot me? Haha! Wait another 20 years maybe! But thanks, that's so kind :D
Re:Ask HN: Production Prolog in 2020? by thom on Tuesday May 19, 2020 @12:02PM (#23236356)
I have no doubt that human or other intelligences can emulate and even to some extent intuit these rules. If you believe that's a _requirement_ for their intelligence, I think that's a stronger claim. Not one I'd vehemently argue against, but not one I'd personally be comfortable making.
Re:Ask HN: Production Prolog in 2020? by felixyz on Tuesday May 19, 2020 @03:18PM (#23238939)
I don't believe we emulate a set of rules that were somehow arbitrarily created at some point in history. I believe logic is something we discover (not invent) and it has roots in both human cognition and the physical world, and it's not fully known or understood exactly how they emerge. Hence, logic is still a developing field, and logic programming has indeed contributed to it.

"Intelligence" is a vague term, but if you mean the ability to act rationally or even in a coherently self-interested way, then surely logic has something to do with it.

Re:Ask HN: Production Prolog in 2020? by thom on Tuesday May 19, 2020 @05:38PM (#23240590)
I don't really mean anything special by intelligence, but let's flatter ourselves that humans are born with some measure of it. I personally find it more likely than not that our particular form of intelligence is able to then _learn_ various rules of logical inference as a kind of metapattern. When I say 'emulate' I mean that we can, if we want, sit down with a pencil and paper and _force_ ourselves to evaluate things exactly via these rules, even if we don't instinctively follow them (or do so fuzzily).

Obviously I could very easily be wrong, and we could possess hard coded rules of logical inference which form part of the basis for all the other things we do that you might call intelligence. But I'm not sure that anyone should claim "a general artificial intelligence would require a logical inference engine similar to Prolog".

Re:Ask HN: Production Prolog in 2020? by thelazydogsback on Wednesday May 20, 2020 @06:58PM (#23252995)
I listened to this a few weeks ago -- looking forward to the next episode!
Re:Ask HN: Production Prolog in 2020? by jmeister on Tuesday May 19, 2020 @10:17AM (#23235100)
Do any birds flying around have engines?
Re:Ask HN: Production Prolog in 2020? by OJFord on Tuesday May 19, 2020 @12:33PM (#23236848)
I want to agree with you, but I also want to agree with the hypothetical rebuttal GP is making in my mind:

> Yes, they do have engines similar to those found in planes, cars, etc. and so do humans - fuel goes in, chemistry happens, and energy is provided for physical movement in the form of rotation, flapping, or one foot in front of the other.

Idk who I agree with, I suppose it's a fairly pointless exercise in 'how similar constitutes 'similar'' all the way down.

Re:Ask HN: Production Prolog in 2020? by MaxBarraclough on Tuesday May 19, 2020 @09:04AM (#23234403)
> non-artificial intelligences walking around out there

I'm not sure what you mean by this. Do you mean people? I don't think our 'inference engine' is much like Prolog, no.

Re:Ask HN: Production Prolog in 2020? by throwaway_pdp09 on Tuesday May 19, 2020 @01:36PM (#23237675)
β€œThe question of whether a computer can think is no more interesting than the question of whether a submarine can swim.” (Edsger W. Dijkstra)

--is what he means.

Re:Ask HN: Production Prolog in 2020? by fomine3 on Wednesday May 20, 2020 @03:08AM (#23244118)
I got nice sentence
Re:Ask HN: Production Prolog in 2020? by zeckalpha on Tuesday May 19, 2020 @09:00AM (#23234362)
Re:Ask HN: Production Prolog in 2020? by WJW on Tuesday May 19, 2020 @09:16AM (#23234506)
Datomic is cool but not an intelligence, artificial or not. The GP was trying to point out that having a prolog-style inference engine is not required for intelligence and pointing to humans as a counterexample to prove why not.
Re:Ask HN: Production Prolog in 2020? by zeckalpha on Wednesday May 20, 2020 @04:08AM (#23244475)
Sorry, I parsed the grandparent as:

?- applicationof(prolog, X), domain(X, Y), nonai(Y).