prolog affe