Skip to content

Commit ca15201

Browse files
authored
Merge pull request #7334 from diffblue/cprover_verbose_C
CHC solver: add constraint to verbose output
2 parents e5f6077 + d6643e4 commit ca15201

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/cprover/propagate.cpp

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,15 @@ void propagate(
4343

4444
for(const auto &implication : f.implications)
4545
{
46+
if(verbose)
47+
{
48+
std::cout << consolet::green;
49+
std::cout << 'C' << consolet::faint << std::setw(2) << work.frame.index
50+
<< consolet::reset << ' ';
51+
std::cout << consolet::green << format(implication.as_expr());
52+
std::cout << consolet::reset << '\n';
53+
}
54+
4655
auto &next_state = implication.rhs.arguments().front();
4756
auto lambda_expr = lambda_exprt({state_expr()}, work.invariant);
4857
auto instance = lambda_expr.instantiate({next_state});

0 commit comments

Comments
 (0)