tl: eight new simplification rules
* NEWS, doc/tl/tl.tex: Document the rules. * spot/tl/simplify.cc: Implement them. * tests/core/reduccmp.test: Test them. * tests/core/det.test, tests/core/ltl2tgba2.test, tests/python/stutter-inv.ipynb, tests/core/385.test: Adjust.
This commit is contained in:
parent
d244ff5432
commit
0d9cc29b46
8 changed files with 203 additions and 19 deletions
|
|
@ -36,7 +36,7 @@ EOF
|
|||
# Some of the following are still not optimal.
|
||||
cat >expected <<EOF
|
||||
1,GF(!a | !d | !e)
|
||||
6,G(Gc | F(a | (!c & F!e)))
|
||||
6,G(Fa | (c W (!c & F!e)))
|
||||
2,Ge | G(Fd & FGe & Fc)
|
||||
1,F(G(Fb & FGc) | Ge)
|
||||
4,G(F!d | (!c & G!b))
|
||||
|
|
|
|||
|
|
@ -26,7 +26,7 @@ cat >formulas <<'EOF'
|
|||
1,5,X(((a & b) R (!a U !c)) R b)
|
||||
1,8,XXG(Fa U Xb)
|
||||
1,5,(!a M !b) W F!c
|
||||
1,3,(b & Fa & GFc) R a
|
||||
1,3,(b & GFc) R a
|
||||
1,2,(a R (b W a)) W G(!a M (b | c))
|
||||
1,11,(Fa W b) R (!a | Fc)
|
||||
1,6,X(G(!a M !b) | G(a | G!a))
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@ dac-patterns,37, 4,56, 4,56, 4,56, 4,56
|
|||
dac-patterns,38, 4,56, 4,56, 4,56, 4,56
|
||||
dac-patterns,39, 4,112, 4,112, 4,112, 4,112
|
||||
dac-patterns,40, 3,88, 3,88, 3,88, 3,88
|
||||
dac-patterns,41, 6,54, 6,54, 7,56, 7,56
|
||||
dac-patterns,41, 4,32, 4,32, 4,32, 4,32
|
||||
dac-patterns,42, 6,96, 6,96, 6,96, 6,96
|
||||
dac-patterns,43, 5,80, 5,80, 5,80, 5,80
|
||||
dac-patterns,44, 10,300, 10,300, 13,372, 13,372
|
||||
|
|
|
|||
|
|
@ -298,17 +298,36 @@ a W ((a&b) W c), a W c
|
|||
(a R b) M (c&a), b M (c&a)
|
||||
(a M b) M (c&a), b M (c&a)
|
||||
|
||||
(a R (b&c)) R (c), (a&b&c) R c
|
||||
(a M (b&c)) R (c), (a&b&c) R c
|
||||
(x M y) M y, x M y
|
||||
(x R y) R y, x R y
|
||||
(x & y) M y, x M y
|
||||
(x & y) R y, x R y
|
||||
|
||||
(a R (b&c)) R (c), (a&b) R c
|
||||
(a M (b&c)) R (c), (a&b) R c
|
||||
# not reduced
|
||||
(a R (b&c)) M (c), (a R (b&c)) M (c)
|
||||
(a M (b&c)) M (c), (a&b&c) M c
|
||||
(a M (b&c)) M (c), (a&b) M c
|
||||
(a W (c&b)) W b, (a W (c&b)) | b
|
||||
(a U (c&b)) W b, (a U (c&b)) | b
|
||||
(a U (c&b)) U b, (a U (c&b)) | b
|
||||
# not reduced
|
||||
(a W (c&b)) U b, (a W (c&b)) U b
|
||||
|
||||
!x U (x & Fa), F(x & Fa)
|
||||
!x R (x | Ga), G(x | Ga)
|
||||
!x U ((x | c) & Fa & Fb), F((x | c) & Fa & Fb)
|
||||
!x R ((x & c) | Ga | Gb), G((x & c) | Ga | Gb)
|
||||
|
||||
G!f | F((f|g) & Fa & Fb), !f W ((f | g) & Fa & Fb)
|
||||
F!f & G((f&g) | Ga | Gb), !f M ((f & g) | Ga | Gb)
|
||||
|
||||
(x|b) W (x|a), b W (x|a)
|
||||
(x|b) U (x|a), b U (x|a)
|
||||
|
||||
!x U ((x | c) & Fa & Fb), F((x | c) & Fa & Fb)
|
||||
!x R ((x & c) | Ga | Gb), G((x & c) | Ga | Gb)
|
||||
|
||||
# Eventuality and universality class reductions
|
||||
Fa M b, Fa & b
|
||||
GFa M b, GFa & b
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue