File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -738,7 +738,9 @@ decision_proceduret::resultt string_refinementt::dec_solve()
738
738
}
739
739
740
740
for (const exprt &lemma : generator.constraints .existential )
741
- add_lemma (lemma);
741
+ {
742
+ add_lemma (substitute_array_access (lemma, generator.fresh_symbol , true ));
743
+ }
742
744
743
745
// All generated strings should have non-negative length
744
746
for (const auto &pair : generator.array_pool .created_strings ())
@@ -785,7 +787,9 @@ decision_proceduret::resultt string_refinementt::dec_solve()
785
787
const auto initial_instances =
786
788
generate_instantiations (index_sets, axioms, not_contain_witnesses);
787
789
for (const auto &instance : initial_instances)
788
- add_lemma (instance);
790
+ {
791
+ add_lemma (substitute_array_access (instance, generator.fresh_symbol , true ));
792
+ }
789
793
790
794
while ((loop_bound_--) > 0 )
791
795
{
You can’t perform that action at this time.
0 commit comments