mirror of
https://github.com/Z3Prover/z3
synced 2025-04-08 10:25:18 +00:00
add note that the encoding is a first approximation
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
b9528b1c56
commit
d743e1b47c
|
@ -3163,6 +3163,7 @@ namespace nlsat {
|
|||
if (a.i() == 1 && m_pm.degree(a.p(), a.x()) == 1)
|
||||
return display_linear_root_smt2(out, a, proc);
|
||||
#if 1
|
||||
// A first approximation: this encoding assumes roots are distinct
|
||||
out << "(exists (";
|
||||
for (unsigned j = 0; j < a.i(); ++j) {
|
||||
std::string y = std::string("y") + std::to_string(j);
|
||||
|
|
Loading…
Reference in a new issue