postproc: fix issue #402
* spot/twaalgos/postproc.cc, spot/twaalgos/postproc.hh, spot/twaalgos/translate.cc: Introduce a gen-reduce-parity option and use it on sub-automata built by ltl-split. * bin/spot-x.cc: Document it. * tests/core/ltl2tgba2.test: Add test case reported by Juraj Major.
This commit is contained in:
parent
fe340ae8db
commit
6706042019
5 changed files with 52 additions and 18 deletions
|
|
@ -419,7 +419,6 @@ f=$f'& (!b | X(b | (a R !b))) & (!d | X(d | (c R !d))) & F(a | !b) & F(c | !d))'
|
|||
test '8,1' = `ltl2tgba "$f" --stats=%s,%d`
|
||||
test '8,1' = `ltl2tgba -GD "$f" --stats=%s,%d`
|
||||
|
||||
|
||||
# Two formulas for which ltl2tgba 2.7.3 was raising an error with -GDS
|
||||
# Reported by David Müller.
|
||||
cat >in <<EOF
|
||||
|
|
@ -432,8 +431,7 @@ cat >expected <<EOF
|
|||
8,(Fin(1) | Inf(0)) & (Fin(2) | Inf(1)) & (Fin(0) | Inf(2))
|
||||
EOF
|
||||
|
||||
# This formulas used to produce translation with false label.
|
||||
|
||||
# These 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
|
||||
|
|
@ -448,4 +446,9 @@ ltl2tgba 'X!c & X(b & c & d & a U e)' --stats=%w | grep 0 && exit 1
|
|||
# would in turn cause the HOA printer to choke.
|
||||
ltlcross -f 'G(F(Gb ^ Fa) & FG!a)' 'ltl2tgba -G -D'
|
||||
|
||||
# Issue #402, reported by Juraj Major.
|
||||
f='(GFp0 | FGp1) & (GF!p1 | FGp2) & (GF!p2 | FG!p0)'
|
||||
test 1,8,3 = `ltl2tgba -G -D "$f" --stats=%s,%e,%a`
|
||||
test 1,3,2 = `ltl2tgba -G -D "(GFp0 | FGp1)" --stats=%s,%e,%a`
|
||||
|
||||
:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue