Ensuring Global Termination of Partial Deduction while Allowing Flexible Polyvariance | part of Logic Programming: The 12th International Conference | MIT Press books | IEEE Xplore