Büchi translation should not go through fg_safety_to_dca_maybe()

Fixes #366, reported by Simon Jantsch.

* spot/twaalgos/translate.cc: type_&Generic will also match if
type_==BA... use type_==Generic instead.
* tests/core/unambig.test: Add a test corresponding to Simon's report.
* NEWS: Describe the bug.
This commit is contained in:
Alexandre Duret-Lutz 2018-10-12 11:47:00 +02:00
parent e5f76b77d4
commit 3c86f034fc
3 changed files with 12 additions and 1 deletions

View file

@ -26,6 +26,7 @@ for f in 'Ga' \
'Ga | Gb' \
'Ga | GFb' \
'Ga | FGb' \
'F(Ga | Gb)' \
'XFGa | GFb | Gc' \
'(Ga -> Gb) W c' \
'F(a & !b & (!c W b))' \
@ -33,6 +34,8 @@ for f in 'Ga' \
do
ltl2tgba -UH "$f" | autfilt -q --is-unambiguous
ltl2tgba -UH "!($f)" | autfilt -q --is-unambiguous
ltl2tgba -BUH "$f" | autfilt -q --is-unambiguous
ltl2tgba -BUH "!($f)" | autfilt -q --is-unambiguous
ltl2tgba -UH "$f" | autfilt --check |
grep -E 'properties:.* (unambiguous|deterministic)'
ltl2tgba -UH "!($f)" | autfilt --check |