Skip to content

Commit bd7836c

Browse files
Better debug information in string refinement
1 parent 234cdf8 commit bd7836c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

src/solvers/refinement/string_refinement.cpp

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1145,22 +1145,22 @@ bool string_refinementt::check_axioms()
11451145

11461146
exprt negaxiom=negation_of_constraint(axiom_in_model);
11471147

1148-
debug() << " - axiom:\n"
1149-
<< " " << from_expr(ns, "", axiom) << eom;
1150-
debug() << " - axiom_in_model:\n"
1151-
<< " " << from_expr(ns, "", axiom_in_model) << eom;
1152-
debug() << " - negated_axiom:\n"
1153-
<< " " << from_expr(ns, "", negaxiom) << eom;
1148+
debug() << " "<< i << ".\n"
1149+
<< " - axiom:\n"
1150+
<< " " << from_expr(ns, "", axiom) << eom;
1151+
debug() << " - axiom_in_model:\n"
1152+
<< " " << from_expr(ns, "", axiom_in_model) << eom;
1153+
debug() << " - negated_axiom:\n"
1154+
<< " " << from_expr(ns, "", negaxiom) << eom;
11541155

11551156
exprt with_concretized_arrays=concretize_arrays_in_expression(
11561157
negaxiom, generator.max_string_length);
1157-
debug() << " - negated_axiom_with_concretized_array_access:\n"
1158-
<< " " << from_expr(ns, "", with_concretized_arrays) << eom;
1158+
debug() << " - negated_axiom_with_concretized_array_access:\n"
1159+
<< " " << from_expr(ns, "", with_concretized_arrays) << eom;
11591160

11601161
substitute_array_access(with_concretized_arrays);
1161-
debug() << " - negated_axiom_without_array_access:\n"
1162-
<< " " << from_expr(ns, "", with_concretized_arrays) << eom;
1163-
1162+
debug() << " - negated_axiom_without_array_access:\n"
1163+
<< " " << from_expr(ns, "", with_concretized_arrays) << eom;
11641164
exprt witness;
11651165

11661166
bool is_sat=is_axiom_sat(with_concretized_arrays, univ_var, witness);

0 commit comments

Comments
 (0)