Type-Directed Program Synthesis and Constraint Generation for Library Portability | IEEE Conference Publication | IEEE Xplore