1#ifndef _ESBMC_SOLVERS_NEUROSYM_NEUROSYM_CONV_H
2#define _ESBMC_SOLVERS_NEUROSYM_NEUROSYM_CONV_H
53 const std::string &formula_path);
57 void parse_model_block(
const std::string &output);
61 std::map<std::string, std::string> local_model;
65 std::optional<BigInt> local_lookup(
const std::string &symname)
const;
71 std::optional<BigInt> local_eval_bv(
smt_astt a)
const;
74 std::optional<bool> local_eval_bool(
smt_astt a)
const;
77 std::optional<bool> local_lookup_bool(
const std::string &symname)
const;
87 local_eval_array_at(
smt_astt array_term,
const BigInt &index)
const;
92 bool ensure_model_prog_ready();
93 bool model_prog_response_read =
false;
95 std::string formula_path;
Definition namespace.h:10
const std::string solver_text() override
Solver name fetcher.
Definition neurosym_conv.cpp:918
bool has_model() const override
Whether a satisfiable result can be turned into a model.
Definition neurosym_conv.h:40
tvt get_bool(smt_astt a) override
Extract the assignment to a boolean variable from the SMT solver's model.
Definition neurosym_conv.cpp:849
std::string dump_smt() override
Method to dump the SMT formula.
Definition neurosym_conv.cpp:730
~neurosym_convt() override
Definition neurosym_conv.cpp:724
tvt l_get(smt_astt a) override
Fetch the value of a boolean sorted smt_ast.
Definition neurosym_conv.cpp:854
neurosym_convt(const namespacet &ns, const optionst &options)
Definition neurosym_conv.cpp:702
BigInt get_bv(smt_astt a, bool is_signed) override
Extract the assignment to a bitvector from the SMT solver's model.
Definition neurosym_conv.cpp:888
smt_resultt dec_solve() override
Solve the formula given to the solver.
Definition neurosym_conv.cpp:744
const optionst & options
Definition smt_solver.h:1130
const namespacet & ns
A namespace containing all the types in the program.
Definition smt_solver.h:1128
bool has_model() const override
get_value() reads from the interactive pipe, so without it the solver can still answer sat/unsat but ...
Definition smtlib_conv.h:293
smtlib_convt(const namespacet &_ns, const optionst &options)
Definition smtlib_conv.cpp:380
Definition smtlib_conv.h:160
const smt_ast * smt_astt
Definition smt_ast.h:30
smt_resultt
Result of a call to dec_solve.
Definition smt_result.h:7
smt_func_kind
Identifiers for SMT functions.
Definition smtlib_conv.h:25