relabel: generalize 9365f8de1 to remove more false edges

* spot/twaalgos/relabel.cc: Detect false edges as they are created,
even as the result of multiple renamings.
* tests/core/ltl2tgba2.test: More test cases, reported by Jens Kreber.
* NEWS: Mention the bug.
* THANKS: Add Jens.
This commit is contained in:
Alexandre Duret-Lutz 2020-04-10 10:50:04 +02:00
parent a434778fba
commit 67fa19cb08
4 changed files with 28 additions and 13 deletions

View file

@ -432,7 +432,13 @@ cat >expected <<EOF
8,(Fin(1) | Inf(0)) & (Fin(2) | Inf(1)) & (Fin(0) | Inf(2))
EOF
# This formula used to produce translation with false label.
ltl2tgba -D -G 'F(G(a | !a) & ((b <-> c) W d))' | grep '\[f\]' && exit 1
# This formulas used to produce translation with false label.
# Reported by Florian Renkin
ltl2tgba -D -G 'F(G(a | !a) & ((b <-> c) W d))' | grep '\[f\]' && exit 1
# Reported by Jens Kreber
ltl2tgba '!b & e U (a & b & c)' | grep '\[f\]' && exit 1
ltl2tgba '!b & e U (a & b & c)' --stats=%w | grep 0 && exit 1
ltl2tgba 'X!c & X(b & c & d & a U e)' | grep '\[f\]' && exit 1
ltl2tgba 'X!c & X(b & c & d & a U e)' --stats=%w | grep 0 && exit 1
: