Skip to main content

Module solver

Module solver 

Source

Modulesยง

hard_arith_fallback ๐Ÿ”’
monotonic_product ๐Ÿ”’
normalize ๐Ÿ”’

Structsยง

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

Enumsยง

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

Traitsยง

SymbolicSolver ๐Ÿ”’
Minimal solver backend interface used by the symbolic executor.

Functionsยง

cache_key_bool ๐Ÿ”’
Returns a conservative canonical boolean expression for cache-key equality.
cache_key_cmp ๐Ÿ”’
Returns a conservative canonical comparison for cache-key equality.
cache_key_expr ๐Ÿ”’
Returns a conservative canonical word expression for cache-key equality.
collect_cache_key_conjunct ๐Ÿ”’
Collects cache-key conjuncts, flattening conjunctions because path constraints are conjunctive.
constraint_cache_key ๐Ÿ”’
Returns a structural key for normalized solver cache lookups.
constraints_are_directly_unsat ๐Ÿ”’
Returns whether normalized conjunctive constraints contain a direct contradiction.
expr_op_is_commutative ๐Ÿ”’
Returns whether a word operation is safe to reorder for cache-key equality.
first_solver_line ๐Ÿ”’
format_solver_portfolio_summaries ๐Ÿ”’
Formats solver portfolio outcome diagnostics.
join_pipe_output ๐Ÿ”’
kill_and_reap_solver_process ๐Ÿ”’
merge_counts ๐Ÿ”’
model_satisfies_constraints ๐Ÿ”’
Returns whether a parsed model satisfies the current original 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.
parse_and_validate_model ๐Ÿ”’
parse_model ๐Ÿ”’
Returns the parse_model solver helper result.
portfolio_launch_delay ๐Ÿ”’
Returns when the solver at index should be started, relative to query start.
read_pipe_to_string ๐Ÿ”’
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.
sorted_bool_exprs_are_subset ๐Ÿ”’
Returns whether every expression in sorted subset appears in sorted superset.
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 ๐Ÿ”’