Questions tagged [unification]

Unification, in computer science and logic, is an algorithmic process by which one attempts to solve the satisfiability problem. The goal of unification is to find a substitution which demonstrates that two seemingly different terms are in fact either identical or just equal.

Unification, in computer science and logic, is an algorithmic process by which one attempts to solve the satisfiability problem. The goal of unification is to find a substitution which demonstrates that two seemingly different terms are in fact either identical or just equal.

Unification is widely used in automated reasoning, logic programming and programming language type system implementation. In particular, it is widely used in type deduction for example in C++ templates type deduction or in functional language such as Scala/Ocaml/Haskell type synthesis.

Several kinds of unification are commonly studied: syntactic unification (for theories without any equations) and semantic unification (for non-empty equational theories).

See also

228 questions
0
votes
0 answers

Prolog- matching parts of a list

Possible Duplicate: Prolog- translating English to C We basically have an assignment where we're given a list that represent some notation in English, such as [add,3,to,5], and we need to take that and have it output the corresponding notation in…
T T
  • 261
  • 5
  • 16
-1
votes
1 answer

Checking if a list of variables is unifiable with a list of lists containing letters

I have this predicate spaces_uni(Spc,LstWords), Spc is a list of variables like [X,Y,Z] or [a,Y,Z] and LstWords is a list of words like [[o,r,a,n,g,e],[a,p,p,l,e],[b,a,n,a,n,a]]. The purpose of this predicate is to check if there is any word in…
Martim Correia
  • 483
  • 5
  • 16
-1
votes
1 answer

Printer in Haskell for Subst in Data.Comp.Variables

I have a function which returns a Subst defined in this library: http://hackage.haskell.org/package/compdata-0.1/docs/Data-Comp-Variables.html#t:Subst I am trying to print the return value. The printer should show a mapping from variables to terms.…
Lana
  • 1,124
  • 1
  • 8
  • 17
1 2 3
15
16