|
|
|
|
|
by falsissime
1268 days ago
|
|
> [3] What does the DEC10 Prolog manual say about the occurs check? See I.2.1. Occur Check of https://userweb.fct.unl.pt/~lmp/publications/online-papers/D... A recent related discussion: https://stackoverflow.com/questions/65600226/what-occurs-che... In general, we do agree on the observation that Prolog profits from both the theoretical and the practical side. But still even today I have the impression that the highly theoretically leaning side does not appreciate the fundamental contribution errors have on ensuring correctness properties. At least this was my impression of November 10th in Paris. Just one personal recollection (from memory) which probably also influences my view on the Kowalski-Colmerauer relation. At a META 90 tutorial/talk about meta interpreters, Sterling attributed the origin of meta interpreters to Warren and the DEC10 manual. Kowalski responded (publicly during the talk) that this was well known to Colmerauer, well before Warren ever got into Prolog. As to the lady you are referring to she is his widow, a linguist. |
|
> ... whereas unification without the occur check is linear on the size of the smallest of the terms being unified.
This claim is incorrect, it goes far beyond what is possible. To see its incorrectness consider the unification problem X = Y. And just for illustrative purposes, think of them both as being very big and evolved. Now, consider a related unification problem Z-Z = X-Y with Z just a variable. According to above claim, the cost would be now independent of X and Y which cannot be.