3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-24 17:45:32 +00:00

add facility to solve for a linear term over API

This commit is contained in:
Nikolaj Bjorner 2024-11-30 09:34:27 -08:00
parent d2411567b5
commit 05e053247d
14 changed files with 109 additions and 6 deletions

View file

@ -248,6 +248,11 @@ public:
*/
virtual expr* congruence_next(expr* e) = 0;
/**
\brief try to solve for term e (when e is arithmetical).
*/
virtual bool solve_for(expr* e, expr_ref& term) { return false; }
/**
\brief Display the content of this solver.
*/