CBMC
state_encoding.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: State Encoding
4 
5 Author: Daniel Kroening, dkr@amazon.com
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_CPROVER_STATE_ENCODING_H
13 #define CPROVER_CPROVER_STATE_ENCODING_H
14 
15 #include <util/irep.h>
16 
17 #include "solver.h"
18 
19 #include <iosfwd>
20 #include <optional>
21 
22 class goto_modelt;
23 
25 {
26  ASCII,
27  SMT2
28 };
29 
30 void state_encoding(
31  const goto_modelt &,
33  bool program_is_inlined,
34  std::optional<irep_idt> contract,
35  std::ostream &out);
36 
38  const goto_modelt &,
39  bool program_is_inlined,
40  std::optional<irep_idt> contract,
41  const solver_optionst &);
42 
44  const goto_modelt &,
46  std::ostream &out);
47 
48 #endif // CPROVER_CPROVER_STATE_ENCODING_H
Equality Propagation.
solver_resultt
Definition: solver.h:21
state_encoding_formatt
void state_encoding(const goto_modelt &, state_encoding_formatt, bool program_is_inlined, std::optional< irep_idt > contract, std::ostream &out)
solver_resultt state_encoding_solver(const goto_modelt &, bool program_is_inlined, std::optional< irep_idt > contract, const solver_optionst &)
void variable_encoding(const goto_modelt &, state_encoding_formatt, std::ostream &out)