Generalize computation of is.eventual and is.universal.

* src/ltlast/binop.cc (binop::binop): Generalize detection
of pure eventualities and purely universal formulae.  E.g.
`f U g' is a pure eventuality if g is a pure eventuality
(regardless of f) or if g is 1.
* src/ltlast/unop.cc (unop::unop): Compute is.eventual
and is.universal for Not.
* src/ltltest/kind.test: Adjust.
This commit is contained in:
Alexandre Duret-Lutz 2011-05-23 15:06:57 +02:00
parent 9f7ef5d0c3
commit 8ecf57e832
3 changed files with 29 additions and 18 deletions

View file

@ -40,7 +40,7 @@ check '!(a|b)' 'B&xfLEPSFsgopr'
check 'F(a)' '&!xLPegopr'
check 'G(a)' '&!xLPusopr'
check 'a U b' '&!xfLPgopr'
check 'a U Fb' '&!xLPgopr'
check 'a U Fb' '&!xLPegopr'
check 'Ga U b' '&!xLPopr'
check '1 U a' '&!xfLPegopr'
check 'a W b' '&!xfLPsopr'