ASTRE: Towards a fully automated program transformation systemTermination issues in automated syntheses