synthesis: fix handling of deadstates

* spot/twaalgos/synthesis.cc: Remove a debuging print
from the semisym code, and add an additional case
in the fullysym code.
* tests/core/ltlsynt.test: Add a some test case,
and remove some bashism.
This commit is contained in:
Alexandre Duret-Lutz 2024-09-12 14:00:08 +02:00
parent 90fb7b1cd9
commit 99a622059c
2 changed files with 10 additions and 14 deletions

View file

@ -494,12 +494,12 @@ diff out exp
for splitt in expl semisym fullysym auto
do
res=$(ltlsynt -f "G((i0 && i1)<->X(o0)) && G((i2|i3)<->X(o1))" \
# REALIZABLE
ltlsynt -f "G((i0 && i1)<->X(o0)) && G((i2|i3)<->X(o1))" \
--outs="o0,o1" --aiger=isop+ud --algo=lar --decompose=no \
--simpl=no --splittype="$splitt" --realizability)
if [[ "$res" != "REALIZABLE" ]]; then
echo "Expected realizable"
fi
--simpl=no --splittype="$splitt" --realizability || exit 2
# UNREALIZABLE
ltlsynt -f "Gi & Fo" --splittype="$splitt" --realizability && exit 2
done