[logic-ml] generalized existential completions