simplify: fix handling of keep_top_xor
Under that option, !(a ^ b) was converted to (!a <=> !b) instead of simply (a <=> b). * spot/tl/simplify.cc (equiv_or_xor): Improve rewriting. * tests/core/ltl2tgba2.test, tests/python/simstate.py: Adjust test cases.
This commit is contained in:
parent
2ce84f7889
commit
2c267cac40
4 changed files with 19 additions and 16 deletions
|
|
@ -178,13 +178,13 @@ b.copy_state_names_from(a)
|
|||
assert b.to_str() == """HOA: v1
|
||||
States: 1
|
||||
Start: 0
|
||||
AP: 2 "p1" "p0"
|
||||
AP: 2 "p0" "p1"
|
||||
acc-name: Buchi
|
||||
Acceptance: 1 Inf(0)
|
||||
properties: trans-labels explicit-labels trans-acc complete
|
||||
properties: deterministic stutter-invariant
|
||||
--BODY--
|
||||
State: 0 "[1,7]"
|
||||
[!0] 0 {0}
|
||||
[0] 0
|
||||
[!1] 0 {0}
|
||||
[1] 0
|
||||
--END--"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue