Automated Behavioural Verification of Prolog Programs