simplify: GF(f)=GF(dnf(f)) FG(f)=FG(cnf(f))
These rules come from Delag's paper, and help some cases in issue #385. * spot/tl/simplify.cc: Implement the simplification. * doc/tl/tl.tex, NEWS: Document it. * tests/core/385.test: New file. * tests/Makefile.am: Add it. * tests/core/reduccmp.test: More tests. * tests/core/ltl2tgba2.test: Adjust one improved case. * tests/python/automata.ipynb, tests/python/twagraph-internals.ipynb: Adjust expected output, as the cnf/dnf reorder some subformulas.
This commit is contained in:
parent
df326e032b
commit
da5d23f0a2
9 changed files with 2517 additions and 2291 deletions
|
|
@ -369,7 +369,7 @@ diff output expected
|
|||
cat >formulas <<EOF
|
||||
GF((a & XXa) | (!a & XX!a)), 4,8, 4,8, 6,14, 7,14, 4,8
|
||||
GF((a & XXXa) | (!a & XXX!a)), 7,14, 8,16, 8,18, 15,30, 8,16
|
||||
GF(((a & Xb) | XXc) & Xd), 4,64, 4,64, 5,80, 5,80, 4,64
|
||||
GF(((a & Xb) | XXc) & Xd), 3,58, 4,64, 3,58, 5,80, 4,64
|
||||
GF((b | Fa) & (b R Xb)), 2,4, 2,4, 3,6, 3,12, 2,4
|
||||
G(F(a & Xa) & F(a & X!a)), 2,4, 2,4, 4,8, 4,8, 3,6
|
||||
G(!p0 & F(p1 & XG!p1)), 1,0, 1,0, 1,0, 1,0, 1,0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue