ltlsynt: display the number of subformulas

* bin/ltlsynt.cc: here
* tests/core/ltlsynt.test: ajust tests
This commit is contained in:
Florian Renkin 2022-04-13 10:51:52 +02:00
parent 62725fb507
commit 355c5ffeb1
2 changed files with 21 additions and 0 deletions

View file

@ -336,6 +336,12 @@ namespace
if (opt_decompose_ltl)
{
auto subs = split_independant_formulas(f, output_aps);
if (gi->verbose_stream)
{
*gi->verbose_stream << "there are "
<< subs.first.size()
<< " subformulas\n";
}
if (subs.first.size() > 1)
{
sub_form = subs.first;