unifiable
Unifiable is a term used in logic, computer science, and related fields to describe two expressions (usually terms with variables) that can be made identical by applying a substitution to their variables. A substitution assigns a term to each variable, and applying the substitution to both expressions yields the same result. If such a substitution exists, the expressions are unifiable; if not, they are not unifiable. The most general substitution that makes the expressions identical is called the most general unifier (MGU), because any other unifier can be obtained by composing the MGU with another substitution.
A simple example: the terms f(x, a) and f(b, y) are unifiable with the substitution {x -> b,
In first-order logic, unification is studied through Robinson’s unification algorithm, which computes an MGU when one
Higher-order unification (unifying terms with functions, lambdas, or lambda abstractions) is more complex; in general, it