Proving termination higher-order rewrite sy by Jean Pol