Skip to main content

Module solver

Module solver 

Source
Expand description

Solver orchestration, query scheduling, caching, and model validation.

Modulesยง

fallback ๐Ÿ”’
Bounded fallback model generation for hard arithmetic constraints.
normalize ๐Ÿ”’
Constraint and expression normalization for solver queries.
reasoning ๐Ÿ”’
Lightweight reasoning passes over normalized solver constraints.
smt ๐Ÿ”’
Query-level SMT-LIB assertion emission with common-subexpression bindings.

Structsยง

PortfolioDiagnostics
PortfolioScheduler ๐Ÿ”’
ScheduledSolver ๐Ÿ”’
SmtLibSubprocessSolver ๐Ÿ”’
SolverChild ๐Ÿ”’
SolverCommand ๐Ÿ”’
SolverCommandRun ๐Ÿ”’
SolverProcessResult ๐Ÿ”’
SolverRunSummary ๐Ÿ”’
Z3Session ๐Ÿ”’

Enumsยง

BranchFeasibility ๐Ÿ”’
PortfolioSchedulerSignal ๐Ÿ”’
SolverConfigError ๐Ÿ”’
Errors that arise when parsing or constructing solver commands from configuration.
SolverOutcome ๐Ÿ”’
SolverProcessOutcome ๐Ÿ”’

Constantsยง

Z3_QUERY_END ๐Ÿ”’

Functionsยง

collect_solver_vars ๐Ÿ”’
Collects variables as the SMT writer sees them, stopping at opaque hash leaves.
first_solver_line ๐Ÿ”’
format_solver_portfolio_summaries ๐Ÿ”’
Formats solver portfolio outcome diagnostics.
merge_counts ๐Ÿ”’
model_satisfies_constraints ๐Ÿ”’
Returns whether a parsed model satisfies the current original constraints.
model_symbols_for_constraints ๐Ÿ”’
named_solver_command ๐Ÿ”’
Returns the default command for a known solver name.
next_portfolio_launch_wait ๐Ÿ”’
Returns how long the supervisor can wait before the next pending solver is due.
normalize_sat_constraints ๐Ÿ”’
Normalizes satisfiability constraints and removes soundly redundant constraints.
parse_and_validate_model ๐Ÿ”’
parse_model_values ๐Ÿ”’
parse_model_with_symbol ๐Ÿ”’
parse_model_with_symbols ๐Ÿ”’
portfolio_launch_delay ๐Ÿ”’
Returns when the solver at index should be started, relative to query start.
remove_witnessed_isolated_hash_constraints ๐Ÿ”’
Removes independently satisfiable constraints over one opaque hash symbol.
run_solver_commands ๐Ÿ”’
Runs one or more solver commands and returns the first decisive SMT-LIB response.
run_solver_process ๐Ÿ”’
Runs one solver process to completion, timeout, or cooperative cancellation.
scheduled_portfolio ๐Ÿ”’
Returns the staged launch plan for a configured portfolio.
solver_command_availability_error ๐Ÿ”’
Returns why command is not currently executable as an SMT solver.
solver_command_for_portfolio_entry ๐Ÿ”’
Returns the command for one configured portfolio entry.
solver_commands_for_config ๐Ÿ”’
Returns the subprocess commands for the configured SMT solver setup.
solver_exit_error ๐Ÿ”’
solver_output_is_sat ๐Ÿ”’
solver_output_is_unknown ๐Ÿ”’
solver_output_is_unsat ๐Ÿ”’
solver_portfolio_availability_warning ๐Ÿ”’
Returns a warning when a configured portfolio will run with unavailable solver entries.
solver_wait_duration ๐Ÿ”’
spawn_solver_process ๐Ÿ”’
split_solver_command ๐Ÿ”’
Splits a shell-like solver command into argv parts.
summary_for_cancelled_solver_result ๐Ÿ”’
Summarizes a solver result received after a portfolio winner was chosen.
summary_for_unstarted_solver ๐Ÿ”’
Summarizes a solver that was never launched because the portfolio already won.
validate_solver_model_output ๐Ÿ”’
validated_hard_arith_fallback_model ๐Ÿ”’
Returns a hard-arithmetic fallback model only after validating it against original constraints.

Type Aliasesยง

QueryObserver ๐Ÿ”’