symbolic solver based on Gröbner bases