Structsยง
- Fallback
Search ๐ - Holds immutable state for recursive hard-arithmetic fallback search.
- Mask
Hints ๐
Functionsยง
- bool_
contains_ ๐hard_ arith - Returns the
bool_contains_hard_arithsolver helper result. - bool_
contains_ ๐symbolic_ hash - Returns whether the boolean expression contains symbolic hash variables.
- bool_
contains_ ๐var - Returns the
bool_contains_varsolver helper result. - collect_
bool_ ๐constants - Implements the
collect_bool_constantssolver helper. - collect_
bool_ ๐fallback_ vars - Collects variables that local hard-arithmetic search can assign directly.
- collect_
expr_ ๐constants - Implements the
collect_expr_constantssolver helper. - collect_
expr_ ๐fallback_ vars - Collects assignable variables from an expression, recursing into recomputable hashes.
- constraints_
prefer_ ๐hard_ arith_ fallback_ first - Returns whether local hard-arithmetic search should run before asking the solver.
- expr_
contains_ ๐hard_ arith - Returns the
expr_contains_hard_arithsolver helper result. - expr_
contains_ ๐symbolic_ hash - Returns whether the expression contains symbolic hash variables that local search should avoid.
- expr_
contains_ ๐var - Returns the
expr_contains_varsolver helper result. - fallback_
candidates_ ๐for_ var - Returns deterministic local-search candidates for one symbolic variable.
- fallback_
model_ ๐satisfies_ all_ constraints - Checks all constraints before returning a hard-arithmetic fallback witness.
- fallback_
partial_ ๐model_ satisfies_ known_ constraints - Checks constraints that depend only on already-assigned fallback variables.
- fallback_
search_ ๐vars - Selects direct symbolic inputs for bounded fallback search.
- hard_
arith_ ๐fallback_ model - Implements the
hard_arith_fallback_modelsolver helper. - push_
fallback_ ๐candidate - Applies the
push_fallback_candidatesolver helper. - zero_
mask_ ๐equality - Implements the
zero_mask_equalitysolver helper.