[logic-ml] unityped, simply typed, and dependently typed