News for hackers. Stuff that matters.
Re:Prolog at Work by YeGoblynQueenne on Thursday January 05, 2023 @10:47AM (#34261369)
Yes, I see, that doesn't make sense.

I wonder if all that was more of a consideration in an older time, with weaker hardware. Anyway where I come from (ILP research, again) "polynomial time" is synonymous to "efficient" and the bigger problem is proofs failing to terminate.

I might actually try some learning experiments with the occurs check flag set to "true" just to see what happens. I mean, I wonder. I'm so used to leaving the flag to default false that I wonder if I haven't formed a completely wrong model about the execution of Prolog programs. I've been coding in Prolog for more than ten years now and it still catches me off-guard at times.

Re:Prolog at Work by falsissime on Thursday January 05, 2023 @12:43PM (#34263515)
Consider to set the flag to "error" to see if there are any cases where infinite terms would be created.