Skip to main content

hard_arith_search_vars

Function hard_arith_search_vars 

Source
fn hard_arith_search_vars(
    cx: &SymCx,
    vars: &IndexSet<Symbol>,
    constraints: &[SymBoolExpr],
) -> Option<Vec<Symbol>>
Expand description

Returns the variables local hard-arithmetic search assigns.

A selection within HARD_ARITH_DEFER_MAX_VARS is preferred because it leaves variables bound by support constraints to constructive completion; the search widens to HARD_ARITH_FALLBACK_MAX_VARS only when no such selection fits.