3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-08-08 06:52:26 +00:00

Handle missing crossed-bound witness conservatively

Co-authored-by: NikolajBjorner <3085284+NikolajBjorner@users.noreply.github.com>
This commit is contained in:
copilot-swe-agent[bot] 2026-08-07 06:30:40 +00:00 committed by GitHub
parent 6b07277cf0
commit d545494abf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2868,6 +2868,11 @@ namespace lp {
m_imp->m_crossed_bounds_column = j;
const auto& ul = m_imp->m_columns[j];
u_dependency* bdep = lower_bound? ul.lower_bound_witness() : ul.upper_bound_witness();
if (!bdep) {
m_imp->m_crossed_bounds_column = null_lpvar;
set_status(lp_status::UNKNOWN);
return;
}
m_imp->m_crossed_bounds_deps = dep_manager().mk_join(bdep, dep);
SASSERT(m_imp->m_crossed_bounds_deps != nullptr);
set_status(lp_status::INFEASIBLE);