acc: Adjust generalition of parity acceptance
According to https://github.com/adl/hoaf/issues/46 * src/twa/acc.cc (parity): Adjust generation. * src/tests/hoaparse.test, wrap/python/tests/accparse.ipynb: Adjust existing test cases. * wrap/python/tests/accparse2.py: New test cases.
This commit is contained in:
parent
05ef316c23
commit
5d7f4464ea
4 changed files with 37 additions and 32 deletions
|
|
@ -1821,7 +1821,7 @@ HOA: v1
|
|||
States: 1
|
||||
Start: 0
|
||||
AP: 2 "a" "b"
|
||||
Acceptance: 4 Inf(0)|Fin(1)&Inf(2) /* min even 4 */
|
||||
Acceptance: 4 Inf(0)|Fin(1)&(Inf(2)|Fin(3)) /* min even 4 */
|
||||
--BODY--
|
||||
State: 0
|
||||
[!0&!1] 0 {0 1}
|
||||
|
|
@ -1833,7 +1833,7 @@ HOA: v1
|
|||
States: 1
|
||||
Start: 0
|
||||
AP: 2 "a" "b"
|
||||
Acceptance: 4 Inf(3)|Fin(2)&Inf(1) /* max odd 4 */
|
||||
Acceptance: 4 Inf(3)|Fin(2)&(Inf(1)|Fin(0)) /* max odd 4 */
|
||||
--BODY--
|
||||
State: 0
|
||||
[!0&!1] 0 {0 1}
|
||||
|
|
@ -1857,7 +1857,7 @@ HOA: v1
|
|||
States: 1
|
||||
Start: 0
|
||||
AP: 2 "a" "b"
|
||||
Acceptance: 4 Inf(0) | (Fin(1) & Inf(2)) /* min even 4 (reorderd) */
|
||||
Acceptance: 4 Inf(0) | (Fin(3)|Inf(2))&Fin(1) /* min even 4 (reordered) */
|
||||
--BODY--
|
||||
State: 0
|
||||
[!0&!1] 0 {0 1}
|
||||
|
|
@ -1964,7 +1964,7 @@ States: 1
|
|||
Start: 0
|
||||
AP: 2 "a" "b"
|
||||
acc-name: parity min even 4
|
||||
Acceptance: 4 Inf(0) | (Fin(1) & Inf(2))
|
||||
Acceptance: 4 Inf(0) | (Fin(1) & (Inf(2) | Fin(3)))
|
||||
properties: trans-labels explicit-labels trans-acc complete
|
||||
properties: deterministic
|
||||
--BODY--
|
||||
|
|
@ -1979,7 +1979,7 @@ States: 1
|
|||
Start: 0
|
||||
AP: 2 "a" "b"
|
||||
acc-name: parity max odd 4
|
||||
Acceptance: 4 Inf(3) | (Fin(2) & Inf(1))
|
||||
Acceptance: 4 Inf(3) | (Fin(2) & (Inf(1) | Fin(0)))
|
||||
properties: trans-labels explicit-labels trans-acc complete
|
||||
properties: deterministic
|
||||
--BODY--
|
||||
|
|
@ -2008,8 +2008,7 @@ HOA: v1
|
|||
States: 1
|
||||
Start: 0
|
||||
AP: 2 "a" "b"
|
||||
acc-name: parity min even 4
|
||||
Acceptance: 4 Inf(0) | (Fin(1) & Inf(2))
|
||||
Acceptance: 4 Inf(0) | ((Fin(3) | Inf(2)) & Fin(1))
|
||||
properties: trans-labels explicit-labels trans-acc complete
|
||||
properties: deterministic
|
||||
--BODY--
|
||||
|
|
@ -2115,7 +2114,8 @@ HOA: v1
|
|||
States: 1
|
||||
Start: 0
|
||||
AP: 2 "a" "b"
|
||||
Acceptance: 4 Fin(0) & (Inf(1) | Fin(2))
|
||||
acc-name: parity min odd 4
|
||||
Acceptance: 4 Fin(0) & (Inf(1) | (Fin(2) & Inf(3)))
|
||||
properties: trans-labels explicit-labels trans-acc complete
|
||||
properties: deterministic
|
||||
--BODY--
|
||||
|
|
@ -2129,7 +2129,8 @@ HOA: v1
|
|||
States: 1
|
||||
Start: 0
|
||||
AP: 2 "a" "b"
|
||||
Acceptance: 4 Fin(3) & (Inf(2) | Fin(1))
|
||||
acc-name: parity max even 4
|
||||
Acceptance: 4 Fin(3) & (Inf(2) | (Fin(1) & Inf(0)))
|
||||
properties: trans-labels explicit-labels trans-acc complete
|
||||
properties: deterministic
|
||||
--BODY--
|
||||
|
|
@ -2143,6 +2144,7 @@ HOA: v1
|
|||
States: 1
|
||||
Start: 0
|
||||
AP: 2 "a" "b"
|
||||
acc-name: parity max odd 4
|
||||
Acceptance: 4 Inf(3) | (Fin(2) & (Inf(1) | Fin(0)))
|
||||
properties: trans-labels explicit-labels trans-acc complete
|
||||
properties: deterministic
|
||||
|
|
@ -2157,7 +2159,7 @@ HOA: v1
|
|||
States: 1
|
||||
Start: 0
|
||||
AP: 2 "a" "b"
|
||||
Acceptance: 4 Fin(0) & (Inf(1) | Fin(2))
|
||||
Acceptance: 4 Fin(0) & ((Fin(2) & Inf(3)) | Inf(1))
|
||||
properties: trans-labels explicit-labels trans-acc complete
|
||||
properties: deterministic
|
||||
--BODY--
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue