Skip to content

Conversation

@Ovascos
Copy link
Contributor

@Ovascos Ovascos commented Nov 4, 2025

Fixes provided by the SMT-RAT team (thanks to @derjasper):

  • lp_polynomial_constraint_evaluate_subs: new function to evaluate a polynomial to a rational and compare the sign.
  • lp_polynomial_roots_isolate: improve performance by calculating the reductum with the evaluated polynomial.
  • lp_variable_db_add_variable: fixes a bug in the variable db size calculation.

@ahmed-irfan ahmed-irfan self-requested a review November 5, 2025 01:24
Copy link
Member

@ahmed-irfan ahmed-irfan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can you please also add tests

@Ovascos
Copy link
Contributor Author

Ovascos commented Nov 12, 2025

Tests for lp_polynomial_constraint_evaluate_subs (and some existing functions) added.
The improvements in lp_polynomial_roots_isolate are already covered by tests in polynomial_roots.py.

@ahmed-irfan ahmed-irfan merged commit fa3d614 into SRI-CSL:master Nov 15, 2025
8 checks passed
@Ovascos Ovascos deleted the smt-rat-fixes branch November 16, 2025 16:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants