programs to well-typed closed terms