relabel: introduce an overlapping relabeling version

Related to issue #500 and issue #536.

* spot/tl/relabel.hh (relabel_overlapping_bse): New function.
* spot/tl/relabel.cc: Implement it.
* bin/ltlfilt.cc: Add a --relabel-overlapping-bool option.
* tests/core/ltlfilt.test: Test it.
* NEWS: Mention it.
This commit is contained in:
Alexandre Duret-Lutz 2023-08-28 15:42:19 +02:00
parent 14347cdc52
commit 18478e663f
5 changed files with 207 additions and 48 deletions

8
NEWS
View file

@ -12,6 +12,10 @@ New in spot 2.11.6.dev (not yet released)
autfilt input.hoa -o output-%l.hoa
- ltlfilt has a new option --relabel-overlapping-bool=abc|pnn that
will replace boolean subformulas by fresh atomic propositions even
if those subformulas share atomic propositions.
Library:
- The following new trivial simplifications have been implemented for SEREs:
@ -29,6 +33,10 @@ New in spot 2.11.6.dev (not yet released)
- spot::bdd_to_cnf_formula() is a new variant of spot::bdd_to_formula()
that converts a BDD into a CNF instead of a DNF.
- spot::relabel_overlapping_bse() is a new function that will
replace boolean subformulas by fresh atomic propositions even if
those subformulas share atomic propositions.
New in spot 2.11.6 (2023-08-01)
Bug fixes: