translate: enable a restricted form of ltl-split for TGBA/BA
Fixes #267 * spot/twaalgos/gfguarantee.cc: Fix a typo when comparing automata sizes. * spot/twaalgos/translate.cc, spot/twaalgos/translate.hh: Use ltl-split even for BA/TGBA, but only of conjunctions with GF(..) in those cases. * tests/core/ltl2tgba2.test: Adjust and add the example of #267. * tests/core/degenid.test, tests/core/parity2.test, tests/core/stutter-tgba.test, tests/python/automata.ipynb, tests/python/highlighting.ipynb, tests/python/stutter-inv.ipynb, bin/spot-x.cc: Adjust.
This commit is contained in:
parent
4235b007f3
commit
f5f5daec9a
11 changed files with 1338 additions and 1494 deletions
|
|
@ -362,12 +362,14 @@ EOF
|
|||
diff output expected
|
||||
|
||||
|
||||
# These four formulas appear in a NEWS entry for Spot 2.6
|
||||
# The first four formulas appear in a NEWS entry for Spot 2.6
|
||||
# The 5th one is from issue #267.
|
||||
cat >formulas <<EOF
|
||||
GF((a & XXa) | (!a & XX!a)), 4,8, 4,8, 6,14, 7,14
|
||||
GF((a & XXXa) | (!a & XXX!a)), 7,14, 8,16, 8,18, 15,30
|
||||
GF(((a & Xb) | XXc) & Xd), 4,60, 4,64, 4,68, 5,80
|
||||
GF(((a & Xb) | XXc) & Xd), 4,64, 4,64, 5,80, 5,80
|
||||
GF((b | Fa) & (b R Xb)), 2,4, 2,4, 3,6, 3,12
|
||||
G(F(a & Xa) & F(a & X!a)), 2,4, 2,4, 4,8, 4,8
|
||||
EOF
|
||||
|
||||
ltl2tgba -Fformulas/1 --stats='%f, %s,%t' |
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue