1
0
Fork 0
This repository has been archived on 2024-05-03. You can view files and clone it, but cannot push or open issues or pull requests.
unification-pfa/lib/unification.mli

11 lines
305 B
OCaml
Raw Normal View History

2024-03-11 09:31:56 +01:00
(*
The function `unify` must compute the substitution
`s` such that if `unify t1 t2 = Some s` then
`apply s t1 = apply s t2`.
You can use the slides on the Herbrand / Robinson algorithm
to start designing your implementation.
*)
val unify : Type.t -> Type.t -> TypeSubstitution.t option