Dictionary    Maps    Thesaurus    Translate    Advanced >   


Tip: Click Thesaurus above for synonyms. Also, follow synonym links within the dictionary to find definitions from other sources.

1. The Free On-line Dictionary of Computing (30 December 2018)
occurs check

    A feature of some implementations of
   unification which causes unification of a logic variable V
   and a structure S to fail if S contains V.

   Binding a variable to a structure containing that variable
   results in a cyclic structure which may subsequently cause
   unification to loop forever.  Some implementations use extra
   pointer comparisons to avoid this.

   Most implementations of Prolog do not perform the occurs
   check for reasons of efficiency.  Without occurs check the
   complexity of unification is

   	O(min(size(term1), size(term2)))

   with occurs check it's

   	O(max(size(term1), size(term2)))

   In theorem proving unification without the occurs check can
   lead to unsound inference.  For example, in Prolog it is
   quite valid to write

   	X = f(X).

   which will succeed, binding X to a cyclic structure.  Clearly
   however, if f is taken to stand for a function rather than a
   constructor, then the above equality is only valid if f is
   the identity function.

   Weijland calls unification without occur check, "complete
   unification".  The reference below describes a complete
   unification algorithm in terms of Colmerauer's consistency
   algorithm.

   ["Semantics for Logic Programs without Occur Check",
   W.P. Weijland, Theoretical Computer Science 71 (1990) pp
   155-174].

   (1996-01-11)


Common Misspellings >
Most Popular Searches: Define Misanthrope, Define Pulchritudinous, Define Happy, Define Veracity, Define Cornucopia, Define Almuerzo, Define Atresic, Define URL, Definitions Of Words, Definition Of Get Up, Definition Of Quid Pro Quo, Definition Of Irreconcilable Differences, Definition Of Word, Synonyms of Repetitive, Synonym Dictionary, Synonym Antonyms. See our main index and map index for more details.

©2011-2024 ZebraWords.com - Define Yourself - The Search for Meanings and Meaning Means I Mean. All content subject to terms and conditions as set out here. Contact Us, peruse our Privacy Policy