cprover
counterexample_beautification.h
Go to the documentation of this file.
1 /*******************************************************************\
2 
3 Module: Counterexample Beautification
4 
5 Author: Daniel Kroening, kroening@kroening.com
6 
7 \*******************************************************************/
8 
11 
12 #ifndef CPROVER_CBMC_COUNTEREXAMPLE_BEAUTIFICATION_H
13 #define CPROVER_CBMC_COUNTEREXAMPLE_BEAUTIFICATION_H
14 
15 #include <util/namespace.h>
16 
18 
20 
22 {
23 public:
25  {
26  }
27 
28  void
29  operator()(boolbvt &boolbv, const symex_target_equationt &equation);
30 
31 protected:
33  prop_convt &prop_conv,
34  const symex_target_equationt &equation,
35  minimization_listt &minimization_list);
36 
37  void minimize(
38  const exprt &expr,
39  class prop_minimizet &prop_minimize);
40 
41  symex_target_equationt::SSA_stepst::const_iterator get_failed_property(
42  const prop_convt &prop_conv,
43  const symex_target_equationt &equation);
44 
45  // the failed property
46  symex_target_equationt::SSA_stepst::const_iterator failed;
47 };
48 
49 #endif // CPROVER_CBMC_COUNTEREXAMPLE_BEAUTIFICATION_H
Generate Equation using Symbolic Execution.
void minimize(const exprt &expr, class prop_minimizet &prop_minimize)
Inheriting the interface of symex_targett this class represents the SSA form of the input program as ...
Definition: boolbv.h:32
symex_target_equationt::SSA_stepst::const_iterator failed
Computes a satisfying assignment of minimal cost according to a const function using incremental SAT...
Definition: minimize.h:23
SAT-optimizer for minimizing expressions.
std::set< exprt > minimization_listt
Definition: bv_minimize.h:23
symex_target_equationt::SSA_stepst::const_iterator get_failed_property(const prop_convt &prop_conv, const symex_target_equationt &equation)
Base class for all expressions.
Definition: expr.h:54
void operator()(boolbvt &boolbv, const symex_target_equationt &equation)
void get_minimization_list(prop_convt &prop_conv, const symex_target_equationt &equation, minimization_listt &minimization_list)