relabel: do not create automata with false labels

* spot/twaalgos/relabel.cc: Remove false transitions if
some of the propositions are equivalent to true or false.
* NEWS: Mention the bug.
* tests/core/ltl2tgba2.test: Test it.
This commit is contained in:
Alexandre Duret-Lutz 2020-02-10 12:05:36 +01:00
parent 09bb61db33
commit 443f638b9c
3 changed files with 22 additions and 3 deletions

3
NEWS
View file

@ -96,6 +96,9 @@ New in spot 2.8.5.dev (not yet released)
spot.translate(..., 'det', 'any') triggered a syntax error in the
Python code to handle this error.
- Some formulas with Boolean sub-formulas equivalent to true or
false could be translated into automata with false labels.
New in spot 2.8.5 (2020-01-04)
Bugs fixed: