CBMC
|
Horn-clause Encoding. More...
#include "horn_encoding.h"
#include <util/c_types.h>
#include <util/exception_utils.h>
#include <util/format_expr.h>
#include <util/mathematical_expr.h>
#include <util/pointer_expr.h>
#include <util/prefix.h>
#include <util/replace_symbol.h>
#include <util/std_code.h>
#include <util/std_expr.h>
#include <goto-programs/goto_model.h>
#include <solvers/smt2/smt2_conv.h>
#include <algorithm>
#include <ostream>
#include <unordered_set>
Go to the source code of this file.
Classes | |
class | state_typet |
class | evaluate_exprt |
class | update_state_exprt |
class | allocate_exprt |
class | encoding_targett |
class | container_encoding_targett |
class | smt2_encoding_targett |
class | ascii_encoding_targett |
class | state_encodingt |
Horn-clause Encoding.
Definition in file horn_encoding.cpp.
Definition at line 1153 of file horn_encoding.cpp.
std::unordered_set< symbol_exprt, irep_hash > find_variables | ( | const std::vector< exprt > & | src | ) |
Returns the set of program variables (as identified by object_address expressions) in the given expression.
Definition at line 1022 of file horn_encoding.cpp.
|
static |
Definition at line 325 of file horn_encoding.cpp.
void horn_encoding | ( | const goto_modelt & | goto_model, |
std::ostream & | out | ||
) |
Definition at line 1209 of file horn_encoding.cpp.
|
static |
Definition at line 1033 of file horn_encoding.cpp.
|
inlinestatic |
Definition at line 264 of file horn_encoding.cpp.
|
inlinestatic |
Definition at line 259 of file horn_encoding.cpp.
Definition at line 701 of file horn_encoding.cpp.
void state_encoding | ( | const goto_modelt & | goto_model, |
bool | program_is_inlined, | ||
encoding_targett & | dest | ||
) |
Definition at line 984 of file horn_encoding.cpp.
|
inlinestatic |
Definition at line 47 of file horn_encoding.cpp.
|
inlinestatic |
Definition at line 42 of file horn_encoding.cpp.
|
inline |
Cast an exprt to a allocate_exprt.
expr must be known to be allocate_exprt.
expr | Source expression |
Definition at line 206 of file horn_encoding.cpp.
|
inline |
Cast an exprt to a evaluate_exprt.
expr must be known to be evaluate_exprt.
expr | Source expression |
Definition at line 88 of file horn_encoding.cpp.
|
inline |
Cast an exprt to a evaluate_exprt.
expr must be known to be evaluate_exprt.
expr | Source expression |
Definition at line 97 of file horn_encoding.cpp.
|
inline |
Cast an exprt to a update_state_exprt.
expr must be known to be update_state_exprt.
expr | Source expression |
Definition at line 147 of file horn_encoding.cpp.
|
inline |
Cast an exprt to a update_state_exprt.
expr must be known to be update_state_exprt.
expr | Source expression |
Definition at line 156 of file horn_encoding.cpp.
exprt variable_encoding | ( | exprt | src, |
const binding_exprt::variablest & | variables | ||
) |
Definition at line 1042 of file horn_encoding.cpp.
Definition at line 1131 of file horn_encoding.cpp.