From 652c8b0c36b908dfa90fd3be44e3d2698e28eefe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Le=C3=B3n=20Bohn?= Date: Thu, 5 Nov 2026 14:14:47 +0100 Subject: [PATCH 1/7] Add benchmarks (gungraun instruction counts, criterion wall clock), fixtures and baselines --- BENCHMARKS.md | 38 + CLAUDE.md | 16 + Cargo.lock | 721 +++- Cargo.toml | 21 + benches/common/mod.rs | 55 + benches/parse.rs | 31 + benches/verify.rs | 26 + benches/wallclock.rs | 34 + benches/write.rs | 40 + hoa/bench/README.md | 9 + hoa/bench/hard/l-dsa-3.hoa | 164 + hoa/bench/hard/l-nba-2.hoa | 156 + hoa/bench/hard/m-nba-3.hoa | 616 ++++ hoa/bench/ltl/and-gf-3.hoa | 38 + hoa/bench/ltl/eh-patterns-0.hoa | 147 + hoa/bench/ltl/gf-equiv-3.hoa | 113 + hoa/bench/ltl/gf-implies-3.hoa | 62 + hoa/bench/ltl/gh-q-3.hoa | 317 ++ hoa/bench/ltl/gh-r-3.hoa | 79 + hoa/bench/ltl/go-theta-3.hoa | 143 + hoa/bench/ltl/lily-patterns-1.hoa | 96 + hoa/bench/ltl/ms-phi-r-1.hoa | 45 + hoa/bench/ltl/ms-phi-s-1.hoa | 45 + hoa/bench/ltl/rv-counter-3.hoa | 136 + hoa/bench/ltl/sb-patterns-0.hoa | 56 + hoa/bench/ltl/sejk-k-2.hoa | 45 + hoa/bench/ltl/tv-uu-3.hoa | 232 ++ hoa/bench/ltl/u-left-3.hoa | 56 + hoa/bench/random/n128-a2-p6-s1.hoa | 651 ++++ hoa/bench/random/n16-a1-p3-s1.hoa | 59 + hoa/bench/random/n256-a2-p8-s1.hoa | 1291 +++++++ hoa/bench/random/n64-a2-p4-s1.hoa | 331 ++ hoa/bench/spot/buchi-gf-equiv-2.hoa | 40 + hoa/bench/spot/buchi-state-ms-3.hoa | 80 + hoa/bench/spot/gen-gh-q-2.hoa | 46 + hoa/bench/spot/genbuchi-n60-a2.hoa | 827 +++++ hoa/bench/spot/rabin-nondet-n120-a3.hoa | 3746 ++++++++++++++++++++ hoa/bench/spot/rabin-nondet-n30.hoa | 333 ++ hoa/bench/spot/streett-nondet-n120-a3.hoa | 3762 +++++++++++++++++++++ hoa/bench/spot/streett-nondet-n30.hoa | 252 ++ scripts/check | 2 + scripts/generate_bench_fixtures.sh | 15 + 42 files changed, 14968 insertions(+), 4 deletions(-) create mode 100644 BENCHMARKS.md create mode 100644 benches/common/mod.rs create mode 100644 benches/parse.rs create mode 100644 benches/verify.rs create mode 100644 benches/wallclock.rs create mode 100644 benches/write.rs create mode 100644 hoa/bench/README.md create mode 100644 hoa/bench/hard/l-dsa-3.hoa create mode 100644 hoa/bench/hard/l-nba-2.hoa create mode 100644 hoa/bench/hard/m-nba-3.hoa create mode 100644 hoa/bench/ltl/and-gf-3.hoa create mode 100644 hoa/bench/ltl/eh-patterns-0.hoa create mode 100644 hoa/bench/ltl/gf-equiv-3.hoa create mode 100644 hoa/bench/ltl/gf-implies-3.hoa create mode 100644 hoa/bench/ltl/gh-q-3.hoa create mode 100644 hoa/bench/ltl/gh-r-3.hoa create mode 100644 hoa/bench/ltl/go-theta-3.hoa create mode 100644 hoa/bench/ltl/lily-patterns-1.hoa create mode 100644 hoa/bench/ltl/ms-phi-r-1.hoa create mode 100644 hoa/bench/ltl/ms-phi-s-1.hoa create mode 100644 hoa/bench/ltl/rv-counter-3.hoa create mode 100644 hoa/bench/ltl/sb-patterns-0.hoa create mode 100644 hoa/bench/ltl/sejk-k-2.hoa create mode 100644 hoa/bench/ltl/tv-uu-3.hoa create mode 100644 hoa/bench/ltl/u-left-3.hoa create mode 100644 hoa/bench/random/n128-a2-p6-s1.hoa create mode 100644 hoa/bench/random/n16-a1-p3-s1.hoa create mode 100644 hoa/bench/random/n256-a2-p8-s1.hoa create mode 100644 hoa/bench/random/n64-a2-p4-s1.hoa create mode 100644 hoa/bench/spot/buchi-gf-equiv-2.hoa create mode 100644 hoa/bench/spot/buchi-state-ms-3.hoa create mode 100644 hoa/bench/spot/gen-gh-q-2.hoa create mode 100644 hoa/bench/spot/genbuchi-n60-a2.hoa create mode 100644 hoa/bench/spot/rabin-nondet-n120-a3.hoa create mode 100644 hoa/bench/spot/rabin-nondet-n30.hoa create mode 100644 hoa/bench/spot/streett-nondet-n120-a3.hoa create mode 100644 hoa/bench/spot/streett-nondet-n30.hoa create mode 100755 scripts/generate_bench_fixtures.sh diff --git a/BENCHMARKS.md b/BENCHMARKS.md new file mode 100644 index 0000000..f1d640b --- /dev/null +++ b/BENCHMARKS.md @@ -0,0 +1,38 @@ +# Benchmark baselines + +Recorded before any P2 change, at commit `0a24d83` (+ benches). Commands: see CLAUDE.md. Instruction +counts are deterministic (valgrind/gungraun); wall-clock numbers are from one machine +(AMD Ryzen 5 3600 6-Core Processor, 12 threads, release profile) and only indicative. + +## Instructions (gungraun) + +| Benchmark | Instructions | +|---|---:| +| parse_generated 250 | 103,388,130 | +| parse_generated 1000 | 412,824,152 | +| parse_generated 4000 | 1,654,866,754 | +| parse_fixtures ltl | 248,160,210 | +| parse_fixtures synthetic | 329,139,585 | +| parse_fixtures spot | 1,205,177,431 | +| verify 250 | 843,353 | +| verify 1000 | 3,766,101 | +| verify 4000 | 21,334,543 | +| validate 250 | 941,618 | +| validate 1000 | 3,765,422 | +| validate 4000 | 14,964,359 | +| write_generated 250 | 3,778,750 | +| write_generated 1000 | 15,490,652 | +| write_generated 4000 | 61,744,611 | +| write_fixtures ltl | 7,588,526 | +| write_fixtures synthetic | 11,754,868 | +| write_fixtures spot | 38,898,446 | + +## Wall clock (criterion, median of 10 samples; `HOARS_BENCH_XL=1` for 200k) + +| Operation | N = 1,000 | N = 10,000 | N = 200,000 (15 MB) | +|---|---:|---:|---:| +| parse | 48.4 ms (1.31 MiB/s) | 501 ms (1.36 MiB/s) | **10.63 s** (1.42 MiB/s) | +| verify | 36.7 µs | 2.77 ms | **1.141 s** | +| write | 1.13 ms | 11.96 ms | 240 ms | + +These match the numbers in REFACTOR.md P2 (9.9 s, 1.18 s). diff --git a/CLAUDE.md b/CLAUDE.md index 0ed98f7..4b8faad 100644 --- a/CLAUDE.md +++ b/CLAUDE.md @@ -30,3 +30,19 @@ RUSTDOCFLAGS="-D warnings" cargo doc --no-deps - Parsers use `chumsky` 0.9 (`Simple` errors), flagged with `allow(clippy::result_large_err)` in several places. - Test coverage is small (10 unit tests); no fuzzing. - Version `0.3.0` is the first release since crates.io `0.2.0` (breaking: `biodivine-lib-bdd` 0.6). + +## Benchmarks + +Same approach as `automata` (see its `docs/benchmarking.md`): instruction counts under valgrind +with gungraun (needs `valgrind` and `gungraun-runner` 0.20.0), deterministic, differences above +~1% are real. Inputs are the generator of REFACTOR.md P2 (`benches/common`) and `hoa/bench/`. + +```shell +cargo bench --bench parse # also: verify, write (~80 s each) +cargo bench --bench parse -- --save-baseline=main # on main, then on the branch: +cargo bench --bench parse -- --baseline=main # prints the diff +HOARS_BENCH_XL=1 cargo bench --bench wallclock # criterion, includes the 200k-state input +``` + +Put the before/after table in the PR. For the effect on `automata`, run its `automata-bench compare` +with `[patch.crates-io] hoars = { path = "../hoars" }` applied on both sides. diff --git a/Cargo.lock b/Cargo.lock index 3c82889..b9084ec 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -14,12 +14,42 @@ dependencies = [ "zerocopy", ] +[[package]] +name = "aho-corasick" +version = "1.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c982642fa9e8606056828ee9a8505737230110bb1099153c79efe865c59d12ba" +dependencies = [ + "memchr", +] + +[[package]] +name = "alloca" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e5a7d05ea6aea7e9e64d25b9156ba2fee3fdd659e34e41063cd2fc7cd020d7f4" +dependencies = [ + "cc", +] + [[package]] name = "allocator-api2" version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" +[[package]] +name = "anes" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4b46cbb362ab8752921c97e041f5e366ee6297bd428a31275b9fcf1e380f7299" + +[[package]] +name = "anstyle" +version = "1.0.14" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "940b3a0ca603d1eade50a4846a2afffd5ef57a9feac2c0e2ec2e14f9ead76000" + [[package]] name = "ariadne" version = "0.6.0" @@ -36,6 +66,18 @@ version = "1.5.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f2032f911046de80f0a198e0901378627c33f59ea0ac00e363d481118bd70a53" +[[package]] +name = "bincode-next" +version = "3.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1d6626829353ae29293be5c86f42de5f0468bc758af074b0c7d08f07e538ccbc" +dependencies = [ + "pastey", + "rapidhash", + "serde", + "unty-next", +] + [[package]] name = "biodivine-lib-bdd" version = "0.6.3" @@ -49,12 +91,34 @@ dependencies = [ "rand", ] +[[package]] +name = "bumpalo" +version = "3.20.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72f5acc6cb2ba439de613abc23857ec3d78374d8ed5ac84e9d11336e87da8649" + [[package]] name = "byteorder" version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" +[[package]] +name = "cast" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "37b2a672a2cb129a2e41c10b1224bb368f9f37a2b16b612598138befd7b37eb5" + +[[package]] +name = "cc" +version = "1.11.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "375989decec1a0fa424442bed520fa12ede43a48475ce8c7417d2c69b32b5f6b" +dependencies = [ + "find-msvc-tools", + "shlex", +] + [[package]] name = "cfg-if" version = "1.0.5" @@ -67,7 +131,146 @@ version = "0.9.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8eebd66744a15ded14960ab4ccdbfb51ad3b81f51f3f04a80adac98c985396c9" dependencies = [ - "hashbrown", + "hashbrown 0.14.5", +] + +[[package]] +name = "ciborium" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42e69ffd6f0917f5c029256a24d0161db17cea3997d185db0d35926308770f0e" +dependencies = [ + "ciborium-io", + "ciborium-ll", + "serde", +] + +[[package]] +name = "ciborium-io" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "05afea1e0a06c9be33d539b876f1ce3692f4afea2cb41f740e7743225ed1c757" + +[[package]] +name = "ciborium-ll" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57663b653d948a338bfb3eeba9bb2fd5fcfaecb9e199e87e1eda4d9e8b240fd9" +dependencies = [ + "ciborium-io", + "half", +] + +[[package]] +name = "clap" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "aa8876b300ab35ba921adea3dfd70157a46249b33f95c9084ae5709785478946" +dependencies = [ + "clap_builder", +] + +[[package]] +name = "clap_builder" +version = "4.6.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0797fb7aeb1406c84efac526901f7ec3ead2124f946b494e72879d4b54704d" +dependencies = [ + "anstyle", + "clap_lex", +] + +[[package]] +name = "clap_lex" +version = "1.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c133bc6a41be0d194c306b5506d15e6feeea7b1d6604bd3f8310dfb2ca96486" + +[[package]] +name = "criterion" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "950046b2aa2492f9a536f5f4f9a3de7b9e2476e575e05bd6c333371add4d98f3" +dependencies = [ + "alloca", + "anes", + "cast", + "ciborium", + "clap", + "criterion-plot", + "itertools 0.13.0", + "num-traits", + "oorandom", + "page_size", + "plotters", + "rayon", + "regex", + "serde", + "serde_json", + "tinytemplate", + "walkdir", +] + +[[package]] +name = "criterion-plot" +version = "0.8.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d8d80a2f4f5b554395e47b5d8305bc3d27813bacb73493eb1001e8f76dae29ea" +dependencies = [ + "cast", + "itertools 0.13.0", +] + +[[package]] +name = "crossbeam-deque" +version = "0.8.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "622f3fc73690be383c7214310406f28a90e6edeadc3cea882f9d71e495b9711a" +dependencies = [ + "crossbeam-epoch", + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-epoch" +version = "0.9.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dc74980687109a3b14c72fd458107bf0baa1da1a1a805e178d15501ba9b86d9d" +dependencies = [ + "crossbeam-utils", +] + +[[package]] +name = "crossbeam-utils" +version = "0.8.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a31eee39dddec8330830986fcd7625edb5a24ec90ea038215273bbc3adb08ac6" + +[[package]] +name = "crunchy" +version = "0.2.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "460fbee9c2c2f33933d720630a6a0bac33ba7053db5344fac858d4b8952d77d5" + +[[package]] +name = "derive_more" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d751e9e49156b02b44f9c1815bcb94b984cdcc4396ecc32521c739452808b134" +dependencies = [ + "derive_more-impl", +] + +[[package]] +name = "derive_more-impl" +version = "2.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "799a97264921d8623a957f6c3b9011f3b5492f557bbb7a5a19b7fa6d06ba8dcb" +dependencies = [ + "proc-macro2", + "quote", + "rustc_version", + "syn 2.0.119", ] [[package]] @@ -76,6 +279,52 @@ version = "1.19.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0e9c71c2167ca323c882b99918929403426e2373ea17242ff5653e0d5e1058be" +[[package]] +name = "either-or-both" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6717164c227120ba9ddf3e2b32305fc0122741d3ee41a54968eae7573ee01933" +dependencies = [ + "indexmap", + "serde", +] + +[[package]] +name = "equivalent" +version = "1.0.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "00d174d5400e5e8fd687ad1049e2f578285fa914201b1af7e8b112a4546bd826" + +[[package]] +name = "find-msvc-tools" +version = "0.1.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48" + +[[package]] +name = "futures-core" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "92d699e522242e69e3003b94ecc1f960f3a5e015aa7c5d7486e65ad01dd94f5e" + +[[package]] +name = "futures-task" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cd417de3d1d015fc3bfd2b1ea46dfc7bab72ef86f1cc7cc9c78e728b34a6d1fd" + +[[package]] +name = "futures-util" +version = "0.3.34" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d50a92467f8ba5dd6e3ee5d4bd04d73ab2e4e1c44474a0674821dfce14b79bc" +dependencies = [ + "futures-core", + "futures-task", + "pin-project-lite", + "slab", +] + [[package]] name = "fxhash" version = "0.2.1" @@ -96,6 +345,62 @@ dependencies = [ "wasi", ] +[[package]] +name = "gungraun" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c041375e48b8ef7cd2d0e70715598154af627c1a551e41c35fdb4a2b3910831a" +dependencies = [ + "bincode-next", + "derive_more", + "gungraun-common", + "gungraun-macros", + "gungraun-runner", +] + +[[package]] +name = "gungraun-common" +version = "0.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bc270ba55639babb5806b62d4bfbc35e15ca15791e3ec00c7b92b39c62a9d8eb" + +[[package]] +name = "gungraun-macros" +version = "0.10.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "08472a9e996a98a5b4274dd342fb32ebe1a5cfeb2662b6578d0c7bf1dd203129" +dependencies = [ + "derive_more", + "proc-macro-error3", + "proc-macro2", + "quote", + "rustc_version", + "serde", + "serde_json", + "syn 3.0.9", +] + +[[package]] +name = "gungraun-runner" +version = "0.20.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1e1460377fe936c3efbe8e27c422b745fa54ebaea81ffe4a53a6f17c7a478683" +dependencies = [ + "either-or-both", + "serde", +] + +[[package]] +name = "half" +version = "2.7.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ea2d84b969582b4b1864a92dc5d27cd2b77b622a8d79306834f1be5ba20d84b" +dependencies = [ + "cfg-if", + "crunchy", + "zerocopy", +] + [[package]] name = "hashbrown" version = "0.14.5" @@ -106,6 +411,12 @@ dependencies = [ "allocator-api2", ] +[[package]] +name = "hashbrown" +version = "0.17.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ed5909b6e89a2db4456e54cd5f673791d7eca6732202bbf2a9cc504fe2f9b84a" + [[package]] name = "hoars" version = "0.3.0" @@ -113,11 +424,32 @@ dependencies = [ "ariadne", "biodivine-lib-bdd", "chumsky", - "itertools", + "criterion", + "gungraun", + "itertools 0.15.0", "lazy_static", "tracing", ] +[[package]] +name = "indexmap" +version = "2.14.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cc4e190f5d26ca7051642629da2c52fc03bde85a03197c99408dcd291734c855" +dependencies = [ + "equivalent", + "hashbrown 0.17.1", +] + +[[package]] +name = "itertools" +version = "0.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "413ee7dfc52ee1a4949ceeb7dbc8a33f2d6c088194d9f922fb8318faf1f01186" +dependencies = [ + "either", +] + [[package]] name = "itertools" version = "0.15.0" @@ -127,6 +459,23 @@ dependencies = [ "either", ] +[[package]] +name = "itoa" +version = "1.0.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f42a60cbdf9a97f5d2305f08a87dc4e09308d1276d28c869c684d7777685682" + +[[package]] +name = "js-sys" +version = "0.3.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8dc09d2154098bbf4ef54eab6b117a3c24cbbffe94046b16ee6d6d4510584d3a" +dependencies = [ + "cfg-if", + "futures-util", + "wasm-bindgen", +] + [[package]] name = "lazy_static" version = "1.5.1" @@ -139,6 +488,12 @@ version = "0.2.191" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "65cd87c9a6d60536580b316ad985726104730a5151c99845f2490428ef91240a" +[[package]] +name = "memchr" +version = "2.8.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf8baf1c55e62ffcace7a9f06f4bd9cd3f0c4beb022d3b367256b91b87513d98" + [[package]] name = "num-bigint" version = "0.4.8" @@ -185,12 +540,62 @@ version = "1.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9f7c3e4beb33f85d45ae3e3a1792185706c8e16d043238c593331cc7cd313b50" +[[package]] +name = "oorandom" +version = "11.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6790f58c7ff633d8771f42965289203411a5e5c68388703c06e14f24770b41e" + +[[package]] +name = "page_size" +version = "0.6.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "30d5b2194ed13191c1999ae0704b7839fb18384fa22e49b57eeaa97d79ce40da" +dependencies = [ + "libc", + "winapi", +] + +[[package]] +name = "pastey" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ee67f1008b1ba2321834326597b8e186293b049a023cdef258527550b9935b4" + [[package]] name = "pin-project-lite" version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a89322df9ebe1c1578d689c92318e070967d1042b512afbe49518723f4e6d5cd" +[[package]] +name = "plotters" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5aeb6f403d7a4911efb1e33402027fc44f29b5bf6def3effcc22d7bb75f2b747" +dependencies = [ + "num-traits", + "plotters-backend", + "plotters-svg", + "wasm-bindgen", + "web-sys", +] + +[[package]] +name = "plotters-backend" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "df42e13c12958a16b3f7f4386b9ab1f3e7933914ecea48da7139435263a4172a" + +[[package]] +name = "plotters-svg" +version = "0.3.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "51bae2ac328883f7acdfea3d66a7c35751187f870bc81f94563733a154d7a670" +dependencies = [ + "plotters-backend", +] + [[package]] name = "ppv-lite86" version = "0.2.21" @@ -200,6 +605,28 @@ dependencies = [ "zerocopy", ] +[[package]] +name = "proc-macro-error-attr3" +version = "3.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9e564d14133360e1ae169ffde5da25881b5fa47261665b8e5713c212c27799da" +dependencies = [ + "proc-macro2", + "quote", +] + +[[package]] +name = "proc-macro-error3" +version = "3.1.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f0d4471b3436c22106b21913b1dda531558918ae9b7ec55d58aa84b43552233" +dependencies = [ + "proc-macro-error-attr3", + "proc-macro2", + "quote", + "syn 3.0.9", +] + [[package]] name = "proc-macro2" version = "1.0.107" @@ -248,6 +675,149 @@ dependencies = [ "getrandom", ] +[[package]] +name = "rapidhash" +version = "4.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5da7e78a036ce858e8d55b7e7dc8ba3a88b78350fd2155d3591bbd966b58589e" +dependencies = [ + "rustversion", +] + +[[package]] +name = "rayon" +version = "1.12.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fb39b166781f92d482534ef4b4b1b2568f42613b53e5b6c160e24cfbfa30926d" +dependencies = [ + "either", + "rayon-core", +] + +[[package]] +name = "rayon-core" +version = "1.13.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "22e18b0f0062d30d4230b2e85ff77fdfe4326feb054b9783a3460d8435c8ab91" +dependencies = [ + "crossbeam-deque", + "crossbeam-utils", +] + +[[package]] +name = "regex" +version = "1.13.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f020237b6c8eed93db2e2cb53c00c60a8e1bc73da7d073199a1180401450218d" +dependencies = [ + "aho-corasick", + "memchr", + "regex-automata", + "regex-syntax", +] + +[[package]] +name = "regex-automata" +version = "0.4.18" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ad8553b9b26413251cbf30e620595c7a41b3887f03da04579c0e6b0d6a06b4b2" +dependencies = [ + "aho-corasick", + "memchr", + "regex-syntax", +] + +[[package]] +name = "regex-syntax" +version = "0.8.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d6f6ff9a378485b298a5286656da665ba74413d36db0979633275d2e708145d4" + +[[package]] +name = "rustc_version" +version = "0.4.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" +dependencies = [ + "semver", +] + +[[package]] +name = "rustversion" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf54715a573b99ac80df0bc206da022bcd442c974952c7b9720069370852e21f" + +[[package]] +name = "same-file" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "93fc1dc3aaa9bfed95e02e6eadabb4baf7e3078b0bd1b4d7b6b0b68378900502" +dependencies = [ + "winapi-util", +] + +[[package]] +name = "semver" +version = "1.0.28" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a7852d02fc848982e0c167ef163aaff9cd91dc640ba85e263cb1ce46fae51cd" + +[[package]] +name = "serde" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4148590afebada386688f18773da617792bf2ef03ffc1e4cbd2b1d45b023e0ba" +dependencies = [ + "serde_core", + "serde_derive", +] + +[[package]] +name = "serde_core" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "67dca2c9c51e58a4791a4b1ed58308b39c64224d349a935ab5039aa360942a48" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.229" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7a5d71263a5a7d47b41f6b3f06ba276f10cc18b0931f1799f710578e2309348" +dependencies = [ + "proc-macro2", + "quote", + "syn 3.0.9", +] + +[[package]] +name = "serde_json" +version = "1.0.154" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e7e9cc8b1b85264074fbcc02a88680c4096b1e47df8f739dceb03bf482f04bd6" +dependencies = [ + "itoa", + "memchr", + "serde", + "serde_core", + "zmij", +] + +[[package]] +name = "shlex" +version = "2.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f8fadd59c855ef2080decdef8ff161eb6661b86933c9d82e5ba29dc602a55aba" + +[[package]] +name = "slab" +version = "0.4.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0c790de23124f9ab44544d7ac05d60440adc586479ce501c1d6d7da3cd8c9cf5" + [[package]] name = "syn" version = "2.0.119" @@ -259,6 +829,27 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "syn" +version = "3.0.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d78c8dee4c7bf0e14673097256fed6142ce9d3b85a408189d07482442145823b" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "tinytemplate" +version = "1.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "be4d6b5f19ff7664e8c98d03e2139cb510db9b0a60b55f8e8709b689d939b6bc" +dependencies = [ + "serde", + "serde_json", +] + [[package]] name = "tracing" version = "0.1.44" @@ -278,7 +869,7 @@ checksum = "7490cfa5ec963746568740651ac6781f701c9c5ea257c58e057f3ba8cf69e8da" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.119", ] [[package]] @@ -302,18 +893,134 @@ version = "0.2.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" +[[package]] +name = "unty-next" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16062d030850f35054e37746427b9febb74a2f24c9c6dd6fa2d0c13c5f53221e" + [[package]] name = "version_check" version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" +[[package]] +name = "walkdir" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29790946404f91d9c5d06f9874efddea1dc06c5efe94541a7d6863108e3a5e4b" +dependencies = [ + "same-file", + "winapi-util", +] + [[package]] name = "wasi" version = "0.11.1+wasi-snapshot-preview1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ccf3ec651a847eb01de73ccad15eb7d99f80485de043efb2f370cd654f4ea44b" +[[package]] +name = "wasm-bindgen" +version = "0.2.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a0181c14ddd6c7b8b0b0132a5f1ea2f32be0d893cd3ea97b6e3b28886b8a3d1c" +dependencies = [ + "cfg-if", + "rustversion", + "wasm-bindgen-macro", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-macro" +version = "0.2.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6e931a02a39abdbf66966fc35902b5ed58344750a70885bed4ebb3d8eaf28ed9" +dependencies = [ + "quote", + "wasm-bindgen-macro-support", +] + +[[package]] +name = "wasm-bindgen-macro-support" +version = "0.2.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "2ca4b54280e455bd831e33a6b8e734baf432fe63fbc35c42ac14ce67a043a53a" +dependencies = [ + "bumpalo", + "proc-macro2", + "quote", + "syn 3.0.9", + "wasm-bindgen-shared", +] + +[[package]] +name = "wasm-bindgen-shared" +version = "0.2.130" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3b1f9c3798725016c6ee5f2f57869ec0831e8bbc0ab0310a86e787e97f41389e" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "web-sys" +version = "0.3.107" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d7d179596ff5ec0f6de4db64d54011bde6289cc49603d3a6e4ce3f329207ab88" +dependencies = [ + "js-sys", + "wasm-bindgen", +] + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[package]] +name = "winapi-i686-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" + +[[package]] +name = "winapi-util" +version = "0.1.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c2a7b1c03c876122aa43f3020e6c3c3ee5c05081c9a00739faf7503aeba10d22" +dependencies = [ + "windows-sys", +] + +[[package]] +name = "winapi-x86_64-pc-windows-gnu" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" + +[[package]] +name = "windows-link" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f0805222e57f7521d6a62e36fa9163bc891acd422f971defe97d64e70d0a4fe5" + +[[package]] +name = "windows-sys" +version = "0.61.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ae137229bcbd6cdf0f7b80a31df61766145077ddf49416a728b02cb3921ff3fc" +dependencies = [ + "windows-link", +] + [[package]] name = "yansi" version = "1.0.1" @@ -337,5 +1044,11 @@ checksum = "863ad3ac83293fb4d740aedbfdc9240dd8d1a50c1099acd76ce80ce7c7230c7f" dependencies = [ "proc-macro2", "quote", - "syn", + "syn 2.0.119", ] + +[[package]] +name = "zmij" +version = "1.0.23" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "29666d0abbfad1e3dc4dcf6144730dd3a3ab225bbbdac83319345b1b44ccfc1b" diff --git a/Cargo.toml b/Cargo.toml index 7a7eb1c..7515ce4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -23,3 +23,24 @@ chumsky = { version = "0.9.3", default-features = false, features = [ "std", ] } lazy_static = "1.5.0" + +[dev-dependencies] +criterion = "0.8" +# the runner (gungraun-runner) must have exactly this version +gungraun = "=0.20.0" + +[[bench]] +name = "parse" +harness = false + +[[bench]] +name = "verify" +harness = false + +[[bench]] +name = "write" +harness = false + +[[bench]] +name = "wallclock" +harness = false diff --git a/benches/common/mod.rs b/benches/common/mod.rs new file mode 100644 index 0000000..bfe8cd1 --- /dev/null +++ b/benches/common/mod.rs @@ -0,0 +1,55 @@ +//! Deterministic inputs shared by all benchmarks. No randomness: inputs are pure functions of +//! their size or committed files. +#![allow(dead_code)] + +use hoars::HoaRepresentation; +use std::{fmt::Write, path::Path}; + +/// The input generator from REFACTOR.md (P2): a ring-like automaton with `n` states, 2 APs and +/// 4 edges per state. +pub fn generated(n: usize) -> String { + let mut s = String::with_capacity(n * 80); + s.push_str("HOA: v1\n"); + writeln!(s, "States: {n}").unwrap(); + s.push_str("Start: 0\nAP: 2 \"a\" \"b\"\nAcceptance: 1 Inf(0)\n--BODY--\n"); + for i in 0..n { + writeln!(s, "State: {i}").unwrap(); + writeln!(s, "[0 & 1] {} {{0}}", (i + 1) % n).unwrap(); + writeln!(s, "[!0 & 1] {}", (i + 7) % n).unwrap(); + writeln!(s, "[0 & !1] {}", (i * 3) % n).unwrap(); + writeln!(s, "[!0 & !1] {i}").unwrap(); + } + s.push_str("--END--\n"); + s +} + +pub fn parse(text: &str) -> HoaRepresentation { + HoaRepresentation::try_from(text).expect("benchmark input parses") +} + +/// Texts of all `.hoa` files in `hoa/bench/`, sorted by path (Spot-generated, see +/// `hoa/bench/README.md`). +pub fn fixture_texts(dirs: &[&str]) -> Vec { + let root = Path::new(env!("CARGO_MANIFEST_DIR")).join("hoa/bench"); + let mut files: Vec<_> = dirs + .iter() + .flat_map(|d| std::fs::read_dir(root.join(d)).expect("fixture directory")) + .map(|e| e.expect("entry").path()) + .filter(|p| p.extension().is_some_and(|e| e == "hoa")) + .collect(); + files.sort(); + files + .iter() + .map(|p| std::fs::read_to_string(p).expect("fixture")) + .collect() +} + +pub fn ltl() -> Vec { + fixture_texts(&["ltl"]) +} +pub fn synthetic() -> Vec { + fixture_texts(&["random", "hard"]) +} +pub fn spot() -> Vec { + fixture_texts(&["spot"]) +} diff --git a/benches/parse.rs b/benches/parse.rs new file mode 100644 index 0000000..fc6da2a --- /dev/null +++ b/benches/parse.rs @@ -0,0 +1,31 @@ +//! Parsing: `HoaRepresentation::try_from` on generated rings of growing size (the slope shows +//! linear vs. superlinear behaviour) and on the Spot fixtures in `hoa/bench`. + +mod common; + +use gungraun::prelude::*; +use std::hint::black_box; + +fn parse_all(texts: Vec) -> usize { + texts + .iter() + .map(|t| black_box(common::parse(t)).body().into_iter().count()) + .sum() +} + +#[library_benchmark] +#[benches::generated(args = [250, 1_000, 4_000], setup = common::generated)] +fn parse_generated(text: String) -> usize { + black_box(common::parse(&text)).body().into_iter().count() +} + +#[library_benchmark] +#[bench::ltl(setup = common::ltl)] +#[bench::synthetic(setup = common::synthetic)] +#[bench::spot(setup = common::spot)] +fn parse_fixtures(texts: Vec) -> usize { + parse_all(texts) +} + +library_benchmark_group!(name = parse; benchmarks = parse_generated, parse_fixtures); +main!(library_benchmark_groups = parse); diff --git a/benches/verify.rs b/benches/verify.rs new file mode 100644 index 0000000..87462e7 --- /dev/null +++ b/benches/verify.rs @@ -0,0 +1,26 @@ +//! `verify()` and `validate()` on generated rings (parsing is setup, not measured). + +mod common; + +use gungraun::prelude::*; +use hoars::HoaRepresentation; +use std::hint::black_box; + +fn setup(n: usize) -> HoaRepresentation { + common::parse(&common::generated(n)) +} + +#[library_benchmark] +#[benches::generated(args = [250, 1_000, 4_000], setup = setup)] +fn verify(aut: HoaRepresentation) -> bool { + black_box(aut.verify()).is_ok() +} + +#[library_benchmark] +#[benches::generated(args = [250, 1_000, 4_000], setup = setup)] +fn validate(aut: HoaRepresentation) -> bool { + black_box(aut.validate()).is_ok() +} + +library_benchmark_group!(name = verify_group; benchmarks = verify, validate); +main!(library_benchmark_groups = verify_group); diff --git a/benches/wallclock.rs b/benches/wallclock.rs new file mode 100644 index 0000000..e8498fe --- /dev/null +++ b/benches/wallclock.rs @@ -0,0 +1,34 @@ +//! Wall-clock times (criterion) for real magnitudes; never gated. The 200k-state input of +//! REFACTOR.md (P2) only runs with `HOARS_BENCH_XL=1`: parsing it takes several seconds. + +mod common; + +use criterion::{Criterion, Throughput, criterion_group, criterion_main}; +use std::hint::black_box; + +fn wallclock(c: &mut Criterion) { + let mut sizes = vec![1_000, 10_000]; + if std::env::var_os("HOARS_BENCH_XL").is_some() { + sizes.push(200_000); + } + let mut g = c.benchmark_group("wallclock"); + g.sample_size(10); + for n in sizes { + let text = common::generated(n); + g.throughput(Throughput::Bytes(text.len() as u64)); + g.bench_function(format!("parse/{n}"), |b| { + b.iter(|| black_box(common::parse(&text))) + }); + let aut = common::parse(&text); + g.bench_function(format!("verify/{n}"), |b| { + b.iter(|| black_box(aut.verify())) + }); + g.bench_function(format!("write/{n}"), |b| { + b.iter(|| black_box(hoars::output::to_hoa(&aut))) + }); + } + g.finish(); +} + +criterion_group!(benches, wallclock); +criterion_main!(benches); diff --git a/benches/write.rs b/benches/write.rs new file mode 100644 index 0000000..a41f222 --- /dev/null +++ b/benches/write.rs @@ -0,0 +1,40 @@ +//! `to_hoa` on generated rings and fixtures (parsing is setup, not measured). + +mod common; + +use gungraun::prelude::*; +use hoars::{HoaRepresentation, output::to_hoa}; +use std::hint::black_box; + +fn generated(n: usize) -> HoaRepresentation { + common::parse(&common::generated(n)) +} +fn parsed(texts: Vec) -> Vec { + texts.iter().map(|t| common::parse(t)).collect() +} +fn ltl() -> Vec { + parsed(common::ltl()) +} +fn synthetic() -> Vec { + parsed(common::synthetic()) +} +fn spot() -> Vec { + parsed(common::spot()) +} + +#[library_benchmark] +#[benches::generated(args = [250, 1_000, 4_000], setup = generated)] +fn write_generated(aut: HoaRepresentation) -> usize { + black_box(to_hoa(&aut)).len() +} + +#[library_benchmark] +#[bench::ltl(setup = ltl)] +#[bench::synthetic(setup = synthetic)] +#[bench::spot(setup = spot)] +fn write_fixtures(auts: Vec) -> usize { + auts.iter().map(|a| black_box(to_hoa(a)).len()).sum() +} + +library_benchmark_group!(name = write; benchmarks = write_generated, write_fixtures); +main!(library_benchmark_groups = write); diff --git a/hoa/bench/README.md b/hoa/bench/README.md new file mode 100644 index 0000000..179d70f --- /dev/null +++ b/hoa/bench/README.md @@ -0,0 +1,9 @@ +# Benchmark fixtures + +- `ltl/`, `random/`, `hard/`: deterministic parity automata copied from `leonbohn/automata` + (`benches/fixtures`, see the README there), generated with [Spot](https://spot.lre.epita.fr). +- `spot/`: other shapes (Büchi with state acceptance, generalized Büchi, Rabin, Streett, + nondeterministic), generated by `scripts/generate_bench_fixtures.sh`. + +Benchmarks read every `.hoa` file in these directories, so adding or removing a file changes the +inputs and invalidates earlier numbers. `exclude` in `Cargo.toml` keeps them out of the crate. diff --git a/hoa/bench/hard/l-dsa-3.hoa b/hoa/bench/hard/l-dsa-3.hoa new file mode 100644 index 0000000..bcb34af --- /dev/null +++ b/hoa/bench/hard/l-dsa-3.hoa @@ -0,0 +1,164 @@ +HOA: v1 +name: "l-dsa-3" +States: 51 +Start: 0 +AP: 1 "a" +acc-name: parity min even 5 +Acceptance: 5 Inf(0) | (Fin(1) & (Inf(2) | (Fin(3) & Inf(4)))) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic +--BODY-- +State: 0 +[0] 1 {1} +[!0] 50 {4} +State: 1 +[!0] 2 {0} +[0] 3 {4} +State: 2 +[0] 4 {4} +[!0] 50 {4} +State: 3 +[!0] 5 {2} +[0] 6 {4} +State: 4 +[!0] 7 {4} +[0] 8 {3} +State: 5 +[0] 9 {4} +[!0] 50 {4} +State: 6 +[0] 6 {4} +[!0] 10 {4} +State: 7 +[0] 11 {4} +[!0] 50 {4} +State: 8 +[!0] 12 {1} +[0] 13 {3} +State: 9 +[!0] 0 {1} +[0] 14 {4} +State: 10 +[0] 15 {4} +[!0] 50 {4} +State: 11 +[!0] 2 {4} +[0] 16 {2} +State: 12 +[0] 17 {1} +[!0] 50 {4} +State: 13 +[0] 13 {4} +[!0] 18 {3} +State: 14 +[!0] 19 {4} +[0] 20 {3} +State: 15 +[!0] 0 {1} +[0] 21 {4} +State: 16 +[!0] 22 {0} +[0] 23 {4} +State: 17 +[!0] 2 {2} +[0] 16 {4} +State: 18 +[0] 11 {3} +[!0] 50 {4} +State: 19 +[0] 24 {4} +[!0] 50 {4} +State: 20 +[0] 20 {4} +[!0] 25 {3} +State: 21 +[!0] 26 {3} +[0] 27 {4} +State: 22 +[0] 28 {4} +[!0] 50 {4} +State: 23 +[0] 23 {4} +[!0] 29 {4} +State: 24 +[!0] 2 {0} +[0] 30 {4} +State: 25 +[0] 24 {3} +[!0] 50 {4} +State: 26 +[0] 1 {3} +[!0] 50 {4} +State: 27 +[0] 27 {4} +[!0] 31 {4} +State: 28 +[!0] 32 {3} +[0] 33 {4} +State: 29 +[0] 34 {4} +[!0] 50 {4} +State: 30 +[!0] 5 {4} +[0] 6 {2} +State: 31 +[0] 1 {4} +[!0] 50 {4} +State: 32 +[0] 35 {3} +[!0] 50 {4} +State: 33 +[!0] 36 {4} +[0] 37 {1} +State: 34 +[!0] 38 {3} +[0] 39 {4} +State: 35 +[!0] 40 {2} +[0] 41 {4} +State: 36 +[0] 35 {4} +[!0] 50 {4} +State: 37 +[0] 37 {4} +[!0] 42 {1} +State: 38 +[0] 17 {3} +[!0] 50 {4} +State: 39 +[!0] 12 {1} +[0] 43 {4} +State: 40 +[0] 44 {4} +[!0] 50 {4} +State: 41 +[0] 6 {0} +[!0] 22 {4} +State: 42 +[0] 35 {1} +[!0] 50 {4} +State: 43 +[0] 43 {4} +[!0] 45 {4} +State: 44 +[!0] 46 {4} +[0] 47 {3} +State: 45 +[0] 17 {4} +[!0] 50 {4} +State: 46 +[0] 48 {4} +[!0] 50 {4} +State: 47 +[0] 37 {1} +[!0] 49 {3} +State: 48 +[!0] 40 {4} +[0] 41 {2} +State: 49 +[0] 48 {3} +[!0] 50 {4} +State: 50 +[!0] 50 {3} +[0] 50 {3} +--END-- diff --git a/hoa/bench/hard/l-nba-2.hoa b/hoa/bench/hard/l-nba-2.hoa new file mode 100644 index 0000000..c648313 --- /dev/null +++ b/hoa/bench/hard/l-nba-2.hoa @@ -0,0 +1,156 @@ +HOA: v1 +name: "l-nba-2" +States: 29 +Start: 0 +AP: 2 "a" "b" +acc-name: parity min even 2 +Acceptance: 2 Inf(0) | Fin(1) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic +--BODY-- +State: 0 +[!0&1] 0 {1} +[0&1] 0 {1} +[0&!1] 1 {1} +[!0&!1] 28 {1} +State: 1 +[0&1] 0 {1} +[0&!1] 1 {1} +[!0&1] 2 {1} +[!0&!1] 28 {1} +State: 2 +[!0&1] 0 {1} +[0&1] 0 {1} +[0&!1] 3 {1} +[!0&!1] 28 {1} +State: 3 +[0&1] 0 {1} +[!0&1] 4 {0} +[0&!1] 5 {1} +[!0&!1] 28 {1} +State: 4 +[!0&1] 0 {1} +[0&1] 0 {1} +[0&!1] 6 {1} +[!0&!1] 28 {1} +State: 5 +[0&1] 0 {1} +[0&!1] 5 {1} +[!0&1] 7 {1} +[!0&!1] 28 {1} +State: 6 +[0&1] 0 {1} +[!0&1] 2 {1} +[0&!1] 8 {1} +[!0&!1] 28 {1} +State: 7 +[!0&1] 9 {1} +[0&1] 9 {1} +[0&!1] 10 {1} +[!0&!1] 28 {1} +State: 8 +[0&1] 0 {1} +[0&!1] 8 {1} +[!0&1] 11 {1} +[!0&!1] 28 {1} +State: 9 +[!0&1] 9 {1} +[0&1] 9 {1} +[0&!1] 12 {1} +[!0&!1] 28 {1} +State: 10 +[0&1] 9 {1} +[!0&1] 13 {0} +[0&!1] 14 {1} +[!0&!1] 28 {1} +State: 11 +[!0&1] 13 {1} +[0&1] 13 {1} +[0&!1] 15 {1} +[!0&!1] 28 {1} +State: 12 +[!0&1] 7 {1} +[0&1] 9 {1} +[0&!1] 14 {1} +[!0&!1] 28 {1} +State: 13 +[!0&1] 13 {1} +[0&1] 13 {1} +[0&!1] 16 {1} +[!0&!1] 28 {1} +State: 14 +[0&1] 9 {1} +[0&!1] 14 {1} +[!0&1] 17 {1} +[!0&!1] 28 {1} +State: 15 +[0&1] 13 {1} +[!0&1] 18 {1} +[0&!1] 19 {1} +[!0&!1] 28 {1} +State: 16 +[!0&1] 11 {1} +[0&1] 13 {1} +[0&!1] 16 {1} +[!0&!1] 28 {1} +State: 17 +[!0&1] 9 {1} +[0&1] 9 {1} +[0&!1] 20 {1} +[!0&!1] 28 {1} +State: 18 +[!0&1] 21 {1} +[0&1] 21 {1} +[0&!1] 22 {1} +[!0&!1] 28 {1} +State: 19 +[!0&1] 7 {1} +[0&1] 13 {1} +[0&!1] 19 {1} +[!0&!1] 28 {1} +State: 20 +[0&1] 9 {1} +[!0&1] 13 {0} +[0&!1] 23 {1} +[!0&!1] 28 {1} +State: 21 +[!0&1] 21 {1} +[0&1] 21 {1} +[0&!1] 24 {1} +[!0&!1] 28 {1} +State: 22 +[0&1] 21 {1} +[!0&1] 25 {1} +[0&!1] 26 {1} +[!0&!1] 28 {1} +State: 23 +[!0&1] 7 {0} +[0&1] 9 {1} +[0&!1] 23 {1} +[!0&!1] 28 {1} +State: 24 +[0&1] 21 {1} +[0&!1] 24 {1} +[!0&1] 25 {1} +[!0&!1] 28 {1} +State: 25 +[!0&1] 21 {1} +[0&1] 21 {1} +[0&!1] 27 {1} +[!0&!1] 28 {1} +State: 26 +[!0&1] 13 {0} +[0&1] 21 {1} +[0&!1] 26 {1} +[!0&!1] 28 {1} +State: 27 +[!0&1] 18 {0} +[0&1] 21 {1} +[0&!1] 26 {1} +[!0&!1] 28 {1} +State: 28 +[!0&!1] 28 {1} +[!0&1] 28 {1} +[0&!1] 28 {1} +[0&1] 28 {1} +--END-- diff --git a/hoa/bench/hard/m-nba-3.hoa b/hoa/bench/hard/m-nba-3.hoa new file mode 100644 index 0000000..40c4b93 --- /dev/null +++ b/hoa/bench/hard/m-nba-3.hoa @@ -0,0 +1,616 @@ +HOA: v1 +name: "m-nba-3" +States: 121 +Start: 0 +AP: 2 "p0" "p1" +acc-name: parity min even 2 +Acceptance: 2 Inf(0) | Fin(1) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic +--BODY-- +State: 0 +[!0&1] 1 {1} +[0&!1] 2 {1} +[0&1] 3 {1} +[!0&!1] 120 {1} +State: 1 +[!0&!1] 1 {1} +[0&!1] 1 {1} +[0&1] 1 {1} +[!0&1] 4 {1} +State: 2 +[!0&!1] 2 {1} +[!0&1] 2 {1} +[0&1] 2 {1} +[0&!1] 5 {1} +State: 3 +[!0&!1] 3 {1} +[!0&1] 3 {1} +[0&!1] 3 {1} +[0&1] 6 {1} +State: 4 +[!0&!1] 1 {1} +[!0&1] 7 {0} +[0&!1] 8 {1} +[0&1] 9 {1} +State: 5 +[!0&!1] 2 {1} +[!0&1] 10 {1} +[0&!1] 11 {0} +[0&1] 12 {1} +State: 6 +[!0&!1] 3 {1} +[!0&1] 13 {1} +[0&!1] 14 {1} +[0&1] 15 {0} +State: 7 +[!0&!1] 1 {1} +[!0&1] 4 {1} +[0&!1] 16 {1} +[0&1] 17 {1} +State: 8 +[!0&!1] 8 {1} +[0&1] 8 {1} +[!0&1] 18 {1} +[0&!1] 19 {1} +State: 9 +[!0&!1] 9 {1} +[0&!1] 9 {1} +[!0&1] 20 {1} +[0&1] 21 {1} +State: 10 +[!0&!1] 10 {1} +[0&1] 10 {1} +[!0&1] 22 {1} +[0&!1] 23 {1} +State: 11 +[!0&!1] 2 {1} +[0&!1] 5 {1} +[!0&1] 16 {1} +[0&1] 24 {1} +State: 12 +[!0&!1] 12 {1} +[!0&1] 12 {1} +[0&!1] 25 {1} +[0&1] 26 {1} +State: 13 +[!0&!1] 13 {1} +[0&!1] 13 {1} +[!0&1] 27 {1} +[0&1] 28 {1} +State: 14 +[!0&!1] 14 {1} +[!0&1] 14 {1} +[0&!1] 29 {1} +[0&1] 30 {1} +State: 15 +[!0&!1] 3 {1} +[0&1] 6 {1} +[!0&1] 17 {1} +[0&!1] 24 {1} +State: 16 +[!0&!1] 16 {1} +[0&1] 16 {1} +[!0&1] 31 {1} +[0&!1] 31 {1} +State: 17 +[!0&!1] 17 {1} +[0&!1] 17 {1} +[!0&1] 32 {1} +[0&1] 32 {1} +State: 18 +[!0&!1] 8 {1} +[0&!1] 19 {1} +[!0&1] 33 {0} +[0&1] 34 {1} +State: 19 +[!0&!1] 8 {1} +[!0&1] 33 {0} +[0&!1] 35 {0} +[0&1] 36 {1} +State: 20 +[!0&!1] 9 {1} +[0&1] 21 {1} +[!0&1] 37 {0} +[0&!1] 38 {1} +State: 21 +[!0&!1] 9 {1} +[!0&1] 37 {0} +[0&!1] 39 {1} +[0&1] 40 {0} +State: 22 +[!0&!1] 10 {1} +[0&!1] 33 {0} +[!0&1] 41 {0} +[0&1] 42 {1} +State: 23 +[!0&!1] 10 {1} +[!0&1] 22 {1} +[0&!1] 33 {0} +[0&1] 43 {1} +State: 24 +[!0&!1] 24 {1} +[!0&1] 24 {1} +[0&!1] 44 {1} +[0&1] 44 {1} +State: 25 +[!0&!1] 12 {1} +[0&1] 26 {1} +[!0&1] 45 {1} +[0&!1] 46 {0} +State: 26 +[!0&!1] 12 {1} +[0&!1] 46 {0} +[!0&1] 47 {1} +[0&1] 48 {0} +State: 27 +[!0&!1] 13 {1} +[0&1] 37 {0} +[!0&1] 49 {0} +[0&!1] 50 {1} +State: 28 +[!0&!1] 13 {1} +[!0&1] 27 {1} +[0&1] 37 {0} +[0&!1] 51 {1} +State: 29 +[!0&!1] 14 {1} +[0&1] 46 {0} +[!0&1] 52 {1} +[0&!1] 53 {0} +State: 30 +[!0&!1] 14 {1} +[0&!1] 29 {1} +[0&1] 46 {0} +[!0&1] 54 {1} +State: 31 +[!0&!1] 16 {1} +[0&!1] 18 {1} +[!0&1] 23 {1} +[0&1] 55 {1} +State: 32 +[!0&!1] 17 {1} +[0&1] 20 {1} +[!0&1] 28 {1} +[0&!1] 56 {1} +State: 33 +[!0&!1] 16 {1} +[!0&1] 31 {1} +[0&!1] 31 {1} +[0&1] 57 {1} +State: 34 +[!0&!1] 34 {1} +[!0&1] 58 {1} +[0&!1] 59 {1} +[0&1] 60 {1} +State: 35 +[!0&!1] 8 {1} +[0&!1] 19 {1} +[!0&1] 33 {0} +[0&1] 61 {1} +State: 36 +[!0&!1] 36 {1} +[!0&1] 62 {1} +[0&!1] 63 {1} +[0&1] 64 {1} +State: 37 +[!0&!1] 17 {1} +[!0&1] 32 {1} +[0&1] 32 {1} +[0&!1] 57 {1} +State: 38 +[!0&!1] 38 {1} +[!0&1] 65 {1} +[0&!1] 66 {1} +[0&1] 67 {1} +State: 39 +[!0&!1] 39 {1} +[!0&1] 68 {1} +[0&!1] 69 {1} +[0&1] 70 {1} +State: 40 +[!0&!1] 9 {1} +[0&1] 21 {1} +[!0&1] 37 {0} +[0&!1] 61 {1} +State: 41 +[!0&!1] 10 {1} +[!0&1] 22 {1} +[0&!1] 33 {0} +[0&1] 71 {1} +State: 42 +[!0&!1] 42 {1} +[!0&1] 72 {1} +[0&!1] 73 {1} +[0&1] 74 {1} +State: 43 +[!0&!1] 43 {1} +[!0&1] 75 {1} +[0&!1] 76 {1} +[0&1] 77 {1} +State: 44 +[!0&!1] 24 {1} +[0&1] 25 {1} +[0&!1] 30 {1} +[!0&1] 78 {1} +State: 45 +[!0&!1] 45 {1} +[!0&1] 79 {1} +[0&!1] 80 {1} +[0&1] 81 {1} +State: 46 +[!0&!1] 24 {1} +[0&!1] 44 {1} +[0&1] 44 {1} +[!0&1] 57 {1} +State: 47 +[!0&!1] 47 {1} +[!0&1] 82 {1} +[0&!1] 83 {1} +[0&1] 84 {1} +State: 48 +[!0&!1] 12 {1} +[0&1] 26 {1} +[0&!1] 46 {0} +[!0&1] 71 {1} +State: 49 +[!0&!1] 13 {1} +[!0&1] 27 {1} +[0&1] 37 {0} +[0&!1] 85 {1} +State: 50 +[!0&!1] 50 {1} +[!0&1] 86 {1} +[0&!1] 87 {1} +[0&1] 88 {1} +State: 51 +[!0&!1] 51 {1} +[!0&1] 89 {1} +[0&!1] 90 {1} +[0&1] 91 {1} +State: 52 +[!0&!1] 52 {1} +[!0&1] 92 {1} +[0&!1] 93 {1} +[0&1] 94 {1} +State: 53 +[!0&!1] 14 {1} +[0&!1] 29 {1} +[0&1] 46 {0} +[!0&1] 85 {1} +State: 54 +[!0&!1] 54 {1} +[!0&1] 95 {1} +[0&!1] 96 {1} +[0&1] 97 {1} +State: 55 +[!0&!1] 55 {1} +[!0&1] 98 {1} +[0&!1] 98 {1} +[0&1] 99 {1} +State: 56 +[!0&!1] 56 {1} +[!0&1] 100 {1} +[0&1] 100 {1} +[0&!1] 101 {1} +State: 57 +[!0&!1] 57 {1} +[!0&1] 102 {1} +[0&!1] 102 {1} +[0&1] 102 {1} +State: 58 +[!0&!1] 34 {1} +[!0&1] 57 {0} +[0&!1] 59 {1} +[0&1] 60 {1} +State: 59 +[!0&!1] 34 {1} +[!0&1] 57 {0} +[0&1] 62 {1} +[0&!1] 103 {0} +State: 60 +[!0&!1] 34 {1} +[!0&1] 57 {0} +[0&1] 58 {0} +[0&!1] 59 {1} +State: 61 +[!0&!1] 61 {1} +[!0&1] 104 {1} +[0&!1] 105 {1} +[0&1] 105 {1} +State: 62 +[!0&!1] 36 {1} +[!0&1] 57 {0} +[0&!1] 63 {1} +[0&1] 64 {1} +State: 63 +[!0&!1] 36 {1} +[!0&1] 57 {0} +[0&1] 64 {1} +[0&!1] 104 {0} +State: 64 +[!0&!1] 36 {1} +[!0&1] 57 {0} +[0&1] 63 {0} +[0&!1] 104 {0} +State: 65 +[!0&!1] 38 {1} +[!0&1] 57 {0} +[0&!1] 66 {1} +[0&1] 67 {1} +State: 66 +[!0&!1] 38 {1} +[!0&1] 57 {0} +[0&!1] 65 {0} +[0&1] 67 {1} +State: 67 +[!0&!1] 38 {1} +[!0&1] 57 {0} +[0&!1] 68 {1} +[0&1] 106 {0} +State: 68 +[!0&!1] 39 {1} +[!0&1] 57 {0} +[0&!1] 69 {1} +[0&1] 70 {1} +State: 69 +[!0&!1] 39 {1} +[!0&1] 57 {0} +[0&!1] 70 {0} +[0&1] 104 {0} +State: 70 +[!0&!1] 39 {1} +[!0&1] 57 {0} +[0&!1] 69 {1} +[0&1] 104 {0} +State: 71 +[!0&!1] 71 {1} +[!0&1] 107 {1} +[0&1] 107 {1} +[0&!1] 108 {1} +State: 72 +[!0&!1] 42 {1} +[0&!1] 57 {0} +[0&1] 74 {1} +[!0&1] 108 {0} +State: 73 +[!0&!1] 42 {1} +[0&!1] 57 {0} +[!0&1] 72 {1} +[0&1] 74 {1} +State: 74 +[!0&!1] 42 {1} +[0&!1] 57 {0} +[0&1] 72 {0} +[!0&1] 108 {0} +State: 75 +[!0&!1] 43 {1} +[0&!1] 57 {0} +[0&1] 73 {1} +[!0&1] 109 {0} +State: 76 +[!0&!1] 43 {1} +[0&!1] 57 {0} +[!0&1] 75 {1} +[0&1] 77 {1} +State: 77 +[!0&!1] 43 {1} +[0&!1] 57 {0} +[!0&1] 75 {1} +[0&1] 76 {0} +State: 78 +[!0&!1] 78 {1} +[!0&1] 110 {1} +[0&!1] 111 {1} +[0&1] 111 {1} +State: 79 +[!0&!1] 45 {1} +[0&!1] 57 {0} +[!0&1] 80 {0} +[0&1] 81 {1} +State: 80 +[!0&!1] 45 {1} +[0&!1] 57 {0} +[!0&1] 79 {1} +[0&1] 81 {1} +State: 81 +[!0&!1] 45 {1} +[0&!1] 57 {0} +[!0&1] 83 {1} +[0&1] 112 {0} +State: 82 +[!0&!1] 47 {1} +[0&!1] 57 {0} +[!0&1] 84 {0} +[0&1] 108 {0} +State: 83 +[!0&!1] 47 {1} +[0&!1] 57 {0} +[!0&1] 82 {1} +[0&1] 84 {1} +State: 84 +[!0&!1] 47 {1} +[0&!1] 57 {0} +[!0&1] 82 {1} +[0&1] 108 {0} +State: 85 +[!0&!1] 85 {1} +[!0&1] 113 {1} +[0&!1] 113 {1} +[0&1] 114 {1} +State: 86 +[!0&!1] 50 {1} +[0&1] 57 {0} +[0&!1] 87 {1} +[!0&1] 114 {0} +State: 87 +[!0&!1] 50 {1} +[0&1] 57 {0} +[0&!1] 86 {0} +[!0&1] 114 {0} +State: 88 +[!0&!1] 50 {1} +[0&1] 57 {0} +[!0&1] 86 {1} +[0&!1] 87 {1} +State: 89 +[!0&!1] 51 {1} +[0&1] 57 {0} +[0&!1] 88 {1} +[!0&1] 115 {0} +State: 90 +[!0&!1] 51 {1} +[0&1] 57 {0} +[!0&1] 89 {1} +[0&!1] 91 {0} +State: 91 +[!0&!1] 51 {1} +[0&1] 57 {0} +[!0&1] 89 {1} +[0&!1] 90 {1} +State: 92 +[!0&!1] 52 {1} +[0&1] 57 {0} +[!0&1] 93 {0} +[0&!1] 114 {0} +State: 93 +[!0&!1] 52 {1} +[0&1] 57 {0} +[!0&1] 92 {1} +[0&!1] 114 {0} +State: 94 +[!0&!1] 52 {1} +[0&1] 57 {0} +[!0&1] 92 {1} +[0&!1] 93 {1} +State: 95 +[!0&!1] 54 {1} +[0&1] 57 {0} +[0&!1] 96 {1} +[!0&1] 97 {0} +State: 96 +[!0&!1] 54 {1} +[0&1] 57 {0} +[!0&1] 94 {1} +[0&!1] 116 {0} +State: 97 +[!0&!1] 54 {1} +[0&1] 57 {0} +[!0&1] 95 {1} +[0&!1] 96 {1} +State: 98 +[!0&!1] 55 {1} +[0&!1] 65 {1} +[!0&1] 80 {1} +[0&1] 99 {1} +State: 99 +[!0&!1] 55 {1} +[0&!1] 68 {1} +[!0&1] 83 {1} +[0&1] 117 {0} +State: 100 +[!0&!1] 56 {1} +[0&1] 58 {1} +[!0&1] 97 {1} +[0&!1] 101 {1} +State: 101 +[!0&!1] 56 {1} +[0&1] 62 {1} +[!0&1] 94 {1} +[0&!1] 118 {0} +State: 102 +[!0&!1] 57 {1} +[0&1] 98 {1} +[0&!1] 100 {1} +[!0&1] 111 {1} +State: 103 +[!0&!1] 34 {1} +[!0&1] 57 {0} +[0&!1] 59 {1} +[0&1] 104 {1} +State: 104 +[!0&1] 57 {0} +[!0&!1] 61 {1} +[0&!1] 105 {1} +[0&1] 105 {1} +State: 105 +[!0&1] 57 {0} +[!0&!1] 61 {1} +[0&1] 63 {1} +[0&!1] 70 {1} +State: 106 +[!0&!1] 38 {1} +[!0&1] 57 {0} +[0&1] 67 {1} +[0&!1] 104 {1} +State: 107 +[0&!1] 57 {0} +[!0&!1] 71 {1} +[0&1] 72 {1} +[!0&1] 84 {1} +State: 108 +[0&!1] 57 {0} +[!0&!1] 71 {1} +[!0&1] 107 {1} +[0&1] 107 {1} +State: 109 +[!0&!1] 43 {1} +[0&!1] 57 {0} +[!0&1] 75 {1} +[0&1] 108 {1} +State: 110 +[0&1] 73 {1} +[!0&!1] 78 {1} +[0&!1] 88 {1} +[!0&1] 119 {0} +State: 111 +[0&1] 76 {1} +[!0&!1] 78 {1} +[0&!1] 91 {1} +[!0&1] 110 {1} +State: 112 +[!0&!1] 45 {1} +[0&!1] 57 {0} +[0&1] 81 {1} +[!0&1] 108 {1} +State: 113 +[0&1] 57 {0} +[!0&!1] 85 {1} +[0&!1] 86 {1} +[!0&1] 93 {1} +State: 114 +[0&1] 57 {0} +[!0&!1] 85 {1} +[!0&1] 113 {1} +[0&!1] 113 {1} +State: 115 +[!0&!1] 51 {1} +[0&1] 57 {0} +[!0&1] 89 {1} +[0&!1] 114 {1} +State: 116 +[!0&!1] 54 {1} +[0&1] 57 {0} +[0&!1] 96 {1} +[!0&1] 114 {1} +State: 117 +[!0&!1] 55 {1} +[0&1] 99 {1} +[0&!1] 104 {1} +[!0&1] 108 {1} +State: 118 +[!0&!1] 56 {1} +[0&!1] 101 {1} +[0&1] 104 {1} +[!0&1] 114 {1} +State: 119 +[!0&!1] 78 {1} +[0&1] 108 {1} +[!0&1] 110 {1} +[0&!1] 114 {1} +State: 120 +[!0&!1] 120 {1} +[!0&1] 120 {1} +[0&!1] 120 {1} +[0&1] 120 {1} +--END-- diff --git a/hoa/bench/ltl/and-gf-3.hoa b/hoa/bench/ltl/and-gf-3.hoa new file mode 100644 index 0000000..ddda6e7 --- /dev/null +++ b/hoa/bench/ltl/and-gf-3.hoa @@ -0,0 +1,38 @@ +HOA: v1 +name: "and-gf-3" +States: 3 +Start: 0 +AP: 3 "p1" "p2" "p3" +acc-name: parity min even 2 +Acceptance: 2 Inf(0) | Fin(1) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic stutter-invariant +--BODY-- +State: 0 +[!0&!1&!2] 0 {1} +[!0&1&!2] 0 {1} +[0&!1&!2] 0 {1} +[0&1&!2] 0 {1} +[0&1&2] 0 {0} +[!0&!1&2] 1 {1} +[0&!1&2] 1 {1} +[!0&1&2] 2 {1} +State: 1 +[0&1&!2] 0 {0} +[0&1&2] 0 {0} +[!0&!1&!2] 1 {1} +[!0&!1&2] 1 {1} +[0&!1&!2] 1 {1} +[0&!1&2] 1 {1} +[!0&1&!2] 2 {1} +[!0&1&2] 2 {1} +State: 2 +[0&!1&!2] 0 {0} +[0&1&!2] 0 {0} +[0&1&2] 0 {0} +[0&!1&2] 1 {0} +[!0&!1&!2] 2 {1} +[!0&!1&2] 2 {1} +[!0&1&!2] 2 {1} +[!0&1&2] 2 {1} +--END-- diff --git a/hoa/bench/ltl/eh-patterns-0.hoa b/hoa/bench/ltl/eh-patterns-0.hoa new file mode 100644 index 0000000..e2b3acc --- /dev/null +++ b/hoa/bench/ltl/eh-patterns-0.hoa @@ -0,0 +1,147 @@ +HOA: v1 +name: "eh-patterns-0" +States: 8 +Start: 0 +AP: 4 "p0" "p1" "p2" "p3" +acc-name: parity min even 3 +Acceptance: 3 Inf(0) | (Fin(1) & Inf(2)) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic stutter-invariant +--BODY-- +State: 0 +[!0&!1&!2&!3] 0 {2} +[!0&!1&!2&3] 0 {2} +[!0&!1&2&!3] 0 {2} +[!0&!1&2&3] 0 {2} +[!0&1&!2&!3] 0 {2} +[!0&1&!2&3] 0 {2} +[!0&1&2&!3] 0 {2} +[!0&1&2&3] 0 {2} +[0&!1&!2&3] 1 {2} +[0&!1&2&!3] 2 {2} +[0&!1&2&3] 3 {2} +[0&1&!2&!3] 4 {2} +[0&1&!2&3] 5 {2} +[0&1&2&3] 5 {2} +[0&1&2&!3] 6 {2} +[0&!1&!2&!3] 7 {2} +State: 1 +[!0&!1&!2&3] 1 {2} +[!0&!1&2&3] 1 {2} +[!0&1&!2&3] 1 {2} +[!0&1&2&3] 1 {2} +[0&!1&!2&3] 1 {2} +[0&!1&2&3] 1 {2} +[0&1&!2&3] 1 {2} +[0&1&2&3] 1 {2} +[!0&!1&!2&!3] 7 {2} +[!0&!1&2&!3] 7 {2} +[!0&1&!2&!3] 7 {2} +[!0&1&2&!3] 7 {2} +[0&!1&!2&!3] 7 {2} +[0&!1&2&!3] 7 {2} +[0&1&!2&!3] 7 {2} +[0&1&2&!3] 7 {2} +State: 2 +[!0&!1&2&!3] 2 {2} +[!0&!1&2&3] 2 {2} +[!0&1&2&!3] 2 {2} +[!0&1&2&3] 2 {2} +[0&!1&2&!3] 2 {2} +[0&!1&2&3] 2 {2} +[0&1&2&!3] 2 {2} +[0&1&2&3] 2 {2} +[!0&!1&!2&!3] 7 {2} +[!0&!1&!2&3] 7 {2} +[!0&1&!2&!3] 7 {2} +[!0&1&!2&3] 7 {2} +[0&!1&!2&!3] 7 {2} +[0&!1&!2&3] 7 {2} +[0&1&!2&!3] 7 {2} +[0&1&!2&3] 7 {2} +State: 3 +[!0&!1&!2&3] 1 {2} +[!0&1&!2&3] 1 {2} +[0&!1&!2&3] 1 {2} +[0&1&!2&3] 1 {2} +[!0&!1&2&!3] 2 {2} +[!0&1&2&!3] 2 {2} +[0&!1&2&!3] 2 {2} +[0&1&2&!3] 2 {2} +[!0&!1&2&3] 3 {2} +[!0&1&2&3] 3 {2} +[0&!1&2&3] 3 {2} +[0&1&2&3] 3 {2} +[!0&!1&!2&!3] 7 {2} +[!0&1&!2&!3] 7 {2} +[0&!1&!2&!3] 7 {2} +[0&1&!2&!3] 7 {2} +State: 4 +[!0&!1&!2&3] 1 {2} +[0&!1&!2&3] 1 {2} +[!0&!1&2&!3] 2 {2} +[0&!1&2&!3] 2 {2} +[!0&!1&2&3] 3 {2} +[0&!1&2&3] 3 {2} +[!0&1&!2&!3] 4 {1} +[0&1&!2&!3] 4 {1} +[!0&1&!2&3] 5 {2} +[!0&1&2&3] 5 {2} +[0&1&!2&3] 5 {2} +[0&1&2&3] 5 {2} +[!0&1&2&!3] 6 {2} +[0&1&2&!3] 6 {2} +[!0&!1&!2&!3] 7 {2} +[0&!1&!2&!3] 7 {2} +State: 5 +[!0&!1&!2&3] 1 {2} +[0&!1&!2&3] 1 {2} +[!0&!1&2&!3] 2 {2} +[0&!1&2&!3] 2 {2} +[!0&!1&2&3] 3 {2} +[0&!1&2&3] 3 {2} +[!0&1&!2&!3] 4 {1} +[0&1&!2&!3] 4 {1} +[!0&1&!2&3] 5 {2} +[!0&1&2&3] 5 {2} +[0&1&!2&3] 5 {2} +[0&1&2&3] 5 {2} +[!0&1&2&!3] 6 {1} +[0&1&2&!3] 6 {1} +[!0&!1&!2&!3] 7 {2} +[0&!1&!2&!3] 7 {2} +State: 6 +[!0&!1&!2&3] 1 {2} +[0&!1&!2&3] 1 {2} +[!0&!1&2&!3] 2 {2} +[0&!1&2&!3] 2 {2} +[!0&!1&2&3] 3 {2} +[0&!1&2&3] 3 {2} +[!0&1&!2&!3] 4 {1} +[0&1&!2&!3] 4 {1} +[!0&1&!2&3] 5 {1} +[0&1&!2&3] 5 {1} +[!0&1&2&!3] 6 {2} +[!0&1&2&3] 6 {2} +[0&1&2&!3] 6 {2} +[0&1&2&3] 6 {2} +[!0&!1&!2&!3] 7 {2} +[0&!1&!2&!3] 7 {2} +State: 7 +[!0&!1&!2&!3] 7 {1} +[!0&!1&!2&3] 7 {1} +[!0&!1&2&!3] 7 {1} +[!0&!1&2&3] 7 {1} +[!0&1&!2&!3] 7 {1} +[!0&1&!2&3] 7 {1} +[!0&1&2&!3] 7 {1} +[!0&1&2&3] 7 {1} +[0&!1&!2&!3] 7 {1} +[0&!1&!2&3] 7 {1} +[0&!1&2&!3] 7 {1} +[0&!1&2&3] 7 {1} +[0&1&!2&!3] 7 {1} +[0&1&!2&3] 7 {1} +[0&1&2&!3] 7 {1} +[0&1&2&3] 7 {1} +--END-- diff --git a/hoa/bench/ltl/gf-equiv-3.hoa b/hoa/bench/ltl/gf-equiv-3.hoa new file mode 100644 index 0000000..0dced2f --- /dev/null +++ b/hoa/bench/ltl/gf-equiv-3.hoa @@ -0,0 +1,113 @@ +HOA: v1 +name: "gf-equiv-3" +States: 6 +Start: 0 +AP: 4 "z" "a1" "a2" "a3" +acc-name: parity min even 3 +Acceptance: 3 Inf(0) | (Fin(1) & Inf(2)) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic stutter-invariant +--BODY-- +State: 0 +[!0&!1&!2&!3] 0 {2} +[!0&!1&!2&3] 0 {2} +[!0&!1&2&!3] 0 {2} +[!0&!1&2&3] 0 {2} +[0&!1&!2&!3] 1 {0} +[0&!1&!2&3] 1 {0} +[0&!1&2&!3] 1 {0} +[0&!1&2&3] 1 {0} +[0&1&!2&!3] 1 {0} +[0&1&!2&3] 1 {0} +[0&1&2&!3] 1 {0} +[0&1&2&3] 1 {0} +[!0&1&!2&!3] 2 {1} +[!0&1&!2&3] 2 {1} +[!0&1&2&!3] 2 {1} +[!0&1&2&3] 2 {1} +State: 1 +[0&!1&!2&!3] 1 {1} +[0&!1&!2&3] 1 {1} +[0&!1&2&!3] 1 {1} +[0&!1&2&3] 1 {1} +[!0&!1&!2&!3] 1 {2} +[!0&!1&!2&3] 1 {2} +[!0&!1&2&!3] 1 {2} +[!0&!1&2&3] 1 {2} +[!0&1&!2&!3] 3 {0} +[!0&1&!2&3] 3 {0} +[!0&1&2&!3] 3 {0} +[!0&1&2&3] 3 {0} +[0&1&!2&!3] 3 {0} +[0&1&!2&3] 3 {0} +[0&1&2&!3] 3 {0} +[0&1&2&3] 3 {0} +State: 2 +[0&!1&!2&!3] 1 {0} +[0&!1&!2&3] 1 {0} +[0&!1&2&!3] 1 {0} +[0&!1&2&3] 1 {0} +[0&1&!2&!3] 1 {0} +[0&1&!2&3] 1 {0} +[0&1&2&!3] 1 {0} +[0&1&2&3] 1 {0} +[!0&!1&!2&!3] 2 {2} +[!0&!1&!2&3] 2 {2} +[!0&1&!2&!3] 2 {2} +[!0&1&!2&3] 2 {2} +[!0&!1&2&!3] 4 {1} +[!0&!1&2&3] 4 {1} +[!0&1&2&!3] 4 {1} +[!0&1&2&3] 4 {1} +State: 3 +[0&!1&!2&!3] 3 {1} +[0&!1&!2&3] 3 {1} +[0&1&!2&!3] 3 {1} +[0&1&!2&3] 3 {1} +[!0&!1&!2&!3] 3 {2} +[!0&!1&!2&3] 3 {2} +[!0&1&!2&!3] 3 {2} +[!0&1&!2&3] 3 {2} +[!0&!1&2&!3] 5 {0} +[!0&!1&2&3] 5 {0} +[!0&1&2&!3] 5 {0} +[!0&1&2&3] 5 {0} +[0&!1&2&!3] 5 {0} +[0&!1&2&3] 5 {0} +[0&1&2&!3] 5 {0} +[0&1&2&3] 5 {0} +State: 4 +[!0&!1&!2&3] 0 {1} +[!0&!1&2&3] 0 {1} +[!0&1&!2&3] 0 {1} +[!0&1&2&3] 0 {1} +[0&!1&!2&!3] 1 {0} +[0&!1&!2&3] 1 {0} +[0&!1&2&!3] 1 {0} +[0&!1&2&3] 1 {0} +[0&1&!2&!3] 1 {0} +[0&1&!2&3] 1 {0} +[0&1&2&!3] 1 {0} +[0&1&2&3] 1 {0} +[!0&!1&!2&!3] 4 {2} +[!0&!1&2&!3] 4 {2} +[!0&1&!2&!3] 4 {2} +[!0&1&2&!3] 4 {2} +State: 5 +[!0&!1&!2&3] 0 {0} +[!0&!1&2&3] 0 {0} +[!0&1&!2&3] 0 {0} +[!0&1&2&3] 0 {0} +[0&!1&!2&3] 0 {0} +[0&!1&2&3] 0 {0} +[0&1&!2&3] 0 {0} +[0&1&2&3] 0 {0} +[0&!1&!2&!3] 5 {1} +[0&!1&2&!3] 5 {1} +[0&1&!2&!3] 5 {1} +[0&1&2&!3] 5 {1} +[!0&!1&!2&!3] 5 {2} +[!0&!1&2&!3] 5 {2} +[!0&1&!2&!3] 5 {2} +[!0&1&2&!3] 5 {2} +--END-- diff --git a/hoa/bench/ltl/gf-implies-3.hoa b/hoa/bench/ltl/gf-implies-3.hoa new file mode 100644 index 0000000..30d0f95 --- /dev/null +++ b/hoa/bench/ltl/gf-implies-3.hoa @@ -0,0 +1,62 @@ +HOA: v1 +name: "gf-implies-3" +States: 3 +Start: 0 +AP: 4 "z" "a1" "a2" "a3" +acc-name: parity min even 3 +Acceptance: 3 Inf(0) | (Fin(1) & Inf(2)) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic stutter-invariant +--BODY-- +State: 0 +[0&!1&!2&!3] 0 {0} +[0&!1&!2&3] 0 {0} +[0&!1&2&!3] 0 {0} +[0&!1&2&3] 0 {0} +[0&1&!2&!3] 0 {0} +[0&1&!2&3] 0 {0} +[0&1&2&!3] 0 {0} +[0&1&2&3] 0 {0} +[!0&!1&!2&!3] 0 {2} +[!0&!1&!2&3] 0 {2} +[!0&!1&2&!3] 0 {2} +[!0&!1&2&3] 0 {2} +[!0&1&!2&!3] 1 {1} +[!0&1&!2&3] 1 {1} +[!0&1&2&!3] 1 {1} +[!0&1&2&3] 1 {1} +State: 1 +[0&!1&!2&!3] 0 {0} +[0&!1&!2&3] 0 {0} +[0&!1&2&!3] 0 {0} +[0&!1&2&3] 0 {0} +[0&1&!2&!3] 0 {0} +[0&1&!2&3] 0 {0} +[0&1&2&!3] 0 {0} +[0&1&2&3] 0 {0} +[!0&!1&!2&!3] 1 {2} +[!0&!1&!2&3] 1 {2} +[!0&1&!2&!3] 1 {2} +[!0&1&!2&3] 1 {2} +[!0&!1&2&!3] 2 {1} +[!0&!1&2&3] 2 {1} +[!0&1&2&!3] 2 {1} +[!0&1&2&3] 2 {1} +State: 2 +[0&!1&!2&!3] 0 {0} +[0&!1&!2&3] 0 {0} +[0&!1&2&!3] 0 {0} +[0&!1&2&3] 0 {0} +[0&1&!2&!3] 0 {0} +[0&1&!2&3] 0 {0} +[0&1&2&!3] 0 {0} +[0&1&2&3] 0 {0} +[!0&!1&!2&3] 0 {1} +[!0&!1&2&3] 0 {1} +[!0&1&!2&3] 0 {1} +[!0&1&2&3] 0 {1} +[!0&!1&!2&!3] 2 {2} +[!0&!1&2&!3] 2 {2} +[!0&1&!2&!3] 2 {2} +[!0&1&2&!3] 2 {2} +--END-- diff --git a/hoa/bench/ltl/gh-q-3.hoa b/hoa/bench/ltl/gh-q-3.hoa new file mode 100644 index 0000000..5d4ab03 --- /dev/null +++ b/hoa/bench/ltl/gh-q-3.hoa @@ -0,0 +1,317 @@ +HOA: v1 +name: "gh-q-3" +States: 18 +Start: 2 +AP: 4 "p1" "p2" "p3" "p4" +acc-name: parity min even 2 +Acceptance: 2 Inf(0) | Fin(1) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic stutter-invariant +--BODY-- +State: 0 +[!0&!1&!2&!3] 0 {0} +[!0&!1&!2&3] 0 {0} +[!0&!1&2&!3] 0 {0} +[!0&!1&2&3] 0 {0} +[!0&1&!2&!3] 0 {0} +[!0&1&!2&3] 0 {0} +[!0&1&2&!3] 0 {0} +[!0&1&2&3] 0 {0} +[0&!1&!2&!3] 0 {0} +[0&!1&!2&3] 0 {0} +[0&!1&2&!3] 0 {0} +[0&!1&2&3] 0 {0} +[0&1&!2&!3] 0 {0} +[0&1&!2&3] 0 {0} +[0&1&2&!3] 0 {0} +[0&1&2&3] 0 {0} +State: 1 +[!0&!1&2&!3] 0 {0} +[!0&!1&2&3] 0 {0} +[!0&1&2&!3] 0 {0} +[!0&1&2&3] 0 {0} +[0&!1&2&!3] 0 {0} +[0&!1&2&3] 0 {0} +[0&1&2&!3] 0 {0} +[0&1&2&3] 0 {0} +[!0&!1&!2&3] 1 {0} +[!0&1&!2&3] 1 {0} +[0&!1&!2&3] 1 {0} +[0&1&!2&3] 1 {0} +[!0&!1&!2&!3] 6 {0} +[!0&1&!2&!3] 6 {0} +[0&!1&!2&!3] 6 {0} +[0&1&!2&!3] 6 {0} +State: 2 +[0&1&2&!3] 0 {1} +[0&1&2&3] 0 {1} +[0&1&!2&3] 1 {1} +[!0&1&!2&3] 3 {1} +[0&!1&2&!3] 4 {1} +[0&!1&2&3] 4 {1} +[!0&1&2&!3] 5 {1} +[!0&1&2&3] 5 {1} +[0&1&!2&!3] 6 {1} +[0&!1&!2&!3] 7 {1} +[!0&!1&!2&!3] 8 {1} +[0&!1&!2&3] 9 {1} +[!0&!1&!2&3] 10 {1} +[!0&!1&2&!3] 11 {1} +[!0&!1&2&3] 11 {1} +[!0&1&!2&!3] 12 {1} +State: 3 +[0&!1&2&!3] 0 {0} +[0&!1&2&3] 0 {0} +[0&1&2&!3] 0 {0} +[0&1&2&3] 0 {0} +[0&!1&!2&3] 1 {0} +[0&1&!2&3] 1 {0} +[!0&1&!2&3] 3 {0} +[!0&1&2&!3] 5 {0} +[!0&1&2&3] 5 {0} +[0&!1&!2&!3] 6 {0} +[0&1&!2&!3] 6 {0} +[!0&1&!2&!3] 12 {0} +[!0&!1&!2&!3] 13 {0} +[!0&!1&!2&3] 14 {0} +[!0&!1&2&!3] 17 {0} +[!0&!1&2&3] 17 {0} +State: 4 +[!0&1&!2&!3] 0 {0} +[!0&1&!2&3] 0 {0} +[!0&1&2&!3] 0 {0} +[!0&1&2&3] 0 {0} +[0&1&!2&!3] 0 {0} +[0&1&!2&3] 0 {0} +[0&1&2&!3] 0 {0} +[0&1&2&3] 0 {0} +[!0&!1&2&!3] 4 {0} +[!0&!1&2&3] 4 {0} +[0&!1&2&!3] 4 {0} +[0&!1&2&3] 4 {0} +[!0&!1&!2&!3] 15 {0} +[!0&!1&!2&3] 15 {0} +[0&!1&!2&!3] 15 {0} +[0&!1&!2&3] 15 {0} +State: 5 +[0&!1&!2&!3] 0 {0} +[0&!1&!2&3] 0 {0} +[0&!1&2&!3] 0 {0} +[0&!1&2&3] 0 {0} +[0&1&!2&!3] 0 {0} +[0&1&!2&3] 0 {0} +[0&1&2&!3] 0 {0} +[0&1&2&3] 0 {0} +[!0&1&!2&!3] 5 {0} +[!0&1&!2&3] 5 {0} +[!0&1&2&!3] 5 {0} +[!0&1&2&3] 5 {0} +[!0&!1&!2&!3] 17 {0} +[!0&!1&!2&3] 17 {0} +[!0&!1&2&!3] 17 {0} +[!0&!1&2&3] 17 {0} +State: 6 +[!0&!1&2&!3] 0 {1} +[!0&!1&2&3] 0 {1} +[!0&1&2&!3] 0 {1} +[!0&1&2&3] 0 {1} +[0&!1&2&!3] 0 {1} +[0&!1&2&3] 0 {1} +[0&1&2&!3] 0 {1} +[0&1&2&3] 0 {1} +[!0&!1&!2&!3] 6 {1} +[!0&!1&!2&3] 6 {1} +[!0&1&!2&!3] 6 {1} +[!0&1&!2&3] 6 {1} +[0&!1&!2&!3] 6 {1} +[0&!1&!2&3] 6 {1} +[0&1&!2&!3] 6 {1} +[0&1&!2&3] 6 {1} +State: 7 +[!0&1&2&!3] 0 {1} +[!0&1&2&3] 0 {1} +[0&1&2&!3] 0 {1} +[0&1&2&3] 0 {1} +[!0&1&!2&!3] 6 {1} +[!0&1&!2&3] 6 {1} +[0&1&!2&!3] 6 {1} +[0&1&!2&3] 6 {1} +[!0&!1&!2&!3] 7 {1} +[!0&!1&!2&3] 7 {1} +[0&!1&!2&!3] 7 {1} +[0&!1&!2&3] 7 {1} +[!0&!1&2&!3] 15 {1} +[!0&!1&2&3] 15 {1} +[0&!1&2&!3] 15 {1} +[0&!1&2&3] 15 {1} +State: 8 +[0&1&2&!3] 0 {1} +[0&1&2&3] 0 {1} +[0&1&!2&!3] 6 {1} +[0&1&!2&3] 6 {1} +[0&!1&!2&!3] 7 {1} +[0&!1&!2&3] 7 {1} +[!0&!1&!2&!3] 8 {1} +[!0&!1&!2&3] 8 {1} +[!0&1&!2&!3] 13 {1} +[!0&1&!2&3] 13 {1} +[0&!1&2&!3] 15 {1} +[0&!1&2&3] 15 {1} +[!0&!1&2&!3] 16 {1} +[!0&!1&2&3] 16 {1} +[!0&1&2&!3] 17 {1} +[!0&1&2&3] 17 {1} +State: 9 +[!0&1&2&!3] 0 {1} +[!0&1&2&3] 0 {1} +[0&1&2&!3] 0 {1} +[0&1&2&3] 0 {1} +[!0&1&!2&3] 1 {1} +[0&1&!2&3] 1 {1} +[!0&1&!2&!3] 6 {1} +[0&1&!2&!3] 6 {1} +[!0&!1&!2&!3] 7 {1} +[0&!1&!2&!3] 7 {1} +[!0&!1&!2&3] 9 {1} +[0&!1&!2&3] 9 {1} +[!0&!1&2&!3] 15 {1} +[!0&!1&2&3] 15 {1} +[0&!1&2&!3] 15 {1} +[0&!1&2&3] 15 {1} +State: 10 +[0&1&2&!3] 0 {1} +[0&1&2&3] 0 {1} +[0&1&!2&3] 1 {1} +[0&1&!2&!3] 6 {1} +[0&!1&!2&!3] 7 {1} +[!0&!1&!2&!3] 8 {1} +[0&!1&!2&3] 9 {1} +[!0&!1&!2&3] 10 {1} +[!0&1&!2&!3] 13 {1} +[!0&1&!2&3] 14 {1} +[0&!1&2&!3] 15 {1} +[0&!1&2&3] 15 {1} +[!0&!1&2&!3] 16 {1} +[!0&!1&2&3] 16 {1} +[!0&1&2&!3] 17 {1} +[!0&1&2&3] 17 {1} +State: 11 +[0&1&!2&!3] 0 {1} +[0&1&!2&3] 0 {1} +[0&1&2&!3] 0 {1} +[0&1&2&3] 0 {1} +[0&!1&2&!3] 4 {1} +[0&!1&2&3] 4 {1} +[!0&!1&2&!3] 11 {1} +[!0&!1&2&3] 11 {1} +[0&!1&!2&!3] 15 {1} +[0&!1&!2&3] 15 {1} +[!0&!1&!2&!3] 16 {1} +[!0&!1&!2&3] 16 {1} +[!0&1&!2&!3] 17 {1} +[!0&1&!2&3] 17 {1} +[!0&1&2&!3] 17 {1} +[!0&1&2&3] 17 {1} +State: 12 +[0&!1&2&!3] 0 {1} +[0&!1&2&3] 0 {1} +[0&1&2&!3] 0 {1} +[0&1&2&3] 0 {1} +[!0&1&2&!3] 5 {1} +[!0&1&2&3] 5 {1} +[0&!1&!2&!3] 6 {1} +[0&!1&!2&3] 6 {1} +[0&1&!2&!3] 6 {1} +[0&1&!2&3] 6 {1} +[!0&1&!2&!3] 12 {1} +[!0&1&!2&3] 12 {1} +[!0&!1&!2&!3] 13 {1} +[!0&!1&!2&3] 13 {1} +[!0&!1&2&!3] 17 {1} +[!0&!1&2&3] 17 {1} +State: 13 +[0&!1&2&!3] 0 {1} +[0&!1&2&3] 0 {1} +[0&1&2&!3] 0 {1} +[0&1&2&3] 0 {1} +[0&!1&!2&!3] 6 {1} +[0&!1&!2&3] 6 {1} +[0&1&!2&!3] 6 {1} +[0&1&!2&3] 6 {1} +[!0&!1&!2&!3] 13 {1} +[!0&!1&!2&3] 13 {1} +[!0&1&!2&!3] 13 {1} +[!0&1&!2&3] 13 {1} +[!0&!1&2&!3] 17 {1} +[!0&!1&2&3] 17 {1} +[!0&1&2&!3] 17 {1} +[!0&1&2&3] 17 {1} +State: 14 +[0&!1&2&!3] 0 {1} +[0&!1&2&3] 0 {1} +[0&1&2&!3] 0 {1} +[0&1&2&3] 0 {1} +[0&!1&!2&3] 1 {1} +[0&1&!2&3] 1 {1} +[0&!1&!2&!3] 6 {1} +[0&1&!2&!3] 6 {1} +[!0&!1&!2&!3] 13 {1} +[!0&1&!2&!3] 13 {1} +[!0&!1&!2&3] 14 {1} +[!0&1&!2&3] 14 {1} +[!0&!1&2&!3] 17 {1} +[!0&!1&2&3] 17 {1} +[!0&1&2&!3] 17 {1} +[!0&1&2&3] 17 {1} +State: 15 +[!0&1&!2&!3] 0 {1} +[!0&1&!2&3] 0 {1} +[!0&1&2&!3] 0 {1} +[!0&1&2&3] 0 {1} +[0&1&!2&!3] 0 {1} +[0&1&!2&3] 0 {1} +[0&1&2&!3] 0 {1} +[0&1&2&3] 0 {1} +[!0&!1&!2&!3] 15 {1} +[!0&!1&!2&3] 15 {1} +[!0&!1&2&!3] 15 {1} +[!0&!1&2&3] 15 {1} +[0&!1&!2&!3] 15 {1} +[0&!1&!2&3] 15 {1} +[0&!1&2&!3] 15 {1} +[0&!1&2&3] 15 {1} +State: 16 +[0&1&!2&!3] 0 {1} +[0&1&!2&3] 0 {1} +[0&1&2&!3] 0 {1} +[0&1&2&3] 0 {1} +[0&!1&!2&!3] 15 {1} +[0&!1&!2&3] 15 {1} +[0&!1&2&!3] 15 {1} +[0&!1&2&3] 15 {1} +[!0&!1&!2&!3] 16 {1} +[!0&!1&!2&3] 16 {1} +[!0&!1&2&!3] 16 {1} +[!0&!1&2&3] 16 {1} +[!0&1&!2&!3] 17 {1} +[!0&1&!2&3] 17 {1} +[!0&1&2&!3] 17 {1} +[!0&1&2&3] 17 {1} +State: 17 +[0&!1&!2&!3] 0 {1} +[0&!1&!2&3] 0 {1} +[0&!1&2&!3] 0 {1} +[0&!1&2&3] 0 {1} +[0&1&!2&!3] 0 {1} +[0&1&!2&3] 0 {1} +[0&1&2&!3] 0 {1} +[0&1&2&3] 0 {1} +[!0&!1&!2&!3] 17 {1} +[!0&!1&!2&3] 17 {1} +[!0&!1&2&!3] 17 {1} +[!0&!1&2&3] 17 {1} +[!0&1&!2&!3] 17 {1} +[!0&1&!2&3] 17 {1} +[!0&1&2&!3] 17 {1} +[!0&1&2&3] 17 {1} +--END-- diff --git a/hoa/bench/ltl/gh-r-3.hoa b/hoa/bench/ltl/gh-r-3.hoa new file mode 100644 index 0000000..7c729f4 --- /dev/null +++ b/hoa/bench/ltl/gh-r-3.hoa @@ -0,0 +1,79 @@ +HOA: v1 +name: "gh-r-3" +States: 4 +Start: 0 +AP: 4 "p1" "p2" "p3" "p4" +acc-name: parity min even 5 +Acceptance: 5 Inf(0) | (Fin(1) & (Inf(2) | (Fin(3) & Inf(4)))) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic stutter-invariant +--BODY-- +State: 0 +[!0&!1&!2&!3] 0 {1} +[!0&1&!2&!3] 0 {1} +[0&!1&!2&!3] 0 {1} +[0&1&!2&!3] 0 {1} +[!0&!1&!2&3] 0 {3} +[!0&1&!2&3] 0 {4} +[0&!1&!2&3] 1 {2} +[0&1&!2&3] 1 {2} +[!0&!1&2&!3] 2 {0} +[!0&!1&2&3] 2 {0} +[!0&1&2&!3] 2 {0} +[!0&1&2&3] 2 {0} +[0&!1&2&!3] 2 {0} +[0&!1&2&3] 2 {0} +[0&1&2&!3] 2 {0} +[0&1&2&3] 2 {0} +State: 1 +[!0&!1&!2&!3] 0 {1} +[!0&1&!2&!3] 0 {1} +[0&!1&!2&!3] 0 {1} +[0&1&!2&!3] 0 {1} +[!0&1&!2&3] 0 {2} +[0&1&!2&3] 0 {2} +[!0&!1&!2&3] 1 {3} +[0&!1&!2&3] 1 {3} +[!0&!1&2&!3] 2 {0} +[!0&!1&2&3] 2 {0} +[!0&1&2&!3] 2 {0} +[!0&1&2&3] 2 {0} +[0&!1&2&!3] 2 {0} +[0&!1&2&3] 2 {0} +[0&1&2&!3] 2 {0} +[0&1&2&3] 2 {0} +State: 2 +[!0&!1&!2&!3] 2 {1} +[!0&!1&!2&3] 2 {1} +[!0&!1&2&!3] 2 {1} +[!0&!1&2&3] 2 {1} +[!0&1&2&!3] 2 {2} +[!0&1&2&3] 2 {2} +[!0&1&!2&!3] 2 {3} +[!0&1&!2&3] 2 {4} +[0&!1&!2&!3] 3 {0} +[0&!1&!2&3] 3 {0} +[0&!1&2&!3] 3 {0} +[0&!1&2&3] 3 {0} +[0&1&!2&!3] 3 {0} +[0&1&!2&3] 3 {0} +[0&1&2&!3] 3 {0} +[0&1&2&3] 3 {0} +State: 3 +[!0&1&!2&!3] 0 {0} +[!0&1&!2&3] 0 {0} +[!0&1&2&!3] 0 {0} +[!0&1&2&3] 0 {0} +[0&1&!2&!3] 0 {0} +[0&1&!2&3] 0 {0} +[0&1&2&!3] 0 {0} +[0&1&2&3] 0 {0} +[!0&!1&!2&!3] 3 {1} +[!0&!1&!2&3] 3 {1} +[0&!1&!2&!3] 3 {1} +[0&!1&!2&3] 3 {1} +[0&!1&2&!3] 3 {2} +[0&!1&2&3] 3 {2} +[!0&!1&2&!3] 3 {3} +[!0&!1&2&3] 3 {3} +--END-- diff --git a/hoa/bench/ltl/go-theta-3.hoa b/hoa/bench/ltl/go-theta-3.hoa new file mode 100644 index 0000000..c3197bd --- /dev/null +++ b/hoa/bench/ltl/go-theta-3.hoa @@ -0,0 +1,143 @@ +HOA: v1 +name: "go-theta-3" +States: 4 +Start: 0 +AP: 5 "q" "p1" "r" "p2" "p3" +acc-name: parity min even 4 +Acceptance: 4 Inf(0) | (Fin(1) & (Inf(2) | Fin(3))) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic stutter-invariant +--BODY-- +State: 0 +[!0&!1&!2&!3&!4] 0 {1} +[!0&!1&!2&!3&4] 0 {1} +[!0&!1&!2&3&!4] 0 {1} +[!0&!1&!2&3&4] 0 {1} +[!0&!1&2&!3&!4] 0 {1} +[!0&!1&2&!3&4] 0 {1} +[!0&!1&2&3&!4] 0 {1} +[!0&!1&2&3&4] 0 {1} +[!0&1&!2&!3&!4] 0 {1} +[!0&1&!2&!3&4] 0 {1} +[!0&1&!2&3&!4] 0 {1} +[!0&1&!2&3&4] 0 {1} +[!0&1&2&!3&!4] 0 {1} +[!0&1&2&!3&4] 0 {1} +[!0&1&2&3&!4] 0 {1} +[!0&1&2&3&4] 0 {1} +[0&!1&2&!3&!4] 0 {1} +[0&!1&2&!3&4] 0 {1} +[0&!1&2&3&!4] 0 {1} +[0&!1&2&3&4] 0 {1} +[0&1&2&!3&!4] 0 {1} +[0&1&2&!3&4] 0 {1} +[0&1&2&3&!4] 0 {1} +[0&1&2&3&4] 0 {1} +[0&!1&!2&!3&!4] 1 {1} +[0&!1&!2&!3&4] 1 {1} +[0&!1&!2&3&!4] 1 {1} +[0&!1&!2&3&4] 1 {1} +[0&1&!2&!3&!4] 1 {1} +[0&1&!2&!3&4] 1 {1} +[0&1&!2&3&!4] 1 {1} +[0&1&!2&3&4] 1 {1} +State: 1 +[!0&!1&2&!3&!4] 0 {1} +[!0&!1&2&!3&4] 0 {1} +[!0&!1&2&3&!4] 0 {1} +[!0&!1&2&3&4] 0 {1} +[!0&1&2&!3&!4] 0 {1} +[!0&1&2&!3&4] 0 {1} +[!0&1&2&3&!4] 0 {1} +[!0&1&2&3&4] 0 {1} +[0&!1&2&!3&!4] 0 {1} +[0&!1&2&!3&4] 0 {1} +[0&!1&2&3&!4] 0 {1} +[0&!1&2&3&4] 0 {1} +[0&1&2&!3&!4] 0 {1} +[0&1&2&!3&4] 0 {1} +[0&1&2&3&!4] 0 {1} +[0&1&2&3&4] 0 {1} +[!0&!1&!2&!3&!4] 1 {3} +[!0&!1&!2&!3&4] 1 {3} +[!0&!1&!2&3&!4] 1 {3} +[!0&!1&!2&3&4] 1 {3} +[0&!1&!2&!3&!4] 1 {3} +[0&!1&!2&!3&4] 1 {3} +[0&!1&!2&3&!4] 1 {3} +[0&!1&!2&3&4] 1 {3} +[!0&1&!2&!3&!4] 2 {2} +[!0&1&!2&!3&4] 2 {2} +[!0&1&!2&3&!4] 2 {2} +[!0&1&!2&3&4] 2 {2} +[0&1&!2&!3&!4] 2 {2} +[0&1&!2&!3&4] 2 {2} +[0&1&!2&3&!4] 2 {2} +[0&1&!2&3&4] 2 {2} +State: 2 +[!0&!1&2&!3&!4] 0 {1} +[!0&!1&2&!3&4] 0 {1} +[!0&!1&2&3&!4] 0 {1} +[!0&!1&2&3&4] 0 {1} +[!0&1&2&!3&!4] 0 {1} +[!0&1&2&!3&4] 0 {1} +[!0&1&2&3&!4] 0 {1} +[!0&1&2&3&4] 0 {1} +[0&!1&2&!3&!4] 0 {1} +[0&!1&2&!3&4] 0 {1} +[0&!1&2&3&!4] 0 {1} +[0&!1&2&3&4] 0 {1} +[0&1&2&!3&!4] 0 {1} +[0&1&2&!3&4] 0 {1} +[0&1&2&3&!4] 0 {1} +[0&1&2&3&4] 0 {1} +[!0&!1&!2&!3&!4] 2 {3} +[!0&!1&!2&!3&4] 2 {3} +[!0&1&!2&!3&!4] 2 {3} +[!0&1&!2&!3&4] 2 {3} +[0&!1&!2&!3&!4] 2 {3} +[0&!1&!2&!3&4] 2 {3} +[0&1&!2&!3&!4] 2 {3} +[0&1&!2&!3&4] 2 {3} +[!0&!1&!2&3&!4] 3 {2} +[!0&!1&!2&3&4] 3 {2} +[!0&1&!2&3&!4] 3 {2} +[!0&1&!2&3&4] 3 {2} +[0&!1&!2&3&!4] 3 {2} +[0&!1&!2&3&4] 3 {2} +[0&1&!2&3&!4] 3 {2} +[0&1&!2&3&4] 3 {2} +State: 3 +[!0&!1&2&!3&!4] 0 {1} +[!0&!1&2&!3&4] 0 {1} +[!0&!1&2&3&!4] 0 {1} +[!0&!1&2&3&4] 0 {1} +[!0&1&2&!3&!4] 0 {1} +[!0&1&2&!3&4] 0 {1} +[!0&1&2&3&!4] 0 {1} +[!0&1&2&3&4] 0 {1} +[0&!1&2&!3&!4] 0 {1} +[0&!1&2&!3&4] 0 {1} +[0&!1&2&3&!4] 0 {1} +[0&!1&2&3&4] 0 {1} +[0&1&2&!3&!4] 0 {1} +[0&1&2&!3&4] 0 {1} +[0&1&2&3&!4] 0 {1} +[0&1&2&3&4] 0 {1} +[!0&!1&!2&!3&4] 1 {2} +[!0&!1&!2&3&4] 1 {2} +[!0&1&!2&!3&4] 1 {2} +[!0&1&!2&3&4] 1 {2} +[0&!1&!2&!3&4] 1 {2} +[0&!1&!2&3&4] 1 {2} +[0&1&!2&!3&4] 1 {2} +[0&1&!2&3&4] 1 {2} +[!0&!1&!2&!3&!4] 3 {3} +[!0&!1&!2&3&!4] 3 {3} +[!0&1&!2&!3&!4] 3 {3} +[!0&1&!2&3&!4] 3 {3} +[0&!1&!2&!3&!4] 3 {3} +[0&!1&!2&3&!4] 3 {3} +[0&1&!2&!3&!4] 3 {3} +[0&1&!2&3&!4] 3 {3} +--END-- diff --git a/hoa/bench/ltl/lily-patterns-1.hoa b/hoa/bench/ltl/lily-patterns-1.hoa new file mode 100644 index 0000000..55c3411 --- /dev/null +++ b/hoa/bench/ltl/lily-patterns-1.hoa @@ -0,0 +1,96 @@ +HOA: v1 +name: "lily-patterns-1" +States: 5 +Start: 0 +AP: 4 "i1" "o0" "i0" "o1" +acc-name: parity min even 3 +Acceptance: 3 Inf(0) | (Fin(1) & Inf(2)) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic stutter-invariant +--BODY-- +State: 0 +[!0&!1&!2&!3] 0 {1} +[!0&!1&!2&3] 0 {1} +[!0&!1&2&3] 0 {1} +[!0&1&!2&!3] 0 {1} +[!0&1&!2&3] 0 {1} +[!0&1&2&3] 0 {1} +[0&1&!2&!3] 0 {1} +[0&1&!2&3] 0 {1} +[0&1&2&3] 0 {1} +[!0&!1&2&!3] 1 {2} +[!0&1&2&!3] 1 {2} +[0&1&2&!3] 1 {2} +[0&!1&!2&!3] 2 {2} +[0&!1&!2&3] 2 {2} +[0&!1&2&3] 2 {2} +[0&!1&2&!3] 3 {2} +State: 1 +[!0&!1&!2&3] 0 {1} +[!0&!1&2&3] 0 {1} +[!0&1&!2&3] 0 {1} +[!0&1&2&3] 0 {1} +[0&1&!2&3] 0 {1} +[0&1&2&3] 0 {1} +[!0&!1&!2&!3] 1 {2} +[!0&!1&2&!3] 1 {2} +[!0&1&!2&!3] 1 {2} +[!0&1&2&!3] 1 {2} +[0&1&!2&!3] 1 {2} +[0&1&2&!3] 1 {2} +[0&!1&!2&3] 2 {1} +[0&!1&2&3] 2 {1} +[0&!1&!2&!3] 4 {2} +[0&!1&2&!3] 4 {2} +State: 2 +[!0&1&!2&!3] 0 {1} +[!0&1&!2&3] 0 {1} +[!0&1&2&3] 0 {1} +[0&1&!2&!3] 0 {1} +[0&1&!2&3] 0 {1} +[0&1&2&3] 0 {1} +[!0&1&2&!3] 1 {1} +[0&1&2&!3] 1 {1} +[!0&!1&!2&!3] 2 {2} +[!0&!1&!2&3] 2 {2} +[!0&!1&2&3] 2 {2} +[0&!1&!2&!3] 2 {2} +[0&!1&!2&3] 2 {2} +[0&!1&2&3] 2 {2} +[!0&!1&2&!3] 3 {2} +[0&!1&2&!3] 3 {2} +State: 3 +[!0&1&!2&3] 0 {1} +[!0&1&2&3] 0 {1} +[0&1&!2&3] 0 {1} +[0&1&2&3] 0 {1} +[!0&1&!2&!3] 1 {1} +[!0&1&2&!3] 1 {1} +[0&1&!2&!3] 1 {1} +[0&1&2&!3] 1 {1} +[!0&!1&!2&3] 2 {2} +[!0&!1&2&3] 2 {2} +[0&!1&!2&3] 2 {2} +[0&!1&2&3] 2 {2} +[!0&!1&!2&!3] 3 {2} +[!0&!1&2&!3] 3 {2} +[0&!1&!2&!3] 3 {2} +[0&!1&2&!3] 3 {2} +State: 4 +[!0&1&!2&3] 0 {1} +[!0&1&2&3] 0 {1} +[0&1&!2&3] 0 {1} +[0&1&2&3] 0 {1} +[!0&1&!2&!3] 1 {2} +[!0&1&2&!3] 1 {2} +[0&1&!2&!3] 1 {2} +[0&1&2&!3] 1 {2} +[!0&!1&!2&3] 2 {1} +[!0&!1&2&3] 2 {1} +[0&!1&!2&3] 2 {1} +[0&!1&2&3] 2 {1} +[!0&!1&!2&!3] 4 {2} +[!0&!1&2&!3] 4 {2} +[0&!1&!2&!3] 4 {2} +[0&!1&2&!3] 4 {2} +--END-- diff --git a/hoa/bench/ltl/ms-phi-r-1.hoa b/hoa/bench/ltl/ms-phi-r-1.hoa new file mode 100644 index 0000000..57c31a3 --- /dev/null +++ b/hoa/bench/ltl/ms-phi-r-1.hoa @@ -0,0 +1,45 @@ +HOA: v1 +name: "ms-phi-r-1" +States: 2 +Start: 0 +AP: 4 "a0" "b0" "a1" "b1" +acc-name: parity min even 5 +Acceptance: 5 Inf(0) | (Fin(1) & (Inf(2) | (Fin(3) & Inf(4)))) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic stutter-invariant +--BODY-- +State: 0 +[!0&1&!2&!3] 0 {0} +[!0&1&!2&3] 0 {0} +[!0&1&2&!3] 0 {0} +[!0&1&2&3] 0 {0} +[0&1&!2&!3] 0 {0} +[0&1&!2&3] 0 {0} +[0&1&2&!3] 0 {0} +[0&1&2&3] 0 {0} +[!0&!1&2&3] 0 {2} +[0&!1&2&3] 0 {2} +[!0&!1&2&!3] 0 {3} +[0&!1&2&!3] 0 {4} +[!0&!1&!2&!3] 1 {1} +[!0&!1&!2&3] 1 {1} +[0&!1&!2&!3] 1 {1} +[0&!1&!2&3] 1 {1} +State: 1 +[!0&1&!2&!3] 0 {0} +[!0&1&!2&3] 0 {0} +[!0&1&2&!3] 0 {0} +[!0&1&2&3] 0 {0} +[0&1&!2&!3] 0 {0} +[0&1&!2&3] 0 {0} +[0&1&2&!3] 0 {0} +[0&1&2&3] 0 {0} +[!0&!1&!2&!3] 0 {1} +[!0&!1&!2&3] 0 {1} +[!0&!1&2&!3] 0 {1} +[!0&!1&2&3] 0 {1} +[0&!1&!2&!3] 1 {2} +[0&!1&!2&3] 1 {2} +[0&!1&2&!3] 1 {2} +[0&!1&2&3] 1 {2} +--END-- diff --git a/hoa/bench/ltl/ms-phi-s-1.hoa b/hoa/bench/ltl/ms-phi-s-1.hoa new file mode 100644 index 0000000..01dc55c --- /dev/null +++ b/hoa/bench/ltl/ms-phi-s-1.hoa @@ -0,0 +1,45 @@ +HOA: v1 +name: "ms-phi-s-1" +States: 2 +Start: 0 +AP: 4 "a0" "b0" "a1" "b1" +acc-name: parity min even 6 +Acceptance: 6 Inf(0) | (Fin(1) & (Inf(2) | (Fin(3) & (Inf(4) | Fin(5))))) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic stutter-invariant +--BODY-- +State: 0 +[!0&!1&!2&!3] 0 {1} +[!0&!1&!2&3] 0 {1} +[!0&!1&2&!3] 0 {1} +[!0&!1&2&3] 0 {1} +[!0&1&!2&!3] 0 {1} +[!0&1&!2&3] 0 {1} +[!0&1&2&!3] 0 {1} +[!0&1&2&3] 0 {1} +[0&!1&!2&!3] 0 {3} +[0&1&!2&!3] 0 {3} +[0&1&2&!3] 0 {4} +[0&!1&2&!3] 0 {5} +[0&!1&!2&3] 1 {2} +[0&!1&2&3] 1 {2} +[0&1&!2&3] 1 {2} +[0&1&2&3] 1 {2} +State: 1 +[!0&!1&!2&!3] 0 {1} +[!0&!1&!2&3] 0 {1} +[!0&!1&2&!3] 0 {1} +[!0&!1&2&3] 0 {1} +[!0&1&!2&!3] 0 {1} +[!0&1&!2&3] 0 {1} +[!0&1&2&!3] 0 {1} +[!0&1&2&3] 0 {1} +[0&1&!2&!3] 0 {2} +[0&1&!2&3] 0 {2} +[0&1&2&!3] 0 {2} +[0&1&2&3] 0 {2} +[0&!1&!2&!3] 1 {3} +[0&!1&!2&3] 1 {3} +[0&!1&2&!3] 1 {3} +[0&!1&2&3] 1 {3} +--END-- diff --git a/hoa/bench/ltl/rv-counter-3.hoa b/hoa/bench/ltl/rv-counter-3.hoa new file mode 100644 index 0000000..1deb693 --- /dev/null +++ b/hoa/bench/ltl/rv-counter-3.hoa @@ -0,0 +1,136 @@ +HOA: v1 +name: "rv-counter-3" +States: 25 +Start: 15 +AP: 2 "b" "m" +acc-name: parity min even 2 +Acceptance: 2 Inf(0) | Fin(1) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic +--BODY-- +State: 0 +[0&!1] 15 {0} +[!0&!1] 24 {0} +[!0&1] 24 {0} +[0&1] 24 {0} +State: 1 +[0&!1] 12 {0} +[!0&!1] 24 {0} +[!0&1] 24 {0} +[0&1] 24 {0} +State: 2 +[0&!1] 10 {0} +[!0&!1] 24 {0} +[!0&1] 24 {0} +[0&1] 24 {0} +State: 3 +[0&!1] 16 {0} +[!0&!1] 24 {0} +[!0&1] 24 {0} +[0&1] 24 {0} +State: 4 +[!0&!1] 3 {0} +[!0&1] 24 {0} +[0&!1] 24 {0} +[0&1] 24 {0} +State: 5 +[!0&!1] 2 {0} +[!0&1] 24 {0} +[0&!1] 24 {0} +[0&1] 24 {0} +State: 6 +[!0&!1] 11 {0} +[!0&1] 24 {0} +[0&!1] 24 {0} +[0&1] 24 {0} +State: 7 +[!0&!1] 13 {0} +[!0&1] 24 {0} +[0&!1] 24 {0} +[0&1] 24 {0} +State: 8 +[!0&!1] 14 {0} +[!0&1] 24 {0} +[0&!1] 24 {0} +[0&1] 24 {0} +State: 9 +[!0&!1] 17 {0} +[!0&1] 24 {0} +[0&!1] 24 {0} +[0&1] 24 {0} +State: 10 +[0&1] 4 {0} +[!0&!1] 24 {0} +[!0&1] 24 {0} +[0&!1] 24 {0} +State: 11 +[0&1] 22 {0} +[!0&!1] 24 {0} +[!0&1] 24 {0} +[0&!1] 24 {0} +State: 12 +[0&1] 21 {0} +[!0&!1] 24 {0} +[!0&1] 24 {0} +[0&!1] 24 {0} +State: 13 +[0&1] 18 {0} +[!0&!1] 24 {0} +[!0&1] 24 {0} +[0&!1] 24 {0} +State: 14 +[!0&1] 5 {0} +[!0&!1] 24 {0} +[0&!1] 24 {0} +[0&1] 24 {0} +State: 15 +[!0&1] 23 {0} +[!0&!1] 24 {0} +[0&!1] 24 {0} +[0&1] 24 {0} +State: 16 +[!0&1] 20 {0} +[!0&!1] 24 {0} +[0&!1] 24 {0} +[0&1] 24 {0} +State: 17 +[!0&1] 19 {0} +[!0&!1] 24 {0} +[0&!1] 24 {0} +[0&1] 24 {0} +State: 18 +[0&!1] 8 {0} +[!0&!1] 24 {0} +[!0&1] 24 {0} +[0&1] 24 {0} +State: 19 +[0&!1] 7 {0} +[!0&!1] 24 {0} +[!0&1] 24 {0} +[0&1] 24 {0} +State: 20 +[0&!1] 1 {0} +[!0&!1] 24 {0} +[!0&1] 24 {0} +[0&1] 24 {0} +State: 21 +[0&!1] 0 {0} +[!0&!1] 24 {0} +[!0&1] 24 {0} +[0&1] 24 {0} +State: 22 +[!0&!1] 9 {0} +[!0&1] 24 {0} +[0&!1] 24 {0} +[0&1] 24 {0} +State: 23 +[!0&!1] 6 {0} +[!0&1] 24 {0} +[0&!1] 24 {0} +[0&1] 24 {0} +State: 24 +[!0&!1] 24 {1} +[!0&1] 24 {1} +[0&!1] 24 {1} +[0&1] 24 {1} +--END-- diff --git a/hoa/bench/ltl/sb-patterns-0.hoa b/hoa/bench/ltl/sb-patterns-0.hoa new file mode 100644 index 0000000..54ede9c --- /dev/null +++ b/hoa/bench/ltl/sb-patterns-0.hoa @@ -0,0 +1,56 @@ +HOA: v1 +name: "sb-patterns-0" +States: 5 +Start: 0 +AP: 3 "p2" "p0" "p1" +acc-name: parity min even 3 +Acceptance: 3 Inf(0) | (Fin(1) & Inf(2)) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic stutter-invariant +--BODY-- +State: 0 +[0&1&!2] 0 {1} +[0&1&2] 0 {1} +[!0&!1&!2] 1 {2} +[!0&!1&2] 2 {2} +[!0&1&!2] 3 {2} +[!0&1&2] 3 {2} +[0&!1&!2] 4 {2} +[0&!1&2] 4 {2} +State: 1 +[!0&!1&!2] 1 {2} +[!0&1&!2] 1 {2} +[0&!1&!2] 1 {2} +[0&1&!2] 1 {2} +[!0&!1&2] 2 {1} +[!0&1&2] 2 {1} +[0&!1&2] 2 {1} +[0&1&2] 2 {1} +State: 2 +[!0&!1&!2] 1 {1} +[!0&1&!2] 1 {1} +[0&!1&!2] 1 {1} +[0&1&!2] 1 {1} +[!0&!1&2] 2 {2} +[!0&1&2] 2 {2} +[0&!1&2] 2 {2} +[0&1&2] 2 {2} +State: 3 +[!0&!1&!2] 1 {2} +[0&!1&!2] 1 {2} +[!0&!1&2] 2 {2} +[0&!1&2] 2 {2} +[!0&1&!2] 3 {1} +[!0&1&2] 3 {1} +[0&1&!2] 3 {1} +[0&1&2] 3 {1} +State: 4 +[!0&!1&!2] 1 {2} +[!0&1&!2] 1 {2} +[!0&!1&2] 2 {2} +[!0&1&2] 2 {2} +[0&!1&!2] 4 {1} +[0&!1&2] 4 {1} +[0&1&!2] 4 {1} +[0&1&2] 4 {1} +--END-- diff --git a/hoa/bench/ltl/sejk-k-2.hoa b/hoa/bench/ltl/sejk-k-2.hoa new file mode 100644 index 0000000..89c5337 --- /dev/null +++ b/hoa/bench/ltl/sejk-k-2.hoa @@ -0,0 +1,45 @@ +HOA: v1 +name: "sejk-k-2" +States: 2 +Start: 0 +AP: 4 "a1" "b1" "a2" "b2" +acc-name: parity min even 5 +Acceptance: 5 Inf(0) | (Fin(1) & (Inf(2) | (Fin(3) & Inf(4)))) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic stutter-invariant +--BODY-- +State: 0 +[!0&!1&!2&!3] 0 {1} +[!0&!1&!2&3] 0 {1} +[!0&!1&2&!3] 0 {1} +[!0&!1&2&3] 0 {1} +[!0&1&2&!3] 0 {2} +[!0&1&2&3] 0 {2} +[!0&1&!2&!3] 0 {3} +[!0&1&!2&3] 0 {4} +[0&!1&!2&!3] 1 {0} +[0&!1&!2&3] 1 {0} +[0&!1&2&!3] 1 {0} +[0&!1&2&3] 1 {0} +[0&1&!2&!3] 1 {0} +[0&1&!2&3] 1 {0} +[0&1&2&!3] 1 {0} +[0&1&2&3] 1 {0} +State: 1 +[!0&!1&2&!3] 0 {0} +[!0&!1&2&3] 0 {0} +[!0&1&2&!3] 0 {0} +[!0&1&2&3] 0 {0} +[0&!1&2&!3] 0 {0} +[0&!1&2&3] 0 {0} +[0&1&2&!3] 0 {0} +[0&1&2&3] 0 {0} +[!0&!1&!2&!3] 1 {1} +[!0&1&!2&!3] 1 {1} +[0&!1&!2&!3] 1 {1} +[0&1&!2&!3] 1 {1} +[0&!1&!2&3] 1 {2} +[0&1&!2&3] 1 {2} +[!0&!1&!2&3] 1 {3} +[!0&1&!2&3] 1 {4} +--END-- diff --git a/hoa/bench/ltl/tv-uu-3.hoa b/hoa/bench/ltl/tv-uu-3.hoa new file mode 100644 index 0000000..cb32ac9 --- /dev/null +++ b/hoa/bench/ltl/tv-uu-3.hoa @@ -0,0 +1,232 @@ +HOA: v1 +name: "tv-uu-3" +States: 13 +Start: 0 +AP: 4 "p1" "p2" "p3" "p4" +acc-name: parity min even 2 +Acceptance: 2 Inf(0) | Fin(1) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic stutter-invariant +--BODY-- +State: 0 +[!0&!1&!2&!3] 0 {0} +[!0&!1&!2&3] 0 {0} +[!0&!1&2&!3] 0 {0} +[!0&!1&2&3] 0 {0} +[!0&1&!2&!3] 0 {0} +[!0&1&!2&3] 0 {0} +[!0&1&2&!3] 0 {0} +[!0&1&2&3] 0 {0} +[0&1&2&3] 0 {0} +[0&!1&!2&!3] 1 {1} +[0&!1&!2&3] 1 {1} +[0&!1&2&!3] 1 {1} +[0&!1&2&3] 1 {1} +[0&1&!2&!3] 2 {1} +[0&1&!2&3] 2 {1} +[0&1&2&!3] 3 {1} +State: 1 +[!0&1&2&3] 0 {0} +[0&1&2&3] 0 {0} +[0&!1&!2&!3] 1 {1} +[0&!1&!2&3] 1 {1} +[0&!1&2&!3] 1 {1} +[0&!1&2&3] 1 {1} +[0&1&!2&!3] 2 {1} +[0&1&!2&3] 2 {1} +[0&1&2&!3] 3 {1} +[!0&1&!2&!3] 4 {1} +[!0&1&!2&3] 4 {1} +[!0&1&2&!3] 5 {1} +[!0&!1&!2&!3] 12 {1} +[!0&!1&!2&3] 12 {1} +[!0&!1&2&!3] 12 {1} +[!0&!1&2&3] 12 {1} +State: 2 +[!0&!1&2&3] 0 {0} +[!0&1&2&3] 0 {0} +[0&1&2&3] 0 {0} +[0&!1&!2&!3] 1 {1} +[0&!1&!2&3] 1 {1} +[0&!1&2&3] 1 {0} +[0&1&!2&!3] 2 {1} +[0&1&!2&3] 2 {1} +[0&1&2&!3] 3 {1} +[!0&1&!2&!3] 4 {1} +[!0&1&!2&3] 4 {1} +[!0&1&2&!3] 5 {1} +[!0&!1&2&!3] 6 {1} +[0&!1&2&!3] 7 {1} +[!0&!1&!2&!3] 12 {1} +[!0&!1&!2&3] 12 {1} +State: 3 +[!0&!1&!2&3] 0 {0} +[!0&!1&2&3] 0 {0} +[!0&1&2&3] 0 {0} +[0&1&2&3] 0 {0} +[0&!1&!2&!3] 1 {1} +[0&!1&!2&3] 1 {0} +[0&!1&2&3] 1 {0} +[0&1&!2&!3] 2 {1} +[0&1&!2&3] 2 {0} +[0&1&2&!3] 3 {1} +[!0&1&!2&!3] 4 {1} +[!0&1&2&!3] 5 {1} +[!0&!1&2&!3] 6 {1} +[0&!1&2&!3] 7 {1} +[!0&1&!2&3] 8 {0} +[!0&!1&!2&!3] 12 {1} +State: 4 +[!0&!1&2&3] 0 {0} +[!0&1&2&3] 0 {0} +[0&1&2&3] 0 {0} +[0&!1&2&3] 1 {0} +[!0&1&!2&!3] 4 {1} +[!0&1&!2&3] 4 {1} +[0&1&!2&!3] 4 {1} +[0&1&!2&3] 4 {1} +[!0&1&2&!3] 5 {1} +[0&1&2&!3] 5 {1} +[!0&!1&2&!3] 6 {1} +[0&!1&2&!3] 9 {1} +[!0&!1&!2&!3] 12 {1} +[!0&!1&!2&3] 12 {1} +[0&!1&!2&!3] 12 {1} +[0&!1&!2&3] 12 {1} +State: 5 +[!0&!1&!2&3] 0 {0} +[!0&!1&2&3] 0 {0} +[!0&1&2&3] 0 {0} +[0&1&2&3] 0 {0} +[0&!1&!2&3] 1 {0} +[0&!1&2&3] 1 {0} +[0&1&!2&3] 2 {0} +[!0&1&!2&!3] 4 {1} +[0&1&!2&!3] 4 {1} +[!0&1&2&!3] 5 {1} +[0&1&2&!3] 5 {1} +[!0&!1&2&!3] 6 {1} +[!0&1&!2&3] 8 {0} +[0&!1&2&!3] 9 {1} +[!0&!1&!2&!3] 12 {1} +[0&!1&!2&!3] 12 {1} +State: 6 +[!0&!1&!2&3] 0 {0} +[!0&!1&2&3] 0 {0} +[!0&1&!2&3] 0 {0} +[!0&1&2&3] 0 {0} +[0&1&2&3] 0 {0} +[0&!1&!2&3] 1 {0} +[0&!1&2&3] 1 {0} +[0&1&!2&3] 2 {0} +[!0&!1&2&!3] 6 {1} +[!0&1&2&!3] 6 {1} +[0&1&2&!3] 6 {1} +[0&!1&2&!3] 9 {1} +[!0&!1&!2&!3] 12 {1} +[!0&1&!2&!3] 12 {1} +[0&!1&!2&!3] 12 {1} +[0&1&!2&!3] 12 {1} +State: 7 +[!0&1&2&3] 0 {0} +[0&1&2&3] 0 {0} +[0&!1&!2&!3] 1 {1} +[0&!1&!2&3] 1 {0} +[0&!1&2&3] 1 {0} +[0&1&!2&!3] 2 {1} +[0&1&!2&3] 2 {0} +[0&1&2&!3] 3 {1} +[!0&1&!2&!3] 4 {1} +[!0&1&!2&3] 4 {0} +[!0&1&2&!3] 5 {1} +[0&!1&2&!3] 7 {1} +[!0&!1&!2&!3] 12 {1} +[!0&!1&!2&3] 12 {1} +[!0&!1&2&!3] 12 {1} +[!0&!1&2&3] 12 {1} +State: 8 +[!0&!1&!2&!3] 0 {0} +[!0&!1&!2&3] 0 {0} +[!0&!1&2&3] 0 {0} +[!0&1&2&3] 0 {0} +[0&1&2&3] 0 {0} +[0&!1&!2&!3] 1 {0} +[0&!1&!2&3] 1 {0} +[0&!1&2&3] 1 {0} +[0&1&!2&!3] 2 {0} +[0&1&!2&3] 2 {0} +[0&1&2&!3] 3 {0} +[!0&1&!2&!3] 8 {0} +[!0&1&!2&3] 8 {0} +[!0&1&2&!3] 8 {0} +[!0&!1&2&!3] 10 {0} +[0&!1&2&!3] 11 {1} +State: 9 +[!0&1&2&3] 0 {0} +[0&1&2&3] 0 {0} +[0&!1&!2&3] 1 {0} +[0&!1&2&3] 1 {0} +[0&1&!2&3] 2 {0} +[!0&1&!2&3] 4 {0} +[!0&1&2&!3] 6 {1} +[0&1&2&!3] 6 {1} +[0&!1&2&!3] 9 {1} +[!0&!1&!2&!3] 12 {1} +[!0&!1&!2&3] 12 {1} +[!0&!1&2&!3] 12 {1} +[!0&!1&2&3] 12 {1} +[!0&1&!2&!3] 12 {1} +[0&!1&!2&!3] 12 {1} +[0&1&!2&!3] 12 {1} +State: 10 +[!0&!1&!2&!3] 0 {0} +[!0&!1&!2&3] 0 {0} +[!0&!1&2&3] 0 {0} +[!0&1&!2&!3] 0 {0} +[!0&1&!2&3] 0 {0} +[!0&1&2&3] 0 {0} +[0&1&2&3] 0 {0} +[0&!1&!2&!3] 1 {0} +[0&!1&!2&3] 1 {0} +[0&!1&2&3] 1 {0} +[0&1&!2&!3] 2 {0} +[0&1&!2&3] 2 {0} +[0&1&2&!3] 3 {0} +[!0&!1&2&!3] 10 {0} +[!0&1&2&!3] 10 {0} +[0&!1&2&!3] 11 {1} +State: 11 +[!0&1&2&3] 0 {0} +[0&1&2&3] 0 {0} +[0&!1&!2&!3] 1 {0} +[0&!1&!2&3] 1 {0} +[0&!1&2&3] 1 {0} +[0&1&!2&!3] 2 {0} +[0&1&!2&3] 2 {0} +[0&1&2&!3] 3 {0} +[!0&1&!2&!3] 4 {0} +[!0&1&!2&3] 4 {0} +[!0&1&2&!3] 5 {0} +[0&!1&2&!3] 11 {1} +[!0&!1&!2&!3] 12 {1} +[!0&!1&!2&3] 12 {1} +[!0&!1&2&!3] 12 {1} +[!0&!1&2&3] 12 {1} +State: 12 +[!0&!1&!2&!3] 12 {1} +[!0&!1&!2&3] 12 {1} +[!0&!1&2&!3] 12 {1} +[!0&!1&2&3] 12 {1} +[!0&1&!2&!3] 12 {1} +[!0&1&!2&3] 12 {1} +[!0&1&2&!3] 12 {1} +[!0&1&2&3] 12 {1} +[0&!1&!2&!3] 12 {1} +[0&!1&!2&3] 12 {1} +[0&!1&2&!3] 12 {1} +[0&!1&2&3] 12 {1} +[0&1&!2&!3] 12 {1} +[0&1&!2&3] 12 {1} +[0&1&2&!3] 12 {1} +[0&1&2&3] 12 {1} +--END-- diff --git a/hoa/bench/ltl/u-left-3.hoa b/hoa/bench/ltl/u-left-3.hoa new file mode 100644 index 0000000..2d3b758 --- /dev/null +++ b/hoa/bench/ltl/u-left-3.hoa @@ -0,0 +1,56 @@ +HOA: v1 +name: "u-left-3" +States: 5 +Start: 1 +AP: 3 "p1" "p2" "p3" +acc-name: parity min even 2 +Acceptance: 2 Inf(0) | Fin(1) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic stutter-invariant +--BODY-- +State: 0 +[!0&!1&!2] 0 {0} +[!0&!1&2] 0 {0} +[!0&1&!2] 0 {0} +[!0&1&2] 0 {0} +[0&!1&!2] 0 {0} +[0&!1&2] 0 {0} +[0&1&!2] 0 {0} +[0&1&2] 0 {0} +State: 1 +[!0&!1&2] 0 {1} +[!0&1&2] 0 {1} +[0&!1&2] 0 {1} +[0&1&2] 0 {1} +[!0&1&!2] 1 {1} +[0&1&!2] 1 {1} +[0&!1&!2] 2 {1} +[!0&!1&!2] 4 {1} +State: 2 +[!0&1&2] 0 {1} +[0&1&2] 0 {1} +[!0&1&!2] 1 {1} +[0&1&!2] 1 {1} +[0&!1&!2] 2 {1} +[0&!1&2] 3 {1} +[!0&!1&!2] 4 {1} +[!0&!1&2] 4 {1} +State: 3 +[!0&1&!2] 0 {1} +[!0&1&2] 0 {1} +[0&1&!2] 0 {1} +[0&1&2] 0 {1} +[0&!1&!2] 3 {1} +[0&!1&2] 3 {1} +[!0&!1&!2] 4 {1} +[!0&!1&2] 4 {1} +State: 4 +[!0&!1&!2] 4 {1} +[!0&!1&2] 4 {1} +[!0&1&!2] 4 {1} +[!0&1&2] 4 {1} +[0&!1&!2] 4 {1} +[0&!1&2] 4 {1} +[0&1&!2] 4 {1} +[0&1&2] 4 {1} +--END-- diff --git a/hoa/bench/random/n128-a2-p6-s1.hoa b/hoa/bench/random/n128-a2-p6-s1.hoa new file mode 100644 index 0000000..5e3a2d2 --- /dev/null +++ b/hoa/bench/random/n128-a2-p6-s1.hoa @@ -0,0 +1,651 @@ +HOA: v1 +name: "random-n128-a2-p6-s1" +States: 128 +Start: 0 +AP: 2 "p0" "p1" +acc-name: parity min even 6 +Acceptance: 6 Inf(0) | (Fin(1) & (Inf(2) | (Fin(3) & (Inf(4) | Fin(5))))) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic +--BODY-- +State: 0 +[0&1] 0 {5} +[!0&!1] 18 {5} +[!0&1] 18 {5} +[0&!1] 38 {0} +State: 1 +[!0&1] 8 {5} +[0&!1] 70 {5} +[!0&!1] 72 {1} +[0&1] 106 {5} +State: 2 +[0&!1] 31 {5} +[0&1] 31 {5} +[!0&!1] 98 {0} +[!0&1] 98 {0} +State: 3 +[!0&!1] 29 {0} +[!0&1] 29 {0} +[0&!1] 35 {5} +[0&1] 123 {5} +State: 4 +[!0&!1] 9 {0} +[!0&1] 27 {5} +[0&!1] 56 {1} +[0&1] 126 {5} +State: 5 +[!0&1] 3 {5} +[0&!1] 14 {3} +[0&1] 14 {3} +[!0&!1] 71 {5} +State: 6 +[!0&1] 12 {1} +[0&1] 75 {5} +[0&!1] 88 {1} +[!0&!1] 104 {3} +State: 7 +[0&1] 49 {3} +[!0&1] 93 {5} +[!0&!1] 108 {2} +[0&!1] 109 {4} +State: 8 +[0&!1] 24 {5} +[0&1] 24 {5} +[!0&!1] 58 {5} +[!0&1] 58 {5} +State: 9 +[0&!1] 16 {0} +[0&1] 16 {0} +[!0&!1] 36 {5} +[!0&1] 37 {0} +State: 10 +[0&!1] 13 {1} +[!0&1] 42 {5} +[!0&!1] 94 {5} +[0&1] 100 {0} +State: 11 +[!0&1] 33 {5} +[0&!1] 81 {1} +[0&1] 81 {1} +[!0&!1] 104 {1} +State: 12 +[0&1] 9 {5} +[!0&!1] 64 {0} +[0&!1] 68 {5} +[!0&1] 83 {0} +State: 13 +[!0&1] 53 {5} +[!0&!1] 61 {1} +[0&1] 93 {3} +[0&!1] 117 {1} +State: 14 +[!0&!1] 5 {0} +[0&1] 80 {5} +[0&!1] 104 {5} +[!0&1] 125 {3} +State: 15 +[!0&1] 3 {5} +[0&!1] 7 {2} +[0&1] 7 {2} +[!0&!1] 68 {2} +State: 16 +[0&!1] 6 {5} +[!0&1] 33 {5} +[!0&!1] 51 {5} +[0&1] 61 {5} +State: 17 +[!0&1] 12 {0} +[!0&!1] 45 {5} +[0&!1] 71 {5} +[0&1] 71 {5} +State: 18 +[0&!1] 23 {2} +[0&1] 23 {2} +[!0&!1] 43 {2} +[!0&1] 43 {2} +State: 19 +[!0&!1] 21 {5} +[!0&1] 21 {5} +[0&!1] 21 {5} +[0&1] 21 {5} +State: 20 +[!0&!1] 83 {5} +[!0&1] 83 {5} +[0&!1] 83 {5} +[0&1] 83 {5} +State: 21 +[0&1] 4 {0} +[!0&1] 35 {0} +[!0&!1] 52 {5} +[0&!1] 119 {1} +State: 22 +[!0&1] 3 {1} +[!0&!1] 29 {5} +[0&!1] 113 {5} +[0&1] 113 {5} +State: 23 +[!0&1] 25 {3} +[0&1] 53 {5} +[0&!1] 87 {1} +[!0&!1] 109 {2} +State: 24 +[!0&!1] 96 {1} +[!0&1] 96 {1} +[0&!1] 96 {1} +[0&1] 96 {1} +State: 25 +[!0&!1] 52 {5} +[!0&1] 52 {5} +[0&!1] 85 {3} +[0&1] 85 {3} +State: 26 +[0&!1] 31 {5} +[0&1] 39 {2} +[!0&!1] 77 {5} +[!0&1] 115 {5} +State: 27 +[0&1] 17 {3} +[!0&1] 68 {2} +[!0&!1] 100 {5} +[0&!1] 115 {5} +State: 28 +[!0&1] 3 {5} +[0&1] 76 {2} +[0&!1] 103 {5} +[!0&!1] 109 {5} +State: 29 +[0&!1] 19 {0} +[0&1] 46 {0} +[!0&!1] 118 {0} +[!0&1] 118 {0} +State: 30 +[0&!1] 47 {5} +[0&1] 47 {5} +[!0&!1] 75 {5} +[!0&1] 75 {5} +State: 31 +[!0&!1] 30 {5} +[!0&1] 30 {5} +[0&!1] 49 {1} +[0&1] 118 {1} +State: 32 +[!0&!1] 67 {0} +[!0&1] 67 {0} +[0&!1] 123 {0} +[0&1] 123 {0} +State: 33 +[0&1] 33 {5} +[!0&!1] 44 {5} +[0&!1] 82 {3} +[!0&1] 95 {5} +State: 34 +[!0&1] 29 {5} +[!0&!1] 55 {0} +[0&!1] 95 {0} +[0&1] 110 {5} +State: 35 +[0&!1] 26 {2} +[0&1] 93 {3} +[!0&1] 94 {0} +[!0&!1] 112 {4} +State: 36 +[!0&1] 54 {5} +[0&!1] 115 {0} +[0&1] 115 {0} +[!0&!1] 122 {5} +State: 37 +[!0&!1] 6 {5} +[0&!1] 57 {0} +[!0&1] 72 {2} +[0&1] 121 {5} +State: 38 +[!0&!1] 90 {5} +[!0&1] 90 {5} +[0&!1] 98 {1} +[0&1] 120 {0} +State: 39 +[0&!1] 48 {0} +[0&1] 48 {0} +[!0&!1] 69 {3} +[!0&1] 69 {3} +State: 40 +[!0&!1] 12 {0} +[0&!1] 18 {5} +[!0&1] 23 {1} +[0&1] 86 {5} +State: 41 +[!0&!1] 84 {1} +[!0&1] 84 {1} +[0&!1] 118 {5} +[0&1] 118 {5} +State: 42 +[0&1] 19 {5} +[0&!1] 38 {3} +[!0&!1] 116 {1} +[!0&1] 116 {1} +State: 43 +[0&!1] 66 {5} +[!0&1] 103 {0} +[!0&!1] 104 {5} +[0&1] 124 {5} +State: 44 +[!0&1] 52 {5} +[0&!1] 97 {0} +[0&1] 97 {0} +[!0&!1] 125 {3} +State: 45 +[!0&!1] 1 {3} +[!0&1] 25 {5} +[0&1] 59 {2} +[0&!1] 100 {5} +State: 46 +[!0&!1] 41 {2} +[!0&1] 41 {2} +[0&!1] 66 {5} +[0&1] 66 {5} +State: 47 +[!0&!1] 13 {1} +[!0&1] 13 {1} +[0&!1] 13 {1} +[0&1] 13 {1} +State: 48 +[0&1] 41 {5} +[!0&!1] 53 {5} +[!0&1] 65 {5} +[0&!1] 92 {0} +State: 49 +[0&1] 6 {3} +[!0&1] 33 {0} +[0&!1] 62 {5} +[!0&!1] 93 {1} +State: 50 +[!0&!1] 40 {5} +[!0&1] 95 {0} +[0&!1] 112 {0} +[0&1] 112 {0} +State: 51 +[0&!1] 4 {0} +[0&1] 51 {5} +[!0&!1] 99 {5} +[!0&1] 125 {1} +State: 52 +[!0&!1] 20 {1} +[!0&1] 20 {1} +[0&!1] 20 {1} +[0&1] 20 {1} +State: 53 +[!0&!1] 51 {5} +[!0&1] 51 {5} +[0&!1] 53 {2} +[0&1] 53 {2} +State: 54 +[!0&1] 2 {1} +[!0&!1] 3 {2} +[0&1] 15 {5} +[0&!1] 91 {0} +State: 55 +[!0&!1] 0 {5} +[!0&1] 0 {5} +[0&!1] 73 {5} +[0&1] 73 {5} +State: 56 +[0&1] 19 {5} +[!0&1] 28 {2} +[0&!1] 39 {3} +[!0&!1] 126 {2} +State: 57 +[0&!1] 10 {0} +[0&1] 10 {0} +[!0&!1] 12 {0} +[!0&1] 12 {0} +State: 58 +[0&1] 30 {5} +[0&!1] 72 {5} +[!0&!1] 127 {5} +[!0&1] 127 {5} +State: 59 +[0&!1] 16 {0} +[0&1] 16 {0} +[!0&!1] 56 {3} +[!0&1] 102 {2} +State: 60 +[0&!1] 57 {5} +[0&1] 81 {5} +[!0&1] 88 {5} +[!0&!1] 115 {3} +State: 61 +[0&!1] 51 {5} +[0&1] 55 {1} +[!0&!1] 101 {1} +[!0&1] 112 {5} +State: 62 +[!0&!1] 49 {0} +[!0&1] 49 {0} +[0&!1] 78 {3} +[0&1] 78 {3} +State: 63 +[0&!1] 5 {5} +[!0&1] 110 {0} +[!0&!1] 117 {0} +[0&1] 121 {5} +State: 64 +[!0&1] 93 {2} +[0&!1] 114 {5} +[0&1] 114 {5} +[!0&!1] 127 {5} +State: 65 +[!0&!1] 26 {0} +[0&1] 31 {1} +[0&!1] 73 {2} +[!0&1] 105 {0} +State: 66 +[!0&!1] 35 {5} +[0&!1] 53 {5} +[0&1] 53 {5} +[!0&1] 89 {5} +State: 67 +[0&1] 59 {3} +[!0&!1] 79 {2} +[!0&1] 79 {2} +[0&!1] 94 {2} +State: 68 +[0&!1] 36 {1} +[0&1] 49 {5} +[!0&!1] 50 {2} +[!0&1] 70 {5} +State: 69 +[0&!1] 4 {0} +[0&1] 4 {0} +[!0&!1] 111 {5} +[!0&1] 111 {5} +State: 70 +[0&!1] 29 {5} +[0&1] 32 {0} +[!0&1] 64 {5} +[!0&!1] 120 {3} +State: 71 +[!0&!1] 34 {5} +[!0&1] 34 {5} +[0&!1] 34 {5} +[0&1] 34 {5} +State: 72 +[!0&1] 28 {2} +[0&!1] 42 {5} +[!0&!1] 74 {5} +[0&1] 76 {3} +State: 73 +[!0&1] 4 {2} +[0&!1] 11 {2} +[0&1] 103 {1} +[!0&!1] 116 {5} +State: 74 +[!0&!1] 36 {1} +[0&!1] 86 {0} +[!0&1] 93 {3} +[0&1] 107 {5} +State: 75 +[0&!1] 63 {0} +[0&1] 63 {0} +[!0&1] 79 {1} +[!0&!1] 115 {5} +State: 76 +[!0&!1] 22 {5} +[0&!1] 74 {0} +[!0&1] 82 {5} +[0&1] 95 {5} +State: 77 +[0&1] 29 {0} +[0&!1] 57 {5} +[!0&!1] 60 {2} +[!0&1] 69 {5} +State: 78 +[!0&!1] 20 {3} +[0&!1] 32 {5} +[!0&1] 38 {5} +[0&1] 81 {5} +State: 79 +[!0&!1] 60 {5} +[!0&1] 94 {5} +[0&!1] 100 {5} +[0&1] 100 {5} +State: 80 +[!0&!1] 34 {5} +[!0&1] 34 {5} +[0&!1] 46 {2} +[0&1] 46 {2} +State: 81 +[0&1] 40 {2} +[!0&1] 45 {1} +[0&!1] 76 {5} +[!0&!1] 79 {1} +State: 82 +[!0&!1] 125 {5} +[!0&1] 125 {5} +[0&!1] 125 {5} +[0&1] 125 {5} +State: 83 +[!0&1] 3 {5} +[!0&!1] 62 {1} +[0&!1] 81 {0} +[0&1] 81 {0} +State: 84 +[!0&1] 4 {2} +[!0&!1] 12 {5} +[0&!1] 37 {5} +[0&1] 113 {5} +State: 85 +[0&!1] 27 {5} +[!0&!1] 39 {2} +[0&1] 101 {0} +[!0&1] 110 {5} +State: 86 +[!0&!1] 53 {0} +[!0&1] 53 {0} +[0&!1] 109 {1} +[0&1] 109 {1} +State: 87 +[!0&!1] 16 {0} +[!0&1] 29 {5} +[0&!1] 43 {5} +[0&1] 43 {5} +State: 88 +[!0&!1] 38 {2} +[!0&1] 38 {2} +[0&!1] 98 {5} +[0&1] 100 {2} +State: 89 +[!0&1] 4 {0} +[!0&!1] 48 {0} +[0&1] 75 {0} +[0&!1] 126 {0} +State: 90 +[0&!1] 65 {5} +[!0&!1] 68 {5} +[!0&1] 68 {5} +[0&1] 115 {2} +State: 91 +[0&1] 68 {2} +[!0&!1] 84 {2} +[!0&1] 84 {2} +[0&!1] 104 {2} +State: 92 +[0&!1] 31 {5} +[0&1] 31 {5} +[!0&1] 49 {5} +[!0&!1] 114 {5} +State: 93 +[!0&1] 67 {3} +[!0&!1] 89 {0} +[0&!1] 93 {4} +[0&1] 116 {5} +State: 94 +[0&!1] 3 {5} +[!0&!1] 80 {5} +[!0&1] 80 {5} +[0&1] 81 {5} +State: 95 +[!0&!1] 1 {1} +[!0&1] 1 {1} +[0&!1] 70 {0} +[0&1] 70 {0} +State: 96 +[!0&1] 35 {5} +[!0&!1] 89 {5} +[0&!1] 100 {5} +[0&1] 120 {5} +State: 97 +[0&1] 22 {3} +[!0&!1] 30 {5} +[!0&1] 30 {5} +[0&!1] 58 {2} +State: 98 +[0&!1] 10 {1} +[!0&!1] 13 {3} +[0&1] 80 {5} +[!0&1] 90 {3} +State: 99 +[0&1] 29 {5} +[!0&!1] 41 {5} +[0&!1] 113 {0} +[!0&1] 116 {0} +State: 100 +[!0&!1] 24 {1} +[!0&1] 24 {1} +[0&!1] 75 {5} +[0&1] 75 {5} +State: 101 +[0&1] 82 {0} +[!0&!1] 111 {1} +[!0&1] 111 {1} +[0&!1] 125 {3} +State: 102 +[0&!1] 41 {2} +[!0&1] 45 {5} +[0&1] 60 {5} +[!0&!1] 61 {1} +State: 103 +[!0&1] 19 {0} +[0&!1] 23 {5} +[0&1] 90 {5} +[!0&!1] 112 {3} +State: 104 +[0&1] 9 {2} +[0&!1] 46 {3} +[!0&1] 107 {5} +[!0&!1] 119 {5} +State: 105 +[0&!1] 2 {5} +[0&1] 2 {5} +[!0&!1] 58 {5} +[!0&1] 58 {5} +State: 106 +[0&!1] 33 {5} +[0&1] 33 {5} +[!0&!1] 87 {0} +[!0&1] 87 {0} +State: 107 +[0&!1] 26 {2} +[0&1] 61 {0} +[!0&1] 74 {2} +[!0&!1] 110 {5} +State: 108 +[!0&1] 0 {1} +[!0&!1] 83 {3} +[0&!1] 86 {5} +[0&1] 86 {5} +State: 109 +[!0&1] 28 {5} +[0&!1] 52 {5} +[!0&!1] 108 {3} +[0&1] 122 {4} +State: 110 +[!0&!1] 67 {0} +[!0&1] 95 {5} +[0&1] 106 {0} +[0&!1] 123 {0} +State: 111 +[!0&!1] 5 {5} +[!0&1] 5 {5} +[0&!1] 21 {5} +[0&1] 123 {1} +State: 112 +[!0&!1] 7 {4} +[!0&1] 7 {4} +[0&!1] 49 {3} +[0&1] 67 {5} +State: 113 +[!0&1] 17 {5} +[!0&!1] 111 {5} +[0&!1] 113 {1} +[0&1] 113 {1} +State: 114 +[0&1] 61 {3} +[!0&!1] 107 {1} +[0&!1] 114 {1} +[!0&1] 126 {0} +State: 115 +[0&!1] 46 {2} +[0&1] 60 {3} +[!0&1] 86 {1} +[!0&!1] 113 {0} +State: 116 +[0&1] 12 {2} +[!0&1] 38 {5} +[!0&!1] 80 {0} +[0&!1] 97 {5} +State: 117 +[!0&1] 23 {3} +[0&!1] 106 {0} +[0&1] 106 {0} +[!0&!1] 107 {5} +State: 118 +[0&!1] 17 {5} +[0&1] 51 {2} +[!0&1] 53 {3} +[!0&!1] 83 {0} +State: 119 +[!0&1] 3 {3} +[!0&!1] 34 {5} +[0&!1] 115 {2} +[0&1] 115 {2} +State: 120 +[!0&1] 51 {1} +[0&1] 60 {5} +[0&!1] 94 {2} +[!0&!1] 117 {3} +State: 121 +[!0&!1] 81 {1} +[!0&1] 81 {1} +[0&!1] 91 {5} +[0&1] 91 {5} +State: 122 +[!0&!1] 77 {4} +[0&1] 83 {1} +[!0&1] 84 {2} +[0&!1] 99 {5} +State: 123 +[0&!1] 19 {0} +[!0&!1] 47 {1} +[!0&1] 47 {1} +[0&1] 126 {0} +State: 124 +[0&1] 12 {1} +[!0&1] 29 {5} +[0&!1] 53 {5} +[!0&!1] 91 {2} +State: 125 +[0&!1] 83 {5} +[!0&!1] 101 {3} +[!0&1] 112 {3} +[0&1] 119 {1} +State: 126 +[!0&1] 41 {5} +[!0&!1] 53 {0} +[0&!1] 56 {2} +[0&1] 117 {2} +State: 127 +[!0&!1] 52 {5} +[!0&1] 52 {5} +[0&!1] 52 {5} +[0&1] 52 {5} +--END-- diff --git a/hoa/bench/random/n16-a1-p3-s1.hoa b/hoa/bench/random/n16-a1-p3-s1.hoa new file mode 100644 index 0000000..6d33428 --- /dev/null +++ b/hoa/bench/random/n16-a1-p3-s1.hoa @@ -0,0 +1,59 @@ +HOA: v1 +name: "random-n16-a1-p3-s1" +States: 16 +Start: 0 +AP: 1 "p0" +acc-name: parity min even 2 +Acceptance: 2 Inf(0) | Fin(1) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic +--BODY-- +State: 0 +[!0] 1 {1} +[0] 14 {1} +State: 1 +[0] 3 {0} +[!0] 5 {0} +State: 2 +[!0] 4 {1} +[0] 12 {1} +State: 3 +[0] 5 {1} +[!0] 10 {1} +State: 4 +[0] 8 {1} +[!0] 11 {0} +State: 5 +[0] 1 {1} +[!0] 9 {1} +State: 6 +[!0] 3 {1} +[0] 12 {0} +State: 7 +[!0] 14 {1} +[0] 15 {0} +State: 8 +[!0] 6 {1} +[0] 7 {1} +State: 9 +[0] 8 {0} +[!0] 14 {1} +State: 10 +[!0] 7 {0} +[0] 13 {1} +State: 11 +[!0] 6 {0} +[0] 14 {1} +State: 12 +[!0] 2 {0} +[0] 2 {0} +State: 13 +[!0] 7 {0} +[0] 14 {1} +State: 14 +[0] 4 {0} +[!0] 11 {1} +State: 15 +[!0] 3 {0} +[0] 15 {1} +--END-- diff --git a/hoa/bench/random/n256-a2-p8-s1.hoa b/hoa/bench/random/n256-a2-p8-s1.hoa new file mode 100644 index 0000000..cb5988a --- /dev/null +++ b/hoa/bench/random/n256-a2-p8-s1.hoa @@ -0,0 +1,1291 @@ +HOA: v1 +name: "random-n256-a2-p8-s1" +States: 256 +Start: 0 +AP: 2 "p0" "p1" +acc-name: parity min even 6 +Acceptance: 6 Inf(0) | (Fin(1) & (Inf(2) | (Fin(3) & (Inf(4) | Fin(5))))) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic +--BODY-- +State: 0 +[0&1] 32 {0} +[!0&1] 59 {1} +[!0&!1] 100 {0} +[0&!1] 254 {2} +State: 1 +[!0&!1] 92 {0} +[!0&1] 145 {3} +[0&1] 148 {0} +[0&!1] 174 {0} +State: 2 +[0&1] 90 {3} +[!0&!1] 96 {3} +[!0&1] 144 {1} +[0&!1] 240 {4} +State: 3 +[0&1] 12 {1} +[!0&1] 85 {5} +[0&!1] 127 {2} +[!0&!1] 195 {0} +State: 4 +[!0&1] 58 {5} +[0&1] 60 {0} +[!0&!1] 71 {1} +[0&!1] 180 {3} +State: 5 +[0&!1] 143 {5} +[!0&1] 173 {5} +[0&1] 214 {3} +[!0&!1] 220 {5} +State: 6 +[!0&1] 3 {4} +[0&!1] 20 {1} +[0&1] 33 {1} +[!0&!1] 194 {1} +State: 7 +[!0&!1] 91 {5} +[!0&1] 144 {2} +[0&!1] 166 {1} +[0&1] 194 {3} +State: 8 +[!0&1] 18 {0} +[0&!1] 24 {5} +[!0&!1] 119 {3} +[0&1] 228 {2} +State: 9 +[0&1] 40 {5} +[!0&1] 70 {4} +[0&!1] 155 {2} +[!0&!1] 193 {1} +State: 10 +[0&!1] 27 {5} +[!0&!1] 37 {5} +[!0&1] 128 {5} +[0&1] 239 {2} +State: 11 +[!0&1] 7 {5} +[0&!1] 113 {1} +[!0&!1] 225 {4} +[0&1] 243 {5} +State: 12 +[0&!1] 15 {5} +[!0&1] 26 {1} +[0&1] 35 {4} +[!0&!1] 130 {0} +State: 13 +[0&!1] 81 {5} +[0&1] 114 {5} +[!0&!1] 220 {5} +[!0&1] 240 {5} +State: 14 +[0&!1] 34 {0} +[!0&!1] 77 {3} +[0&1] 212 {1} +[!0&1] 218 {3} +State: 15 +[!0&!1] 35 {2} +[0&1] 50 {4} +[!0&1] 73 {5} +[0&!1] 105 {5} +State: 16 +[!0&!1] 16 {5} +[0&1] 64 {3} +[!0&1] 125 {5} +[0&!1] 253 {5} +State: 17 +[0&!1] 47 {4} +[!0&1] 75 {3} +[!0&!1] 100 {1} +[0&1] 131 {5} +State: 18 +[!0&!1] 21 {0} +[0&!1] 35 {2} +[!0&1] 215 {5} +[0&1] 231 {1} +State: 19 +[0&1] 5 {3} +[!0&!1] 38 {5} +[0&!1] 127 {3} +[!0&1] 243 {3} +State: 20 +[0&!1] 6 {5} +[!0&!1] 61 {5} +[0&1] 72 {2} +[!0&1] 227 {4} +State: 21 +[!0&!1] 58 {5} +[!0&1] 66 {4} +[0&!1] 157 {4} +[0&1] 243 {1} +State: 22 +[0&1] 24 {4} +[!0&!1] 65 {5} +[0&!1] 88 {4} +[!0&1] 187 {5} +State: 23 +[!0&1] 15 {1} +[0&!1] 69 {0} +[!0&!1] 169 {5} +[0&1] 212 {0} +State: 24 +[!0&!1] 11 {4} +[0&!1] 126 {5} +[0&1] 137 {3} +[!0&1] 194 {0} +State: 25 +[!0&!1] 7 {2} +[0&1] 65 {4} +[!0&1] 122 {0} +[0&!1] 241 {5} +State: 26 +[!0&!1] 113 {5} +[0&!1] 116 {2} +[!0&1] 212 {5} +[0&1] 253 {0} +State: 27 +[!0&!1] 33 {2} +[!0&1] 118 {5} +[0&!1] 120 {2} +[0&1] 189 {0} +State: 28 +[0&!1] 67 {1} +[0&1] 79 {5} +[!0&!1] 138 {1} +[!0&1] 189 {0} +State: 29 +[0&1] 8 {5} +[!0&!1] 138 {5} +[!0&1] 155 {5} +[0&!1] 201 {1} +State: 30 +[!0&!1] 99 {5} +[0&1] 135 {5} +[!0&1] 222 {5} +[0&!1] 238 {5} +State: 31 +[!0&1] 103 {4} +[!0&!1] 120 {0} +[0&1] 166 {5} +[0&!1] 233 {5} +State: 32 +[0&1] 79 {5} +[0&!1] 132 {5} +[!0&1] 215 {5} +[!0&!1] 239 {5} +State: 33 +[0&1] 36 {5} +[!0&!1] 41 {5} +[!0&1] 137 {0} +[0&!1] 167 {2} +State: 34 +[0&!1] 25 {4} +[!0&!1] 156 {5} +[0&1] 161 {2} +[!0&1] 239 {1} +State: 35 +[0&1] 8 {0} +[!0&1] 75 {5} +[0&!1] 159 {5} +[!0&!1] 167 {5} +State: 36 +[!0&1] 82 {2} +[0&!1] 158 {5} +[!0&!1] 184 {0} +[0&1] 214 {4} +State: 37 +[!0&!1] 36 {1} +[0&1] 42 {5} +[0&!1] 175 {5} +[!0&1] 212 {0} +State: 38 +[!0&1] 68 {0} +[0&1] 159 {4} +[0&!1] 195 {5} +[!0&!1] 210 {5} +State: 39 +[!0&1] 78 {0} +[!0&!1] 181 {5} +[0&1] 218 {1} +[0&!1] 229 {4} +State: 40 +[!0&1] 51 {3} +[0&!1] 188 {5} +[0&1] 189 {5} +[!0&!1] 228 {1} +State: 41 +[0&!1] 40 {4} +[!0&!1] 144 {5} +[!0&1] 234 {5} +[0&1] 236 {5} +State: 42 +[!0&!1] 6 {4} +[0&!1] 51 {5} +[0&1] 93 {5} +[!0&1] 115 {4} +State: 43 +[!0&!1] 74 {5} +[0&!1] 132 {5} +[0&1] 155 {5} +[!0&1] 182 {5} +State: 44 +[0&!1] 103 {1} +[!0&!1] 105 {1} +[!0&1] 173 {5} +[0&1] 246 {1} +State: 45 +[!0&1] 50 {5} +[0&!1] 62 {5} +[!0&!1] 158 {5} +[0&1] 206 {5} +State: 46 +[!0&!1] 4 {5} +[!0&1] 11 {4} +[0&!1] 17 {4} +[0&1] 144 {3} +State: 47 +[0&!1] 41 {4} +[!0&1] 105 {5} +[!0&!1] 145 {5} +[0&1] 169 {2} +State: 48 +[!0&!1] 12 {5} +[0&!1] 43 {0} +[!0&1] 53 {5} +[0&1] 108 {5} +State: 49 +[!0&!1] 35 {5} +[!0&1] 62 {5} +[0&!1] 84 {5} +[0&1] 110 {1} +State: 50 +[!0&!1] 89 {5} +[0&!1] 165 {4} +[0&1] 176 {5} +[!0&1] 193 {2} +State: 51 +[!0&1] 10 {0} +[0&1] 66 {1} +[!0&!1] 205 {3} +[0&!1] 240 {0} +State: 52 +[!0&!1] 23 {2} +[0&!1] 24 {5} +[0&1] 188 {5} +[!0&1] 226 {5} +State: 53 +[0&!1] 92 {1} +[0&1] 109 {4} +[!0&1] 237 {0} +[!0&!1] 240 {0} +State: 54 +[0&1] 78 {4} +[0&!1] 148 {5} +[!0&!1] 177 {4} +[!0&1] 217 {5} +State: 55 +[!0&!1] 68 {1} +[0&!1] 70 {4} +[!0&1] 139 {5} +[0&1] 149 {5} +State: 56 +[0&1] 7 {5} +[!0&1] 46 {5} +[0&!1] 76 {2} +[!0&!1] 237 {5} +State: 57 +[!0&1] 17 {5} +[0&!1] 48 {5} +[!0&!1] 112 {5} +[0&1] 156 {3} +State: 58 +[!0&!1] 2 {5} +[0&!1] 8 {4} +[!0&1] 137 {3} +[0&1] 157 {5} +State: 59 +[0&1] 108 {4} +[0&!1] 116 {3} +[!0&1] 136 {0} +[!0&!1] 233 {5} +State: 60 +[0&1] 3 {1} +[!0&1] 84 {3} +[!0&!1] 122 {1} +[0&!1] 212 {5} +State: 61 +[!0&!1] 88 {4} +[0&1] 96 {5} +[!0&1] 110 {3} +[0&!1] 237 {2} +State: 62 +[!0&1] 14 {5} +[!0&!1] 83 {3} +[0&1] 145 {0} +[0&!1] 197 {2} +State: 63 +[!0&!1] 102 {5} +[!0&1] 147 {5} +[0&1] 198 {5} +[0&!1] 220 {0} +State: 64 +[0&1] 39 {1} +[!0&!1] 119 {3} +[0&!1] 192 {2} +[!0&1] 203 {1} +State: 65 +[0&!1] 18 {5} +[0&1] 95 {3} +[!0&1] 158 {2} +[!0&!1] 205 {1} +State: 66 +[0&!1] 38 {4} +[!0&!1] 146 {2} +[!0&1] 165 {4} +[0&1] 197 {0} +State: 67 +[0&1] 35 {2} +[0&!1] 84 {5} +[!0&1] 86 {1} +[!0&!1] 210 {5} +State: 68 +[!0&!1] 48 {5} +[!0&1] 117 {5} +[0&1] 120 {1} +[0&!1] 189 {1} +State: 69 +[0&1] 9 {5} +[0&!1] 21 {1} +[!0&1] 225 {4} +[!0&!1] 255 {0} +State: 70 +[0&!1] 55 {4} +[!0&!1] 63 {3} +[0&1] 215 {0} +[!0&1] 218 {5} +State: 71 +[!0&!1] 81 {1} +[0&1] 102 {5} +[0&!1] 154 {5} +[!0&1] 176 {0} +State: 72 +[0&1] 87 {5} +[0&!1] 106 {5} +[!0&!1] 128 {5} +[!0&1] 255 {5} +State: 73 +[!0&!1] 12 {5} +[0&1] 19 {5} +[0&!1] 92 {5} +[!0&1] 200 {5} +State: 74 +[!0&!1] 56 {2} +[0&1] 90 {5} +[!0&1] 105 {5} +[0&!1] 132 {5} +State: 75 +[0&1] 12 {4} +[!0&!1] 39 {4} +[!0&1] 129 {5} +[0&!1] 175 {1} +State: 76 +[!0&!1] 0 {5} +[0&1] 77 {5} +[0&!1] 137 {5} +[!0&1] 195 {5} +State: 77 +[!0&1] 139 {5} +[0&1] 175 {0} +[0&!1] 184 {5} +[!0&!1] 192 {5} +State: 78 +[!0&!1] 57 {2} +[!0&1] 59 {2} +[0&1] 77 {5} +[0&!1] 248 {5} +State: 79 +[!0&1] 23 {2} +[!0&!1] 131 {5} +[0&!1] 183 {5} +[0&1] 204 {5} +State: 80 +[0&1] 123 {5} +[!0&!1] 142 {3} +[!0&1] 146 {4} +[0&!1] 204 {1} +State: 81 +[!0&1] 102 {5} +[0&1] 104 {5} +[0&!1] 141 {5} +[!0&!1] 245 {5} +State: 82 +[!0&1] 3 {2} +[0&!1] 79 {1} +[!0&!1] 135 {0} +[0&1] 207 {4} +State: 83 +[!0&1] 21 {5} +[0&!1] 47 {5} +[!0&!1] 149 {0} +[0&1] 250 {0} +State: 84 +[0&1] 80 {0} +[!0&!1] 121 {5} +[0&!1] 185 {2} +[!0&1] 233 {5} +State: 85 +[!0&1] 112 {3} +[0&!1] 210 {4} +[0&1] 223 {0} +[!0&!1] 235 {5} +State: 86 +[0&1] 22 {3} +[0&!1] 89 {1} +[!0&!1] 90 {0} +[!0&1] 244 {0} +State: 87 +[!0&!1] 22 {4} +[!0&1] 118 {5} +[0&1] 125 {2} +[0&!1] 146 {0} +State: 88 +[!0&1] 59 {5} +[0&!1] 98 {5} +[0&1] 104 {5} +[!0&!1] 208 {0} +State: 89 +[!0&!1] 1 {5} +[0&1] 95 {3} +[0&!1] 144 {5} +[!0&1] 188 {5} +State: 90 +[!0&!1] 95 {3} +[0&1] 99 {3} +[0&!1] 213 {5} +[!0&1] 249 {3} +State: 91 +[0&1] 70 {3} +[!0&!1] 95 {5} +[!0&1] 191 {0} +[0&!1] 249 {5} +State: 92 +[!0&!1] 51 {5} +[0&!1] 101 {0} +[!0&1] 113 {0} +[0&1] 194 {4} +State: 93 +[0&1] 53 {5} +[0&!1] 116 {5} +[!0&!1] 179 {1} +[!0&1] 255 {1} +State: 94 +[!0&!1] 100 {3} +[0&!1] 107 {0} +[!0&1] 157 {2} +[0&1] 162 {2} +State: 95 +[0&1] 80 {5} +[!0&1] 159 {5} +[0&!1] 219 {5} +[!0&!1] 231 {5} +State: 96 +[0&1] 124 {1} +[0&!1] 163 {1} +[!0&!1] 221 {5} +[!0&1] 245 {0} +State: 97 +[0&!1] 1 {3} +[!0&1] 101 {2} +[0&1] 162 {2} +[!0&!1] 186 {5} +State: 98 +[0&!1] 63 {5} +[!0&!1] 202 {2} +[0&1] 208 {2} +[!0&1] 251 {5} +State: 99 +[!0&1] 18 {3} +[0&!1] 31 {5} +[0&1] 36 {2} +[!0&!1] 139 {5} +State: 100 +[!0&1] 123 {3} +[!0&!1] 161 {5} +[0&!1] 185 {5} +[0&1] 248 {4} +State: 101 +[!0&!1] 52 {5} +[0&!1] 58 {5} +[!0&1] 59 {2} +[0&1] 148 {5} +State: 102 +[0&!1] 156 {0} +[0&1] 218 {1} +[!0&!1] 225 {2} +[!0&1] 232 {1} +State: 103 +[!0&1] 57 {1} +[0&1] 122 {5} +[0&!1] 238 {1} +[!0&!1] 243 {5} +State: 104 +[0&1] 13 {1} +[0&!1] 21 {0} +[!0&!1] 47 {5} +[!0&1] 196 {3} +State: 105 +[!0&!1] 39 {0} +[0&1] 49 {0} +[!0&1] 160 {4} +[0&!1] 237 {0} +State: 106 +[0&!1] 34 {5} +[!0&!1] 45 {0} +[!0&1] 46 {5} +[0&1] 68 {3} +State: 107 +[0&!1] 48 {1} +[0&1] 164 {1} +[!0&1] 187 {4} +[!0&!1] 218 {5} +State: 108 +[!0&!1] 96 {2} +[0&1] 105 {5} +[!0&1] 140 {5} +[0&!1] 197 {1} +State: 109 +[!0&!1] 67 {5} +[0&!1] 128 {2} +[!0&1] 133 {3} +[0&1] 157 {5} +State: 110 +[!0&!1] 36 {5} +[0&1] 117 {0} +[0&!1] 144 {1} +[!0&1] 152 {1} +State: 111 +[!0&1] 74 {5} +[0&!1] 132 {2} +[!0&!1] 163 {3} +[0&1] 171 {5} +State: 112 +[0&!1] 31 {5} +[!0&1] 44 {5} +[!0&!1] 83 {3} +[0&1] 135 {2} +State: 113 +[!0&1] 168 {5} +[0&!1] 169 {1} +[!0&!1] 195 {1} +[0&1] 198 {5} +State: 114 +[!0&1] 184 {5} +[0&!1] 185 {4} +[!0&!1] 242 {4} +[0&1] 244 {5} +State: 115 +[0&!1] 33 {5} +[!0&!1] 142 {3} +[!0&1] 194 {5} +[0&1] 211 {0} +State: 116 +[0&1] 69 {2} +[0&!1] 88 {3} +[!0&!1] 185 {0} +[!0&1] 224 {5} +State: 117 +[0&!1] 112 {1} +[!0&!1] 136 {1} +[0&1] 149 {3} +[!0&1] 216 {0} +State: 118 +[0&1] 87 {0} +[!0&1] 90 {5} +[!0&!1] 213 {0} +[0&!1] 230 {2} +State: 119 +[!0&1] 81 {5} +[0&!1] 161 {5} +[!0&!1] 170 {1} +[0&1] 208 {0} +State: 120 +[0&!1] 65 {5} +[0&1] 99 {1} +[!0&1] 209 {5} +[!0&!1] 215 {1} +State: 121 +[0&1] 42 {0} +[!0&!1] 184 {5} +[!0&1] 186 {4} +[0&!1] 245 {5} +State: 122 +[!0&1] 26 {0} +[!0&!1] 49 {2} +[0&!1] 67 {5} +[0&1] 190 {5} +State: 123 +[!0&!1] 134 {4} +[0&1] 137 {5} +[!0&1] 183 {5} +[0&!1] 214 {5} +State: 124 +[0&1] 28 {5} +[0&!1] 121 {5} +[!0&!1] 136 {5} +[!0&1] 179 {5} +State: 125 +[!0&!1] 63 {1} +[0&!1] 69 {2} +[0&1] 114 {4} +[!0&1] 172 {2} +State: 126 +[0&!1] 77 {3} +[0&1] 90 {3} +[!0&!1] 150 {5} +[!0&1] 151 {3} +State: 127 +[0&!1] 78 {2} +[!0&!1] 149 {3} +[0&1] 199 {5} +[!0&1] 207 {1} +State: 128 +[!0&1] 30 {1} +[0&!1] 95 {3} +[0&1] 114 {5} +[!0&!1] 241 {5} +State: 129 +[0&!1] 54 {1} +[!0&1] 87 {5} +[!0&!1] 169 {4} +[0&1] 223 {4} +State: 130 +[!0&1] 52 {0} +[!0&!1] 53 {5} +[0&1] 111 {2} +[0&!1] 223 {5} +State: 131 +[!0&1] 62 {3} +[0&1] 110 {5} +[!0&!1] 178 {5} +[0&!1] 245 {5} +State: 132 +[!0&!1] 59 {1} +[0&!1] 66 {4} +[0&1] 205 {3} +[!0&1] 252 {5} +State: 133 +[!0&1] 11 {0} +[0&!1] 16 {4} +[!0&!1] 21 {1} +[0&1] 188 {5} +State: 134 +[0&1] 10 {2} +[!0&!1] 96 {5} +[!0&1] 97 {3} +[0&!1] 184 {5} +State: 135 +[!0&!1] 63 {5} +[!0&1] 118 {2} +[0&!1] 238 {2} +[0&1] 247 {4} +State: 136 +[!0&!1] 7 {1} +[0&!1] 132 {5} +[!0&1] 141 {5} +[0&1] 153 {5} +State: 137 +[!0&1] 29 {1} +[0&1] 40 {2} +[!0&!1] 174 {5} +[0&!1] 241 {5} +State: 138 +[!0&1] 74 {5} +[0&1] 82 {5} +[0&!1] 89 {5} +[!0&!1] 94 {5} +State: 139 +[!0&!1] 2 {3} +[0&1] 86 {3} +[!0&1] 95 {1} +[0&!1] 230 {3} +State: 140 +[!0&!1] 35 {3} +[0&1] 162 {5} +[!0&1] 171 {5} +[0&!1] 216 {2} +State: 141 +[0&!1] 47 {5} +[!0&!1] 51 {5} +[!0&1] 55 {2} +[0&1] 111 {5} +State: 142 +[!0&!1] 160 {5} +[0&!1] 206 {5} +[!0&1] 229 {5} +[0&1] 250 {5} +State: 143 +[!0&!1] 11 {5} +[0&1] 38 {5} +[!0&1] 128 {3} +[0&!1] 244 {3} +State: 144 +[!0&1] 39 {4} +[0&1] 78 {5} +[!0&!1] 145 {5} +[0&!1] 219 {0} +State: 145 +[0&!1] 12 {0} +[!0&1] 25 {0} +[!0&!1] 26 {3} +[0&1] 92 {4} +State: 146 +[!0&!1] 47 {1} +[0&1] 115 {5} +[0&!1] 202 {5} +[!0&1] 213 {3} +State: 147 +[!0&1] 1 {0} +[0&1] 81 {3} +[!0&!1] 230 {4} +[0&!1] 237 {5} +State: 148 +[!0&!1] 51 {1} +[0&1] 137 {3} +[0&!1] 192 {3} +[!0&1] 247 {3} +State: 149 +[0&!1] 26 {2} +[!0&!1] 74 {5} +[0&1] 86 {5} +[!0&1] 99 {4} +State: 150 +[!0&!1] 12 {5} +[0&!1] 131 {3} +[!0&1] 175 {0} +[0&1] 229 {4} +State: 151 +[0&!1] 98 {5} +[!0&1] 99 {5} +[0&1] 118 {0} +[!0&!1] 158 {1} +State: 152 +[0&1] 54 {5} +[!0&1] 160 {5} +[!0&!1] 165 {5} +[0&!1] 226 {5} +State: 153 +[!0&1] 9 {5} +[0&1] 94 {1} +[0&!1] 193 {2} +[!0&!1] 204 {1} +State: 154 +[0&!1] 40 {2} +[0&1] 96 {3} +[!0&!1] 183 {5} +[!0&1] 231 {4} +State: 155 +[0&!1] 10 {2} +[0&1] 78 {0} +[!0&!1] 97 {5} +[!0&1] 217 {5} +State: 156 +[0&!1] 74 {1} +[!0&!1] 202 {5} +[0&1] 222 {0} +[!0&1] 229 {3} +State: 157 +[0&!1] 22 {1} +[!0&!1] 48 {5} +[0&1] 111 {2} +[!0&1] 162 {1} +State: 158 +[!0&1] 87 {3} +[0&1] 107 {1} +[!0&!1] 195 {5} +[0&!1] 219 {0} +State: 159 +[!0&!1] 37 {5} +[0&!1] 108 {4} +[!0&1] 116 {3} +[0&1] 233 {2} +State: 160 +[!0&1] 37 {5} +[!0&!1] 50 {5} +[0&!1] 184 {0} +[0&1] 255 {0} +State: 161 +[0&1] 20 {4} +[0&!1] 64 {5} +[!0&!1] 173 {5} +[!0&1] 221 {3} +State: 162 +[0&1] 77 {4} +[!0&1] 140 {2} +[0&!1] 165 {2} +[!0&!1] 231 {2} +State: 163 +[!0&!1] 103 {0} +[0&!1] 137 {1} +[0&1] 145 {5} +[!0&1] 165 {1} +State: 164 +[0&!1] 11 {5} +[!0&1] 106 {4} +[!0&!1] 160 {0} +[0&1] 185 {5} +State: 165 +[0&1] 8 {5} +[0&!1] 131 {4} +[!0&!1] 240 {4} +[!0&1] 241 {2} +State: 166 +[0&!1] 25 {5} +[!0&!1] 49 {5} +[!0&1] 81 {2} +[0&1] 117 {2} +State: 167 +[!0&1] 148 {3} +[0&!1] 162 {0} +[!0&!1] 180 {1} +[0&1] 215 {2} +State: 168 +[!0&1] 82 {5} +[!0&!1] 91 {4} +[0&!1] 98 {3} +[0&1] 184 {5} +State: 169 +[!0&!1] 12 {0} +[0&!1] 51 {1} +[0&1] 87 {2} +[!0&1] 208 {4} +State: 170 +[0&!1] 114 {5} +[!0&1] 138 {0} +[0&1] 181 {5} +[!0&!1] 224 {5} +State: 171 +[0&1] 14 {0} +[!0&1] 148 {5} +[!0&!1] 194 {5} +[0&!1] 216 {1} +State: 172 +[0&1] 83 {3} +[!0&1] 138 {0} +[!0&!1] 188 {5} +[0&!1] 198 {1} +State: 173 +[0&!1] 99 {3} +[!0&!1] 150 {1} +[0&1] 234 {0} +[!0&1] 242 {5} +State: 174 +[!0&1] 14 {5} +[0&1] 66 {5} +[0&!1] 126 {2} +[!0&!1] 250 {3} +State: 175 +[!0&!1] 74 {5} +[0&!1] 100 {0} +[0&1] 161 {5} +[!0&1] 172 {5} +State: 176 +[0&1] 89 {0} +[!0&!1] 173 {4} +[0&!1] 249 {5} +[!0&1] 255 {2} +State: 177 +[0&1] 94 {5} +[0&!1] 123 {4} +[!0&1] 136 {1} +[!0&!1] 218 {2} +State: 178 +[!0&1] 8 {5} +[0&!1] 51 {5} +[0&1] 56 {1} +[!0&!1] 139 {0} +State: 179 +[0&!1] 133 {5} +[!0&!1] 176 {5} +[!0&1] 210 {5} +[0&1] 221 {5} +State: 180 +[0&1] 64 {5} +[!0&!1] 133 {1} +[!0&1] 137 {5} +[0&!1] 164 {0} +State: 181 +[0&1] 95 {5} +[!0&1] 146 {5} +[0&!1] 161 {1} +[!0&!1] 195 {4} +State: 182 +[0&1] 1 {5} +[!0&!1] 9 {0} +[0&!1] 115 {5} +[!0&1] 165 {5} +State: 183 +[!0&1] 53 {2} +[!0&!1] 72 {0} +[0&!1] 168 {5} +[0&1] 180 {1} +State: 184 +[!0&!1] 57 {4} +[0&1] 108 {5} +[0&!1] 163 {5} +[!0&1] 253 {5} +State: 185 +[!0&!1] 7 {1} +[0&!1] 8 {5} +[!0&1] 17 {4} +[0&1] 249 {3} +State: 186 +[!0&!1] 115 {5} +[!0&1] 176 {0} +[0&1] 177 {2} +[0&!1] 242 {0} +State: 187 +[!0&!1] 67 {5} +[0&1] 113 {3} +[!0&1] 116 {2} +[0&!1] 164 {4} +State: 188 +[!0&!1] 47 {1} +[0&1] 62 {2} +[0&!1] 65 {2} +[!0&1] 216 {4} +State: 189 +[0&!1] 61 {5} +[0&1] 129 {5} +[!0&!1] 133 {5} +[!0&1] 141 {5} +State: 190 +[0&1] 6 {3} +[0&!1] 27 {5} +[!0&!1] 80 {3} +[!0&1] 195 {5} +State: 191 +[0&!1] 6 {5} +[!0&1] 18 {5} +[!0&!1] 106 {5} +[0&1] 248 {5} +State: 192 +[0&!1] 109 {1} +[!0&1] 110 {2} +[!0&!1] 133 {5} +[0&1] 179 {3} +State: 193 +[0&!1] 16 {0} +[0&1] 190 {2} +[!0&!1] 208 {0} +[!0&1] 236 {5} +State: 194 +[0&!1] 70 {5} +[0&1] 154 {4} +[!0&1] 162 {0} +[!0&!1] 176 {3} +State: 195 +[!0&1] 37 {1} +[0&!1] 50 {5} +[0&1] 122 {5} +[!0&!1] 144 {0} +State: 196 +[!0&!1] 96 {5} +[!0&1] 97 {4} +[0&!1] 199 {5} +[0&1] 255 {3} +State: 197 +[!0&1] 168 {5} +[0&!1] 177 {5} +[0&1] 193 {5} +[!0&!1] 235 {2} +State: 198 +[0&1] 118 {5} +[0&!1] 128 {0} +[!0&!1] 233 {1} +[!0&1] 254 {5} +State: 199 +[!0&!1] 123 {1} +[!0&1] 131 {2} +[0&!1] 159 {5} +[0&1] 255 {5} +State: 200 +[0&!1] 46 {4} +[0&1] 116 {5} +[!0&!1] 120 {1} +[!0&1] 230 {3} +State: 201 +[!0&!1] 28 {1} +[!0&1] 35 {5} +[0&1] 152 {5} +[0&!1] 193 {5} +State: 202 +[!0&1] 64 {5} +[!0&!1] 113 {0} +[0&1] 166 {3} +[0&!1] 211 {5} +State: 203 +[!0&!1] 9 {5} +[!0&1] 13 {5} +[0&1] 121 {5} +[0&!1] 149 {5} +State: 204 +[!0&1] 52 {5} +[0&!1] 113 {2} +[0&1] 184 {5} +[!0&!1] 192 {0} +State: 205 +[!0&1] 16 {2} +[!0&!1] 126 {5} +[0&!1] 209 {1} +[0&1] 243 {0} +State: 206 +[0&!1] 25 {1} +[0&1] 127 {1} +[!0&!1] 128 {0} +[!0&1] 195 {2} +State: 207 +[0&!1] 66 {5} +[0&1] 144 {5} +[!0&!1] 189 {3} +[!0&1] 240 {4} +State: 208 +[!0&!1] 36 {3} +[0&1] 55 {5} +[0&!1] 85 {2} +[!0&1] 204 {3} +State: 209 +[0&!1] 29 {1} +[0&1] 91 {5} +[!0&1] 139 {3} +[!0&!1] 142 {2} +State: 210 +[0&!1] 3 {4} +[!0&1] 172 {5} +[!0&!1] 200 {4} +[0&1] 202 {1} +State: 211 +[!0&1] 22 {3} +[0&1] 66 {5} +[!0&!1] 135 {5} +[0&!1] 148 {0} +State: 212 +[!0&1] 70 {1} +[!0&!1] 81 {1} +[0&1] 113 {3} +[0&!1] 230 {3} +State: 213 +[0&!1] 12 {0} +[0&1] 42 {5} +[!0&1] 107 {4} +[!0&!1] 205 {5} +State: 214 +[0&!1] 54 {1} +[!0&!1] 138 {1} +[0&1] 153 {1} +[!0&1] 242 {5} +State: 215 +[!0&1] 40 {2} +[0&1] 121 {5} +[!0&!1] 209 {5} +[0&!1] 248 {4} +State: 216 +[0&1] 16 {4} +[!0&!1] 86 {0} +[!0&1] 100 {5} +[0&!1] 214 {2} +State: 217 +[0&1] 60 {3} +[!0&!1] 117 {5} +[0&!1] 198 {3} +[!0&1] 211 {5} +State: 218 +[0&1] 33 {3} +[!0&!1] 73 {3} +[!0&1] 164 {2} +[0&!1] 221 {1} +State: 219 +[0&!1] 54 {4} +[!0&1] 75 {5} +[!0&!1] 95 {4} +[0&1] 144 {5} +State: 220 +[0&1] 108 {2} +[!0&1] 159 {5} +[!0&!1] 223 {1} +[0&!1] 237 {0} +State: 221 +[!0&1] 24 {0} +[!0&!1] 34 {5} +[0&1] 127 {1} +[0&!1] 243 {4} +State: 222 +[0&1] 5 {5} +[!0&1] 105 {5} +[0&!1] 199 {5} +[!0&!1] 220 {5} +State: 223 +[0&!1] 196 {5} +[0&1] 207 {5} +[!0&!1] 213 {2} +[!0&1] 231 {4} +State: 224 +[!0&!1] 80 {5} +[0&1] 139 {5} +[!0&1] 218 {3} +[0&!1] 227 {5} +State: 225 +[0&!1] 40 {2} +[!0&1] 44 {4} +[0&1] 214 {4} +[!0&!1] 217 {0} +State: 226 +[0&!1] 146 {5} +[!0&!1] 149 {5} +[0&1] 202 {5} +[!0&1] 223 {5} +State: 227 +[!0&!1] 39 {5} +[0&!1] 198 {5} +[!0&1] 217 {4} +[0&1] 232 {5} +State: 228 +[0&!1] 33 {1} +[!0&1] 108 {0} +[!0&!1] 165 {0} +[0&1] 168 {5} +State: 229 +[0&!1] 131 {5} +[!0&1] 137 {0} +[0&1] 230 {3} +[!0&!1] 245 {5} +State: 230 +[!0&!1] 69 {2} +[!0&1] 134 {5} +[0&1] 162 {5} +[0&!1] 240 {0} +State: 231 +[0&!1] 45 {2} +[!0&1] 171 {5} +[!0&!1] 178 {0} +[0&1] 221 {5} +State: 232 +[0&1] 7 {5} +[!0&!1] 69 {5} +[!0&1] 118 {4} +[0&!1] 140 {2} +State: 233 +[!0&1] 36 {4} +[!0&!1] 127 {2} +[0&!1] 130 {3} +[0&1] 196 {5} +State: 234 +[0&1] 84 {5} +[!0&1] 130 {0} +[!0&!1] 143 {1} +[0&!1] 205 {2} +State: 235 +[!0&!1] 21 {5} +[!0&1] 104 {1} +[0&1] 161 {5} +[0&!1] 168 {5} +State: 236 +[!0&1] 90 {0} +[0&!1] 172 {0} +[0&1] 184 {0} +[!0&!1] 188 {2} +State: 237 +[!0&1] 49 {5} +[0&!1] 51 {3} +[!0&!1] 67 {2} +[0&1] 88 {2} +State: 238 +[0&!1] 93 {5} +[!0&!1] 122 {5} +[0&1] 203 {5} +[!0&1] 223 {0} +State: 239 +[!0&1] 64 {1} +[0&!1] 83 {5} +[0&1] 143 {0} +[!0&!1] 160 {5} +State: 240 +[!0&1] 93 {5} +[0&1] 98 {1} +[0&!1] 103 {5} +[!0&!1] 207 {5} +State: 241 +[!0&1] 19 {1} +[0&1] 129 {3} +[0&!1] 163 {0} +[!0&!1] 200 {2} +State: 242 +[!0&!1] 31 {5} +[0&1] 134 {5} +[!0&1] 162 {4} +[0&!1] 235 {1} +State: 243 +[!0&1] 25 {5} +[0&!1] 195 {5} +[0&1] 244 {0} +[!0&!1] 249 {4} +State: 244 +[!0&!1] 71 {0} +[0&!1] 114 {3} +[0&1] 181 {0} +[!0&1] 246 {0} +State: 245 +[0&1] 34 {4} +[0&!1] 35 {3} +[!0&1] 124 {2} +[!0&!1] 237 {2} +State: 246 +[0&!1] 154 {5} +[!0&1] 165 {5} +[!0&!1] 225 {1} +[0&1] 230 {5} +State: 247 +[0&1] 42 {5} +[0&!1] 73 {5} +[!0&!1] 133 {1} +[!0&1] 176 {5} +State: 248 +[!0&1] 72 {1} +[0&1] 116 {3} +[!0&!1] 217 {4} +[0&!1] 252 {1} +State: 249 +[!0&1] 0 {5} +[0&1] 54 {3} +[!0&!1] 70 {5} +[0&!1] 216 {5} +State: 250 +[0&!1] 0 {0} +[!0&1] 17 {5} +[0&1] 145 {3} +[!0&!1] 180 {3} +State: 251 +[0&!1] 72 {1} +[!0&1] 89 {2} +[0&1] 111 {5} +[!0&!1] 145 {3} +State: 252 +[0&!1] 16 {0} +[0&1] 117 {1} +[!0&1] 231 {1} +[!0&!1] 255 {5} +State: 253 +[!0&1] 70 {3} +[!0&!1] 73 {5} +[0&1] 168 {2} +[0&!1] 212 {5} +State: 254 +[!0&1] 20 {2} +[0&1] 46 {1} +[0&!1] 203 {0} +[!0&!1] 229 {0} +State: 255 +[!0&!1] 137 {5} +[0&1] 152 {1} +[0&!1] 215 {1} +[!0&1] 235 {2} +--END-- diff --git a/hoa/bench/random/n64-a2-p4-s1.hoa b/hoa/bench/random/n64-a2-p4-s1.hoa new file mode 100644 index 0000000..8a82372 --- /dev/null +++ b/hoa/bench/random/n64-a2-p4-s1.hoa @@ -0,0 +1,331 @@ +HOA: v1 +name: "random-n64-a2-p4-s1" +States: 64 +Start: 0 +AP: 2 "p0" "p1" +acc-name: parity min even 4 +Acceptance: 4 Inf(0) | (Fin(1) & (Inf(2) | Fin(3))) +properties: trans-labels explicit-labels trans-acc colored complete +properties: deterministic +--BODY-- +State: 0 +[0&1] 8 {0} +[!0&1] 14 {0} +[!0&!1] 24 {0} +[0&!1] 62 {1} +State: 1 +[!0&1] 1 {1} +[!0&!1] 22 {3} +[0&!1] 41 {0} +[0&1] 63 {1} +State: 2 +[0&1] 4 {0} +[!0&!1] 28 {3} +[0&!1] 29 {1} +[!0&1] 55 {1} +State: 3 +[0&!1] 12 {2} +[0&1] 31 {3} +[!0&1] 50 {3} +[!0&!1] 63 {1} +State: 4 +[!0&!1] 24 {0} +[!0&1] 53 {3} +[0&1] 56 {0} +[0&!1] 63 {1} +State: 5 +[!0&1] 3 {0} +[0&!1] 17 {0} +[!0&!1] 40 {3} +[0&1] 62 {0} +State: 6 +[0&!1] 3 {3} +[!0&!1] 10 {3} +[0&1] 25 {0} +[!0&1] 53 {3} +State: 7 +[0&1] 10 {3} +[0&!1] 21 {1} +[!0&1] 58 {0} +[!0&!1] 59 {3} +State: 8 +[0&1] 19 {1} +[0&!1] 31 {2} +[!0&1] 53 {3} +[!0&!1] 59 {1} +State: 9 +[0&1] 39 {2} +[0&!1] 48 {3} +[!0&1] 56 {0} +[!0&!1] 57 {3} +State: 10 +[0&!1] 6 {0} +[0&1] 6 {0} +[!0&!1] 11 {0} +[!0&1] 11 {0} +State: 11 +[!0&!1] 5 {3} +[0&!1] 10 {0} +[!0&1] 13 {3} +[0&1] 32 {2} +State: 12 +[0&1] 2 {0} +[!0&!1] 18 {2} +[!0&1] 24 {3} +[0&!1] 39 {3} +State: 13 +[!0&!1] 30 {2} +[0&!1] 36 {3} +[0&1] 50 {0} +[!0&1] 62 {3} +State: 14 +[0&1] 26 {3} +[0&!1] 28 {1} +[!0&1] 34 {0} +[!0&!1] 57 {3} +State: 15 +[!0&1] 20 {1} +[0&!1] 24 {3} +[0&1] 45 {2} +[!0&!1] 60 {0} +State: 16 +[0&1] 26 {2} +[!0&!1] 31 {2} +[!0&1] 47 {0} +[0&!1] 59 {1} +State: 17 +[0&!1] 12 {2} +[!0&1] 16 {2} +[!0&!1] 61 {2} +[0&1] 63 {0} +State: 18 +[!0&1] 1 {3} +[!0&!1] 18 {2} +[0&!1] 27 {0} +[0&1] 33 {3} +State: 19 +[!0&1] 5 {1} +[!0&!1] 24 {2} +[0&!1] 45 {3} +[0&1] 50 {3} +State: 20 +[0&1] 7 {3} +[0&!1] 10 {3} +[!0&!1] 19 {2} +[!0&1] 31 {0} +State: 21 +[!0&!1] 0 {3} +[0&!1] 2 {2} +[!0&1] 28 {1} +[0&1] 30 {2} +State: 22 +[!0&!1] 21 {3} +[0&1] 44 {3} +[!0&1] 46 {1} +[0&!1] 50 {3} +State: 23 +[0&!1] 9 {2} +[!0&!1] 35 {1} +[0&1] 49 {0} +[!0&1] 50 {3} +State: 24 +[!0&!1] 1 {0} +[0&!1] 8 {2} +[!0&1] 23 {1} +[0&1] 33 {1} +State: 25 +[0&!1] 16 {3} +[0&1] 31 {3} +[!0&!1] 42 {3} +[!0&1] 53 {3} +State: 26 +[0&!1] 2 {0} +[!0&!1] 11 {3} +[!0&1] 19 {2} +[0&1] 21 {0} +State: 27 +[!0&!1] 0 {0} +[!0&1] 29 {0} +[0&!1] 49 {0} +[0&1] 51 {0} +State: 28 +[0&!1] 20 {2} +[0&1] 28 {3} +[!0&1] 40 {0} +[!0&!1] 55 {0} +State: 29 +[!0&!1] 54 {1} +[!0&1] 54 {1} +[0&!1] 61 {0} +[0&1] 61 {0} +State: 30 +[!0&1] 8 {2} +[0&!1] 13 {3} +[0&1] 27 {3} +[!0&!1] 43 {1} +State: 31 +[!0&!1] 0 {1} +[!0&1] 9 {2} +[0&1] 30 {0} +[0&!1] 37 {1} +State: 32 +[0&!1] 4 {1} +[0&1] 15 {3} +[!0&!1] 40 {3} +[!0&1] 49 {0} +State: 33 +[0&1] 9 {3} +[0&!1] 43 {3} +[!0&1] 50 {0} +[!0&!1] 52 {0} +State: 34 +[!0&!1] 1 {3} +[0&!1] 17 {3} +[!0&1] 38 {3} +[0&1] 55 {3} +State: 35 +[0&1] 0 {3} +[0&!1] 3 {3} +[!0&!1] 26 {3} +[!0&1] 57 {3} +State: 36 +[0&1] 11 {0} +[!0&!1] 42 {0} +[0&!1] 46 {0} +[!0&1] 50 {3} +State: 37 +[!0&!1] 22 {3} +[!0&1] 22 {3} +[0&!1] 42 {3} +[0&1] 42 {3} +State: 38 +[0&!1] 10 {0} +[0&1] 10 {0} +[!0&!1] 12 {1} +[!0&1] 12 {1} +State: 39 +[!0&!1] 6 {3} +[0&!1] 26 {3} +[0&1] 29 {1} +[!0&1] 31 {2} +State: 40 +[0&!1] 7 {1} +[0&1] 23 {3} +[!0&!1] 46 {3} +[!0&1] 62 {1} +State: 41 +[0&1] 7 {0} +[!0&!1] 15 {3} +[0&!1] 19 {3} +[!0&1] 52 {3} +State: 42 +[0&!1] 21 {2} +[0&1] 36 {3} +[!0&!1] 43 {0} +[!0&1] 61 {2} +State: 43 +[0&!1] 0 {3} +[0&1] 0 {3} +[!0&!1] 16 {1} +[!0&1] 24 {0} +State: 44 +[0&1] 16 {1} +[!0&1] 31 {0} +[0&!1] 38 {0} +[!0&!1] 51 {0} +State: 45 +[0&!1] 8 {2} +[0&1] 37 {2} +[!0&1] 39 {0} +[!0&!1] 40 {0} +State: 46 +[0&!1] 3 {1} +[0&1] 4 {0} +[!0&!1] 28 {1} +[!0&1] 29 {1} +State: 47 +[!0&!1] 9 {0} +[!0&1] 20 {2} +[0&!1] 37 {2} +[0&1] 49 {0} +State: 48 +[0&!1] 26 {0} +[!0&!1] 33 {0} +[0&1] 40 {1} +[!0&1] 51 {0} +State: 49 +[!0&!1] 5 {3} +[!0&1] 9 {3} +[0&!1] 23 {0} +[0&1] 32 {3} +State: 50 +[!0&!1] 7 {0} +[0&!1] 31 {0} +[!0&1] 38 {1} +[0&1] 51 {0} +State: 51 +[!0&!1] 28 {0} +[!0&1] 31 {3} +[0&!1] 39 {3} +[0&1] 57 {3} +State: 52 +[!0&1] 11 {3} +[!0&!1] 38 {3} +[0&!1] 41 {2} +[0&1] 41 {2} +State: 53 +[0&!1] 0 {3} +[!0&1] 27 {3} +[!0&!1] 43 {1} +[0&1] 62 {0} +State: 54 +[0&1] 37 {0} +[!0&1] 38 {3} +[0&!1] 43 {0} +[!0&!1] 46 {1} +State: 55 +[0&!1] 2 {3} +[!0&!1] 8 {0} +[!0&1] 23 {0} +[0&1] 59 {1} +State: 56 +[!0&1] 19 {0} +[0&1] 20 {3} +[!0&!1] 27 {3} +[0&!1] 44 {0} +State: 57 +[!0&!1] 13 {3} +[0&!1] 20 {0} +[0&1] 38 {3} +[!0&1] 52 {0} +State: 58 +[0&1] 14 {0} +[!0&1] 30 {3} +[!0&!1] 49 {3} +[0&!1] 60 {3} +State: 59 +[!0&!1] 3 {3} +[0&!1] 19 {0} +[0&1] 38 {3} +[!0&1] 59 {3} +State: 60 +[!0&!1] 7 {3} +[!0&1] 15 {0} +[0&1] 29 {3} +[0&!1] 63 {3} +State: 61 +[0&1] 22 {3} +[!0&1] 46 {3} +[!0&!1] 50 {1} +[0&!1] 53 {1} +State: 62 +[!0&!1] 12 {0} +[0&1] 17 {3} +[0&!1] 22 {1} +[!0&1] 47 {3} +State: 63 +[0&!1] 8 {3} +[!0&1] 14 {3} +[!0&!1] 22 {3} +[0&1] 31 {3} +--END-- diff --git a/hoa/bench/spot/buchi-gf-equiv-2.hoa b/hoa/bench/spot/buchi-gf-equiv-2.hoa new file mode 100644 index 0000000..9b50ba5 --- /dev/null +++ b/hoa/bench/spot/buchi-gf-equiv-2.hoa @@ -0,0 +1,40 @@ +HOA: v1 +name: "G(Fa1 & Fa2 & Fz) | (FG!z & F(G!a1 | G!a2))" +States: 8 +Start: 0 +AP: 3 "a1" "a2" "z" +acc-name: Buchi +Acceptance: 1 Inf(0) +properties: trans-labels explicit-labels trans-acc stutter-invariant +--BODY-- +State: 0 +[t] 1 +[t] 2 +[!0&!2] 3 +[!1&!2] 4 +State: 1 +[0&1&2] 1 {0} +[!2] 5 {0} +[!1&2] 6 {0} +[!0&1&2] 7 {0} +State: 2 +[t] 2 +[!0&!2] 3 +[!1&!2] 4 +State: 3 +[!0&!2] 3 {0} +State: 4 +[!1&!2] 4 {0} +State: 5 +[0&1&2] 1 +[!2] 5 +[!1&2] 6 +[!0&1&2] 7 +State: 6 +[0&1] 1 +[!1] 6 +[!0&1] 7 +State: 7 +[0] 1 +[!0] 7 +--END-- diff --git a/hoa/bench/spot/buchi-state-ms-3.hoa b/hoa/bench/spot/buchi-state-ms-3.hoa new file mode 100644 index 0000000..79ff480 --- /dev/null +++ b/hoa/bench/spot/buchi-state-ms-3.hoa @@ -0,0 +1,80 @@ +HOA: v1 +name: "F(Ga3 | GFb3) & (G(FGa2 & Fb2) | G(FGa0 & Fb0 & F(Ga1 | GFb1)))" +States: 18 +Start: 0 +AP: 8 "a3" "b3" "a2" "b2" "a0" "b0" "a1" "b1" +acc-name: Buchi +Acceptance: 1 Inf(0) +properties: trans-labels explicit-labels state-acc stutter-invariant +--BODY-- +State: 0 +[t] 0 +[1&4 | 4&5 | 4&7] 1 +[4&6] 2 +[2] 3 +[0&4] 4 +[0&4&6] 5 +[0&2] 6 +State: 1 {0} +[1&4&5&7] 1 +[4&!7] 7 +[4&!5&7] 8 +[!1&4&5&7] 9 +State: 2 {0} +[1&4&5&6] 2 +[4&!5&6] 10 +[!1&4&5&6] 11 +State: 3 {0} +[1&2&3] 3 +[2&!3] 12 +[!1&2&3] 13 +State: 4 {0} +[0&4&5&7] 4 +[0&4&!7] 14 +[0&4&!5&7] 15 +State: 5 {0} +[0&4&5&6] 5 +[0&4&!5&6] 16 +State: 6 {0} +[0&2&3] 6 +[0&2&!3] 17 +State: 7 +[1&4&5&7] 1 +[4&!7] 7 +[4&!5&7] 8 +[!1&4&5&7] 9 +State: 8 +[1&4&5] 1 +[4&!5] 8 +[!1&4&5] 9 +State: 9 +[1&4] 1 +[!1&4] 9 +State: 10 +[1&4&5&6] 2 +[4&!5&6] 10 +[!1&4&5&6] 11 +State: 11 +[1&4&6] 2 +[!1&4&6] 11 +State: 12 +[1&2&3] 3 +[2&!3] 12 +[!1&2&3] 13 +State: 13 +[1&2] 3 +[!1&2] 13 +State: 14 +[0&4&5&7] 4 +[0&4&!7] 14 +[0&4&!5&7] 15 +State: 15 +[0&4&5] 4 +[0&4&!5] 15 +State: 16 +[0&4&5&6] 5 +[0&4&!5&6] 16 +State: 17 +[0&2&3] 6 +[0&2&!3] 17 +--END-- diff --git a/hoa/bench/spot/gen-gh-q-2.hoa b/hoa/bench/spot/gen-gh-q-2.hoa new file mode 100644 index 0000000..16b6722 --- /dev/null +++ b/hoa/bench/spot/gen-gh-q-2.hoa @@ -0,0 +1,46 @@ +HOA: v1 +name: "(Fp1 | Gp2) & (Fp2 | Gp3)" +States: 8 +Start: 3 +AP: 3 "p1" "p2" "p3" +acc-name: Buchi +Acceptance: 1 Inf(0) +properties: trans-labels explicit-labels trans-acc complete +properties: deterministic stutter-invariant very-weak +--BODY-- +State: 0 +[t] 0 {0} +State: 1 +[0] 0 {0} +[!0&1] 1 {0} +[!0&!1] 7 {0} +State: 2 +[1] 0 {0} +[!1&2] 2 {0} +[!1&!2] 4 {0} +State: 3 +[0&1] 0 +[!0&1] 1 +[0&!1&2] 2 +[0&!1&!2] 4 +[!0&!1&!2] 5 +[!0&!1&2] 6 +State: 4 +[1] 0 +[!1] 4 +State: 5 +[0&1] 0 +[0&!1] 4 +[!0&!1] 5 +[!0&1] 7 +State: 6 +[0&1] 0 +[0&!1&2] 2 +[0&!1&!2] 4 +[!0&!1&!2] 5 +[!0&!1&2] 6 +[!0&1] 7 +State: 7 +[0] 0 +[!0] 7 +--END-- diff --git a/hoa/bench/spot/genbuchi-n60-a2.hoa b/hoa/bench/spot/genbuchi-n60-a2.hoa new file mode 100644 index 0000000..4b8c597 --- /dev/null +++ b/hoa/bench/spot/genbuchi-n60-a2.hoa @@ -0,0 +1,827 @@ +HOA: v1 +States: 60 +Start: 0 +AP: 2 "p0" "p1" +acc-name: generalized-Buchi 3 +Acceptance: 3 Inf(0)&Inf(1)&Inf(2) +properties: trans-labels explicit-labels trans-acc +--BODY-- +State: 0 +[0&!1] 26 +[!0&1] 51 {1} +[0&!1] 24 {0} +[!0&1] 35 {0} +[0&!1] 33 +[0&!1] 15 {2} +[0&!1] 17 {0} +[0&1] 8 {1} +[!0&1] 49 +[!0&1] 1 {0 1} +State: 1 +[0&!1] 34 {0} +[!0&!1] 10 {1} +[!0&!1] 56 +[0&!1] 6 {1} +[!0&1] 53 {0 2} +[0&!1] 3 {0} +[!0&!1] 12 +[!0&!1] 19 +[!0&1] 54 +[0&!1] 37 {1} +[!0&!1] 26 {2} +[!0&1] 27 {2} +[!0&!1] 7 +State: 2 +[0&1] 50 +[0&1] 42 +[0&!1] 32 {1} +[0&1] 2 {2} +[0&1] 34 {1 2} +[0&1] 47 +[!0&1] 52 {0} +[0&1] 8 {1} +[0&!1] 29 +[0&1] 22 {2} +State: 3 +[!0&1] 6 +[!0&1] 26 {0 1} +[!0&1] 5 +[0&!1] 29 +[0&1] 20 {2} +[0&!1] 7 {0 1} +[!0&1] 25 {0 1} +[0&!1] 48 +State: 4 +[0&!1] 10 +[0&!1] 45 +[!0&1] 6 {1} +[!0&!1] 34 {0} +[0&!1] 58 {1} +[!0&!1] 37 +[!0&1] 40 +[0&!1] 22 {1} +[0&1] 4 {0} +[!0&!1] 53 +[0&1] 26 +[0&1] 33 {0} +[0&1] 15 +State: 5 +[0&!1] 46 +[!0&!1] 14 +[0&1] 52 +[!0&1] 25 {0} +[0&1] 47 +[!0&!1] 55 {1} +[!0&!1] 27 +[0&!1] 31 +[0&!1] 23 +[0&!1] 33 {0} +[!0&!1] 48 +[0&1] 18 {2} +State: 6 +[!0&!1] 52 {1 2} +[!0&1] 37 +[0&1] 38 {2} +[!0&1] 35 {0 2} +[!0&1] 59 +[0&!1] 13 +[0&1] 34 {1} +[0&1] 3 +[!0&!1] 21 {2} +[!0&!1] 47 {0} +[!0&!1] 39 +[!0&!1] 51 +State: 7 +[!0&1] 9 {0} +[!0&!1] 28 {0 1} +[!0&1] 40 +[!0&!1] 51 +[0&!1] 35 +[0&!1] 5 {1} +[0&!1] 53 +[0&!1] 56 +[0&!1] 27 {1} +[0&!1] 54 {2} +[!0&1] 26 {2} +[0&1] 8 {0 2} +State: 8 +[0&1] 9 +[!0&!1] 18 {0} +[0&!1] 53 {1} +[0&!1] 42 +[0&1] 13 +[0&!1] 28 +[!0&!1] 23 {1 2} +[!0&1] 44 {1} +[!0&!1] 46 {1} +[!0&!1] 48 {0} +[!0&1] 8 +State: 9 +[0&!1] 0 +[0&!1] 45 +[0&!1] 18 +[!0&!1] 4 {2} +[0&!1] 12 {1} +[!0&!1] 9 {2} +[0&1] 22 {1} +[0&1] 41 +[0&1] 52 +[0&1] 32 +[0&1] 26 +[!0&!1] 23 +[0&!1] 2 +State: 10 +[0&!1] 21 +[0&!1] 12 +[!0&1] 29 +[!0&1] 13 {2} +[!0&1] 46 +[!0&!1] 16 +[0&1] 43 +[0&!1] 33 {2} +[0&1] 32 +[!0&!1] 53 +[!0&1] 1 {1 2} +[!0&!1] 34 +State: 11 +[!0&1] 3 +[0&!1] 15 +[!0&!1] 33 {2} +[0&1] 46 {1} +[!0&1] 4 +[!0&1] 24 +[0&!1] 1 {1} +[0&!1] 22 {0} +[0&1] 47 {0} +[0&1] 13 {2} +[0&1] 19 {2} +[!0&1] 25 +State: 12 +[!0&1] 5 {1} +[!0&!1] 53 +[!0&1] 48 +[0&1] 26 +[0&!1] 43 +[!0&1] 59 {2} +[0&1] 30 {1 2} +[!0&1] 8 {0} +[!0&1] 54 +[0&1] 19 {0 1} +State: 13 +[0&1] 0 +[!0&!1] 58 {0} +[!0&!1] 39 +[0&1] 42 +[0&1] 27 {0} +[0&1] 50 {1 2} +[!0&!1] 28 {0} +[!0&!1] 18 +[0&1] 19 +[!0&!1] 41 {2} +[0&1] 30 +[0&!1] 55 {2} +[!0&1] 36 +State: 14 +[!0&!1] 5 {2} +[0&1] 55 +[0&1] 48 {0 1} +[!0&1] 47 {2} +[0&!1] 44 +[0&!1] 56 +[0&!1] 36 +[0&!1] 1 {1 2} +[0&1] 16 {2} +[!0&1] 22 {0} +[!0&1] 52 +[0&1] 46 +[!0&!1] 57 +State: 15 +[0&1] 17 +[!0&!1] 11 +[0&1] 56 {0} +[!0&1] 15 +[!0&1] 52 {2} +[!0&!1] 27 {0 1} +[!0&!1] 19 +[!0&!1] 51 {0 1} +[0&!1] 8 +[0&!1] 34 {0} +[!0&!1] 13 +[0&1] 44 +[!0&1] 23 {1} +[!0&!1] 26 {1} +[!0&!1] 12 +[!0&!1] 41 +[!0&1] 37 {1} +[0&!1] 38 +State: 16 +[0&!1] 1 +[0&1] 59 +[0&!1] 4 +[!0&1] 43 {0} +[!0&!1] 46 +[0&!1] 38 +[!0&1] 57 {0 2} +[0&1] 35 {2} +[!0&1] 22 {1 2} +[0&1] 2 +[0&1] 58 {2} +[!0&1] 18 +[!0&1] 26 +[!0&1] 6 +[0&!1] 44 {0} +[0&1] 19 +[0&!1] 54 {2} +State: 17 +[0&1] 49 {0} +[0&1] 40 {0 1 2} +[0&1] 23 +[!0&!1] 13 {0 1} +State: 18 +[!0&!1] 19 {1} +[0&!1] 41 {0} +[!0&!1] 58 +[0&1] 23 {0 1} +[0&!1] 21 {0} +[!0&1] 39 {1 2} +[!0&1] 2 +[0&!1] 1 +[!0&!1] 31 +[!0&1] 28 +[0&1] 40 +[0&!1] 50 {1} +[0&!1] 10 +[!0&1] 35 {0} +[0&!1] 45 +State: 19 +[!0&!1] 35 {0 2} +[!0&1] 7 {1} +[!0&!1] 12 {2} +[!0&!1] 9 {0 2} +[0&!1] 26 {1} +[!0&1] 41 +[0&1] 8 {2} +[0&1] 3 +[0&!1] 15 +[!0&!1] 52 +[0&1] 23 {0} +[!0&!1] 24 +State: 20 +[0&!1] 31 +[0&!1] 2 +[!0&!1] 56 +[!0&1] 42 {0} +[0&!1] 58 {0 1} +[0&!1] 53 +[0&!1] 11 +[0&!1] 30 +[!0&!1] 37 {1} +[0&1] 15 {0 2} +[0&!1] 47 {0} +[0&1] 22 +State: 21 +[0&!1] 45 +[0&1] 23 +[0&1] 47 +[0&1] 3 +[!0&!1] 58 {0} +[!0&!1] 19 {2} +[0&1] 43 +[!0&!1] 8 {1 2} +[0&!1] 16 +[!0&!1] 7 +[!0&1] 18 {1} +[0&!1] 46 {0} +State: 22 +[0&!1] 17 {2} +[0&!1] 44 +[0&!1] 13 +[!0&!1] 28 {1} +[0&!1] 54 {2} +[!0&!1] 21 {0} +[!0&!1] 27 {2} +[0&1] 10 {0} +[0&!1] 2 {1} +[!0&!1] 48 +[0&1] 15 {0} +[0&1] 53 +[0&1] 23 +[0&!1] 52 {0 2} +[0&1] 20 {1} +[0&1] 35 +State: 23 +[!0&!1] 26 +[!0&!1] 7 {2} +[0&!1] 47 +[!0&1] 59 +[0&!1] 33 +[!0&!1] 49 {2} +[0&!1] 45 +[0&1] 10 {0} +[!0&!1] 0 +[!0&!1] 15 {0} +[!0&1] 22 {1} +[0&1] 19 +[0&1] 18 {2} +[0&!1] 8 {1 2} +[!0&!1] 58 {1 2} +State: 24 +[0&1] 16 +[!0&!1] 22 {0 1} +[!0&1] 11 {0 1} +[0&!1] 8 +[0&!1] 41 +[0&!1] 17 {1 2} +[!0&!1] 4 +[0&!1] 5 {2} +[!0&!1] 54 {1} +[0&!1] 30 +[0&!1] 40 +[!0&!1] 21 {2} +[!0&!1] 55 +[0&!1] 56 +State: 25 +[!0&1] 53 {1 2} +[0&1] 55 {0} +[!0&1] 28 {2} +[!0&!1] 25 {2} +[0&!1] 56 {1} +[!0&!1] 19 +[!0&1] 35 +[0&!1] 32 +[!0&1] 46 {0 1 2} +[0&!1] 20 {1} +[!0&!1] 24 {0} +[!0&1] 31 {2} +[0&!1] 18 {0 2} +State: 26 +[!0&!1] 7 +[!0&!1] 50 +[0&1] 40 {2} +[!0&1] 24 +[!0&1] 4 {0 2} +[0&!1] 43 +[!0&1] 8 {0 1} +[!0&!1] 9 {0} +[!0&!1] 20 {1} +[!0&!1] 0 +State: 27 +[0&!1] 19 {0} +[0&!1] 36 +[!0&1] 57 +[!0&!1] 5 {0} +[0&!1] 26 +[!0&!1] 34 +[!0&!1] 40 +[!0&!1] 13 +[0&1] 6 {2} +[0&1] 37 {0} +[0&!1] 28 {2} +[!0&1] 2 +[0&1] 47 {1 2} +State: 28 +[!0&!1] 11 {0} +[0&1] 8 {0 1} +[0&1] 30 +[0&!1] 28 +[0&!1] 1 {0 1} +[0&!1] 58 +[0&1] 3 {2} +[0&!1] 17 +[0&1] 35 {0 2} +[0&1] 15 {2} +[!0&!1] 21 +[!0&1] 6 {0 1} +[!0&!1] 39 {0} +State: 29 +[!0&!1] 3 +[!0&1] 38 +[0&!1] 18 +[!0&!1] 7 {1} +[!0&!1] 29 {1} +[!0&!1] 34 +[0&!1] 36 +[!0&!1] 0 +[0&1] 59 {0 1} +[!0&1] 32 {1} +[!0&!1] 53 +[0&!1] 19 {1} +[!0&1] 24 {0} +State: 30 +[!0&!1] 15 {0 1} +[0&1] 32 +[!0&!1] 25 +[0&1] 10 {2} +[!0&1] 40 {0 2} +[0&!1] 49 +[0&!1] 18 {0} +[!0&!1] 19 +[0&!1] 35 +[!0&!1] 44 {1 2} +[!0&!1] 33 {0} +[!0&!1] 39 +[0&1] 30 {0} +State: 31 +[0&1] 12 +[!0&!1] 33 {1} +[!0&1] 10 {1} +[!0&!1] 17 {1} +[0&1] 23 {2} +[!0&!1] 18 +[0&!1] 6 {0 1} +[0&1] 26 +[!0&!1] 46 +[!0&!1] 20 {1} +[!0&1] 21 {1} +[!0&!1] 29 {1} +State: 32 +[0&!1] 30 {0} +[!0&!1] 22 +[0&!1] 26 +[!0&!1] 8 {1} +[!0&!1] 4 {2} +[0&!1] 38 {0} +[0&!1] 20 {0} +[!0&!1] 57 +[0&!1] 21 +State: 33 +[!0&1] 38 +[!0&1] 14 +[0&1] 43 +[!0&1] 1 {0} +[!0&1] 19 {2} +[!0&!1] 52 +[!0&!1] 32 +[0&1] 11 {0} +[0&!1] 44 +[!0&1] 46 +[!0&1] 57 +[!0&1] 51 {0} +[0&!1] 55 +[!0&!1] 21 +[0&1] 33 {0} +[0&!1] 25 {0} +[0&1] 56 {0} +State: 34 +[!0&!1] 5 {2} +[!0&!1] 36 +[!0&1] 43 +[!0&1] 16 {0 2} +[0&1] 13 {1 2} +[!0&1] 27 +[0&!1] 47 {2} +[!0&1] 12 {0 1} +[!0&1] 11 +[0&!1] 49 {1} +[0&1] 21 +[!0&1] 31 +[!0&!1] 57 +State: 35 +[!0&!1] 15 +[0&!1] 7 +[0&1] 52 +[!0&1] 29 +[!0&!1] 36 +[!0&1] 33 {1 2} +[0&!1] 39 +[!0&1] 57 +[0&!1] 31 +[!0&1] 26 +[0&!1] 20 +[0&1] 13 {0} +[!0&!1] 32 {2} +[0&!1] 24 +[0&!1] 5 {2} +[0&!1] 22 {2} +[!0&!1] 37 +State: 36 +[0&!1] 31 +[!0&1] 13 +[0&!1] 44 +[!0&1] 7 {1} +[!0&1] 3 {0} +[!0&1] 6 +[!0&!1] 12 +[!0&!1] 33 +[!0&1] 50 {0} +[0&1] 54 +[0&1] 40 {1} +State: 37 +[!0&!1] 7 {1} +[!0&!1] 49 {1} +[0&!1] 33 +[0&!1] 17 +[!0&1] 35 {1 2} +[!0&1] 54 {0 2} +[0&!1] 21 {0} +[!0&1] 58 +[0&1] 12 {1} +[!0&1] 9 +[!0&1] 44 +[!0&!1] 37 +[!0&!1] 59 +[!0&!1] 19 {2} +State: 38 +[!0&!1] 57 {0} +[!0&1] 16 +[!0&1] 38 {1} +[0&!1] 23 +[0&!1] 8 +[!0&!1] 58 +[0&1] 18 {0} +[!0&!1] 28 {2} +[0&!1] 2 +[!0&1] 10 +[!0&!1] 44 +[0&!1] 5 {2} +[!0&!1] 49 {2} +State: 39 +[0&1] 41 +[!0&1] 51 {0 1} +[0&!1] 8 {1 2} +[!0&!1] 54 +[0&1] 47 {1} +[0&!1] 28 +[!0&!1] 2 +[!0&1] 30 +[!0&1] 38 +[!0&1] 40 {0} +[!0&!1] 3 {0 2} +[!0&!1] 56 {1} +[!0&!1] 6 +State: 40 +[0&1] 52 {2} +[0&!1] 43 {2} +[0&1] 40 {0} +[!0&!1] 4 +[0&!1] 55 {0 2} +[!0&!1] 12 +[!0&!1] 18 {1} +[!0&1] 46 +[0&!1] 19 +[!0&1] 28 +[!0&!1] 6 {1} +[0&!1] 32 +State: 41 +[!0&!1] 16 +[!0&1] 57 +[!0&!1] 7 +[!0&!1] 29 {0} +[!0&1] 37 {0} +[!0&!1] 41 +[0&1] 14 +[!0&!1] 26 +[0&!1] 17 +[0&!1] 1 +[0&!1] 24 +[!0&1] 55 +[0&!1] 13 +State: 42 +[!0&!1] 6 {2} +[!0&!1] 26 +[0&1] 45 {0 1} +[!0&!1] 44 {2} +[0&!1] 55 +[0&!1] 39 +[!0&!1] 29 {2} +[0&!1] 12 +[0&!1] 48 {0} +[0&1] 4 +[!0&1] 10 {2} +[0&!1] 2 +State: 43 +[!0&!1] 20 {0} +[!0&!1] 53 +[0&1] 42 +[!0&1] 2 +[!0&1] 56 {2} +[!0&!1] 12 +[0&!1] 33 +State: 44 +[!0&1] 8 {1} +[0&!1] 44 {1} +[0&1] 30 {0} +[!0&1] 58 +[!0&!1] 46 +[!0&1] 57 {0} +[!0&!1] 16 +[0&1] 55 +[!0&!1] 28 +[0&!1] 43 +[0&!1] 25 +State: 45 +[0&!1] 31 +[!0&1] 43 {0 1} +[0&!1] 53 +[0&1] 19 +[0&!1] 35 +[0&!1] 6 +[0&1] 48 {0} +[0&!1] 39 {0} +[!0&!1] 26 +[!0&!1] 50 {0} +[0&!1] 22 +[0&1] 57 +[0&1] 55 {1} +[0&1] 1 {0} +State: 46 +[0&!1] 17 +[0&1] 59 +[0&1] 19 +[0&1] 57 {2} +[0&!1] 53 +[0&!1] 13 {0 1 2} +[!0&!1] 23 {0} +[!0&!1] 46 +[0&1] 32 +[!0&!1] 45 +[!0&1] 4 {0} +[0&1] 40 {0 1} +State: 47 +[!0&!1] 49 +[!0&1] 42 +[0&1] 20 +[0&!1] 38 {0} +[!0&!1] 51 +[0&1] 26 +[!0&!1] 40 +[0&1] 0 {0} +[0&1] 59 {0 2} +[!0&!1] 17 +[!0&1] 43 {0} +[!0&!1] 31 +State: 48 +[0&!1] 2 +[0&1] 44 +[!0&!1] 12 {1} +[!0&!1] 46 +[0&!1] 51 {1 2} +[!0&!1] 26 +[!0&!1] 8 {1 2} +[!0&!1] 45 +[0&1] 25 {1} +[!0&1] 3 {0} +[!0&!1] 23 +[!0&1] 7 {0} +[!0&1] 32 {0 2} +[0&!1] 28 {0 2} +[!0&!1] 34 +State: 49 +[0&1] 40 +[0&1] 25 {2} +[0&!1] 37 {0 1} +[0&1] 8 +[0&!1] 59 {0} +[0&1] 45 {0 2} +[0&1] 12 {2} +[!0&1] 2 +[!0&1] 43 +[!0&!1] 21 +[0&1] 23 +[0&1] 39 +[0&!1] 27 +State: 50 +[0&1] 29 {1 2} +[!0&!1] 22 +[0&1] 24 {2} +[!0&1] 44 +[0&1] 9 +[0&1] 8 {0 2} +[!0&!1] 18 {1 2} +[0&1] 31 +[!0&1] 20 +[0&!1] 42 {1} +[0&1] 15 +[0&!1] 49 +[0&1] 39 {1 2} +State: 51 +[!0&1] 29 +[0&!1] 37 {2} +[!0&1] 17 {0} +[0&1] 51 {0} +[0&1] 43 {1} +[0&1] 24 +[0&!1] 19 +[0&!1] 1 +[!0&!1] 34 {0} +[0&!1] 11 {2} +[!0&!1] 26 {0} +State: 52 +[0&!1] 26 +[0&!1] 27 +[0&!1] 51 {2} +[0&!1] 59 {0} +[!0&1] 32 +[!0&!1] 56 +[0&!1] 54 +[0&1] 41 +[0&1] 18 +[0&!1] 46 {2} +[0&!1] 16 {2} +[0&!1] 48 {0} +[!0&!1] 29 {0} +[0&!1] 24 {0} +[!0&1] 52 +[0&1] 45 {1} +[0&!1] 13 +State: 53 +[0&1] 50 {0 2} +[0&1] 11 {0} +[0&!1] 21 +[!0&1] 23 +[0&!1] 42 +[!0&1] 35 +[!0&!1] 22 {1} +[!0&1] 30 {1} +State: 54 +[0&!1] 27 {0} +[!0&1] 44 +[!0&!1] 40 +[!0&1] 43 {1} +[!0&!1] 3 {0 1} +[0&1] 24 +[0&!1] 48 +[!0&1] 49 +[0&!1] 34 +[!0&1] 28 {1 2} +[0&1] 14 {1} +[!0&!1] 25 {1} +[!0&!1] 30 {1} +[!0&!1] 38 {1} +[!0&1] 46 {1} +State: 55 +[0&!1] 7 +[!0&!1] 57 +[0&!1] 50 {0} +[0&!1] 47 +[!0&1] 24 +[!0&!1] 19 {0 1} +[0&!1] 48 +[0&1] 35 {0 1} +[0&!1] 34 +[!0&!1] 29 +State: 56 +[!0&1] 2 +[!0&1] 45 +[0&1] 6 {2} +[0&!1] 44 +[0&1] 34 {1} +[!0&!1] 12 {0} +[0&1] 23 +[0&1] 53 +[!0&!1] 56 +[0&1] 27 {0 1} +[!0&!1] 59 +[0&!1] 58 +[0&1] 52 +[0&1] 29 {2} +State: 57 +[!0&!1] 44 +[0&!1] 16 +[0&!1] 55 {0} +[!0&!1] 46 +[0&!1] 31 {0 2} +[!0&!1] 24 +[0&1] 34 {0} +[!0&1] 38 {0} +[0&1] 45 {0 1} +[!0&!1] 50 {1} +[0&!1] 56 +[0&!1] 59 {0} +[!0&!1] 49 +[0&!1] 30 +[0&!1] 0 {0} +[0&1] 58 {0} +[!0&1] 3 {1} +State: 58 +[!0&!1] 30 {0} +[!0&1] 41 {1} +[!0&!1] 16 +[!0&1] 35 {1} +[!0&!1] 59 +[0&1] 47 +[!0&1] 25 {1} +[0&!1] 39 +[!0&1] 53 {0 1} +[0&!1] 8 +[0&!1] 55 +[0&1] 6 {0 2} +[!0&!1] 32 {2} +[!0&!1] 34 +[0&!1] 57 {1} +State: 59 +[!0&!1] 51 +[!0&!1] 27 {0} +[!0&1] 38 {0 1} +[!0&!1] 15 +[!0&!1] 52 +[!0&!1] 14 {1} +[!0&!1] 59 +[0&!1] 40 {0} +[0&1] 7 {2} +[0&1] 31 +[0&1] 36 {0 2} +[!0&1] 49 +[!0&1] 37 +[0&1] 26 +--END-- diff --git a/hoa/bench/spot/rabin-nondet-n120-a3.hoa b/hoa/bench/spot/rabin-nondet-n120-a3.hoa new file mode 100644 index 0000000..eec3a8e --- /dev/null +++ b/hoa/bench/spot/rabin-nondet-n120-a3.hoa @@ -0,0 +1,3746 @@ +HOA: v1 +States: 120 +Start: 0 +AP: 3 "p0" "p1" "p2" +acc-name: Rabin 3 +Acceptance: 6 (Fin(0) & Inf(1)) | (Fin(2) & Inf(3)) | (Fin(4) & Inf(5)) +properties: trans-labels explicit-labels trans-acc +--BODY-- +State: 0 +[0&!1&!2] 24 {5} +[0&1&!2] 82 {2 5} +[!0&!1&2] 88 +[!0&1&2] 98 +[0&1&2] 37 +[0&1&2] 92 {2 3} +[!0&1&2] 74 {3} +[0&1&!2] 23 {0} +[0&1&2] 17 {0 2 4 5} +[!0&1&!2] 12 {1 3} +[!0&1&!2] 59 {0 1} +[!0&!1&2] 89 +[0&1&!2] 90 +[0&1&!2] 84 +[!0&1&2] 20 +[0&1&!2] 100 {1} +[!0&!1&!2] 9 {3} +[0&1&2] 27 {2} +[!0&1&!2] 18 +[!0&1&!2] 3 {1 4} +[0&!1&2] 105 {0 4} +[!0&!1&!2] 118 +[0&1&2] 42 {1} +[0&1&!2] 83 {1 3 4 5} +[!0&!1&!2] 16 +[0&1&2] 67 {2} +[0&1&!2] 102 {2} +[0&!1&2] 28 {3 4} +[!0&1&2] 66 {5} +[0&!1&!2] 114 {1} +[!0&!1&!2] 71 {2} +State: 1 +[!0&1&2] 18 {1} +[!0&!1&!2] 73 +[!0&!1&2] 7 {4} +[0&!1&!2] 89 {1 4} +[0&1&2] 87 +[0&1&2] 61 {1} +[!0&1&!2] 75 +[0&!1&2] 1 {1 4 5} +[0&1&2] 38 {0} +[!0&1&!2] 66 {5} +[0&!1&2] 112 {3} +[0&!1&2] 99 {5} +[0&1&!2] 10 +[!0&!1&2] 101 +[0&1&!2] 105 +[!0&!1&2] 70 {0 5} +[!0&!1&!2] 43 {3} +[0&1&!2] 12 {0 1 2 3} +[0&!1&2] 3 {0} +[0&!1&2] 46 +[0&1&2] 76 {5} +[!0&!1&2] 29 {0} +[0&!1&2] 54 +[!0&!1&2] 57 {1} +[!0&!1&!2] 95 +[!0&1&!2] 27 {4} +[0&!1&2] 48 {1} +[0&!1&2] 96 {5} +State: 2 +[!0&!1&!2] 79 {1 3 4} +[0&!1&!2] 50 {0 1} +[!0&!1&!2] 4 +[!0&!1&2] 33 {3} +[0&!1&!2] 92 {0 1 3} +[!0&1&2] 80 +[0&!1&2] 54 {1 3 5} +[!0&!1&2] 43 {1} +[0&1&!2] 83 {5} +[!0&!1&2] 107 {4} +[0&!1&2] 55 {1} +[!0&1&!2] 34 +[0&!1&!2] 94 {1 5} +[!0&!1&2] 102 {0 2} +[!0&!1&!2] 15 {2} +[0&1&!2] 40 {4 5} +[!0&1&2] 52 {0 1 5} +[!0&1&!2] 82 {0 1 3} +[!0&1&!2] 36 +[0&!1&2] 114 {4} +[0&1&2] 14 +[!0&1&!2] 67 {2} +[0&!1&2] 38 {2} +[0&!1&2] 62 {4} +[!0&1&!2] 47 {2} +[!0&!1&!2] 61 {0 1} +[!0&!1&2] 95 {0 1 2 5} +[0&1&!2] 23 {4 5} +[!0&1&!2] 35 {5} +[!0&1&2] 77 +[0&1&!2] 29 +State: 3 +[!0&!1&2] 35 +[!0&1&2] 32 {4} +[0&!1&!2] 104 {3 4} +[0&!1&2] 88 {3 4} +[!0&1&2] 31 {3 4} +[!0&1&2] 44 +[!0&!1&!2] 41 {1 2} +[0&1&!2] 28 {2} +[0&1&!2] 0 +[!0&!1&!2] 62 {2 3} +[0&!1&2] 64 {0 2 3} +[0&1&2] 6 {0 1} +[!0&!1&2] 13 {0} +[!0&!1&!2] 49 +[!0&1&!2] 43 {3} +[0&1&2] 46 {0 5} +[!0&1&!2] 24 +[!0&1&!2] 16 {0 1 5} +[!0&!1&!2] 2 {0} +[0&!1&2] 74 {1 2} +[0&1&2] 20 {4} +[0&!1&2] 91 +[0&!1&!2] 40 +[0&1&2] 55 {5} +[!0&!1&!2] 86 {1 5} +[0&!1&2] 57 {2 4} +[0&!1&2] 109 {2} +[!0&1&2] 53 {2} +[!0&!1&2] 38 +[0&1&2] 12 {3} +[0&1&!2] 4 {1 5} +[0&1&2] 19 {0 2} +[0&!1&2] 23 {0} +State: 4 +[0&!1&!2] 77 {0 2} +[!0&1&!2] 53 +[!0&!1&2] 18 {2 5} +[!0&1&!2] 76 +[0&1&!2] 102 +[!0&1&2] 100 {2} +[0&1&2] 116 {1 5} +[0&1&2] 12 +[0&!1&!2] 55 {0 1} +[!0&!1&2] 40 {1 2} +[0&!1&2] 93 {2 3} +[0&!1&2] 71 {0} +[!0&1&!2] 60 {1 4} +[!0&!1&2] 27 {0 4} +[0&!1&!2] 84 +[0&1&!2] 92 {1 4 5} +[!0&!1&!2] 96 +[!0&!1&!2] 61 {3} +[0&1&!2] 101 {0 4} +[0&!1&!2] 57 +[!0&!1&2] 88 {4} +[0&!1&2] 54 {5} +[0&!1&!2] 34 +[0&!1&2] 106 {0} +[0&!1&!2] 85 +[!0&!1&2] 105 +[0&1&2] 119 {2} +[!0&1&!2] 89 +State: 5 +[!0&1&!2] 29 {0 2} +[!0&1&2] 84 {3} +[!0&!1&!2] 70 {0} +[0&!1&!2] 22 {0} +[0&!1&!2] 3 +[!0&1&2] 26 {1 2 5} +[!0&!1&2] 21 {4} +[0&!1&2] 102 {0 5} +[!0&!1&2] 61 +[!0&1&2] 77 {1 4 5} +[!0&1&2] 35 {4 5} +[0&!1&2] 6 {0 1 5} +[0&!1&2] 33 {4} +[!0&1&2] 45 +[!0&!1&2] 20 +[!0&1&!2] 49 {4} +[0&1&!2] 47 {1 5} +[0&1&2] 15 +[0&!1&2] 48 {4} +[!0&!1&!2] 82 +[!0&1&2] 79 +[0&!1&2] 51 {1 4} +[!0&!1&!2] 24 {0} +[0&!1&!2] 5 {1} +[!0&!1&!2] 75 {0 2 3} +[!0&1&2] 90 {0 3} +[0&1&!2] 118 {0} +[!0&1&!2] 11 {1 3} +State: 6 +[!0&!1&!2] 26 {1 2} +[!0&!1&!2] 35 {0 5} +[0&1&!2] 73 {1} +[0&1&!2] 50 {4} +[0&1&2] 68 {0} +[!0&!1&!2] 14 {2} +[!0&1&2] 82 {2 3 4} +[0&!1&!2] 115 +[!0&1&!2] 86 +[!0&!1&2] 33 {1 4} +[!0&1&2] 105 {5} +[0&1&!2] 101 {0} +[0&1&2] 90 {1 2 5} +[!0&!1&!2] 12 {0 2} +[0&!1&!2] 16 {4} +[!0&!1&2] 102 +[0&1&2] 110 {1} +[0&!1&2] 46 {2 4} +[0&1&!2] 54 +[!0&1&2] 109 {1 3 4 5} +[0&!1&!2] 34 +[0&1&2] 63 +[!0&!1&!2] 95 {2 3} +[0&!1&2] 104 {1 3} +[!0&!1&!2] 58 {0 2} +[!0&1&!2] 13 {1 4} +[!0&1&2] 98 {5} +[!0&1&2] 60 +[!0&1&2] 51 +[0&!1&!2] 32 {3 4} +State: 7 +[!0&1&!2] 16 {4 5} +[!0&!1&2] 55 {5} +[0&1&!2] 49 {2} +[!0&1&2] 82 +[!0&1&2] 18 {2} +[!0&!1&!2] 41 +[0&!1&2] 57 +[0&1&!2] 90 {5} +[0&!1&!2] 44 {5} +[0&1&2] 99 {1} +[0&!1&!2] 112 +[0&!1&2] 75 {1 2} +[!0&1&2] 28 {0 4} +[0&1&!2] 91 {2 4 5} +[0&!1&2] 93 {2 4 5} +[!0&1&!2] 24 {0 1 2} +[!0&!1&2] 38 {5} +[!0&1&2] 54 +[0&1&2] 106 {5} +[!0&!1&!2] 13 +[0&1&!2] 81 {2} +[!0&!1&!2] 104 +[!0&!1&2] 4 {0} +[0&!1&!2] 20 {1} +[0&!1&2] 36 {2} +[!0&!1&!2] 61 +State: 8 +[!0&!1&!2] 101 {4} +[!0&!1&2] 88 {0 1 2} +[!0&!1&!2] 76 +[!0&!1&!2] 98 +[!0&1&2] 21 {3} +[!0&1&2] 49 {0} +[0&1&2] 5 +[!0&!1&2] 10 {2 3} +[0&!1&!2] 119 {0} +[!0&!1&2] 56 {4} +[!0&1&2] 47 {2} +[0&!1&!2] 58 {0 1} +[0&1&2] 51 {0 5} +[0&1&2] 31 {0 4} +[!0&1&!2] 50 {3} +[!0&!1&2] 93 {3} +[!0&1&2] 34 {1} +[!0&1&!2] 7 {5} +[!0&1&2] 2 {0 2 3 5} +[0&!1&2] 55 {0 4 5} +[0&!1&!2] 64 +[0&1&2] 44 {4 5} +[0&!1&2] 12 +[0&!1&!2] 59 {1 3 4 5} +[!0&1&!2] 107 +[0&!1&2] 17 {5} +[0&1&2] 83 +[!0&1&2] 22 {0} +[!0&!1&!2] 18 {2} +[!0&1&!2] 114 {0} +[!0&1&!2] 45 {3} +State: 9 +[!0&1&!2] 6 +[0&1&!2] 0 +[!0&!1&!2] 18 +[0&!1&!2] 110 +[!0&1&!2] 60 +[0&!1&2] 29 {5} +[!0&1&2] 49 +[!0&!1&!2] 72 {4} +[!0&!1&2] 46 {3} +[!0&!1&2] 21 {2 3 5} +[!0&!1&!2] 55 +[!0&1&!2] 4 {1 4} +[!0&1&2] 102 {4} +[!0&!1&!2] 95 {0 3 5} +[0&1&2] 12 {1} +[!0&1&!2] 58 +[0&1&2] 59 +[0&!1&!2] 80 {3 4} +[0&!1&2] 106 {1 4} +[0&!1&!2] 97 {0} +[!0&1&!2] 91 +[0&1&!2] 101 +[0&!1&!2] 40 {4} +[0&1&2] 39 +[!0&1&!2] 71 {5} +[!0&!1&2] 5 {0} +[!0&1&2] 35 {3} +[0&1&!2] 43 {2 4} +[0&!1&2] 30 +[0&!1&!2] 89 {1 2 3} +State: 10 +[!0&1&2] 107 +[!0&1&2] 65 {1 2} +[0&1&!2] 92 {3 5} +[!0&!1&!2] 110 {1 4} +[!0&1&2] 119 {1 2 4} +[0&!1&!2] 111 {2} +[0&1&2] 0 {1} +[0&!1&!2] 117 {2 3} +[0&1&2] 60 +[0&1&!2] 13 +[!0&1&2] 95 +[0&!1&2] 90 {2} +[0&!1&2] 88 {2} +[0&1&!2] 43 {2} +[0&1&!2] 77 {1 2 4} +[0&1&2] 27 {3} +[0&1&2] 63 {3} +[!0&1&2] 76 {1} +[0&!1&!2] 101 +[!0&!1&2] 118 +[!0&!1&!2] 56 +[!0&1&2] 61 +[0&!1&!2] 34 +[!0&1&!2] 50 {0 1 4} +[!0&!1&2] 96 +[0&1&!2] 102 {0 2} +[0&1&2] 47 {2 4} +[!0&!1&2] 45 {3 4} +[!0&1&!2] 2 +State: 11 +[0&!1&2] 90 {1} +[0&!1&!2] 108 {4 5} +[0&!1&2] 78 {0 1} +[0&!1&2] 73 {1} +[0&1&!2] 10 {4} +[!0&!1&2] 12 {2 4} +[!0&1&2] 32 +[0&1&!2] 59 {4} +[0&!1&!2] 35 +[!0&1&!2] 29 {5} +[0&!1&!2] 116 {0} +[!0&!1&!2] 45 {3 5} +[!0&!1&2] 4 +[!0&1&2] 55 {4} +[!0&!1&2] 103 {3 4} +[!0&!1&2] 43 {1} +[!0&!1&!2] 33 +[0&!1&!2] 8 +[!0&!1&!2] 27 {0} +[0&1&2] 97 {4} +[0&!1&2] 14 {2 5} +[0&!1&!2] 98 {2 4 5} +[!0&!1&!2] 84 {1 4} +State: 12 +[0&!1&2] 24 {1} +[0&1&!2] 91 {1} +[!0&!1&2] 28 {0 1} +[!0&1&2] 118 {0} +[!0&!1&!2] 20 +[0&!1&2] 82 {0 5} +[0&1&!2] 42 {1} +[0&1&2] 21 {2 4} +[0&1&2] 39 +[!0&!1&2] 29 {3} +[0&!1&!2] 85 {0} +[!0&1&2] 116 +[!0&!1&2] 37 {3} +[0&1&2] 79 {2 4} +[0&1&!2] 57 {1 2 3} +[0&!1&2] 60 {2} +[0&1&!2] 88 {3} +[!0&1&!2] 117 {0 3} +[0&!1&2] 13 {0} +[!0&1&!2] 23 {2 3} +[!0&1&2] 31 {2} +[!0&!1&!2] 44 {1 3} +[0&!1&!2] 86 {1 3 4} +[0&!1&!2] 114 {2} +[0&1&2] 103 {1 4} +[!0&!1&2] 80 {0 4} +[0&!1&2] 1 +[0&!1&2] 30 {2 4} +[0&!1&2] 54 +[0&!1&2] 17 +[!0&1&2] 107 +[!0&!1&!2] 101 {1 2 3 5} +[!0&1&!2] 89 +[!0&1&!2] 47 {0 3} +State: 13 +[!0&!1&2] 92 {3} +[0&!1&2] 40 +[0&!1&2] 77 {2 5} +[0&!1&2] 10 {2} +[!0&1&2] 63 +[0&!1&2] 22 {1} +[!0&1&!2] 116 +[0&1&2] 26 {3} +[0&!1&!2] 11 {1} +[!0&!1&2] 50 +[0&1&2] 66 {0} +[!0&1&!2] 39 {1 2 3} +[!0&!1&!2] 96 +[!0&!1&!2] 94 {1 3} +[0&1&!2] 99 {1} +[0&!1&2] 71 {1} +[!0&1&!2] 41 {0 1 2 5} +[0&1&!2] 88 +[!0&1&!2] 18 +[!0&!1&2] 32 {0 3 4} +[0&!1&2] 48 {2} +[0&1&2] 87 {2} +[0&!1&2] 89 {4} +[0&!1&!2] 106 {0} +[!0&!1&!2] 69 {1} +State: 14 +[!0&!1&!2] 83 {4} +[!0&1&2] 112 {2} +[!0&!1&2] 18 {2 4} +[0&1&2] 103 +[!0&!1&!2] 105 {1 2} +[!0&!1&2] 76 {0 1} +[!0&!1&!2] 42 {1 2 5} +[!0&1&2] 50 +[!0&!1&2] 3 {0 3} +[0&1&2] 84 {3 4 5} +[!0&1&2] 40 {1} +[!0&!1&2] 115 {0 4} +[!0&!1&!2] 81 {0} +[!0&1&!2] 71 {1 3} +[0&!1&2] 25 {4 5} +[0&1&!2] 68 +[!0&1&!2] 5 {3 4} +[0&!1&2] 34 {0 3} +[0&1&2] 29 +[!0&1&2] 67 {1 2 3} +[!0&1&2] 92 +[!0&1&2] 56 {3} +[0&!1&2] 100 +[!0&1&!2] 104 +[!0&!1&2] 28 {4} +[0&1&2] 61 +[!0&1&!2] 102 {0} +[!0&!1&!2] 95 {0 3} +[0&1&!2] 53 {2} +[0&1&2] 98 {0} +[!0&!1&2] 72 +State: 15 +[0&1&2] 53 {2 5} +[0&!1&!2] 103 {3} +[0&!1&2] 111 {0} +[!0&1&!2] 100 {3} +[0&1&2] 54 {1} +[0&1&2] 43 +[0&1&2] 62 {4} +[!0&1&2] 85 +[0&!1&!2] 4 +[!0&1&2] 34 +[!0&!1&!2] 15 {1 4} +[!0&1&2] 80 +[!0&!1&2] 96 {2 5} +[0&1&!2] 116 {0 2 5} +[0&1&!2] 94 +[!0&1&2] 31 {5} +[0&!1&2] 60 {0 1} +[!0&!1&!2] 10 {0} +[!0&!1&!2] 79 +[0&!1&2] 28 +[0&1&2] 117 {5} +[0&!1&2] 21 {2} +[0&!1&!2] 98 {2 4} +[!0&!1&!2] 18 {0 1} +[0&!1&2] 110 +[0&!1&2] 27 {3 4} +[0&1&!2] 59 {1} +[!0&1&2] 113 +State: 16 +[!0&1&2] 17 {1} +[0&1&!2] 51 {5} +[0&1&2] 10 {2} +[!0&!1&2] 20 {5} +[0&!1&2] 90 {0 4 5} +[0&1&!2] 118 {1 4} +[0&!1&2] 49 {0 2 3} +[0&1&!2] 77 {4 5} +[0&1&2] 116 +[!0&1&!2] 25 {1} +[!0&1&!2] 75 +[!0&!1&!2] 4 {3} +[0&!1&!2] 95 {0 1 4} +[!0&!1&!2] 33 {3} +[!0&!1&2] 71 +[!0&1&2] 28 {4} +[!0&1&!2] 87 {1 2} +[!0&1&!2] 48 +[!0&1&!2] 104 {2 4} +[0&1&2] 99 +[0&!1&!2] 83 {3} +[0&!1&!2] 68 {3 4} +[0&!1&!2] 67 +[0&!1&!2] 96 {4} +[0&!1&2] 8 {4} +[0&1&2] 103 {0 1} +[!0&1&2] 113 {0 2} +[!0&!1&2] 38 {1} +[0&!1&!2] 15 {1 2 3 4} +[0&!1&!2] 119 {1} +[!0&1&2] 88 +State: 17 +[!0&1&2] 26 {3} +[!0&1&!2] 0 {1 2} +[!0&1&2] 106 {2} +[!0&!1&2] 68 {3} +[0&1&!2] 6 +[!0&1&2] 12 +[!0&1&2] 95 +[!0&!1&!2] 41 +[0&1&!2] 64 {3} +[0&1&2] 114 {0} +[0&1&!2] 118 {5} +[!0&1&2] 49 {0} +[0&1&!2] 7 {1 2 5} +[!0&!1&!2] 111 +[0&1&2] 98 {0 3} +[!0&!1&2] 79 +[0&!1&2] 35 +[!0&!1&2] 14 {1} +[!0&1&!2] 44 {2} +[!0&1&!2] 53 {1} +[!0&!1&!2] 8 {2} +[0&!1&!2] 81 {4 5} +[!0&!1&!2] 51 {5} +[0&!1&!2] 16 {2} +[0&!1&2] 102 {2} +[0&!1&2] 21 {2} +[!0&1&!2] 101 {4} +[!0&1&!2] 113 +[!0&!1&2] 34 {0 3} +State: 18 +[0&1&2] 68 {1 2} +[!0&1&2] 63 +[0&1&!2] 9 {0} +[0&1&2] 83 +[0&!1&2] 44 {0 1} +[0&1&2] 64 +[!0&!1&!2] 73 {3 5} +[0&!1&2] 80 {0} +[!0&!1&!2] 57 +[!0&!1&2] 38 {4} +[0&!1&!2] 40 {1} +[!0&1&!2] 16 +[0&1&2] 86 {1 3 5} +[0&!1&2] 12 {0 1} +[!0&1&2] 54 {2} +[!0&1&!2] 76 {0 2 3} +[0&!1&!2] 119 {4} +[!0&!1&2] 102 {3} +[!0&!1&!2] 14 {1 4} +[0&!1&2] 32 {2} +[0&1&!2] 112 +[0&!1&2] 23 {5} +[!0&1&!2] 117 {4} +[!0&!1&!2] 50 {2 4} +State: 19 +[!0&1&!2] 48 +[0&!1&!2] 63 +[!0&!1&!2] 12 {1 3 5} +[!0&1&2] 118 {0} +[!0&!1&!2] 46 +[0&!1&!2] 90 {1 5} +[!0&1&2] 84 {3 5} +[!0&!1&!2] 23 {1 3 4} +[!0&1&!2] 31 {5} +[0&!1&!2] 114 {2} +[!0&!1&2] 50 {2} +[!0&1&!2] 115 +[0&!1&!2] 61 {0 2} +[!0&1&!2] 13 {4} +[!0&!1&!2] 27 {0 4} +[!0&!1&!2] 7 {0 5} +[0&!1&2] 44 {3 5} +[!0&1&!2] 15 {1 4} +[0&1&!2] 11 {3 5} +[!0&1&!2] 78 {2 4} +[0&!1&!2] 109 {3 5} +[!0&!1&2] 73 {2 4} +[0&1&!2] 68 +[!0&1&!2] 101 {2} +[0&!1&!2] 108 {0 1 3} +[!0&1&!2] 51 {1 2} +[0&!1&!2] 38 {4 5} +[0&1&2] 19 +[0&!1&2] 87 {4 5} +[0&!1&2] 8 {2} +[0&!1&2] 56 {5} +[!0&!1&!2] 43 {1 2} +[0&!1&!2] 113 {3} +State: 20 +[0&1&2] 84 {2} +[0&1&2] 26 +[0&!1&!2] 76 +[!0&!1&2] 69 {4} +[0&!1&2] 45 {0} +[!0&!1&!2] 89 +[!0&1&!2] 28 {4} +[0&1&2] 52 {1} +[0&!1&2] 51 {4} +[!0&!1&2] 34 {0 2 5} +[!0&!1&2] 50 +[!0&!1&!2] 73 {2} +[!0&1&2] 82 {0} +[0&!1&!2] 111 +[!0&1&2] 108 +[!0&!1&2] 20 {0} +[!0&1&2] 83 {3} +[0&1&!2] 54 +[!0&1&!2] 48 {4} +[0&!1&!2] 16 {2 3} +[0&1&2] 68 {5} +[0&1&!2] 30 {1 5} +[0&!1&!2] 65 {3} +[!0&1&!2] 27 {0 2} +[0&1&2] 41 {0 2} +[!0&!1&2] 19 {2} +[0&!1&2] 29 {2 3} +[0&!1&!2] 80 {2 3} +[0&!1&2] 35 {0} +[0&1&!2] 53 +[0&!1&!2] 59 {1} +[0&!1&2] 47 +[!0&!1&!2] 107 {3} +State: 21 +[0&!1&!2] 34 {1 5} +[!0&!1&2] 51 {2} +[0&1&!2] 50 {1 5} +[0&!1&!2] 94 {2} +[!0&!1&2] 29 {1} +[0&!1&!2] 11 {1 3} +[0&!1&2] 33 +[!0&1&2] 67 {0 3 5} +[!0&!1&!2] 55 {2} +[0&1&2] 42 {4 5} +[0&1&!2] 19 {1 3} +[!0&1&2] 118 +[0&!1&!2] 83 {1} +[0&!1&!2] 58 {4} +[0&1&!2] 56 {1} +[!0&!1&2] 82 {2} +[0&1&!2] 69 {3} +[!0&!1&2] 99 +[!0&1&2] 117 {1} +[0&!1&!2] 88 {2} +[!0&1&2] 76 {0} +[!0&1&2] 78 {0} +[!0&1&2] 22 {0 3} +[!0&1&2] 62 +[0&!1&2] 15 {3} +[0&1&!2] 0 {0} +[0&1&!2] 46 {0} +[0&1&!2] 81 {2 3 5} +[!0&!1&!2] 72 {0} +[!0&1&2] 60 {3 4} +[!0&1&!2] 103 +[0&!1&2] 106 +[!0&1&2] 91 {4} +[0&1&!2] 12 {2 5} +[!0&1&!2] 37 {2} +[!0&!1&2] 90 {2 5} +[!0&!1&2] 70 +[!0&!1&!2] 40 {0 2 5} +[!0&!1&!2] 13 {0 1 3} +[!0&1&!2] 100 {2} +State: 22 +[!0&!1&2] 65 {4} +[!0&!1&2] 83 {1 5} +[0&!1&2] 7 {3} +[0&1&!2] 44 {4} +[!0&!1&2] 49 {0} +[0&1&2] 77 {1} +[0&1&2] 26 {0} +[!0&!1&2] 27 {4 5} +[0&!1&!2] 85 +[0&1&2] 23 {0} +[!0&!1&!2] 97 {1 3 4 5} +[0&!1&2] 33 +[0&1&!2] 119 {3 5} +[0&!1&2] 79 +[0&1&!2] 114 {4} +[0&!1&2] 54 {3} +[0&!1&2] 18 {1 4} +[!0&1&2] 67 {3} +[0&!1&!2] 42 {1 4} +[0&!1&2] 105 {0 2 4} +[!0&1&!2] 90 {4} +[0&!1&!2] 87 {1 4} +[0&1&!2] 52 +[!0&!1&2] 11 {2} +[0&1&2] 95 {1 2 4} +[0&!1&2] 56 +[0&!1&!2] 81 {0} +[0&!1&!2] 116 +[0&1&!2] 61 {3} +[!0&!1&2] 86 {1} +[0&!1&2] 96 {0} +[!0&!1&!2] 47 {0 2 5} +[0&1&!2] 98 {2} +[0&!1&!2] 57 {3 4} +[!0&!1&!2] 38 {1 3 4} +[0&!1&2] 100 +[!0&!1&!2] 62 +State: 23 +[0&1&2] 88 +[!0&!1&2] 26 {0 2 3} +[0&1&!2] 6 {1 5} +[!0&!1&!2] 91 {4} +[0&!1&!2] 84 {2 5} +[0&1&2] 37 {5} +[!0&1&2] 54 {5} +[0&1&!2] 57 {1} +[!0&!1&2] 70 {3 4} +[0&1&!2] 67 {5} +[!0&1&!2] 14 {0 1} +[0&!1&2] 32 {0 3} +[0&1&2] 112 +[!0&1&2] 59 {2} +[!0&1&2] 92 +[!0&!1&2] 47 +[!0&1&!2] 114 {0} +[0&!1&!2] 64 +[!0&1&2] 49 +[!0&!1&!2] 72 {5} +[0&!1&!2] 76 {5} +[0&1&!2] 51 +[0&!1&2] 45 {5} +[0&!1&2] 63 {4} +[!0&!1&!2] 29 {1} +[0&1&2] 19 {3 4} +[!0&!1&2] 89 +[!0&!1&!2] 116 {3 5} +[0&1&2] 28 {1 5} +[!0&1&!2] 106 {2 4} +[!0&!1&!2] 111 +[!0&1&!2] 103 {1} +State: 24 +[0&1&!2] 45 {3 4} +[0&!1&2] 110 +[0&1&!2] 12 {3 5} +[!0&1&2] 28 +[0&!1&!2] 68 {2 3} +[!0&!1&!2] 73 {0} +[0&1&2] 108 {1} +[!0&!1&2] 91 {1} +[0&!1&2] 9 {5} +[!0&1&!2] 0 {1} +[!0&!1&2] 8 {4 5} +[0&!1&!2] 1 {0} +[0&!1&!2] 67 +[0&1&2] 41 +[!0&!1&!2] 117 +[!0&!1&!2] 89 +[!0&1&2] 51 +[0&!1&2] 90 {4} +[0&!1&!2] 40 +[!0&!1&!2] 60 {3} +[!0&!1&!2] 75 +[0&1&2] 94 +[!0&!1&!2] 96 {0} +[!0&!1&2] 47 {4} +[!0&1&2] 78 {3} +[0&1&2] 65 {1} +[0&1&!2] 29 {0} +[0&1&!2] 24 +State: 25 +[0&!1&!2] 116 +[0&!1&!2] 75 {0} +[0&1&!2] 51 {1 4} +[0&1&2] 68 {2} +[0&1&!2] 64 +[!0&!1&!2] 45 {3 5} +[0&!1&2] 12 {1} +[0&!1&!2] 44 +[!0&1&!2] 91 {1} +[!0&1&!2] 90 +[0&!1&!2] 4 +[0&1&2] 6 {1} +[!0&1&2] 93 {1} +[!0&1&!2] 10 {0 4} +[!0&!1&!2] 109 {2} +[0&!1&2] 83 {1 4} +[!0&!1&!2] 17 {0 2} +[!0&1&!2] 5 {2 3} +[!0&1&!2] 67 +[!0&!1&2] 112 {1} +[0&1&2] 18 {3} +[!0&!1&!2] 11 {0} +[!0&!1&2] 31 +[0&!1&2] 49 +[0&1&2] 58 {3 5} +[!0&!1&2] 82 {2 4} +[!0&1&2] 46 {4} +State: 26 +[!0&1&!2] 69 {2 3 5} +[!0&1&2] 38 {0} +[!0&!1&!2] 49 +[0&!1&!2] 66 {1 3 4} +[0&!1&2] 62 {0 5} +[!0&!1&2] 30 +[!0&1&!2] 41 {3} +[!0&1&2] 25 {0 5} +[!0&1&!2] 73 +[!0&!1&2] 9 {3} +[!0&1&2] 89 {2 4} +[0&!1&!2] 31 {1 3} +[0&!1&!2] 68 {2 5} +[0&!1&2] 11 +[!0&!1&2] 19 +[0&1&2] 23 +[0&1&2] 54 {0 4 5} +[!0&!1&2] 79 {5} +[!0&1&!2] 82 {2} +[0&1&2] 118 {0 3} +[!0&!1&!2] 33 {4 5} +[!0&!1&!2] 16 {1 2 5} +[0&!1&!2] 109 {3} +[!0&1&!2] 101 {0 2} +[!0&1&!2] 116 {4} +[!0&!1&2] 48 {2 3} +[!0&!1&!2] 108 {2 3} +[!0&1&!2] 98 +[!0&1&!2] 27 {3} +[0&1&!2] 103 +[!0&1&!2] 6 {4} +[0&1&!2] 32 +State: 27 +[0&!1&2] 87 +[!0&1&2] 29 +[!0&!1&2] 75 {0} +[0&1&2] 84 +[0&!1&!2] 26 +[!0&1&!2] 74 {1} +[0&1&2] 54 {1} +[0&!1&2] 119 +[0&!1&2] 44 +[0&1&2] 58 {3} +[0&1&2] 20 +[!0&!1&2] 60 {4} +[!0&1&!2] 85 +[0&1&!2] 66 +[!0&1&!2] 47 {3 4} +[!0&1&!2] 86 +[0&!1&!2] 23 {0 1} +[!0&1&2] 49 {1} +[!0&1&2] 12 {1 5} +[0&!1&2] 21 {0} +[0&1&!2] 83 {1 2} +[0&1&2] 10 {3 5} +State: 28 +[0&1&!2] 9 {0 2} +[!0&1&2] 26 {0 3} +[0&!1&!2] 17 {2} +[0&1&2] 32 {5} +[!0&!1&2] 5 {2} +[!0&1&2] 64 +[0&!1&!2] 36 {1 5} +[0&!1&!2] 67 {2 3} +[!0&1&!2] 83 {0 1} +[!0&!1&2] 70 +[!0&1&!2] 41 +[!0&!1&!2] 86 {2 4} +[0&!1&!2] 6 {1 4} +[0&!1&!2] 84 {5} +[0&1&!2] 92 {1 3} +[0&1&2] 57 {3} +[!0&!1&!2] 30 +[!0&!1&2] 18 {2 5} +[0&!1&!2] 78 {3 4} +[!0&1&2] 47 {0} +[0&!1&2] 97 {4} +[0&1&2] 31 {5} +[!0&!1&!2] 93 {0 3} +[!0&!1&2] 23 +[!0&!1&!2] 65 {0 1 3 4 5} +[!0&1&!2] 108 {0} +[0&1&2] 10 {1} +[!0&!1&2] 11 {1} +[0&!1&!2] 72 {2 3} +[!0&1&2] 27 {1 3} +[0&!1&!2] 105 {2 5} +[0&!1&!2] 12 +[0&1&!2] 71 {0} +[!0&1&2] 14 {0 1 3} +[0&!1&2] 24 {1} +[!0&1&2] 46 {5} +[0&!1&!2] 33 {1 3 5} +State: 29 +[0&1&2] 27 {4} +[!0&1&2] 95 {0 2 3 4} +[0&!1&2] 68 {5} +[!0&1&!2] 70 {5} +[0&!1&!2] 69 {2 3} +[!0&!1&2] 104 {0} +[!0&1&!2] 19 +[0&!1&!2] 83 {1} +[!0&!1&2] 62 +[0&1&!2] 35 {3} +[0&!1&2] 92 +[0&!1&2] 31 +[0&!1&!2] 79 +[!0&!1&!2] 107 {5} +[0&1&2] 51 {0 3} +[!0&1&2] 86 {5} +[0&1&2] 49 {0} +[0&!1&!2] 82 {4} +[0&!1&!2] 21 {4} +[0&!1&!2] 60 {0 1 2} +[0&!1&2] 36 {5} +[0&!1&!2] 0 +[0&1&2] 115 {5} +[0&1&!2] 117 {1} +[0&!1&2] 44 +[0&!1&2] 25 {3} +[!0&1&2] 50 +[!0&1&!2] 3 {5} +State: 30 +[!0&!1&2] 41 +[0&!1&!2] 19 {1 4} +[!0&1&!2] 97 {3 5} +[0&!1&!2] 64 {1} +[0&!1&!2] 68 {3 4} +[!0&!1&2] 43 {0 2} +[!0&1&!2] 6 {0} +[!0&1&!2] 113 {3 4 5} +[0&1&!2] 106 {3} +[!0&!1&2] 23 {2} +[0&!1&2] 21 {0 5} +[!0&1&2] 95 {3} +[!0&!1&!2] 110 +[!0&!1&!2] 83 {3} +[!0&!1&2] 77 +[!0&!1&2] 71 {0} +[!0&!1&!2] 9 {1 3} +[!0&1&2] 111 +[!0&1&2] 63 +[0&1&2] 67 {5} +[0&1&!2] 79 {2 3 5} +[!0&1&!2] 108 {5} +[0&!1&2] 89 {5} +[!0&1&!2] 118 {0} +[!0&!1&2] 65 {0 3} +[0&!1&!2] 47 +[!0&1&2] 52 {2 5} +[0&1&!2] 119 {0 1 3} +[0&!1&2] 39 {0} +[0&1&!2] 24 +[!0&!1&!2] 72 {1} +[0&!1&!2] 73 {5} +[!0&!1&!2] 88 {1} +[!0&!1&!2] 32 +State: 31 +[0&1&2] 73 {5} +[!0&!1&2] 85 {4} +[0&!1&!2] 95 {3 4} +[0&1&2] 72 +[!0&!1&!2] 41 {0} +[0&!1&!2] 110 {0 3 4} +[0&!1&2] 2 {0} +[0&1&!2] 28 {0 2 3} +[!0&1&2] 25 +[0&1&!2] 20 {2} +[!0&!1&!2] 65 +[!0&1&2] 55 {3 5} +[!0&!1&!2] 50 {4} +[!0&1&!2] 98 {0} +[0&1&2] 23 {1 5} +[!0&1&2] 90 {3} +[!0&!1&2] 92 {4} +[!0&!1&!2] 3 +[0&1&!2] 107 {5} +[0&1&!2] 0 {5} +[!0&1&!2] 112 {0 2 4} +[!0&1&2] 58 +[!0&1&2] 59 {1} +[0&!1&2] 87 {0 3} +[0&!1&!2] 12 {0} +[0&1&2] 115 {4 5} +[!0&1&!2] 21 +[0&1&2] 79 {0} +[!0&1&2] 97 {1} +[!0&1&!2] 48 {3 5} +State: 32 +[!0&!1&2] 22 +[0&!1&2] 26 {0 4} +[0&1&2] 79 {1 2 4} +[!0&1&2] 17 +[0&1&2] 60 +[!0&1&2] 50 {5} +[0&!1&2] 86 +[0&1&!2] 34 {4} +[!0&!1&!2] 10 {0 5} +[!0&!1&2] 119 {2} +[0&1&2] 49 {2 5} +[0&!1&2] 70 {1 2 5} +[0&!1&!2] 80 +[!0&1&2] 88 +[0&!1&!2] 13 {4} +[0&!1&2] 42 {5} +[0&!1&!2] 37 {2} +[!0&!1&!2] 117 {2 3 5} +[!0&!1&!2] 2 {3} +[0&!1&2] 99 +[!0&1&2] 18 +[0&!1&2] 73 {5} +[!0&!1&2] 87 +[!0&1&!2] 47 +[0&!1&!2] 55 +[!0&1&!2] 98 {4 5} +[!0&1&2] 114 {2 3} +[!0&1&2] 41 {2} +[!0&1&!2] 20 {1} +[0&!1&!2] 4 {4} +State: 33 +[0&!1&!2] 116 {2 3 5} +[0&!1&!2] 92 {2} +[!0&!1&2] 19 +[!0&1&!2] 114 {0 4} +[0&!1&!2] 10 {1} +[!0&1&!2] 107 {0} +[0&1&2] 25 {0 2} +[0&1&!2] 75 {1 5} +[0&!1&!2] 101 {4} +[!0&1&2] 39 {5} +[!0&!1&!2] 34 {4 5} +[!0&1&2] 51 {4} +[0&1&2] 22 +[0&!1&2] 68 {1 5} +[0&!1&!2] 88 {4} +[!0&1&2] 106 {4} +[!0&!1&!2] 86 {4} +[!0&1&2] 50 +[0&1&!2] 69 +[!0&1&2] 33 +[0&1&2] 104 {4} +[0&!1&2] 43 {0 4} +[!0&1&!2] 80 +[!0&!1&!2] 63 {0} +[0&!1&!2] 54 {3} +[!0&1&!2] 4 {1 4} +[!0&!1&!2] 78 {0 3} +[!0&!1&2] 91 +[!0&!1&!2] 90 +[!0&1&!2] 53 {3} +[0&1&2] 1 {0 2} +[!0&1&2] 73 {0 4} +[0&1&2] 38 {1 3 5} +[!0&1&2] 81 +[0&1&!2] 118 {2} +[!0&1&2] 58 {5} +[0&!1&!2] 83 {0 1 2 3 5} +State: 34 +[0&!1&2] 90 {2} +[!0&1&!2] 86 +[!0&1&2] 67 {4} +[0&!1&2] 89 +[!0&!1&2] 44 {1 4} +[0&1&!2] 49 {4} +[0&1&2] 115 {1 3 5} +[0&!1&!2] 97 +[!0&!1&!2] 52 {0} +[0&1&!2] 47 +[!0&1&2] 75 {2} +[!0&1&2] 0 +[!0&!1&!2] 43 {1 2 3 5} +[0&!1&2] 112 {0 1 4} +[!0&!1&2] 78 {0 4} +[!0&!1&!2] 85 {0} +[!0&1&2] 119 {3} +[!0&1&2] 30 {0 5} +[!0&!1&2] 105 {1 5} +[0&!1&2] 103 +[!0&1&2] 19 +[!0&!1&!2] 74 {0 5} +[0&1&2] 36 {0 1 3} +[0&!1&!2] 7 {0} +[!0&1&!2] 2 {3} +[0&1&2] 15 {0 1} +[0&!1&2] 25 +[!0&1&2] 117 {3 4 5} +State: 35 +[!0&!1&2] 33 {1 2} +[!0&1&2] 11 +[0&1&!2] 8 +[!0&1&!2] 88 +[0&!1&2] 47 {3 5} +[0&!1&!2] 40 {4} +[!0&1&!2] 103 {4} +[0&1&!2] 27 {2 4 5} +[!0&1&!2] 119 +[0&1&2] 109 {1} +[!0&1&2] 93 {5} +[0&1&!2] 66 {0} +[!0&1&2] 29 +[0&1&!2] 61 +[0&!1&!2] 52 {5} +[!0&1&2] 18 +[!0&1&2] 71 {4} +[!0&1&!2] 105 {4} +[0&1&2] 10 +[0&1&!2] 59 {2 3 4 5} +[0&!1&!2] 4 {3} +[!0&1&!2] 68 {1 3 5} +[!0&1&!2] 96 {4} +[!0&!1&!2] 36 {0 1 2} +[!0&!1&2] 75 {0} +[0&!1&!2] 56 {2 4} +[0&!1&2] 99 {5} +[!0&!1&2] 78 +[0&1&!2] 48 {0 1} +State: 36 +[!0&1&!2] 92 {1} +[0&1&2] 36 {0 3} +[0&!1&!2] 106 {5} +[!0&1&!2] 71 +[0&!1&!2] 67 {0 4} +[0&1&2] 19 {4 5} +[0&!1&2] 45 {3} +[!0&1&2] 61 {5} +[0&1&!2] 64 {3} +[0&1&2] 25 {5} +[0&1&!2] 83 {0 4} +[!0&!1&!2] 59 {2} +[!0&1&!2] 108 +[!0&!1&2] 89 {5} +[0&!1&2] 35 {1 3 4} +[0&!1&2] 62 {3 4} +[0&1&2] 16 {5} +[0&1&!2] 46 {0 2 5} +[0&!1&!2] 6 {1 3} +[0&!1&!2] 116 {0 1} +[0&1&2] 32 +[0&!1&!2] 42 {2 5} +[0&!1&2] 53 {0 2} +[!0&!1&!2] 88 {1} +[0&!1&2] 68 {2} +[0&!1&!2] 112 {1 4 5} +[0&!1&2] 58 +[0&!1&!2] 98 +[!0&1&!2] 23 {0 5} +[0&!1&!2] 109 {3} +[!0&1&2] 51 {3 4 5} +[0&1&!2] 81 +[!0&1&2] 97 {4} +[0&!1&2] 27 {1} +State: 37 +[0&!1&!2] 8 +[0&!1&!2] 96 +[!0&!1&2] 42 {1 2} +[!0&!1&2] 76 {3} +[!0&!1&2] 13 {4} +[0&!1&2] 83 {2} +[!0&1&2] 97 {1 5} +[!0&!1&2] 12 +[0&!1&!2] 80 {5} +[0&!1&!2] 20 +[0&1&!2] 99 {0 4} +[!0&1&!2] 84 {0} +[0&1&2] 68 {4 5} +[!0&1&2] 27 {5} +[0&1&!2] 116 +[!0&!1&!2] 45 {5} +[!0&1&!2] 23 {0 3} +[!0&!1&2] 107 {0} +[0&1&!2] 46 +[!0&1&!2] 79 {0 5} +[0&!1&!2] 112 {1} +[0&!1&2] 15 +[!0&!1&2] 47 {5} +[0&!1&2] 0 +[0&1&2] 53 +[0&1&!2] 32 {2 4} +[!0&1&2] 104 {0 2 4 5} +State: 38 +[0&!1&!2] 106 {4} +[0&1&2] 112 {1 3} +[0&!1&2] 71 +[0&!1&2] 48 {0} +[!0&!1&2] 90 +[!0&!1&!2] 55 {5} +[!0&1&2] 100 {3} +[!0&1&2] 113 {2} +[0&!1&2] 107 +[0&1&2] 92 {4} +[0&1&2] 45 +[0&1&!2] 42 +[0&1&2] 116 {2} +[0&!1&2] 97 {0} +[!0&!1&2] 41 +[!0&!1&2] 63 {2 3} +[!0&!1&2] 17 +[!0&!1&2] 84 {3} +[!0&1&!2] 5 +[0&!1&2] 19 {0} +[0&1&!2] 25 {3 5} +[!0&1&2] 2 +[!0&!1&!2] 83 {4} +[0&!1&2] 26 +[!0&1&2] 40 {1} +[!0&!1&2] 105 {3} +[!0&1&2] 60 {1} +[!0&1&2] 108 {1} +[0&1&!2] 31 +[0&1&!2] 79 {0} +[0&1&2] 65 {4 5} +[!0&!1&!2] 101 {1} +[!0&!1&!2] 95 {1} +[!0&1&!2] 24 {3} +[0&1&2] 96 {1 3} +State: 39 +[!0&!1&2] 40 {0 1} +[!0&1&2] 21 +[!0&!1&2] 81 {1} +[0&1&!2] 52 {1 5} +[0&!1&!2] 115 {1 5} +[0&!1&2] 20 {2 5} +[!0&1&!2] 90 +[!0&1&!2] 15 +[0&1&!2] 117 {0 1 4} +[0&!1&!2] 62 {0} +[0&1&!2] 113 {2 3} +[!0&!1&2] 45 +[!0&1&2] 105 {4} +[!0&1&!2] 104 {1 4} +[0&!1&2] 76 {0 3 4} +[!0&1&2] 78 {0 2 5} +[!0&!1&2] 19 {4} +[0&!1&!2] 87 {0 4} +[!0&1&2] 4 +[0&1&2] 82 {5} +[0&!1&2] 80 {1 4 5} +[!0&1&2] 84 {1 2} +[0&!1&!2] 69 +[0&1&!2] 0 {4} +[!0&1&!2] 35 {5} +[!0&1&2] 10 {5} +State: 40 +[!0&!1&!2] 114 {0} +[0&1&!2] 31 {3} +[!0&!1&!2] 14 {1} +[0&!1&!2] 66 {1} +[!0&!1&!2] 48 +[!0&!1&2] 71 +[!0&!1&!2] 109 {2} +[!0&1&2] 74 {4} +[!0&1&2] 57 {4 5} +[0&!1&2] 53 {2 5} +[!0&!1&!2] 11 {1 3} +[!0&!1&2] 110 {0} +[0&1&2] 104 {3 5} +[0&1&2] 21 {1 4} +[0&!1&!2] 86 {2 5} +[0&!1&2] 22 {4} +[!0&!1&2] 1 {0} +[!0&!1&2] 93 +[!0&!1&!2] 79 {0 2} +[0&1&!2] 83 +[!0&!1&!2] 30 {0} +[0&!1&2] 23 +[!0&1&2] 99 {0} +[!0&1&!2] 113 +[0&1&2] 88 {1 5} +[!0&1&!2] 115 {0} +[0&1&2] 42 +State: 41 +[0&!1&2] 68 {0} +[!0&!1&2] 74 {0 3 4} +[0&!1&2] 75 {0} +[!0&1&2] 116 {0} +[!0&!1&!2] 19 {0 4} +[!0&!1&!2] 47 +[0&1&2] 24 {1} +[0&1&!2] 84 +[!0&!1&2] 88 {1} +[0&!1&!2] 3 {3} +[!0&1&!2] 98 {0 1 4} +[0&!1&!2] 95 +[!0&1&!2] 51 {0} +[!0&!1&!2] 26 {1 2 3 4} +[!0&!1&!2] 73 {0 1 2} +[!0&1&!2] 27 {2} +[0&1&!2] 92 +[!0&1&!2] 70 {4 5} +[0&!1&!2] 99 {2 5} +[!0&1&2] 93 +[!0&!1&2] 29 {5} +[!0&!1&2] 8 {2} +[!0&1&!2] 16 {2 3} +[0&1&!2] 0 {0 3 5} +[0&!1&2] 79 +[!0&!1&!2] 17 {0 1 3 4} +State: 42 +[!0&1&2] 70 {3 5} +[!0&1&!2] 18 {1} +[0&1&2] 52 +[!0&!1&2] 13 {0} +[0&1&2] 49 {0 3} +[0&1&!2] 103 +[!0&1&2] 94 +[0&1&2] 84 {0 1 2} +[0&1&!2] 102 {5} +[!0&!1&!2] 0 {3 5} +[!0&!1&!2] 106 {0} +[!0&1&!2] 105 {3} +[!0&1&2] 68 {1 5} +[0&1&2] 92 +[0&1&!2] 1 {2} +[!0&1&2] 98 {1 2} +[!0&1&!2] 4 {1 2} +[0&!1&!2] 25 {0 5} +[0&1&2] 37 +[!0&1&2] 72 +[!0&!1&2] 63 +[!0&1&!2] 93 {4} +[!0&!1&!2] 112 +[!0&!1&2] 110 {2 3 5} +[0&1&2] 28 {1} +[0&!1&!2] 74 {1} +[!0&1&!2] 36 +[!0&1&2] 38 {0 2 3} +State: 43 +[!0&1&!2] 73 {3} +[!0&!1&2] 102 {4} +[!0&1&2] 69 {0 2 4} +[!0&!1&!2] 82 {0 1 4} +[0&1&2] 119 +[!0&1&!2] 105 {1 4} +[!0&!1&!2] 51 +[0&!1&!2] 58 +[!0&1&2] 60 {0 5} +[!0&!1&!2] 28 {0 2} +[0&!1&!2] 30 +[0&1&!2] 109 {4} +[0&!1&!2] 64 {3} +[0&!1&!2] 39 {2} +[0&1&!2] 88 {3 5} +[0&!1&2] 110 {2} +[0&!1&2] 9 {3 4} +[0&!1&!2] 21 {5} +[0&1&2] 24 {3} +[0&1&!2] 0 {3 4 5} +[0&!1&!2] 104 {3} +[!0&1&2] 92 {1} +[0&!1&!2] 5 {0 2} +[!0&1&!2] 114 {0 5} +State: 44 +[0&1&!2] 4 {0 4} +[0&!1&2] 42 {5} +[!0&1&!2] 50 {0} +[0&1&!2] 106 +[!0&!1&!2] 6 {3 4 5} +[0&!1&2] 63 {2 3 4} +[0&1&2] 28 +[0&!1&2] 7 +[0&1&!2] 82 {0 1 2} +[0&!1&2] 16 {0 3} +[0&!1&!2] 78 {1 4} +[!0&!1&2] 100 {0 4} +[0&1&2] 118 {1} +[0&!1&2] 23 {0} +[0&1&2] 104 {1} +[!0&!1&!2] 41 {1} +[!0&!1&!2] 84 {4 5} +[!0&!1&!2] 92 {5} +[0&1&!2] 13 +[!0&1&!2] 59 {4} +[!0&!1&!2] 53 {2 3 4} +[0&1&!2] 1 +[!0&!1&!2] 83 {0 5} +[0&1&!2] 114 {2 4 5} +[0&1&!2] 9 {3 5} +[!0&1&!2] 32 {1 4} +[!0&!1&!2] 110 +[0&1&2] 5 +[!0&1&!2] 65 +State: 45 +[0&!1&!2] 86 +[!0&!1&!2] 31 {3} +[0&!1&2] 58 +[!0&!1&2] 21 {0 4} +[0&!1&!2] 55 +[!0&!1&!2] 90 +[!0&1&2] 101 {4} +[0&!1&!2] 114 +[!0&!1&!2] 77 {0 1} +[!0&1&!2] 20 +[!0&1&2] 84 +[0&!1&!2] 30 {1} +[!0&!1&!2] 79 {1 2} +[!0&!1&!2] 22 {4} +[0&1&!2] 87 {0 1 2 3} +[0&1&!2] 33 +[!0&!1&!2] 112 {0 1 2 4} +[!0&1&2] 100 {4} +[0&!1&2] 92 {4} +[!0&1&2] 109 {4} +[0&!1&2] 83 {1 2} +[0&1&!2] 76 {2} +[0&!1&2] 1 +[0&!1&!2] 61 {1} +[!0&!1&2] 67 {1 5} +[0&1&!2] 116 {1} +[!0&1&2] 34 +[!0&1&!2] 62 +[!0&!1&2] 105 {2} +[!0&!1&2] 0 +[0&1&!2] 115 {2 3 5} +[0&!1&2] 111 {2} +[!0&1&!2] 9 {1} +State: 46 +[0&1&2] 106 {4} +[!0&1&!2] 114 {2 3 4 5} +[0&!1&2] 46 {1} +[0&!1&2] 2 +[0&!1&!2] 18 {2 5} +[!0&1&2] 32 {3} +[!0&1&2] 7 {0} +[!0&1&2] 17 {4} +[!0&!1&2] 105 {3} +[0&1&2] 52 {0 1} +[0&1&2] 48 {0} +[!0&1&2] 62 +[!0&!1&!2] 102 {0 1 3} +[!0&!1&2] 29 +[0&1&!2] 82 {0 1 2 3} +[0&!1&2] 33 +[0&1&2] 86 {4} +[0&!1&!2] 100 {0 4} +[0&1&!2] 92 {5} +[0&!1&2] 40 {0 3 4} +[!0&!1&!2] 68 {0 5} +[!0&1&2] 80 {5} +State: 47 +[0&1&2] 102 {0 4} +[!0&!1&2] 78 {2} +[0&1&!2] 15 {1} +[0&1&2] 57 {2} +[!0&1&!2] 4 {3 4 5} +[0&!1&2] 101 {1 2 5} +[0&!1&2] 93 {3} +[0&1&2] 67 {5} +[0&1&2] 56 {2 5} +[0&1&2] 107 {5} +[!0&1&!2] 115 {0 2} +[!0&!1&2] 22 {5} +[0&!1&!2] 49 {2 4} +[!0&1&!2] 95 {1 3} +[!0&!1&2] 18 {3} +[!0&1&2] 106 {0 2 5} +[!0&!1&2] 98 {0} +[!0&1&!2] 11 {0 4} +[!0&!1&2] 104 {1} +[0&1&!2] 1 {1 4} +[!0&1&!2] 31 {5} +[!0&!1&!2] 36 {1 5} +[0&1&2] 23 +[!0&!1&!2] 72 +[0&1&2] 62 {0 3} +[0&1&2] 85 +[0&!1&!2] 73 {2 4} +[!0&1&2] 77 +State: 48 +[!0&!1&!2] 48 {0 1} +[0&!1&2] 57 {0} +[!0&1&2] 99 {3 4} +[0&!1&2] 25 +[0&1&2] 6 {0 4} +[0&1&!2] 40 +[0&!1&2] 117 {3} +[0&1&!2] 46 {0} +[!0&!1&2] 17 +[0&1&!2] 50 {1} +[0&1&2] 45 {1 3} +[0&!1&!2] 110 {4} +[!0&!1&2] 70 {3 4} +[0&1&2] 21 +[0&1&!2] 97 {1 4} +[!0&!1&!2] 59 {5} +[!0&!1&2] 67 +[!0&1&!2] 24 {1 5} +[0&1&!2] 4 {1 4} +[!0&!1&2] 101 +[!0&!1&2] 64 {0 3 5} +[!0&1&2] 30 {1 3 4 5} +[!0&1&2] 1 {1 5} +[!0&!1&2] 102 {4} +[0&!1&!2] 100 +[0&1&!2] 90 {1 5} +[!0&1&!2] 9 {3} +[0&!1&!2] 49 +State: 49 +[0&1&!2] 73 {3} +[0&!1&!2] 75 {0} +[0&!1&2] 105 +[!0&!1&!2] 95 {5} +[!0&1&2] 20 {1} +[0&!1&2] 32 {2 4} +[!0&!1&!2] 21 {0 3 5} +[!0&!1&!2] 12 {1} +[!0&!1&2] 36 {4} +[!0&!1&!2] 49 {2} +[!0&1&2] 40 {4 5} +[0&1&!2] 104 +[!0&1&2] 113 {2 3} +[!0&!1&2] 91 {2} +[0&!1&!2] 99 {0} +[!0&1&!2] 96 +[!0&!1&!2] 41 {0 5} +[0&!1&2] 16 +[!0&1&!2] 57 +[0&1&2] 4 +[0&1&!2] 87 {1 5} +[!0&1&2] 30 {4} +[!0&1&2] 8 {1} +[!0&1&2] 43 +[0&1&2] 80 {1 2} +[!0&1&!2] 76 +[0&1&!2] 59 +[0&!1&2] 27 {3} +[!0&1&!2] 72 {5} +[!0&!1&2] 71 {0} +[!0&1&2] 11 +State: 50 +[!0&!1&2] 79 {3 4} +[0&1&!2] 117 +[!0&1&2] 77 {2} +[!0&!1&2] 55 {5} +[!0&!1&2] 4 {5} +[!0&1&2] 68 +[!0&1&!2] 8 +[!0&!1&2] 65 {1 2} +[0&1&!2] 9 {0} +[0&!1&2] 42 {0} +[0&!1&2] 92 {3 5} +[0&1&2] 15 {2 3 4} +[!0&!1&!2] 60 {1} +[!0&!1&!2] 97 +[!0&!1&!2] 3 {0 1} +[0&1&2] 22 +[!0&!1&!2] 73 +[0&1&!2] 25 {0 5} +[!0&1&!2] 6 +[!0&1&!2] 75 {1} +[0&1&2] 86 {2} +[0&1&!2] 102 {3 4} +[!0&!1&!2] 61 {0 1} +[0&!1&2] 105 +[0&!1&2] 67 {0 1 3 5} +[!0&1&!2] 103 {0} +State: 51 +[0&!1&!2] 2 {1 4} +[0&1&!2] 110 {1 5} +[0&!1&2] 5 {1 4 5} +[0&!1&!2] 78 {4 5} +[0&1&2] 86 +[0&1&2] 8 {1} +[!0&!1&2] 77 {0 4} +[!0&1&2] 98 +[!0&1&!2] 106 +[!0&1&2] 87 {3} +[!0&1&!2] 94 +[0&!1&2] 27 {2 3} +[!0&!1&!2] 69 {0} +[!0&1&2] 47 +[!0&!1&2] 19 {0 3} +[!0&1&!2] 92 {2} +[!0&1&!2] 102 {5} +[0&1&!2] 109 {0 1} +[!0&1&!2] 97 +[0&1&2] 40 {4 5} +[!0&1&!2] 117 {0} +[0&1&2] 61 {0} +[!0&!1&!2] 39 {3} +[!0&!1&2] 49 +[!0&!1&2] 29 {4 5} +[!0&!1&!2] 58 {2} +[!0&1&2] 14 {5} +State: 52 +[!0&1&2] 91 {3 5} +[!0&!1&2] 63 {0} +[!0&!1&!2] 85 +[!0&1&2] 86 +[0&!1&2] 14 +[!0&1&2] 113 {1 3} +[0&!1&!2] 37 {0 3} +[!0&!1&!2] 25 {4} +[!0&!1&2] 69 {1 2 3} +[!0&1&!2] 8 +[0&!1&!2] 93 {1 2 5} +[0&!1&2] 57 {2} +[!0&1&!2] 9 {3} +[0&1&!2] 4 {0 2} +[!0&1&!2] 109 +[!0&!1&2] 103 {3 5} +[0&1&!2] 95 {0 3} +[!0&1&!2] 70 {2 3 4} +[!0&1&2] 114 {3} +[0&1&2] 88 +[!0&1&2] 20 +[0&1&!2] 66 {1 2 3 5} +[!0&!1&2] 105 {2 3 4} +[0&!1&!2] 74 +[!0&1&2] 118 +[0&1&!2] 52 {3} +[0&1&!2] 68 {2} +[!0&1&!2] 3 {1 2 4} +State: 53 +[!0&!1&!2] 34 {1} +[!0&!1&!2] 0 {5} +[0&1&!2] 110 {3} +[!0&!1&!2] 11 {0 3} +[0&!1&!2] 95 {1} +[!0&1&!2] 75 {2 3 4} +[!0&1&2] 63 {4} +[0&1&2] 96 {2} +[!0&1&2] 27 +[!0&1&2] 32 {2} +[0&1&2] 81 {1} +[0&1&!2] 103 {2 5} +[0&!1&!2] 113 +[!0&!1&2] 43 {3} +[!0&!1&2] 53 {5} +[!0&1&!2] 35 +[0&1&2] 29 {1 2 3 5} +[0&1&!2] 37 {0 1 4} +[!0&1&2] 83 {0 1 3} +[!0&1&2] 118 {0 1 4 5} +[0&!1&!2] 61 {0 4} +[!0&!1&2] 20 +[0&!1&2] 21 {3} +[!0&1&!2] 98 +[!0&!1&2] 108 +[!0&1&2] 67 {5} +[0&1&2] 1 +[!0&1&!2] 62 {1 2 5} +[!0&!1&2] 4 +[!0&1&!2] 71 {0} +[0&!1&!2] 107 {4} +[!0&!1&!2] 60 {2 3} +State: 54 +[!0&!1&!2] 42 {0} +[!0&!1&2] 104 {0} +[0&!1&!2] 92 {4 5} +[0&!1&2] 59 {1 4 5} +[0&!1&2] 81 {3} +[0&1&!2] 4 {2} +[0&!1&!2] 66 {4} +[!0&1&!2] 2 +[0&1&!2] 7 +[0&!1&!2] 102 {5} +[!0&!1&2] 16 {0} +[0&!1&!2] 39 +[!0&!1&!2] 43 +[0&!1&2] 55 {1 4 5} +[!0&!1&!2] 3 {0 2} +[!0&!1&2] 19 {0 2} +[0&!1&2] 116 {1 3} +[!0&1&2] 96 {2 3} +[!0&!1&2] 94 {0 1} +[0&1&2] 89 {3} +[!0&!1&!2] 41 +[0&1&!2] 27 {4} +[!0&1&2] 108 +[!0&!1&!2] 50 {2} +[0&1&2] 17 {2} +[!0&1&!2] 58 {3} +[!0&!1&2] 38 +[!0&!1&2] 29 {0 1} +State: 55 +[!0&1&2] 33 {3} +[0&1&!2] 62 +[!0&1&2] 89 {1} +[0&1&!2] 37 {3} +[!0&1&2] 66 {3} +[!0&1&2] 111 {0} +[!0&!1&!2] 9 {1 4} +[!0&1&2] 69 {3} +[0&1&2] 18 {1} +[0&!1&2] 61 {0 4} +[0&1&!2] 95 +[0&!1&!2] 42 +[!0&!1&!2] 64 {3} +[!0&!1&2] 106 {1} +[!0&!1&!2] 46 {3 4} +[!0&1&2] 16 {4} +[!0&!1&!2] 29 {2 4} +[!0&1&!2] 76 +[!0&!1&2] 39 +[!0&!1&2] 72 {0 3 5} +[!0&!1&!2] 52 {0 5} +[!0&!1&2] 8 {4} +[!0&1&!2] 105 {3 4} +[!0&1&!2] 80 {4} +[!0&!1&!2] 67 {4} +[0&!1&!2] 78 {0 4} +[0&!1&2] 27 +[!0&1&2] 68 {4 5} +[0&!1&!2] 34 +[0&1&2] 112 {1 2} +[!0&!1&2] 60 {2 4} +[!0&!1&!2] 65 {5} +[0&1&!2] 94 {0 1} +[!0&!1&!2] 114 {2} +[!0&1&2] 5 {3 5} +[!0&1&2] 57 {4} +[0&!1&2] 110 {2} +[!0&1&2] 32 {0 2 5} +[!0&1&!2] 75 {3 5} +[!0&1&!2] 86 {2} +[!0&1&2] 99 +State: 56 +[0&1&!2] 19 {3} +[!0&!1&!2] 117 +[!0&!1&!2] 8 {4} +[0&1&!2] 97 {3} +[!0&!1&2] 4 {5} +[0&1&2] 41 {0 1 3} +[0&1&!2] 31 {1 2 4} +[0&1&!2] 69 {5} +[!0&1&2] 9 {0} +[!0&1&!2] 74 +[0&1&!2] 32 {1} +[!0&!1&!2] 43 +[!0&1&2] 89 +[0&1&2] 78 {0 3} +[0&1&!2] 95 {5} +[!0&1&!2] 106 {3 5} +[0&1&!2] 40 {2 4} +[0&!1&2] 110 +[0&1&2] 27 {0 5} +[!0&1&2] 42 {5} +[!0&1&2] 66 {5} +[0&!1&!2] 6 {0} +[0&1&2] 88 {4} +[!0&1&2] 100 {1 5} +[!0&1&!2] 85 {4 5} +[0&!1&!2] 70 {3} +[!0&!1&2] 7 {2 3} +[!0&!1&2] 22 +[0&!1&2] 86 {0 4} +State: 57 +[0&1&!2] 54 {0} +[0&1&2] 66 +[!0&1&2] 9 {1} +[0&!1&2] 114 +[0&!1&!2] 5 {5} +[!0&!1&2] 10 +[!0&1&2] 110 {3} +[0&!1&2] 18 {0} +[!0&!1&!2] 96 {1 2 3} +[!0&1&2] 38 {4} +[0&1&2] 31 {2 4} +[0&1&2] 28 +[!0&1&2] 30 +[!0&1&!2] 111 +[!0&!1&!2] 37 +[!0&1&!2] 98 +[!0&!1&!2] 1 {3 4} +[!0&1&2] 76 {0} +[!0&!1&2] 74 +[!0&1&2] 58 +[!0&1&2] 113 {0 1 3} +[0&1&2] 6 {2 3 4} +[!0&1&!2] 8 +[!0&1&!2] 11 {4} +State: 58 +[!0&!1&2] 81 {3} +[!0&1&2] 99 {2} +[0&!1&!2] 97 +[!0&!1&!2] 41 {0 4} +[0&!1&2] 5 {3 5} +[!0&!1&2] 100 {0} +[0&!1&!2] 83 {2 3} +[!0&!1&!2] 40 {4} +[!0&1&2] 88 {1} +[0&1&!2] 25 +[0&1&2] 117 +[0&1&!2] 70 {3} +[!0&!1&2] 63 {0} +[0&1&2] 22 {5} +[!0&!1&2] 94 {0 1} +[!0&1&2] 111 +[!0&!1&!2] 30 {2 3 5} +[!0&1&!2] 12 {0 1 2} +[!0&!1&!2] 72 {3} +[!0&!1&!2] 59 {1 2 5} +[0&!1&2] 45 {3 4} +[0&!1&2] 118 {2 5} +[0&1&!2] 4 {0 1 2 4} +[0&!1&!2] 77 +[0&1&2] 106 +[!0&1&!2] 54 {2} +[0&!1&!2] 74 {1 3} +[!0&1&!2] 55 {3} +[0&1&!2] 90 {0 4} +[!0&!1&!2] 86 +[!0&1&!2] 24 {0} +[0&1&2] 89 {0} +[0&!1&2] 114 {0 2} +[0&1&2] 43 {0} +[0&1&2] 27 {1 2 4} +[!0&!1&2] 38 {5} +[!0&1&!2] 31 +[!0&1&!2] 14 {5} +State: 59 +[0&1&2] 41 {1 2} +[0&1&2] 3 {4 5} +[0&!1&2] 31 {0 3 5} +[0&1&!2] 90 {0} +[0&!1&2] 1 {1 4 5} +[0&!1&!2] 101 {0 2} +[!0&!1&2] 15 {0 3} +[0&1&2] 117 +[!0&!1&2] 8 {5} +[!0&!1&!2] 36 {1 3 4} +[0&1&2] 96 {3} +[0&1&!2] 59 {2 4} +[0&1&2] 5 {1} +[!0&!1&!2] 67 {3 5} +[!0&1&!2] 62 {4 5} +[!0&!1&!2] 16 +[0&!1&!2] 111 {3} +[!0&!1&!2] 6 {1} +[0&!1&!2] 109 {4} +[!0&1&!2] 74 {3 5} +[0&!1&!2] 4 {2 3 4} +[!0&!1&!2] 22 {1 5} +[!0&!1&2] 47 {3} +[0&1&2] 107 +[0&!1&2] 0 {0 2} +[0&!1&2] 79 {1} +[0&!1&2] 39 +[!0&!1&!2] 37 {0} +[!0&1&!2] 12 {1} +[0&!1&2] 2 {4} +[0&1&2] 100 {1} +[0&1&2] 40 {3 5} +[!0&1&2] 104 +[!0&1&2] 94 {3} +State: 60 +[!0&1&2] 57 {1} +[0&1&!2] 92 {0 3} +[0&1&2] 105 {0 5} +[0&!1&!2] 14 +[0&1&2] 16 {1 3} +[!0&!1&!2] 33 +[0&1&!2] 31 {5} +[!0&1&!2] 118 {4} +[0&1&2] 100 {1} +[!0&!1&!2] 22 {2} +[0&!1&!2] 52 {5} +[0&!1&2] 38 {0 2 5} +[0&1&2] 11 {2 5} +[0&!1&2] 3 {5} +[0&1&!2] 60 {2} +[!0&1&!2] 112 +[!0&1&2] 17 {1 3 5} +[0&!1&!2] 102 {2} +[0&1&!2] 101 {4} +[0&!1&!2] 55 {2 4 5} +[0&!1&!2] 27 {1} +[!0&1&!2] 9 +[0&!1&!2] 73 {3} +State: 61 +[!0&1&!2] 16 +[0&1&2] 11 {2 4} +[0&!1&!2] 38 +[0&!1&!2] 59 {5} +[!0&1&2] 55 +[0&1&!2] 51 {4} +[!0&!1&!2] 29 {1 2} +[!0&!1&!2] 68 {2} +[!0&1&2] 56 {0 2} +[!0&!1&2] 26 {5} +[!0&1&!2] 109 {0 2 4} +[!0&1&2] 97 {0} +[0&!1&!2] 2 +[0&1&2] 34 +[0&1&2] 35 +[!0&!1&2] 48 +[!0&!1&!2] 65 {0 1} +[!0&!1&!2] 89 {4} +[!0&!1&!2] 42 {3} +[!0&!1&!2] 112 {4} +[0&1&!2] 116 +[!0&!1&2] 58 +[!0&1&2] 18 {1 2} +[0&1&!2] 46 {0 4} +[0&1&2] 6 {3 4} +[!0&!1&!2] 36 {2} +[!0&1&2] 99 {3} +[0&!1&2] 22 {4 5} +[!0&!1&!2] 101 {2} +[!0&1&!2] 94 {3 4} +State: 62 +[0&1&!2] 76 {1} +[!0&!1&!2] 7 +[!0&!1&2] 69 {1} +[0&!1&2] 68 {0 3 4} +[!0&!1&2] 1 +[0&!1&2] 4 +[0&1&2] 32 {3} +[!0&!1&!2] 8 {0} +[!0&!1&2] 2 {4} +[!0&1&2] 11 {3 4 5} +[!0&1&2] 88 {0 5} +[!0&!1&!2] 97 {0} +[0&!1&2] 38 {1 2} +[0&!1&2] 94 {3} +[!0&1&2] 16 {1 4} +[!0&1&!2] 96 {4} +[0&!1&2] 41 {0} +[0&!1&2] 28 +[0&!1&2] 19 {5} +[!0&!1&2] 48 {0 2 3} +[!0&!1&!2] 116 +[0&1&!2] 5 +[!0&1&!2] 92 {3 4} +[!0&!1&!2] 77 {0 4} +[!0&1&2] 23 {0 2} +[!0&1&2] 13 +[0&1&2] 91 {5} +[!0&1&2] 103 +State: 63 +[0&1&2] 80 {1} +[!0&!1&2] 56 {0 1 2} +[!0&1&2] 42 {2 3} +[0&1&2] 98 {1 3 4} +[0&!1&2] 47 {1 2} +[0&!1&!2] 109 +[0&1&2] 87 {4 5} +[0&1&!2] 49 {1} +[0&!1&2] 21 {2 4} +[!0&!1&!2] 63 {0} +[0&!1&!2] 54 {1 4} +[0&!1&!2] 75 {4 5} +[!0&!1&2] 9 {1} +[0&1&!2] 82 +[!0&1&!2] 60 {1} +[!0&!1&2] 6 {0 1 5} +[!0&1&2] 8 {5} +[!0&1&!2] 17 +[!0&1&2] 7 +[0&1&2] 39 +[!0&!1&2] 71 +[!0&1&2] 117 {1 3 4} +State: 64 +[!0&!1&!2] 73 +[!0&1&2] 54 {5} +[0&1&!2] 67 {1 4 5} +[!0&1&2] 74 +[!0&!1&!2] 39 {5} +[!0&!1&2] 65 {0} +[0&1&2] 0 {0 2 3} +[0&1&!2] 91 {2} +[0&!1&!2] 109 {5} +[!0&!1&!2] 20 {4 5} +[0&1&2] 4 {2 3} +[!0&1&!2] 110 {1} +[!0&1&!2] 75 +[0&1&!2] 81 {0} +[0&1&2] 99 {4} +[!0&!1&2] 62 {0} +[0&!1&2] 36 {3 4} +[0&!1&!2] 15 +[0&1&!2] 85 +[!0&1&2] 102 {3} +[0&!1&2] 46 {0} +[0&1&2] 7 +[!0&!1&2] 34 {4} +[0&1&2] 17 {0} +[0&!1&!2] 11 {0 1 3} +[!0&!1&2] 47 {0 2} +[0&1&2] 43 {4} +[!0&1&2] 44 {3 5} +[!0&!1&2] 27 {2 3} +[!0&!1&!2] 89 {4} +[0&1&2] 103 {2} +[0&!1&!2] 92 {2 4} +[0&!1&2] 28 {2 4} +[0&!1&!2] 16 {4} +State: 65 +[!0&1&!2] 28 +[0&1&2] 110 +[!0&1&2] 69 {0 5} +[0&!1&!2] 97 +[!0&!1&!2] 55 {3} +[!0&!1&!2] 90 {0 5} +[0&!1&2] 79 {3} +[!0&!1&2] 114 +[!0&!1&!2] 66 {0} +[0&!1&2] 46 {1} +[!0&1&!2] 10 {2} +[0&1&2] 31 {4 5} +[0&!1&2] 91 {2} +[0&1&2] 7 {2} +[0&!1&2] 86 {1 3 4} +[0&1&!2] 71 {0 3} +[!0&1&!2] 33 +[!0&1&2] 104 +[!0&!1&!2] 109 {0} +[!0&1&!2] 52 {3} +[!0&!1&!2] 25 {1} +[0&1&!2] 1 +[!0&!1&!2] 60 {0 3} +[!0&1&!2] 37 {2 3} +[0&1&!2] 98 +[0&1&2] 117 +[!0&1&!2] 14 {3} +[0&!1&2] 29 {0} +[0&1&2] 39 +[0&1&2] 101 {0} +[0&1&2] 119 {1} +[!0&!1&2] 40 +[0&1&2] 12 +State: 66 +[0&1&!2] 17 {4} +[0&1&!2] 35 +[0&!1&!2] 71 {2} +[!0&1&!2] 112 {4} +[0&1&!2] 23 +[!0&1&2] 29 {5} +[!0&1&2] 91 +[0&1&!2] 83 +[!0&1&!2] 100 {0} +[!0&!1&!2] 11 +[!0&!1&2] 51 {1 2} +[0&1&2] 25 {3} +[!0&1&2] 118 {3} +[0&!1&2] 46 {0 2 3 5} +[0&!1&!2] 60 {0 3 4} +[!0&1&2] 87 +[!0&1&!2] 116 +[0&1&2] 43 {1} +[0&!1&2] 65 {0 1} +[0&!1&2] 12 +[!0&!1&!2] 77 {1} +[0&1&!2] 111 {0 3 5} +[0&!1&!2] 49 {5} +[!0&!1&2] 76 {0 2} +[!0&!1&!2] 3 +State: 67 +[0&!1&2] 93 +[!0&1&2] 82 {3} +[!0&1&2] 5 +[0&!1&2] 26 {4} +[!0&!1&!2] 56 {0} +[0&1&!2] 105 {4} +[0&1&!2] 67 {5} +[0&!1&2] 59 +[0&!1&2] 69 {4 5} +[0&!1&2] 94 {5} +[0&1&!2] 6 +[!0&1&2] 110 +[0&!1&2] 7 +[0&1&!2] 40 {1} +[0&!1&!2] 92 +[0&1&2] 107 {4 5} +[!0&!1&!2] 106 {2} +[0&1&!2] 17 {0} +[!0&!1&2] 50 +[0&!1&!2] 13 {0 1 2} +[!0&!1&2] 85 +[!0&!1&2] 88 +[!0&!1&2] 3 +[!0&1&2] 23 {0 1 5} +[0&!1&2] 100 +[0&1&!2] 36 {1 3} +State: 68 +[!0&!1&2] 92 {0 1 5} +[0&!1&!2] 33 {1} +[!0&1&!2] 76 {0} +[!0&1&!2] 44 +[0&!1&!2] 28 {2} +[0&!1&2] 114 {5} +[0&1&2] 59 {3 4} +[!0&!1&!2] 113 {2 5} +[0&1&!2] 46 +[0&1&!2] 0 {3} +[!0&!1&2] 94 {2 5} +[!0&1&!2] 21 {4} +[!0&!1&2] 47 {0} +[0&1&2] 89 {3 5} +[!0&1&!2] 20 {4 5} +[!0&1&!2] 90 {1} +[0&!1&!2] 69 {3} +[!0&1&!2] 95 +[0&!1&!2] 118 {1 3} +[0&1&2] 107 {5} +[0&1&2] 102 +[0&1&2] 32 {0 2 4} +[!0&1&2] 111 +[!0&1&2] 19 {3 5} +[0&1&!2] 105 {3} +[!0&!1&2] 106 +[!0&1&2] 4 {0} +[!0&!1&!2] 52 {4 5} +[!0&!1&!2] 99 {3} +[0&!1&!2] 66 {0} +[!0&1&!2] 17 {2 4 5} +[!0&1&2] 87 +State: 69 +[!0&!1&!2] 107 {5} +[0&1&2] 53 {2} +[0&1&2] 104 +[!0&!1&!2] 70 {2} +[!0&!1&2] 31 {1 4} +[!0&1&2] 60 +[0&!1&!2] 95 {3} +[!0&1&!2] 27 {1 3 4 5} +[!0&!1&!2] 3 +[0&!1&!2] 75 +[0&1&!2] 30 {1 2 4} +[!0&!1&2] 117 +[0&1&!2] 111 {0} +[0&!1&2] 84 {2} +[0&!1&2] 72 {5} +[!0&1&2] 50 +[0&1&2] 8 +[0&1&2] 19 {2} +[0&!1&!2] 80 {2} +[!0&!1&2] 13 {2} +[0&1&2] 16 {0 4} +[!0&1&2] 40 {0 2 5} +[!0&!1&!2] 58 {1 3 4} +[0&1&!2] 33 {4} +[!0&1&!2] 39 +[!0&!1&2] 109 +[0&!1&!2] 20 {0} +[!0&1&2] 105 {1 4} +[!0&1&!2] 17 {4 5} +[0&1&2] 37 {4} +[0&1&!2] 112 {4} +[0&1&!2] 90 {0} +State: 70 +[0&1&2] 8 {5} +[!0&1&2] 107 {5} +[!0&1&2] 36 {1 5} +[0&!1&2] 25 {0} +[!0&1&!2] 108 +[!0&!1&2] 71 {0} +[!0&1&2] 42 {1 5} +[0&!1&2] 55 {0 4} +[0&1&!2] 53 {3 4 5} +[!0&!1&!2] 60 {4} +[0&!1&!2] 90 {0} +[0&!1&!2] 118 +[0&!1&2] 112 {0} +[!0&!1&2] 97 {0 5} +[0&1&2] 80 {2} +[!0&!1&!2] 64 +[0&!1&!2] 83 +[0&!1&!2] 27 {1} +[!0&!1&!2] 104 {0 1 4} +[!0&!1&!2] 94 +[!0&1&!2] 88 {4} +[0&1&!2] 103 {0} +[!0&1&!2] 21 {5} +State: 71 +[0&!1&!2] 42 {1} +[0&!1&2] 63 {5} +[0&!1&!2] 109 {2 3} +[0&!1&2] 9 +[0&1&2] 20 {0} +[!0&1&2] 111 {1 2 4} +[0&1&!2] 68 {0} +[0&!1&!2] 73 {3} +[0&1&!2] 22 {5} +[0&!1&2] 34 {0} +[!0&!1&!2] 47 {4} +[0&1&2] 21 {5} +[!0&1&2] 43 {1 2} +[0&1&2] 101 {4} +[0&1&!2] 80 {1 2 5} +[0&1&!2] 10 +[!0&!1&2] 78 {2 4} +[0&1&!2] 51 +[!0&1&!2] 112 {5} +[!0&1&2] 41 +[0&!1&!2] 46 {0} +[0&!1&2] 27 {0 1} +[!0&1&!2] 54 {1} +[0&1&!2] 44 {0 2} +[!0&!1&2] 72 {5} +[!0&!1&2] 104 {5} +[0&!1&!2] 57 {3} +[0&1&2] 12 {1 4} +[!0&1&2] 96 +[!0&!1&2] 53 {0 3} +[!0&1&2] 75 {0} +[0&!1&!2] 56 {2 3 5} +State: 72 +[0&1&!2] 12 {3} +[!0&1&2] 96 {3} +[!0&!1&2] 19 {3} +[0&!1&!2] 41 {1} +[0&!1&2] 70 {5} +[0&!1&!2] 68 {0 5} +[!0&1&2] 23 {4 5} +[0&1&!2] 31 {1} +[0&!1&!2] 40 +[0&!1&2] 84 {0 2 5} +[!0&1&!2] 11 {0 3 5} +[!0&!1&2] 6 {2 3} +[!0&!1&2] 69 {4} +[!0&1&2] 73 {2 4} +[!0&1&!2] 4 {2 4 5} +[!0&!1&2] 110 {3} +[!0&1&2] 58 {1 5} +[0&1&!2] 45 {0} +[0&1&2] 66 {3} +[0&!1&2] 24 {1} +[!0&1&2] 25 +[!0&!1&2] 89 {5} +[0&1&!2] 37 {0 4 5} +[!0&!1&!2] 83 +[!0&1&!2] 85 {0} +State: 73 +[!0&!1&2] 79 {3} +[0&!1&2] 116 +[!0&!1&2] 118 +[0&1&!2] 78 +[0&!1&!2] 38 {0} +[0&!1&2] 18 {1} +[!0&1&2] 82 {0} +[0&1&!2] 71 {2} +[0&1&!2] 68 {4} +[0&!1&2] 12 {0} +[0&!1&2] 40 {4} +[!0&!1&!2] 73 +[!0&1&2] 93 {3} +[!0&1&2] 44 {5} +[0&!1&!2] 83 {1 2 3} +[0&1&2] 89 {3 5} +[!0&1&!2] 26 +[!0&!1&!2] 6 +[!0&1&!2] 70 {1 3} +[0&!1&2] 109 {0 2 3 5} +[0&1&!2] 85 {5} +[!0&1&!2] 35 {3} +[0&!1&!2] 23 {2 3} +[!0&1&!2] 13 +[0&1&2] 3 {1} +[0&!1&!2] 8 {1} +[!0&1&!2] 7 {0 5} +[!0&!1&!2] 114 {4} +[!0&1&!2] 43 {5} +[!0&1&!2] 37 {2 4} +[!0&1&!2] 47 {1} +[0&!1&!2] 81 +[!0&!1&!2] 9 {0 4 5} +State: 74 +[0&1&!2] 32 +[!0&!1&2] 27 +[0&!1&2] 71 {1 3 5} +[0&1&2] 97 {0 5} +[0&!1&!2] 77 {0 1 5} +[!0&!1&2] 78 {0 2 3} +[0&1&!2] 46 +[!0&1&2] 24 {0 2} +[!0&1&2] 111 {1} +[!0&1&!2] 38 +[0&1&2] 74 {2} +[!0&1&2] 117 +[!0&1&2] 44 +[!0&1&2] 86 +[0&1&2] 99 {1 2 3} +[!0&1&!2] 9 {0} +[0&!1&!2] 82 {1} +[0&!1&2] 22 {4 5} +[!0&!1&2] 3 {3} +[!0&1&2] 0 {4} +[!0&!1&2] 119 +[!0&1&2] 58 {0 4} +[!0&1&!2] 39 +[!0&!1&!2] 85 {1} +[0&1&!2] 42 {0} +[!0&!1&!2] 115 {4} +[!0&!1&!2] 110 {2} +[0&!1&!2] 20 {5} +[0&!1&!2] 91 +[!0&!1&!2] 118 +[0&!1&!2] 31 {0 1} +[!0&!1&2] 70 {2} +[0&!1&!2] 76 {0 3} +[0&1&2] 36 {0 4} +State: 75 +[!0&!1&2] 99 {1} +[0&!1&!2] 69 +[0&1&2] 66 {1 5} +[0&1&2] 86 +[!0&!1&2] 62 {5} +[0&!1&!2] 27 {0 2 3} +[!0&!1&!2] 42 {4 5} +[!0&1&!2] 114 {2 4} +[0&1&!2] 12 {3 5} +[!0&1&!2] 23 +[0&!1&2] 61 {1} +[!0&!1&2] 100 {0} +[!0&1&2] 28 {4 5} +[!0&!1&!2] 14 {0 5} +[!0&1&2] 67 {1 3 4} +[!0&1&2] 71 {5} +[0&1&2] 5 {0 3 4} +[!0&!1&2] 41 {1} +[!0&1&2] 84 +[0&!1&2] 0 {0 2 3} +[0&1&!2] 54 +[!0&!1&2] 30 +[0&1&!2] 90 {4} +[0&!1&!2] 2 +[!0&1&2] 50 +[0&!1&2] 36 {1} +[!0&!1&!2] 63 {2 3 4} +[0&!1&!2] 52 {0} +[0&!1&!2] 70 {3} +[0&!1&!2] 17 {5} +[0&1&!2] 83 {4 5} +[0&1&2] 78 {5} +[0&1&2] 45 {0} +State: 76 +[0&!1&!2] 96 {2 3} +[0&!1&2] 4 {0} +[!0&!1&2] 103 {2 5} +[0&!1&2] 89 {1} +[0&1&!2] 61 {1 2} +[0&!1&!2] 53 {4 5} +[!0&!1&!2] 46 {2 4} +[0&!1&2] 2 {4} +[0&1&2] 0 {0} +[!0&1&!2] 21 +[0&!1&!2] 115 +[!0&!1&!2] 91 {4} +[0&1&2] 117 +[!0&1&2] 12 {0 3} +[0&!1&2] 3 {1 3} +[!0&1&!2] 13 {5} +[0&1&2] 84 +[0&1&2] 6 {0} +[!0&1&!2] 35 +[!0&!1&2] 82 +[0&1&2] 16 {3 5} +[!0&1&2] 31 +[0&1&2] 45 {2} +[0&1&!2] 32 {1 4} +[0&1&2] 36 {3} +[!0&!1&!2] 23 +[0&1&2] 63 {2} +[!0&!1&!2] 8 {0 1 4} +[0&1&2] 105 {4} +[0&1&!2] 33 {2 4} +[0&!1&!2] 93 +[!0&!1&!2] 74 {1 4 5} +[!0&!1&!2] 113 {0 2 4 5} +[!0&1&2] 56 {0 1 3} +[!0&!1&2] 10 {2} +State: 77 +[!0&1&!2] 4 {0 1} +[!0&!1&!2] 43 {4} +[!0&1&2] 54 {3} +[!0&1&!2] 35 {0 4} +[0&1&!2] 6 {2 4} +[!0&1&!2] 99 {5} +[0&1&!2] 113 {1} +[0&!1&2] 94 {0 1 3} +[0&!1&!2] 107 {4} +[0&!1&!2] 68 {3} +[!0&1&2] 111 {3} +[!0&1&2] 104 +[0&1&2] 81 {0 1} +[!0&1&2] 28 {2 4} +[0&1&2] 50 {5} +[0&1&!2] 29 {4} +[0&1&2] 93 {1} +[!0&1&!2] 26 +[!0&1&2] 56 {4} +[!0&!1&!2] 116 {3} +[0&!1&2] 30 {0} +[!0&1&2] 38 +[0&!1&!2] 2 {1 5} +[!0&1&!2] 95 {4 5} +[!0&1&2] 106 {2 5} +[0&!1&!2] 32 {1} +[0&!1&2] 80 {0 4} +[0&!1&2] 49 {0 2 4 5} +[!0&1&2] 3 {4} +State: 78 +[!0&1&2] 26 {2 3} +[0&!1&!2] 106 {0 1 2} +[!0&1&2] 43 {5} +[0&1&!2] 12 {4} +[!0&!1&2] 14 {0 5} +[0&1&!2] 75 {5} +[!0&1&!2] 55 {0 2 4} +[!0&1&!2] 71 {0} +[0&!1&2] 102 +[0&!1&2] 108 {3 4} +[!0&!1&!2] 99 {4 5} +[0&1&!2] 16 {2 3 5} +[!0&!1&!2] 119 {2 5} +[0&1&2] 35 {0 3} +[0&!1&2] 97 {5} +[0&1&2] 9 {5} +[0&1&2] 109 {3} +[0&1&2] 1 +[!0&!1&!2] 67 +[0&1&2] 50 {3} +[!0&!1&2] 88 {0 1 2} +[0&!1&2] 112 {3} +[!0&1&2] 0 {1} +[0&!1&2] 65 {1} +[!0&!1&!2] 45 +State: 79 +[!0&!1&!2] 59 +[!0&!1&2] 76 {4} +[0&1&2] 105 {1} +[!0&!1&2] 107 {1 3} +[0&!1&2] 58 {3} +[!0&1&!2] 75 +[!0&!1&!2] 36 {0 1 3 4 5} +[0&1&2] 45 {1 5} +[0&1&2] 21 {0} +[0&!1&!2] 95 {4} +[0&!1&!2] 65 {2 3 4} +[0&1&2] 10 {0 2} +[0&1&!2] 82 {2} +[0&1&2] 40 {4 5} +[0&!1&!2] 69 {3} +[0&1&!2] 80 {1 2} +[!0&!1&2] 27 {0 3} +[0&!1&!2] 89 +[!0&!1&2] 93 {1 4 5} +[0&!1&!2] 14 +[0&!1&!2] 23 {0 1 5} +[!0&1&2] 22 {1 4} +State: 80 +[!0&1&2] 85 +[0&1&!2] 110 {0 3 4} +[!0&1&!2] 89 {2} +[0&1&!2] 1 {1 4} +[0&!1&!2] 65 +[0&1&2] 35 {3 5} +[0&1&!2] 109 {2 4} +[0&1&2] 91 {3 5} +[!0&1&2] 103 +[!0&!1&!2] 31 +[!0&!1&!2] 98 {3 4} +[!0&!1&!2] 77 {3} +[0&!1&!2] 38 {1 2 3} +[!0&!1&2] 40 +[0&1&2] 88 {0 2} +[0&1&!2] 56 {0} +[0&!1&!2] 116 +[!0&!1&2] 36 +[!0&1&!2] 57 {2} +[0&1&!2] 106 +[!0&1&2] 33 {1} +[!0&1&2] 9 {0 2 3 4} +[0&!1&2] 80 {2 4} +[!0&!1&2] 68 {0 4} +[0&!1&!2] 25 {2 5} +[!0&!1&2] 75 {3 4} +[0&!1&!2] 102 {2 5} +[0&!1&2] 23 {5} +[!0&!1&2] 44 +[!0&1&!2] 73 {1 4} +[0&!1&2] 112 {0 5} +[0&!1&2] 42 {0 2} +[0&1&!2] 92 {0} +[0&1&!2] 67 +[0&!1&!2] 74 {1} +State: 81 +[!0&1&!2] 117 {4} +[0&1&!2] 22 {1 2 3} +[0&!1&2] 71 {0 1 5} +[!0&!1&2] 83 {0 4} +[0&1&2] 50 {3} +[0&1&!2] 78 {1 4} +[0&!1&2] 52 {5} +[!0&1&!2] 2 {1 2 4} +[!0&1&!2] 82 {4} +[!0&!1&!2] 89 {5} +[0&!1&!2] 42 {4} +[!0&1&!2] 13 {4} +[!0&!1&!2] 23 {0} +[0&!1&!2] 77 {1 3 4} +[!0&!1&!2] 41 +[!0&1&2] 36 {0 2} +[!0&1&!2] 16 +[!0&1&2] 68 +[!0&!1&2] 45 {0} +[0&1&!2] 99 {1 4 5} +[0&1&2] 112 +[0&1&!2] 59 +[0&1&!2] 61 {3} +State: 82 +[0&!1&!2] 79 {2 5} +[0&!1&!2] 44 {1 4} +[0&1&!2] 20 {1} +[!0&1&!2] 102 {0 1} +[!0&!1&!2] 70 {1 4} +[!0&!1&!2] 36 +[0&!1&2] 82 +[!0&1&2] 2 +[!0&1&!2] 93 {1 5} +[!0&!1&2] 109 +[0&1&2] 35 {0 1 2 4} +[!0&!1&2] 87 {4} +[!0&1&!2] 89 {3} +[!0&!1&!2] 7 {3 4} +[0&1&!2] 34 {2} +[!0&1&2] 5 {4} +[!0&1&!2] 62 {1} +[!0&!1&!2] 78 {3 5} +[!0&1&!2] 50 +[0&!1&2] 90 +[0&!1&!2] 100 +[0&1&2] 57 {0 4} +[0&!1&!2] 110 {1 2 3 5} +[!0&!1&2] 77 {2 5} +[0&1&2] 31 {4} +[0&1&!2] 42 +[!0&1&!2] 97 {2} +[0&!1&2] 111 {3} +State: 83 +[0&1&2] 31 {1} +[0&!1&!2] 117 {4} +[0&1&2] 26 +[0&!1&2] 52 {0 3 5} +[!0&!1&!2] 7 +[!0&!1&!2] 84 {3} +[0&1&2] 54 {1 5} +[0&!1&!2] 103 {2} +[0&!1&2] 106 {2} +[0&!1&!2] 116 {1 3} +[!0&!1&!2] 21 {2} +[0&!1&2] 72 +[0&!1&!2] 49 +[!0&1&!2] 67 {2} +[!0&1&2] 44 {4 5} +[!0&!1&!2] 80 {2 4} +[0&1&2] 48 {3} +[!0&!1&2] 82 {1 2 5} +[!0&!1&!2] 89 {0 5} +[0&!1&2] 36 {2} +[0&1&!2] 70 {3} +[!0&1&2] 57 {1} +[!0&1&2] 93 {1 2 3} +[0&!1&!2] 17 {1 5} +[!0&!1&2] 119 {0 3} +[!0&!1&2] 13 +[!0&!1&!2] 83 +[!0&1&2] 11 +[!0&1&!2] 86 {2 5} +[!0&!1&2] 104 {0 1} +[0&1&2] 69 {3} +[0&!1&!2] 62 +[0&1&2] 19 {0} +[0&1&!2] 79 +State: 84 +[0&1&2] 19 {1 2 4} +[0&1&!2] 70 +[!0&!1&2] 26 {1 3} +[0&!1&!2] 96 +[!0&!1&2] 31 {0 5} +[!0&!1&2] 34 {5} +[!0&1&!2] 30 {2} +[!0&!1&!2] 83 {3} +[0&1&!2] 68 {1} +[0&1&2] 76 {2 5} +[!0&1&2] 79 {0 2 3} +[!0&!1&2] 77 {2} +[!0&1&!2] 116 {4} +[!0&!1&!2] 16 +[0&!1&!2] 87 {0 2 4} +[!0&!1&!2] 94 {4} +[!0&!1&2] 43 {1} +[0&1&2] 88 {2 5} +[!0&1&2] 101 {1} +[!0&1&2] 66 {3 4 5} +[0&!1&2] 117 {1} +[!0&!1&2] 6 +[!0&1&!2] 52 {5} +[!0&!1&2] 17 {1} +[!0&!1&2] 93 +[0&1&2] 112 {0} +[!0&1&2] 73 {1} +[0&1&!2] 111 {0} +[!0&1&!2] 44 {0 1 3 5} +[0&!1&!2] 35 +[0&1&!2] 10 {1 2} +[!0&1&!2] 8 {2 3 4} +[!0&!1&!2] 63 {4 5} +[0&!1&!2] 21 +State: 85 +[0&!1&2] 39 {0 3} +[0&!1&!2] 19 {0 1} +[0&1&2] 114 +[0&!1&2] 13 {1 5} +[0&!1&2] 109 +[!0&1&!2] 20 {4} +[0&!1&2] 91 +[!0&!1&2] 29 {1} +[!0&!1&2] 99 +[!0&1&!2] 83 +[!0&1&!2] 52 {3} +[0&1&!2] 7 +[!0&1&!2] 88 {3 5} +[!0&1&!2] 47 {3} +[!0&!1&!2] 50 {3} +[0&!1&2] 32 {4} +[!0&1&2] 94 {2} +[!0&!1&!2] 63 +[!0&1&!2] 2 {2} +[!0&1&2] 106 {2 3} +[0&!1&!2] 89 {0 2} +[!0&1&2] 41 {3} +[!0&1&!2] 112 {3 4} +[!0&1&!2] 38 {3 5} +[0&!1&2] 59 {1} +[0&1&!2] 21 {1 2 4} +[0&!1&!2] 75 {1} +[0&1&!2] 84 {1 3 4} +[0&1&!2] 17 {1 2} +[!0&!1&2] 18 {3} +[!0&!1&!2] 107 {3} +State: 86 +[!0&1&!2] 47 {2 4} +[0&1&2] 61 +[!0&!1&!2] 94 +[!0&1&!2] 98 {4 5} +[0&1&!2] 74 {0 1} +[0&1&2] 26 {4 5} +[!0&!1&2] 116 +[0&1&!2] 12 {5} +[!0&1&2] 71 +[!0&1&2] 81 {5} +[0&!1&!2] 75 {1} +[0&!1&2] 112 +[!0&!1&!2] 19 {0 5} +[0&!1&!2] 76 {0 1} +[!0&1&2] 102 {0 1} +[0&1&2] 13 {1} +[!0&!1&2] 95 +[!0&!1&!2] 62 {2 5} +[!0&1&!2] 2 {1} +[!0&!1&!2] 55 {3} +[!0&1&2] 109 {1} +[!0&!1&2] 18 {0 4} +[!0&1&2] 107 {1} +[!0&!1&!2] 54 {1} +[!0&!1&!2] 105 +[!0&1&2] 49 {5} +[!0&1&2] 7 +[!0&1&2] 64 +[0&!1&!2] 37 {2 4} +[0&1&!2] 91 +[0&!1&2] 16 {2} +[0&1&2] 87 {1 5} +[0&!1&2] 104 {3} +[0&1&2] 110 {2 3} +[!0&!1&!2] 65 {2 4} +[!0&!1&2] 88 {4} +[0&1&2] 31 {3} +[0&!1&!2] 86 {4} +[!0&!1&2] 38 +[0&1&2] 23 {0} +State: 87 +[0&1&2] 38 {5} +[0&1&2] 76 {2} +[!0&1&2] 113 {3} +[!0&!1&2] 68 {1 4} +[0&!1&!2] 45 +[0&1&!2] 115 +[!0&!1&2] 27 +[0&!1&!2] 46 +[0&1&!2] 87 +[0&!1&!2] 75 {4 5} +[0&!1&!2] 36 {1 4} +[!0&!1&2] 102 {1} +[0&!1&2] 23 +[!0&!1&2] 17 {5} +[!0&!1&!2] 90 +[0&1&2] 50 {1 2 3} +[0&!1&2] 33 +[0&!1&2] 19 {1 2 3 5} +[!0&1&2] 117 +[0&!1&!2] 55 {5} +[!0&1&2] 118 {2} +[0&1&2] 16 +[!0&!1&!2] 78 +[0&1&2] 0 {1 4} +[0&1&!2] 62 {5} +[0&1&2] 26 {5} +[0&1&2] 94 {0 2 5} +[0&!1&!2] 105 {3} +[!0&1&2] 22 +State: 88 +[0&1&!2] 39 {3 5} +[0&1&!2] 24 +[!0&!1&2] 116 {3} +[0&1&!2] 100 {0 4} +[0&1&2] 56 {1 2 4} +[!0&1&2] 13 {1 5} +[0&1&!2] 70 +[0&!1&!2] 90 {5} +[0&1&!2] 107 +[0&1&2] 45 {0 3} +[!0&1&!2] 32 {2 5} +[!0&!1&2] 96 {1 2 4} +[!0&!1&!2] 19 +[!0&!1&2] 63 {1} +[0&!1&!2] 30 +[0&1&2] 105 +[0&1&!2] 95 +[!0&!1&2] 101 +[!0&!1&!2] 26 +[!0&1&2] 108 {3} +[0&!1&!2] 113 {1 4} +[0&!1&!2] 104 +[!0&!1&2] 38 {0 2 4} +[!0&!1&2] 71 {2 5} +[0&1&!2] 98 +[!0&!1&!2] 79 {1 5} +[0&1&!2] 112 {1 5} +[!0&1&!2] 119 {5} +[!0&1&2] 27 {4 5} +[!0&1&2] 110 {0 3} +[!0&!1&2] 117 +[0&!1&!2] 22 {0 1 2 5} +[0&1&2] 16 {0} +[!0&!1&!2] 73 {0 5} +[!0&1&!2] 29 +State: 89 +[!0&1&!2] 87 {3 5} +[0&!1&2] 34 {2} +[!0&1&2] 17 {1} +[!0&1&!2] 10 {5} +[0&1&!2] 113 +[!0&1&2] 14 {0} +[0&!1&2] 65 +[0&!1&!2] 110 +[!0&1&2] 41 {4} +[!0&!1&!2] 100 {2 4} +[!0&1&!2] 2 {0 1 4} +[0&1&!2] 74 {0} +[!0&!1&2] 79 {1 4} +[!0&1&2] 26 {3} +[!0&!1&2] 72 {1} +[!0&1&2] 119 {1 4} +[!0&1&!2] 53 +[!0&1&!2] 52 {0 3} +[0&!1&!2] 25 {2} +[!0&!1&!2] 32 +[0&!1&2] 114 {4 5} +[!0&1&!2] 33 {4} +[0&1&2] 13 {1 4} +State: 90 +[0&!1&2] 52 {1 2} +[!0&!1&!2] 23 {5} +[!0&!1&!2] 4 {3} +[!0&!1&!2] 18 {1} +[0&1&!2] 118 {4} +[0&1&2] 30 +[!0&1&2] 94 {1} +[0&!1&!2] 29 {1 5} +[0&!1&!2] 59 {5} +[!0&1&2] 44 {3} +[0&!1&!2] 49 +[!0&1&!2] 58 {0} +[!0&1&2] 77 {3} +[!0&1&!2] 103 {0 4 5} +[!0&1&2] 27 {5} +[!0&1&!2] 15 {4} +[!0&1&2] 63 +[!0&1&!2] 85 {2} +[0&!1&!2] 39 +[0&1&2] 51 {5} +[0&1&2] 48 +[0&1&!2] 88 +[!0&1&2] 109 +[0&1&!2] 69 {3} +[!0&1&2] 8 {0} +[0&1&2] 36 +[0&!1&!2] 53 +[0&!1&!2] 6 +[!0&!1&!2] 90 {1 5} +[!0&1&2] 101 +[0&!1&!2] 38 +[0&!1&!2] 73 {0 4 5} +[0&!1&!2] 61 {2} +[0&!1&2] 20 {3 4} +[0&1&!2] 112 {2} +State: 91 +[!0&1&!2] 53 +[!0&1&!2] 5 {1} +[0&!1&2] 29 +[0&!1&!2] 25 {0 3 4} +[!0&!1&2] 61 +[0&1&2] 65 {4 5} +[0&1&!2] 105 +[!0&!1&!2] 88 {2 3} +[0&1&2] 10 +[0&!1&2] 98 {5} +[0&!1&2] 71 {3} +[0&1&2] 67 {4} +[0&!1&2] 118 {2 4} +[0&!1&2] 38 {4} +[!0&!1&2] 55 {1} +[!0&!1&!2] 17 {0} +[!0&1&2] 57 +[0&1&!2] 91 {1} +[0&!1&2] 39 {0} +[!0&1&2] 2 {0 2} +[!0&!1&!2] 40 {1} +[!0&!1&2] 0 {1 2} +[!0&!1&2] 41 {3 4} +[!0&!1&2] 1 {3} +[!0&!1&!2] 59 +[!0&!1&!2] 64 {3} +[0&1&!2] 79 {1 4} +[0&!1&!2] 36 +[!0&1&!2] 116 {2} +[0&!1&2] 76 {3} +[!0&!1&!2] 80 {0 3} +[!0&1&!2] 52 {3} +[0&!1&2] 42 {0} +State: 92 +[0&!1&!2] 68 {0 1 3} +[0&1&!2] 12 {0 1} +[0&!1&!2] 92 {0 2 5} +[!0&!1&2] 25 {2} +[!0&1&2] 88 +[!0&1&!2] 42 +[!0&!1&!2] 104 +[0&1&2] 32 {1 4} +[0&!1&!2] 21 {0 4} +[0&1&2] 28 {2 3 4} +[0&1&2] 57 {4} +[0&!1&2] 33 {1} +[0&!1&!2] 108 +[!0&!1&2] 107 +[0&!1&!2] 76 {3} +[!0&!1&2] 34 {1 2 5} +[0&1&!2] 116 {2 5} +[0&1&2] 99 {5} +[0&1&2] 23 {0} +[0&1&!2] 37 {3 4} +[0&1&2] 19 {5} +[0&1&!2] 82 +[!0&!1&2] 1 {1} +[0&1&!2] 78 +[!0&1&!2] 60 {1 2 3 4} +[0&!1&2] 96 {2 4} +[0&!1&2] 69 {1 3} +[0&!1&!2] 6 +[0&!1&!2] 44 {3} +[!0&!1&!2] 29 +[!0&1&2] 117 {0 4} +[0&1&!2] 64 {4} +State: 93 +[!0&!1&!2] 89 {0} +[!0&1&!2] 1 {4} +[!0&!1&2] 25 +[!0&1&2] 95 {1 2 4} +[0&!1&2] 116 {1 2} +[0&!1&!2] 98 {0} +[0&1&!2] 108 {0 2} +[!0&1&!2] 101 +[!0&!1&2] 0 {1 4} +[0&!1&!2] 73 {2 3} +[0&!1&!2] 14 {1} +[0&!1&2] 93 {1 5} +[!0&!1&!2] 113 {1} +[0&1&!2] 92 +[0&!1&2] 94 {0} +[0&!1&!2] 78 +[0&!1&2] 82 {1} +[!0&1&2] 45 +[0&1&2] 102 {0} +[0&!1&!2] 80 {3 5} +[0&!1&2] 84 {1 4} +[0&1&!2] 69 {0 2 5} +[!0&1&2] 50 {0 1 5} +[!0&!1&!2] 71 {1} +[0&1&2] 20 {4} +[0&!1&2] 56 +[!0&1&!2] 106 {0 1 2 4} +[0&!1&!2] 6 +State: 94 +[!0&!1&2] 84 {3 4} +[!0&!1&!2] 29 {5} +[0&!1&!2] 42 {3} +[0&!1&2] 118 {3} +[!0&1&!2] 3 {3} +[!0&!1&!2] 66 {4} +[0&1&2] 32 +[0&1&2] 71 +[!0&!1&2] 86 {4} +[!0&1&2] 47 {4} +[0&!1&2] 1 +[!0&1&!2] 85 {2 4} +[!0&!1&!2] 12 {0} +[!0&!1&2] 78 +[0&!1&!2] 8 {1 3} +[0&1&2] 39 +[0&!1&2] 26 {3 5} +[!0&!1&2] 82 {5} +[0&1&2] 115 +[!0&!1&2] 25 {0} +[!0&1&!2] 77 +[0&!1&!2] 75 {0 2 4} +[0&1&!2] 109 +[!0&!1&!2] 30 +[!0&!1&!2] 16 {0 1 5} +[!0&!1&!2] 106 {1} +[0&!1&!2] 93 +[0&1&2] 107 {2 5} +[!0&!1&2] 55 {5} +[!0&!1&2] 95 {0 5} +[!0&1&2] 45 {2 4} +[!0&1&2] 51 +State: 95 +[0&!1&!2] 1 {0 4 5} +[!0&!1&2] 113 {0 1} +[0&1&!2] 66 +[!0&1&2] 54 {0 2 5} +[0&!1&!2] 119 {0} +[0&!1&!2] 21 {0} +[!0&1&!2] 103 {0 4 5} +[!0&!1&!2] 2 {0 1 3} +[0&!1&!2] 76 {0 5} +[0&!1&!2] 51 {4} +[0&1&2] 95 +[!0&1&2] 112 {0 1} +[0&1&!2] 14 {3} +[!0&!1&!2] 11 {4} +[0&1&2] 13 {1} +[!0&1&!2] 78 {1} +[!0&!1&!2] 4 {1 2} +[0&1&2] 114 {1 3} +[!0&1&2] 29 {2 4} +[!0&!1&2] 35 +[!0&1&2] 24 {0} +[0&!1&!2] 79 {5} +[!0&1&!2] 73 +[!0&1&!2] 72 {1 4} +[!0&1&!2] 107 +[!0&!1&2] 111 +[!0&1&!2] 52 +[0&1&!2] 16 {4} +[0&1&2] 5 {0} +[!0&!1&2] 7 {0} +State: 96 +[!0&1&!2] 93 {1 5} +[!0&1&2] 28 {2 4} +[0&1&!2] 84 {2} +[!0&!1&!2] 2 {3 5} +[0&!1&2] 51 {2} +[!0&1&!2] 86 {0 1} +[!0&1&2] 49 {5} +[!0&!1&2] 88 {1 2} +[!0&!1&2] 1 +[!0&!1&!2] 39 {1 3} +[0&1&2] 16 {2 5} +[0&!1&2] 72 {3} +[0&1&!2] 40 {3} +[!0&1&2] 109 {0 2} +[0&!1&!2] 11 {1 2 4 5} +[0&!1&2] 35 {0 3 4} +[!0&1&!2] 74 +[!0&!1&!2] 22 +[0&1&2] 103 {5} +[0&1&2] 104 {1} +[!0&1&2] 97 +[!0&1&!2] 71 {3} +[0&1&!2] 64 {3 5} +[!0&!1&2] 26 {0 1 3} +State: 97 +[0&1&2] 113 {0 5} +[!0&1&2] 19 {0 3 4} +[!0&1&!2] 86 {4} +[0&!1&!2] 11 {4} +[!0&1&2] 103 +[0&1&!2] 33 {0} +[0&1&2] 72 {0} +[0&!1&!2] 27 {1 2} +[!0&1&!2] 51 {4} +[!0&!1&!2] 110 {4} +[0&1&!2] 37 {0 1 4} +[!0&!1&!2] 91 {0 4} +[0&1&2] 119 {2} +[0&1&!2] 39 {1 2 5} +[!0&!1&!2] 101 {3 5} +[0&1&!2] 61 {0 1 3 4} +[!0&!1&2] 2 {1 4 5} +[0&1&!2] 6 {1 4} +[!0&1&2] 96 {4} +[!0&1&2] 89 +[!0&!1&2] 114 {1} +[!0&!1&!2] 38 {0 1 4} +[0&1&2] 35 {3 4} +[!0&1&2] 63 +[!0&!1&!2] 71 {0 3} +[0&!1&!2] 65 {0 3} +[!0&!1&!2] 25 {4} +[0&1&2] 9 {3 5} +[!0&1&2] 58 {5} +[!0&!1&!2] 94 {0 1} +State: 98 +[0&1&!2] 60 {1} +[!0&!1&2] 44 {4 5} +[!0&1&2] 115 {5} +[0&1&!2] 67 +[0&1&2] 9 +[0&1&2] 23 {0} +[0&!1&2] 38 {5} +[0&!1&!2] 1 +[!0&1&!2] 96 {1 2} +[0&!1&!2] 113 +[0&!1&!2] 68 {2} +[0&1&2] 27 +[0&!1&!2] 71 +[0&1&!2] 88 {0 2 5} +[!0&1&!2] 79 {1} +[!0&!1&!2] 2 {1} +[0&!1&2] 42 +[0&!1&2] 102 {2} +[0&!1&2] 13 +[!0&!1&!2] 33 {1} +[!0&1&2] 90 {2 3} +[0&1&2] 63 +[!0&1&2] 24 {3} +[!0&1&!2] 50 {0 3} +[0&!1&2] 87 {0} +[0&!1&2] 73 {1 2} +[!0&!1&!2] 72 +[!0&1&!2] 15 {4} +[!0&!1&2] 16 {0} +[!0&!1&!2] 57 {5} +[!0&!1&!2] 5 {4 5} +[0&1&2] 94 +State: 99 +[0&!1&!2] 36 {4 5} +[0&!1&2] 112 {3} +[0&!1&!2] 81 +[0&!1&2] 79 {1 2} +[!0&!1&!2] 119 +[0&!1&2] 70 {4} +[!0&!1&!2] 111 +[!0&!1&!2] 92 {3} +[!0&1&2] 14 {0 2 3} +[0&!1&!2] 47 {1} +[0&!1&!2] 37 {5} +[0&!1&!2] 104 {1 5} +[0&1&!2] 99 {1 4} +[!0&1&!2] 55 {5} +[0&1&2] 26 {1 2 5} +[!0&1&2] 43 {4 5} +[!0&1&2] 96 +[0&1&!2] 58 +[0&1&!2] 71 +[!0&1&!2] 38 +[0&1&!2] 12 {0 4} +State: 100 +[0&!1&2] 9 +[!0&!1&!2] 84 {1 3 5} +[0&1&2] 42 {0} +[!0&!1&!2] 115 {1} +[0&1&!2] 4 {5} +[0&1&2] 116 {4} +[0&1&2] 80 {1 2} +[!0&1&!2] 87 {0} +[!0&1&2] 50 {0 3 5} +[0&!1&!2] 10 +[0&!1&!2] 23 {0} +[!0&!1&2] 43 {0 2} +[!0&1&!2] 110 {3} +[!0&!1&2] 38 {0} +[!0&1&2] 103 {0 1} +[0&1&!2] 54 +[!0&!1&2] 104 +[0&1&2] 8 {1} +[0&1&!2] 57 {1 4} +[!0&1&2] 91 {1} +[!0&!1&2] 99 {2} +[!0&1&!2] 28 {1 3 4} +[!0&1&!2] 36 +[!0&1&!2] 12 +[0&!1&2] 11 {3} +[!0&1&2] 107 {4} +[0&!1&2] 16 {2 5} +[0&!1&2] 108 {2} +[0&1&!2] 100 {2 3 4} +State: 101 +[0&1&!2] 40 {2 5} +[0&1&2] 5 {2} +[0&!1&!2] 102 {2} +[0&1&!2] 8 {3} +[!0&!1&!2] 105 {1 4} +[!0&1&2] 0 {2 3} +[!0&1&2] 30 {0 1 3 4} +[0&1&!2] 58 {2} +[0&!1&2] 27 {1} +[!0&1&2] 83 {1} +[!0&!1&2] 23 {5} +[!0&1&2] 109 {0 1} +[!0&1&!2] 116 {1 3} +[!0&1&!2] 11 {3 5} +[0&1&!2] 35 {1 4 5} +[0&!1&2] 42 {4} +[!0&!1&2] 104 {1 3} +[!0&!1&!2] 57 {2} +[0&!1&!2] 103 {1 2 4} +[!0&!1&!2] 70 {4} +[0&!1&!2] 76 {1} +[0&!1&!2] 19 {2 3} +[0&1&!2] 29 {5} +[!0&1&!2] 94 {2} +[!0&1&!2] 95 {0 4} +[0&!1&!2] 115 {0 2 4 5} +[0&!1&2] 90 {0 3 4} +[0&1&2] 32 {2 3} +[0&!1&!2] 45 +[0&1&2] 98 {1 4 5} +[!0&1&2] 4 {1 4} +[!0&1&!2] 44 {2} +[0&1&!2] 20 +[0&!1&2] 119 +[!0&!1&!2] 72 {1} +[!0&!1&!2] 87 {0 2} +[0&1&2] 15 {1 3} +[0&!1&!2] 37 {3 5} +[0&!1&!2] 82 +State: 102 +[!0&!1&!2] 76 +[!0&!1&2] 49 {4} +[!0&1&!2] 72 +[0&1&2] 25 {5} +[0&!1&!2] 50 +[!0&1&!2] 102 {1} +[0&1&2] 75 {2 4} +[0&1&2] 107 {3 5} +[0&1&2] 86 {1 3} +[0&1&2] 14 {0 1 3 5} +[!0&1&2] 20 {4} +[0&!1&!2] 92 {3 5} +[!0&1&!2] 26 +[!0&1&2] 34 {1} +[0&1&!2] 24 +[0&1&!2] 97 +[!0&1&2] 54 +[!0&!1&!2] 55 {1 5} +[0&1&!2] 70 {5} +[0&!1&!2] 35 {1} +[0&!1&!2] 105 {1} +[0&!1&2] 5 {1 4} +[!0&1&!2] 45 {3 5} +[0&1&!2] 7 {0 5} +[!0&1&!2] 15 {0 2} +[!0&1&2] 106 +[!0&!1&!2] 118 {1 3} +[0&1&!2] 23 {5} +[0&1&2] 73 {1 5} +State: 103 +[!0&!1&2] 70 {1} +[!0&1&2] 78 {1} +[!0&!1&!2] 27 {0 1} +[!0&1&2] 51 {1} +[0&!1&!2] 113 {0 3} +[!0&!1&2] 2 {4 5} +[!0&!1&2] 19 {0 3 4} +[!0&1&2] 91 {3 4} +[!0&!1&2] 18 {0 4} +[!0&1&2] 112 {0 4} +[0&!1&2] 42 {0} +[0&1&2] 72 +[!0&1&!2] 4 {2} +[0&!1&!2] 38 {1 2} +[0&!1&2] 93 +[0&!1&2] 104 {5} +[!0&1&2] 84 {2} +[0&1&2] 39 {1 2} +[0&!1&2] 44 +[0&1&2] 83 {2} +[!0&!1&2] 17 {0 4 5} +[!0&!1&2] 107 {1 5} +[!0&!1&2] 22 {0} +[0&!1&!2] 41 {4} +[0&1&2] 30 {0 1 3} +[0&1&2] 11 {3 4 5} +[!0&1&!2] 88 {2} +[!0&1&2] 76 {2 4 5} +[!0&1&2] 100 {4} +[!0&1&2] 117 +[!0&!1&2] 40 {1 2} +[!0&!1&!2] 105 +[!0&1&2] 82 +[!0&1&2] 33 +[!0&!1&!2] 86 {1} +State: 104 +[0&!1&2] 62 {5} +[!0&!1&!2] 12 {4} +[0&1&!2] 45 {5} +[0&!1&2] 59 {2} +[!0&!1&!2] 55 {5} +[!0&1&!2] 105 {0 2 3} +[0&!1&!2] 80 {2 3 4} +[0&!1&2] 107 {0} +[!0&1&2] 76 {3} +[!0&1&2] 89 {1 4 5} +[0&1&2] 36 +[!0&!1&!2] 40 {4 5} +[!0&1&!2] 94 {2} +[!0&1&2] 25 {0} +[!0&!1&2] 111 {2} +[0&!1&!2] 24 {3} +[0&!1&!2] 64 {1 2} +[!0&1&2] 101 {1} +[!0&!1&2] 4 {4} +[!0&1&!2] 72 {2} +[0&!1&!2] 44 {4} +[!0&!1&2] 91 {1} +[!0&!1&2] 118 {2 3 4} +[0&1&!2] 61 {2 5} +[0&1&2] 63 +[0&1&!2] 13 {4} +[0&!1&2] 2 {3} +[0&!1&2] 42 {2 5} +[!0&1&2] 0 {3} +[0&!1&!2] 77 +[0&1&2] 75 {3} +[0&1&!2] 79 {1} +[!0&!1&2] 46 {5} +State: 105 +[0&!1&2] 4 {1 2 5} +[!0&!1&!2] 119 {0} +[!0&!1&!2] 61 +[0&!1&2] 69 +[0&1&2] 50 {5} +[0&1&2] 21 +[!0&!1&2] 106 +[0&1&!2] 17 {3 5} +[!0&!1&2] 85 {2 5} +[0&!1&2] 18 {2} +[0&1&2] 70 +[!0&1&!2] 7 {0 4 5} +[!0&1&!2] 43 {5} +[0&!1&2] 64 +[0&1&2] 89 {1} +[0&!1&!2] 104 {3} +[0&!1&2] 60 +[0&!1&!2] 68 {1 2} +[0&1&2] 27 {5} +[!0&!1&!2] 41 {2} +[!0&!1&2] 19 +[!0&!1&2] 6 +[!0&!1&!2] 118 {0 1} +[!0&1&!2] 97 {5} +[!0&1&!2] 1 +[0&!1&!2] 91 {5} +[0&1&!2] 39 {2 3 4} +[!0&!1&2] 52 {0} +[0&1&2] 114 +[!0&1&2] 0 {2} +[0&1&2] 10 {1 5} +[!0&!1&!2] 100 {2} +State: 106 +[!0&1&!2] 36 +[0&!1&!2] 19 {0 2} +[0&!1&!2] 102 {0 1} +[!0&!1&!2] 22 {0} +[0&1&2] 66 {4} +[!0&1&!2] 32 {5} +[!0&1&2] 17 +[0&!1&!2] 110 +[!0&!1&2] 0 {1 3} +[!0&!1&2] 81 {0 3} +[0&1&2] 48 +[!0&1&2] 111 +[0&!1&!2] 117 {4} +[!0&!1&!2] 85 +[!0&!1&!2] 34 {1} +[0&!1&2] 42 {1 5} +[!0&1&!2] 60 {4} +[0&!1&!2] 50 {2 3} +[0&1&2] 87 {2} +[0&1&!2] 40 {3} +[!0&1&!2] 119 +[!0&1&2] 106 {0 2} +[!0&1&!2] 54 {2} +[0&1&!2] 58 {1 2 3} +[!0&1&2] 33 {0 2} +[0&!1&!2] 79 {1} +[0&!1&!2] 3 {1} +[!0&1&2] 30 {5} +State: 107 +[0&!1&2] 111 {1} +[0&1&!2] 45 {0 4} +[0&!1&2] 115 {2 3} +[!0&!1&!2] 58 {3 4 5} +[!0&!1&2] 83 +[!0&1&!2] 55 {3} +[0&!1&2] 7 {1 4} +[!0&1&!2] 17 {3 5} +[!0&!1&2] 59 +[!0&1&2] 27 {0} +[!0&!1&2] 29 +[0&!1&2] 73 {5} +[!0&1&2] 82 {0 5} +[!0&1&2] 16 +[!0&1&!2] 88 {1 5} +[0&!1&!2] 12 {1} +[!0&!1&2] 112 {3} +[!0&1&2] 52 {1 4} +[0&1&!2] 70 {0 4} +[!0&1&!2] 20 +[!0&1&2] 104 {1 4} +[!0&1&2] 98 {5} +[!0&!1&!2] 50 {1} +[!0&!1&2] 33 {5} +[0&!1&!2] 118 +[0&1&2] 80 {5} +[!0&1&2] 81 {1 5} +[!0&1&2] 57 {4 5} +[!0&!1&2] 25 {2 4} +[0&!1&!2] 23 {2 3 4} +[!0&1&2] 34 {1 2 4} +State: 108 +[0&!1&!2] 108 +[!0&1&!2] 91 {0 1 2} +[0&1&!2] 66 {1 5} +[!0&1&!2] 27 {0} +[0&1&2] 9 {1 4 5} +[!0&1&!2] 115 {1 5} +[0&!1&!2] 14 {5} +[!0&!1&!2] 65 {0 4} +[!0&!1&2] 29 +[0&!1&!2] 21 {4} +[0&!1&2] 69 {1} +[!0&1&2] 85 +[0&1&!2] 88 {0 5} +[!0&1&!2] 60 {3} +[0&!1&!2] 86 {2 4} +[!0&1&!2] 67 {2 5} +[0&1&!2] 45 {2} +[!0&!1&2] 50 +[!0&!1&!2] 36 {0 2 3} +[!0&1&2] 59 +[0&1&!2] 24 {2} +[0&1&2] 37 +[!0&!1&2] 113 {4} +[!0&!1&!2] 18 {4} +[!0&!1&2] 73 {5} +[!0&1&2] 82 {3} +[!0&1&!2] 63 {0} +[!0&1&!2] 76 {4} +[!0&!1&2] 84 +[!0&!1&2] 74 {0 1 4} +[!0&1&!2] 41 +[!0&!1&!2] 98 {1 3 5} +[0&!1&!2] 16 {1 4} +[!0&1&!2] 4 {5} +[0&1&2] 83 +State: 109 +[!0&1&!2] 21 {4} +[!0&!1&!2] 109 +[!0&!1&!2] 30 {2 5} +[0&1&!2] 5 +[0&1&!2] 56 {1 2 3} +[0&1&!2] 42 {0 4} +[0&!1&2] 4 {2} +[!0&!1&!2] 107 {2 4 5} +[!0&1&!2] 41 {0} +[0&!1&!2] 108 {2} +[0&!1&2] 3 {3} +[0&1&!2] 38 {1} +[0&1&!2] 64 {0 1} +[!0&!1&2] 81 {1 2} +[!0&!1&!2] 67 +[0&1&2] 94 {3} +[!0&!1&!2] 60 +[0&!1&2] 14 {3 5} +[0&1&2] 11 {2} +[0&1&!2] 70 {0} +[!0&1&!2] 10 {0} +[!0&1&!2] 40 {2} +[!0&!1&2] 31 {3 5} +[!0&1&2] 29 {0 5} +[!0&!1&!2] 91 +[0&1&!2] 26 {2} +[!0&1&!2] 89 {0 4} +[!0&!1&!2] 68 +State: 110 +[!0&!1&2] 44 {1 3} +[!0&1&2] 29 {1} +[0&1&!2] 62 {2 3} +[!0&1&2] 95 {1} +[0&!1&2] 15 {0 3} +[!0&1&2] 41 {0 3} +[!0&!1&!2] 16 {0} +[!0&!1&!2] 118 {1 3} +[!0&!1&2] 3 {1 3 4} +[!0&!1&!2] 88 {5} +[!0&1&2] 97 {5} +[0&!1&!2] 69 +[0&!1&!2] 1 {2} +[0&1&2] 49 {2 5} +[0&1&2] 54 {3} +[0&!1&!2] 106 +[!0&1&!2] 67 {0 1} +[!0&!1&!2] 82 {3} +[0&1&!2] 10 {0} +[!0&!1&2] 100 {1 5} +[0&1&!2] 116 {5} +[!0&!1&2] 66 +[!0&!1&2] 18 {0} +[!0&!1&2] 104 {1 2} +[0&!1&!2] 98 {4} +[!0&1&2] 48 {3 5} +[0&!1&!2] 80 {4 5} +[!0&1&!2] 89 +[!0&1&!2] 40 +State: 111 +[!0&1&2] 71 {4} +[0&!1&2] 101 {4} +[!0&1&2] 6 {2 4 5} +[!0&!1&!2] 84 {3} +[!0&1&!2] 29 {0 1} +[0&!1&!2] 39 {2} +[0&!1&2] 116 {1 2} +[!0&1&!2] 117 +[!0&1&2] 58 {2} +[!0&!1&2] 3 {4} +[!0&1&!2] 43 {0 3} +[0&1&2] 15 +[!0&!1&2] 54 {3} +[0&1&!2] 93 +[0&!1&!2] 25 {5} +[0&!1&!2] 50 {2 4} +[!0&1&!2] 64 {0} +[0&!1&2] 46 {3 4} +[0&!1&2] 31 {4} +[!0&!1&2] 59 {2} +[!0&!1&!2] 56 {2} +[!0&!1&!2] 47 {0} +[0&1&2] 98 +[!0&1&!2] 66 {1 3} +[0&1&2] 83 +[0&1&2] 8 {0} +[0&!1&2] 115 {1} +[!0&!1&!2] 24 +[!0&!1&2] 41 {5} +[0&!1&2] 105 +[!0&!1&2] 103 {5} +State: 112 +[0&1&!2] 47 +[0&1&!2] 73 {1 5} +[0&!1&!2] 93 {1} +[!0&1&!2] 52 {2} +[0&1&2] 62 +[0&!1&!2] 1 +[!0&!1&2] 108 +[!0&1&!2] 12 {0 2} +[0&1&!2] 118 +[!0&1&2] 104 {0 5} +[0&1&2] 39 {2} +[0&1&2] 89 +[0&!1&!2] 105 +[0&1&!2] 44 {0 3} +[!0&!1&2] 115 {1 5} +[0&!1&2] 64 {3 4} +[0&!1&2] 22 +[0&1&2] 102 {1 2 5} +[0&1&!2] 94 {0 5} +[0&!1&2] 70 +[0&1&2] 97 +[0&1&2] 8 +[!0&1&2] 53 +[!0&1&2] 57 {1 3} +[!0&!1&2] 31 {0 5} +[0&!1&!2] 21 +[0&!1&!2] 109 {0 1 4} +[!0&1&!2] 9 {0} +[0&!1&!2] 0 {3 5} +[!0&!1&2] 14 {1} +State: 113 +[!0&!1&!2] 1 +[0&!1&!2] 67 {1 4} +[!0&1&2] 10 +[!0&!1&2] 101 {1} +[0&!1&2] 97 {1} +[!0&1&!2] 64 {0 1 2} +[!0&!1&!2] 103 +[0&1&2] 44 {3 4 5} +[!0&1&!2] 52 {1 2} +[!0&1&!2] 34 +[0&!1&!2] 113 {1} +[!0&!1&2] 58 +[0&1&!2] 74 {0} +[0&1&!2] 0 {1} +[0&1&2] 94 {0 3} +[!0&!1&2] 102 {1} +[0&1&2] 41 {1} +[0&1&!2] 107 {2} +[!0&!1&2] 80 {2} +[0&1&2] 29 {4} +[0&!1&2] 17 {0 4 5} +[!0&1&2] 81 +[!0&!1&!2] 82 {4} +[!0&!1&!2] 16 {5} +[!0&!1&!2] 87 {1 2} +[0&!1&!2] 99 {0} +[0&1&!2] 18 +[!0&1&2] 115 {1} +[0&!1&2] 106 {5} +[0&!1&!2] 105 +[0&!1&!2] 6 {0 1} +[0&!1&2] 49 {0} +[!0&1&2] 30 {0 2 4} +[0&1&!2] 98 +[!0&1&2] 59 {3 5} +[0&1&2] 14 {2 5} +[!0&1&2] 42 {0} +[!0&1&!2] 104 +State: 114 +[0&!1&2] 73 +[0&1&2] 4 +[!0&!1&2] 39 {3 5} +[!0&!1&!2] 111 {1 3} +[!0&1&!2] 112 {1 2} +[!0&!1&!2] 16 +[!0&!1&!2] 30 +[!0&1&!2] 115 {0} +[0&1&!2] 65 {4} +[!0&1&!2] 69 {1 3 4 5} +[0&!1&!2] 83 {4} +[0&1&!2] 92 {0} +[0&!1&2] 108 +[!0&1&!2] 7 {2} +[!0&!1&!2] 75 +[!0&1&2] 35 {0} +[0&1&2] 48 {1 3 4} +[!0&!1&!2] 6 {2} +[0&!1&2] 102 +[0&!1&!2] 47 {0} +[0&1&!2] 50 {3} +[!0&!1&!2] 98 {0} +[!0&!1&2] 63 {0} +[0&!1&!2] 106 {2} +[!0&!1&2] 97 {5} +[!0&1&!2] 82 +[0&1&2] 10 {0 1} +State: 115 +[!0&!1&2] 10 {2} +[!0&!1&!2] 85 +[!0&!1&2] 32 {1 3} +[!0&!1&!2] 11 +[0&1&2] 79 {2 5} +[!0&1&2] 97 {3} +[!0&!1&2] 20 {1 4} +[!0&1&2] 98 {2 4} +[0&!1&2] 107 +[!0&1&2] 66 {1 4} +[!0&!1&2] 13 {1 2 3} +[0&!1&!2] 17 {2 3 4 5} +[!0&!1&2] 81 {0} +[0&!1&!2] 60 {4} +[!0&1&2] 49 {2 4} +[!0&!1&2] 62 {2 5} +[0&!1&2] 118 {3 5} +[0&1&2] 108 {1 5} +[0&!1&!2] 52 {4} +[0&!1&!2] 99 {3} +[!0&1&!2] 29 +[!0&1&!2] 67 {2} +[!0&!1&2] 24 {1 5} +[0&!1&!2] 16 {0 3} +[!0&1&!2] 1 {2} +[!0&!1&2] 114 {0 2} +[!0&!1&2] 26 {0 1} +[!0&1&!2] 103 {5} +[!0&1&!2] 58 {0} +[0&!1&2] 5 {4} +[!0&1&!2] 9 {5} +State: 116 +[!0&1&2] 19 {2} +[!0&1&!2] 51 {3} +[!0&1&!2] 76 {0 1} +[0&1&!2] 77 {0 2} +[0&1&2] 14 {5} +[!0&!1&!2] 4 {0 3} +[0&1&!2] 96 {1} +[!0&1&!2] 31 {5} +[0&!1&2] 27 +[!0&1&!2] 61 {0 1} +[0&!1&!2] 67 {3} +[!0&1&2] 25 +[!0&1&2] 93 {1} +[!0&!1&2] 2 {1 5} +[0&!1&!2] 49 {1 3 4} +[0&1&2] 54 {0 1} +[!0&1&!2] 80 +[!0&1&!2] 65 {2} +[0&!1&!2] 9 {0 2} +[!0&1&2] 53 {0 4} +[!0&!1&2] 72 +[!0&!1&!2] 41 {5} +[!0&!1&!2] 55 {3 5} +[!0&1&2] 50 {5} +[0&1&!2] 86 {3 4 5} +[!0&1&2] 43 +[0&1&2] 30 {0} +[!0&!1&2] 34 +[0&1&2] 39 +[0&1&!2] 82 {3} +[0&!1&!2] 83 {1 5} +State: 117 +[0&1&!2] 68 {3 4 5} +[0&!1&!2] 5 +[!0&1&!2] 67 +[!0&!1&!2] 116 {2} +[!0&1&2] 56 {2} +[!0&!1&2] 3 {1} +[!0&!1&!2] 27 {1 4 5} +[0&1&2] 17 +[0&!1&2] 55 {0 3 4} +[!0&!1&!2] 44 {1 3} +[0&1&2] 119 {5} +[0&!1&!2] 89 {3} +[!0&1&!2] 54 {3} +[0&!1&!2] 4 {5} +[!0&1&!2] 66 {4 5} +[!0&1&!2] 86 {1 2 4} +[!0&1&!2] 80 +[0&!1&!2] 13 {0} +[!0&!1&!2] 36 {0} +[!0&1&!2] 100 {1} +[!0&1&!2] 90 {0 4} +[0&1&!2] 21 {2 5} +[0&!1&!2] 32 +[!0&1&!2] 105 +[0&1&!2] 115 +[0&1&!2] 61 {0 1 2} +State: 118 +[0&!1&!2] 26 +[!0&!1&2] 11 {4} +[0&!1&!2] 57 {5} +[0&!1&!2] 12 {1 2} +[!0&!1&!2] 110 {5} +[0&!1&2] 39 {2} +[!0&1&2] 87 {0 1 2 3} +[0&!1&!2] 107 {1} +[!0&!1&!2] 43 {0} +[0&!1&2] 99 +[0&!1&!2] 92 {4 5} +[!0&1&!2] 19 {4 5} +[0&!1&!2] 25 {0 1 2} +[!0&1&2] 33 {2} +[0&1&2] 101 {4} +[0&!1&!2] 59 +[0&!1&!2] 81 {2} +[0&!1&2] 6 {0} +[0&1&!2] 5 +[0&!1&2] 106 +[!0&1&2] 55 {2 4 5} +[!0&!1&2] 41 {4} +[0&1&!2] 20 {3 5} +[!0&1&!2] 82 {1 4} +[!0&!1&2] 103 {0} +[!0&1&!2] 58 {2 4} +[!0&1&2] 47 {0} +[!0&1&2] 88 {0 1 3 5} +[!0&!1&!2] 94 +[0&1&2] 65 {3 4} +[!0&!1&!2] 64 +[!0&1&!2] 84 {1} +[!0&!1&!2] 40 +[0&!1&2] 34 {4} +[0&1&!2] 7 {1 4} +[!0&!1&2] 15 {1} +[!0&1&!2] 104 +State: 119 +[!0&1&!2] 109 +[0&1&2] 13 +[!0&1&!2] 6 {3} +[!0&!1&2] 54 {1 2} +[!0&1&!2] 114 {3} +[0&1&2] 36 {0 3} +[0&1&!2] 110 {1} +[0&!1&2] 35 {2} +[!0&1&2] 5 +[!0&1&2] 93 {1 2} +[0&1&!2] 46 {2 5} +[0&1&2] 99 +[0&1&2] 63 {0 3 4} +[0&1&!2] 32 +[!0&!1&!2] 38 +[0&!1&!2] 52 +[0&1&!2] 116 +[0&!1&2] 45 {0 1 3} +[!0&!1&!2] 94 {1} +[!0&1&2] 2 {4} +[0&1&2] 95 {1} +[0&!1&!2] 69 {5} +[!0&1&2] 33 {3 5} +[0&1&2] 14 {0} +[0&1&2] 26 {4} +[0&!1&!2] 117 +[0&!1&2] 60 {0} +[!0&1&!2] 44 {3} +[!0&!1&2] 9 {1 3 4} +[0&!1&2] 41 {3 4} +[!0&!1&!2] 21 {3} +[0&1&2] 68 +[0&!1&2] 62 +[!0&!1&!2] 88 {1 3} +[0&!1&!2] 1 {2 3} +[0&!1&2] 98 {1} +[0&!1&2] 83 +[0&1&2] 51 {0 3 5} +[!0&1&2] 74 {0 3 5} +[!0&!1&!2] 65 +[!0&!1&2] 15 +--END-- diff --git a/hoa/bench/spot/rabin-nondet-n30.hoa b/hoa/bench/spot/rabin-nondet-n30.hoa new file mode 100644 index 0000000..ec01ebd --- /dev/null +++ b/hoa/bench/spot/rabin-nondet-n30.hoa @@ -0,0 +1,333 @@ +HOA: v1 +States: 30 +Start: 0 +AP: 2 "p0" "p1" +acc-name: Rabin 3 +Acceptance: 6 (Fin(0) & Inf(1)) | (Fin(2) & Inf(3)) | (Fin(4) & Inf(5)) +properties: trans-labels explicit-labels trans-acc +--BODY-- +State: 0 +[!0&!1] 13 +[!0&1] 12 {2} +[0&1] 21 {3 5} +[!0&1] 18 {5} +[0&1] 27 {5} +[0&1] 2 {0 2 3} +[0&1] 4 +[!0&1] 19 {3} +[!0&!1] 14 {1 2} +State: 1 +[0&1] 6 {1} +[0&!1] 22 {0 5} +[0&1] 28 {1 4} +[!0&1] 11 {4} +[!0&!1] 0 {2} +[0&1] 21 +[0&!1] 27 {1 2} +[!0&1] 23 {4} +State: 2 +[0&1] 16 {5} +[0&!1] 20 {2} +[0&1] 29 {1} +[0&1] 17 {2 5} +[0&!1] 19 {0 4} +[0&1] 12 {2 4} +[!0&1] 8 {3} +[0&1] 2 {5} +[!0&1] 13 +[0&!1] 27 +[!0&1] 15 {0 4 5} +State: 3 +[!0&1] 2 {4} +[0&!1] 0 {1 2} +[!0&1] 23 {5} +[!0&1] 19 {0} +[!0&!1] 9 {3 4} +[0&1] 16 {2 4} +[0&1] 3 {0 3 5} +State: 4 +[0&1] 14 {1} +[0&!1] 29 {1 2 4} +[!0&1] 25 {0 3} +[0&1] 3 {3} +[!0&!1] 21 {0 1 3 4 5} +[!0&!1] 19 {1} +[0&1] 24 {3} +[!0&!1] 0 +[0&1] 12 +[!0&!1] 11 +[0&!1] 26 {1 3 4 5} +[!0&1] 13 {0 2} +[0&!1] 5 {0 3 4 5} +[!0&!1] 23 {5} +State: 5 +[!0&!1] 26 {5} +[!0&!1] 14 {4} +[!0&!1] 27 +[0&1] 8 {2 3 5} +[0&!1] 16 {0 3 4} +[!0&!1] 19 {3 5} +[!0&!1] 4 {2} +[!0&1] 18 +[!0&!1] 28 {1} +[0&1] 2 {4} +[0&!1] 3 {2} +[!0&!1] 22 +[!0&1] 23 {2 3} +State: 6 +[!0&1] 13 +[0&1] 6 {1 5} +[0&1] 7 {0 4} +[!0&!1] 15 +[0&!1] 0 {0} +[!0&!1] 19 +[0&!1] 12 {4} +[!0&1] 4 +[!0&1] 16 {0 3 5} +[0&!1] 24 +[0&1] 20 {4} +[!0&!1] 18 {0 4} +[!0&1] 1 {2} +[!0&!1] 10 {2} +State: 7 +[0&!1] 25 {2} +[0&!1] 27 {3 5} +[!0&1] 1 {0 4} +[0&1] 16 {4} +[0&1] 8 {1 4 5} +[0&!1] 26 {3} +[0&!1] 5 {0 1} +[!0&!1] 2 {5} +[!0&!1] 21 {5} +State: 8 +[0&1] 19 {3 5} +[0&1] 2 +[!0&1] 28 {3 5} +[!0&!1] 7 {4} +[0&!1] 10 +[!0&!1] 20 {0 4} +State: 9 +[!0&1] 23 {1} +[!0&!1] 11 +[0&1] 16 {2} +[!0&!1] 17 {2 5} +[!0&!1] 9 {3} +[0&1] 20 {0} +[!0&1] 3 {3 4 5} +[!0&1] 4 {0} +[!0&1] 7 +[!0&1] 0 {4} +[!0&1] 27 {3} +State: 10 +[!0&1] 5 {3 4} +[0&!1] 0 +[!0&1] 23 +[!0&!1] 6 {0} +[!0&1] 20 {4} +[!0&!1] 7 {1} +[0&1] 16 {4 5} +[!0&1] 17 {3 4} +[0&!1] 3 {0 4 5} +[0&!1] 21 {1} +[!0&1] 24 {1 4} +[0&!1] 28 {3 4} +State: 11 +[!0&1] 28 {3 5} +[!0&1] 0 {2 5} +[!0&1] 4 +[!0&1] 15 {3 5} +[!0&!1] 29 {5} +[!0&!1] 25 {4} +[0&!1] 19 {2 3 5} +[0&1] 9 {5} +[0&1] 8 {0} +[0&!1] 16 +[0&1] 17 {1 4 5} +[!0&!1] 26 +[0&!1] 18 +State: 12 +[!0&!1] 7 {3 5} +[0&1] 12 {0 3 5} +[!0&1] 26 {2 3 4} +[0&1] 4 {3 4} +[!0&1] 0 +[0&!1] 22 {0} +[!0&1] 6 {1 3 5} +[0&!1] 8 {3} +[!0&1] 10 {4} +[0&1] 15 {1 2} +[0&!1] 21 +[!0&1] 28 {4} +State: 13 +[0&1] 28 {1} +[!0&!1] 19 {2} +[0&1] 21 {3} +[!0&!1] 29 {0 3 4} +[!0&1] 13 {3} +[0&1] 14 +[0&1] 5 {3} +[0&1] 9 +[0&!1] 27 {5} +[!0&1] 1 +[!0&!1] 6 {2} +[0&1] 11 {1} +[!0&1] 16 {2 3} +[0&1] 12 {4 5} +State: 14 +[0&!1] 15 {1} +[!0&1] 29 +[!0&1] 17 +[0&1] 13 {4} +[0&1] 25 {0 1 3 5} +[0&!1] 24 +[!0&!1] 9 {2} +[0&1] 12 {2 3 4} +[0&1] 1 +State: 15 +[!0&!1] 17 {4} +[!0&1] 11 +[0&!1] 4 {3} +[!0&!1] 20 {1} +[0&1] 29 {0 2 3 4} +[0&1] 13 {0 2 4} +[!0&!1] 14 {3} +[0&1] 7 {0 3 4} +[!0&1] 26 {0} +[!0&1] 1 {2 4} +[0&!1] 21 +[0&!1] 3 +State: 16 +[!0&1] 5 {1} +[0&!1] 16 +[0&1] 12 {4 5} +[0&!1] 26 +[!0&1] 15 {1 5} +[0&!1] 18 {1} +[!0&1] 6 {0} +[0&!1] 29 {1 4} +[0&!1] 8 {0} +State: 17 +[!0&1] 15 {1} +[!0&!1] 11 +[0&!1] 24 {0 1} +[!0&1] 20 +[!0&1] 19 {0 2} +[!0&1] 7 {1 2} +[0&1] 2 +State: 18 +[0&!1] 10 {1} +[0&!1] 9 {1 2 3} +[0&!1] 23 {0} +[0&1] 13 {0 1 3 5} +[0&!1] 5 {0 4} +[0&1] 24 +[0&1] 28 +[!0&1] 14 {2 5} +[!0&1] 17 {0 5} +[0&!1] 26 {2 5} +[!0&1] 29 {4} +[!0&1] 11 +State: 19 +[!0&1] 25 {2} +[0&1] 0 +[0&!1] 17 {0 3 5} +[0&1] 12 {1 3} +[!0&1] 4 {2 3} +[0&1] 20 {3} +[0&!1] 1 {4} +[!0&!1] 16 {1 3} +[!0&!1] 23 +[0&1] 9 +State: 20 +[!0&1] 15 +[!0&1] 3 {1} +[0&1] 1 +[!0&!1] 24 {0 2 3 5} +[0&1] 9 {4} +State: 21 +[0&!1] 21 +[0&!1] 0 {5} +[!0&!1] 22 {2} +[0&1] 27 {4} +[0&!1] 12 {1} +[!0&1] 10 {3} +State: 22 +[0&1] 6 {5} +[0&!1] 7 {3 4} +[0&!1] 28 {2} +[0&!1] 3 {4 5} +[!0&1] 10 +[!0&!1] 20 +[!0&1] 16 +[0&!1] 19 {3} +[!0&!1] 13 {5} +[0&!1] 26 {5} +[0&1] 2 {0} +[!0&1] 23 +State: 23 +[!0&1] 15 {2} +[!0&!1] 14 {2} +[0&1] 0 {3 5} +[0&!1] 27 +[!0&!1] 18 +[!0&1] 28 {0} +[0&!1] 29 {1 5} +[0&!1] 2 {3} +[0&!1] 5 {2} +State: 24 +[!0&1] 20 {3} +[0&!1] 10 {1} +[0&1] 15 +[!0&1] 17 {5} +[!0&!1] 2 {2 3} +[!0&1] 25 {3} +[0&1] 13 +[!0&!1] 8 {3} +[!0&1] 22 {3} +State: 25 +[!0&!1] 26 {1} +[!0&1] 9 {4 5} +[!0&1] 0 {3 5} +[!0&1] 8 +[!0&1] 4 {0} +[!0&!1] 17 +[!0&!1] 20 {0} +[0&!1] 21 +[0&1] 3 {3} +[0&1] 15 {1 4 5} +[0&1] 29 {2} +[!0&1] 24 {4} +State: 26 +[0&!1] 6 {2} +[!0&!1] 11 {5} +[0&!1] 3 {1 3} +[!0&!1] 28 {0} +[!0&!1] 1 {2} +[0&1] 26 +[0&1] 14 {0 2} +State: 27 +[0&1] 26 {5} +[0&1] 23 +[0&1] 19 {5} +[0&1] 9 {0} +[0&!1] 0 {2 3 4 5} +[!0&1] 11 +State: 28 +[!0&!1] 12 {0 1 5} +[!0&1] 29 {3} +[!0&1] 25 {1} +[0&!1] 21 {2 3 4} +[!0&1] 22 {2} +[0&!1] 17 +[!0&1] 19 {5} +[!0&!1] 9 {1} +[!0&1] 15 {2} +[0&1] 6 {1} +State: 29 +[0&1] 15 +[0&!1] 23 {5} +[0&1] 10 {2 3} +[0&!1] 21 {3} +[!0&!1] 13 {2} +[!0&1] 27 {2} +--END-- diff --git a/hoa/bench/spot/streett-nondet-n120-a3.hoa b/hoa/bench/spot/streett-nondet-n120-a3.hoa new file mode 100644 index 0000000..8a7907c --- /dev/null +++ b/hoa/bench/spot/streett-nondet-n120-a3.hoa @@ -0,0 +1,3762 @@ +HOA: v1 +States: 120 +Start: 0 +AP: 3 "p0" "p1" "p2" +acc-name: Streett 3 +Acceptance: 6 (Fin(0) | Inf(1)) & (Fin(2) | Inf(3)) & (Fin(4) | Inf(5)) +properties: trans-labels explicit-labels trans-acc +--BODY-- +State: 0 +[!0&!1&2] 39 +[!0&!1&!2] 83 +[!0&!1&!2] 28 {2 3 5} +[0&1&!2] 11 {0} +[0&1&!2] 14 {1 2 5} +[0&!1&2] 2 +[!0&!1&2] 58 {0 2} +[0&!1&!2] 88 {2} +[0&!1&!2] 74 +[0&1&!2] 19 {1} +[!0&1&!2] 43 {1 2} +[0&1&2] 115 +[!0&!1&!2] 105 {1 3 5} +[0&1&!2] 53 {0 3} +[0&!1&!2] 6 {5} +[!0&1&2] 79 {2 3} +[0&1&2] 18 +[!0&1&2] 1 {0 2} +[!0&!1&!2] 4 {3 5} +[0&!1&!2] 91 {1 5} +[!0&!1&!2] 44 {1} +[!0&1&2] 62 {2} +[0&1&2] 117 {0 2} +[!0&1&!2] 50 +[0&!1&2] 17 +[0&1&!2] 84 {0} +[0&1&!2] 78 {0 2} +[!0&1&!2] 73 {0 1} +[0&1&!2] 33 +[0&1&!2] 38 +[0&!1&2] 72 +[0&1&!2] 40 {1 3} +[0&!1&2] 94 +[!0&!1&2] 76 {0 1} +[0&!1&!2] 32 {1 3 4 5} +[0&1&2] 67 {1 2} +[0&1&!2] 93 {1} +[!0&!1&2] 98 +[0&!1&!2] 60 {1 2 5} +State: 1 +[0&!1&!2] 110 {0} +[0&!1&2] 28 {0 2 4} +[0&!1&2] 10 {1} +[0&1&2] 99 {2} +[!0&1&2] 41 {1} +[0&1&2] 26 {0 3} +[0&!1&2] 68 {3 5} +[0&1&!2] 22 {5} +[0&!1&!2] 94 {2 5} +[!0&1&2] 112 {1} +[!0&1&!2] 2 +[!0&1&2] 20 +[!0&1&2] 33 {0} +[0&!1&2] 13 +[!0&!1&!2] 4 {4} +[0&!1&2] 81 {3 5} +[!0&!1&!2] 6 {0 1} +[0&!1&!2] 49 {0} +[!0&1&!2] 36 {4} +[0&!1&!2] 80 {3 4} +[0&!1&!2] 38 {3} +[0&1&2] 75 {2} +[0&!1&!2] 117 {1} +[!0&!1&!2] 105 {1 2 3 5} +[0&!1&2] 46 {0 3} +[!0&1&2] 76 +[0&1&2] 103 {5} +[0&1&2] 52 +[0&1&!2] 31 {5} +State: 2 +[0&1&2] 38 {0 3} +[!0&1&!2] 111 +[0&!1&!2] 4 {0} +[0&1&!2] 74 +[!0&1&!2] 59 {2} +[0&!1&!2] 54 {0 2 3 5} +[!0&1&!2] 65 {1 2 3} +[0&1&2] 37 +[!0&1&2] 110 {0 3} +[!0&1&!2] 48 {0 1} +[!0&1&!2] 76 +[!0&!1&2] 91 {1} +[0&!1&!2] 23 {0 1 3} +[!0&!1&2] 6 {0 1 3 4 5} +[!0&!1&2] 14 {2} +[!0&!1&!2] 87 {2} +[0&!1&2] 83 {4 5} +[0&1&!2] 115 {5} +[0&!1&!2] 104 +[0&!1&!2] 20 {1 2} +[0&!1&2] 64 {2} +[0&!1&!2] 68 {3 4} +[!0&!1&2] 33 +[!0&1&!2] 10 {1} +[0&1&2] 99 +[!0&!1&!2] 35 +[0&1&!2] 31 {4} +[0&1&!2] 109 {1} +State: 3 +[!0&!1&!2] 69 +[0&1&!2] 76 {2 4} +[0&1&2] 83 {0 1} +[0&!1&!2] 84 {0 4} +[!0&1&2] 30 +[0&!1&2] 72 {5} +[!0&!1&!2] 33 {3} +[!0&!1&!2] 60 {0 1} +[!0&!1&!2] 67 {1 2 5} +[0&!1&2] 97 {5} +[!0&1&!2] 21 {1} +[0&1&2] 19 {1 4} +[!0&1&!2] 115 {5} +[0&!1&2] 91 {2 3} +[0&1&!2] 12 {1} +[0&!1&!2] 16 +[0&!1&!2] 37 {0 1 5} +[0&!1&2] 42 {0 2} +[!0&1&2] 31 {1 5} +[0&!1&!2] 47 {2} +[0&!1&!2] 88 {2 3 5} +[0&1&!2] 101 +[0&!1&2] 77 {5} +[0&!1&!2] 66 {2} +[!0&!1&!2] 64 +[0&!1&2] 79 {1 2 5} +[0&1&!2] 54 {1 2 3} +[!0&1&2] 52 {0} +[!0&!1&2] 104 {1 3 4} +[0&1&2] 23 {0} +State: 4 +[0&1&!2] 104 {0 2} +[0&!1&!2] 64 +[!0&1&!2] 5 {2 4 5} +[0&1&!2] 68 {1} +[!0&1&!2] 14 {2 4} +[!0&1&!2] 81 {2} +[0&!1&!2] 1 {1} +[!0&!1&!2] 90 {1 3} +[0&1&!2] 59 {0 2} +[0&1&2] 8 {0 1 2} +[0&!1&!2] 84 +[!0&!1&!2] 107 +[!0&!1&!2] 12 {2 5} +[0&!1&2] 77 {0 1} +[0&!1&!2] 20 +[0&!1&2] 17 {1 2 3 4 5} +[!0&1&!2] 63 {5} +[0&!1&!2] 88 {0 1} +[0&!1&2] 101 {2 3} +[0&!1&!2] 36 {1 2 3} +[!0&!1&2] 22 +[!0&1&2] 115 {5} +[!0&!1&2] 91 {0 5} +[!0&1&!2] 102 {1 2} +[0&!1&2] 75 {2 5} +[0&1&!2] 4 {1 3 5} +[!0&!1&2] 114 {1} +[!0&1&2] 79 {1 2} +[!0&1&2] 93 {3} +[0&1&!2] 60 {4 5} +[0&1&!2] 95 {2 4} +[!0&!1&!2] 26 {0 1 5} +State: 5 +[0&!1&!2] 28 +[!0&1&2] 89 {2 4 5} +[0&!1&2] 16 {5} +[!0&!1&2] 49 {2 4} +[!0&1&!2] 15 {0 1 3} +[0&1&2] 100 {1 4 5} +[!0&!1&!2] 113 +[0&1&!2] 70 {3} +[!0&!1&2] 61 +[!0&!1&2] 117 {5} +[!0&!1&!2] 75 {4} +[0&!1&2] 103 {1 2} +[0&!1&2] 9 {2} +[!0&!1&2] 88 {2 4} +[0&1&2] 2 {4} +[!0&1&!2] 13 +[!0&!1&2] 111 {3} +[!0&!1&!2] 45 {3 4} +[!0&1&!2] 56 {0} +[0&!1&2] 40 {2 3 4} +[!0&1&2] 105 {2} +[0&1&!2] 98 {1 2} +[!0&!1&2] 6 {5} +[!0&1&!2] 50 +[!0&!1&!2] 43 {5} +[!0&1&!2] 35 +[!0&1&!2] 107 {3} +[!0&1&2] 18 {3 4} +State: 6 +[!0&!1&!2] 35 +[!0&1&2] 85 {1} +[0&!1&2] 2 +[!0&!1&!2] 84 {1 5} +[0&1&!2] 13 +[0&1&!2] 100 {3} +[!0&1&!2] 87 +[0&1&2] 67 {5} +[0&!1&!2] 54 {0} +[!0&!1&2] 115 {0 1} +[0&!1&!2] 73 {5} +[!0&1&!2] 118 {4} +[0&1&2] 16 +[!0&1&2] 47 {2 3} +[0&!1&2] 65 {0 5} +[!0&!1&2] 55 {1} +[!0&1&2] 11 +[!0&!1&2] 61 +[!0&!1&2] 91 {1 5} +[0&!1&2] 64 +[!0&!1&!2] 113 {4} +[0&!1&2] 46 {5} +[0&1&2] 88 {2} +[0&1&2] 32 {0} +[!0&1&2] 30 {4} +State: 7 +[!0&!1&!2] 58 {4} +[0&1&2] 7 {1} +[0&!1&!2] 67 {3} +[!0&!1&2] 61 {5} +[!0&1&2] 97 +[!0&!1&2] 35 {3} +[0&1&!2] 33 {5} +[!0&1&2] 38 {1} +[0&!1&!2] 44 +[0&1&2] 12 {0 4} +[!0&1&!2] 42 {2 3 5} +[0&!1&!2] 112 +[0&1&!2] 45 {5} +[0&!1&2] 62 {0 1} +[!0&!1&!2] 22 +[!0&!1&2] 26 {3} +[0&!1&!2] 79 {5} +[0&1&2] 14 {1 5} +[0&!1&2] 82 +[0&1&!2] 56 {2} +[0&1&!2] 47 {3} +[0&1&!2] 49 {0 4} +[!0&!1&!2] 107 {2 3 5} +[!0&!1&!2] 85 +[!0&1&2] 104 +[!0&!1&2] 50 +[0&1&!2] 53 {2 3} +[0&1&2] 72 {0 4} +[0&1&!2] 96 {0} +State: 8 +[0&!1&!2] 68 {0 2} +[!0&!1&!2] 26 {1} +[!0&!1&!2] 100 {0 3} +[!0&!1&!2] 85 {2} +[0&1&!2] 33 {1 2 3} +[!0&!1&2] 58 {0 2 5} +[!0&!1&!2] 89 {1 3} +[0&!1&2] 73 +[!0&1&2] 34 {1 2} +[!0&!1&!2] 53 {0} +[0&!1&2] 57 {3} +[!0&1&!2] 22 {0} +[0&1&2] 55 {3} +[0&1&2] 31 +[!0&!1&2] 28 {2} +[0&1&2] 36 {2} +[!0&!1&2] 27 {1 2 3} +[!0&!1&2] 97 {1 5} +[0&!1&2] 30 {3} +[0&1&!2] 77 {3} +[!0&!1&2] 101 {2 5} +[!0&!1&2] 0 +[0&!1&2] 12 +[!0&1&!2] 24 {1} +[!0&!1&2] 62 +[0&!1&2] 19 +[!0&!1&!2] 51 +[0&!1&2] 112 {1 4} +[!0&!1&!2] 49 {0 4} +[!0&!1&!2] 50 {1 2 5} +[0&1&!2] 105 {0} +[!0&1&2] 94 {0 2 3 4} +[0&1&!2] 5 {4} +State: 9 +[!0&1&!2] 48 {1} +[!0&!1&!2] 74 {4} +[!0&!1&2] 109 {1 3} +[!0&!1&!2] 42 {3} +[!0&!1&!2] 51 +[!0&!1&!2] 34 +[!0&!1&!2] 44 +[!0&1&2] 59 {1 5} +[0&1&!2] 57 {1 4} +[!0&!1&2] 53 +[!0&!1&!2] 79 +[0&!1&2] 104 +[!0&!1&2] 76 {0} +[!0&1&2] 30 {3} +[0&1&2] 68 {0 3 5} +[!0&1&!2] 94 +[!0&1&!2] 20 +[!0&!1&2] 55 +[!0&!1&!2] 72 {4} +[0&1&!2] 13 {3 4 5} +[!0&1&2] 29 +[0&!1&!2] 85 {1 5} +[0&!1&2] 90 +[!0&1&!2] 71 {2} +[!0&1&2] 91 {1 2 4 5} +[0&!1&!2] 49 {0} +[!0&!1&!2] 101 {2 3} +[!0&1&!2] 81 {0} +State: 10 +[!0&1&2] 74 +[0&!1&!2] 17 {5} +[!0&!1&!2] 24 {1} +[0&1&2] 14 {4} +[!0&1&2] 85 +[0&!1&!2] 97 +[!0&!1&!2] 20 {1} +[0&1&!2] 119 {1} +[!0&1&2] 28 {0 1 2} +[0&1&2] 6 {0 1} +[0&!1&!2] 11 {2 5} +[0&1&2] 12 {5} +[0&1&!2] 10 +[!0&1&2] 112 {5} +[!0&1&!2] 95 +[!0&1&2] 30 {2 4} +[!0&1&!2] 25 +[0&1&!2] 104 {2} +[!0&1&2] 88 +[!0&1&!2] 89 {3} +[!0&1&!2] 44 {2} +[0&!1&2] 98 {4} +[!0&1&2] 83 +[!0&1&2] 101 {2 3 4} +State: 11 +[!0&1&!2] 15 {4} +[!0&1&2] 51 +[0&1&2] 5 {2} +[!0&!1&2] 32 {3} +[0&1&!2] 42 {2 3} +[0&1&!2] 69 {1 2} +[0&1&2] 59 +[0&1&2] 100 {2} +[0&1&2] 66 +[0&!1&!2] 101 +[0&1&2] 82 {1} +[!0&1&!2] 78 +[!0&!1&2] 70 {2 4} +[0&!1&!2] 116 {2} +[!0&!1&2] 68 {1} +[!0&1&!2] 90 +[0&!1&2] 31 +[!0&1&2] 77 {1} +[0&!1&2] 118 {5} +[0&!1&2] 52 {2 5} +[0&1&2] 48 {5} +[!0&!1&!2] 80 {0 3} +[!0&!1&!2] 45 {5} +[0&!1&!2] 65 {3} +[0&1&!2] 25 {2} +[!0&1&2] 74 {1 3} +[0&1&!2] 27 {1} +[0&!1&!2] 40 +[!0&1&2] 72 {3} +[!0&1&!2] 113 {1 2} +[0&1&!2] 67 +[0&!1&!2] 106 {1 4} +[!0&!1&2] 53 {0 1 5} +[0&!1&2] 84 {1} +[0&!1&2] 19 +[!0&!1&2] 24 {1 2} +[0&!1&2] 93 +State: 12 +[0&!1&!2] 67 {2} +[0&1&!2] 80 {5} +[0&!1&!2] 14 +[0&1&!2] 88 {2 4 5} +[0&1&!2] 12 {0 1} +[0&1&2] 109 {1} +[0&1&!2] 81 +[!0&!1&2] 64 {0} +[!0&1&!2] 95 {4} +[0&1&2] 83 {1 3} +[!0&!1&2] 43 +[0&1&2] 65 {3} +[!0&1&2] 9 {4} +[!0&1&!2] 113 {0} +[!0&1&2] 30 {1 3} +[!0&!1&!2] 4 {2} +[!0&1&!2] 110 {0 5} +[!0&!1&!2] 114 {4} +[!0&1&2] 103 {5} +[0&!1&2] 2 +[0&!1&!2] 87 +[!0&1&!2] 112 {1} +[0&1&!2] 119 {1} +[0&1&2] 61 {4} +[0&1&!2] 71 +[!0&1&2] 116 {2 3} +[0&!1&!2] 90 +[!0&1&2] 7 +State: 13 +[!0&1&2] 58 {2} +[!0&!1&2] 40 {2 3} +[0&1&!2] 34 {0 3 4} +[0&!1&2] 107 {2 4} +[!0&!1&!2] 98 {0 3} +[!0&!1&2] 9 {0} +[0&!1&2] 8 {0} +[!0&1&2] 19 {4} +[!0&1&!2] 97 {1} +[0&1&2] 14 +[0&1&!2] 84 {0 1 2 4} +[0&!1&2] 39 {1} +[0&!1&2] 7 {4} +[!0&1&2] 50 +[0&!1&2] 27 {0 2 5} +[!0&!1&2] 115 {1 2 3 4 5} +[0&!1&2] 74 {5} +[!0&1&2] 80 +[0&!1&2] 42 {0 2} +[!0&!1&2] 59 {4 5} +[!0&1&!2] 82 {5} +[0&1&!2] 94 +[!0&1&2] 88 {5} +[!0&1&!2] 53 {4} +[!0&1&2] 75 {4 5} +[!0&!1&2] 54 {1} +[!0&!1&!2] 61 {5} +[0&1&2] 38 {2 5} +[0&1&2] 3 +State: 14 +[0&!1&2] 106 {5} +[!0&1&!2] 76 {1 2} +[!0&1&2] 36 +[0&!1&2] 63 {0 5} +[!0&1&2] 35 +[!0&!1&2] 80 {5} +[0&1&2] 99 +[0&1&2] 62 {3} +[0&!1&!2] 79 {1 5} +[0&1&2] 116 {1} +[!0&!1&!2] 100 {2} +[!0&!1&!2] 90 {2} +[!0&!1&2] 114 {0 1} +[0&1&2] 108 +[0&1&2] 72 {0 2} +[0&!1&!2] 6 {2} +[!0&1&!2] 54 +[0&1&2] 97 {2} +[0&1&2] 58 {0 1 4} +[!0&!1&!2] 9 {0 3} +[0&1&!2] 110 +[0&!1&!2] 2 {5} +[0&1&!2] 61 {3} +[0&1&!2] 27 +[!0&1&!2] 73 {1} +[!0&!1&2] 77 {0 3} +[0&!1&!2] 19 {0 2 5} +State: 15 +[!0&1&!2] 8 {1 3} +[!0&!1&!2] 59 {3} +[!0&!1&2] 44 {2} +[!0&!1&!2] 48 {0 5} +[0&1&2] 73 {5} +[0&!1&!2] 31 {2 4} +[!0&!1&!2] 114 +[!0&1&2] 55 {0 2} +[0&1&!2] 109 {0 5} +[!0&!1&!2] 107 {5} +[!0&1&!2] 115 {1 3 4} +[0&1&!2] 3 {0 5} +[0&!1&2] 62 +[0&!1&!2] 68 {3} +[0&1&!2] 80 +[!0&1&2] 82 {0 4} +[!0&1&2] 77 +[0&1&2] 117 {2 3 5} +[!0&!1&2] 6 {2 3 5} +[0&1&!2] 28 +[0&1&!2] 11 +[0&1&2] 16 +[!0&1&!2] 81 {0 1 5} +[0&!1&2] 102 {4} +[0&!1&2] 47 {3} +[!0&!1&2] 27 {0 2 4} +[!0&1&!2] 66 {0 2 4} +[!0&1&!2] 53 {0} +[!0&1&2] 67 {3} +[!0&!1&!2] 37 +[0&1&2] 35 {3} +[!0&!1&2] 57 {2 3} +[!0&!1&!2] 86 {0} +State: 16 +[!0&1&!2] 109 {1} +[0&1&!2] 29 {4 5} +[!0&!1&!2] 3 +[!0&!1&!2] 57 +[!0&!1&!2] 0 {1} +[!0&1&!2] 113 {4} +[0&!1&!2] 16 {0 1 4 5} +[!0&!1&2] 58 {2} +[0&1&2] 34 {5} +[!0&1&2] 9 {2} +[0&!1&!2] 76 +[!0&1&2] 67 {2 4 5} +[!0&1&2] 118 {1 3 5} +[!0&!1&!2] 24 +[0&!1&2] 88 {1 3} +[0&!1&2] 43 {0 5} +[0&1&!2] 87 {2} +[0&!1&2] 19 +[!0&1&2] 25 {1 2} +[!0&1&!2] 89 +[0&!1&2] 26 +[!0&1&!2] 119 {1 4} +[!0&1&2] 93 {2} +[!0&1&2] 28 +[!0&!1&!2] 74 {0} +[!0&!1&2] 108 {3 5} +[!0&!1&!2] 42 {2} +[0&!1&2] 18 {0 2} +[!0&1&2] 59 {3} +[!0&!1&!2] 8 {0 3} +[0&!1&!2] 92 {1 5} +State: 17 +[!0&!1&2] 75 +[0&1&2] 39 {4 5} +[0&1&!2] 57 +[0&!1&!2] 101 {2} +[0&1&!2] 113 {1 4 5} +[0&1&!2] 34 {1 2} +[0&1&!2] 89 {0} +[!0&!1&2] 28 {3 5} +[0&!1&2] 119 {3 5} +[0&!1&!2] 30 +[0&!1&!2] 12 {2} +[0&!1&!2] 53 +[!0&!1&2] 94 +[0&1&2] 26 {5} +[!0&1&2] 112 {0 1} +[!0&!1&2] 18 {4} +[0&!1&!2] 70 {0} +[!0&1&!2] 35 {5} +[0&!1&!2] 76 +[!0&1&2] 96 {1 2} +[!0&!1&!2] 54 {2 4} +[!0&!1&2] 56 {4} +[!0&1&!2] 25 {5} +[0&1&2] 37 {0} +State: 18 +[!0&1&!2] 24 {5} +[0&1&!2] 106 {5} +[!0&1&!2] 89 {1} +[0&!1&!2] 71 {1 2 5} +[!0&1&2] 85 {3} +[!0&!1&2] 50 +[0&1&!2] 69 +[!0&1&!2] 118 {0} +[!0&!1&!2] 54 {0 5} +[!0&!1&!2] 2 {1} +[!0&1&!2] 112 {0 5} +[!0&!1&2] 63 {0} +[!0&!1&!2] 111 {4} +[!0&1&2] 51 {0 4} +[0&!1&2] 64 {3 4} +[0&!1&2] 107 {5} +[0&!1&!2] 46 {0 2 5} +[!0&1&2] 101 +[0&!1&!2] 16 +[0&1&!2] 65 {1} +[0&!1&!2] 10 {0 1 3} +[0&1&!2] 104 {3} +[!0&!1&!2] 44 {5} +[0&1&2] 110 {0 2 4} +[0&!1&!2] 117 {1} +[0&1&!2] 97 {4} +[0&!1&!2] 30 {3 5} +[!0&1&!2] 78 {1 3} +[0&!1&2] 37 +[0&1&2] 34 {4 5} +[!0&1&!2] 81 {0 4} +[!0&!1&2] 98 {0 3} +[!0&!1&!2] 25 +[0&1&!2] 11 {1 3} +[0&!1&2] 9 {4} +State: 19 +[!0&!1&!2] 108 {0 2 5} +[!0&!1&!2] 44 {0 2} +[0&1&2] 71 +[!0&1&!2] 39 {0} +[!0&!1&!2] 86 {5} +[!0&1&2] 96 +[!0&!1&2] 26 {4} +[!0&1&2] 80 {2} +[!0&1&2] 2 {0 2 3} +[!0&!1&2] 102 +[!0&1&!2] 98 {4} +[0&!1&2] 42 {2} +[!0&1&!2] 83 +[0&!1&!2] 105 {0} +[!0&!1&2] 62 +[0&1&2] 41 {1 2 4} +[0&!1&!2] 79 {1} +[0&!1&2] 13 {0 3} +[0&1&2] 103 {4} +[0&!1&!2] 74 +[0&!1&!2] 52 +[!0&1&2] 45 {0 4} +[0&!1&!2] 60 {2 3} +[!0&!1&2] 89 {1 2} +[!0&!1&!2] 116 {0 1 2} +[0&!1&2] 63 {0 2 3 4} +[0&!1&!2] 58 +State: 20 +[0&!1&!2] 50 {3} +[0&!1&!2] 51 +[0&1&2] 79 {1} +[0&1&2] 114 {4} +[!0&!1&!2] 45 {5} +[!0&1&2] 92 +[0&1&!2] 62 {1} +[!0&!1&2] 85 {1 3 5} +[!0&!1&!2] 95 +[!0&!1&2] 74 {1 2} +[!0&!1&2] 38 {5} +[!0&!1&2] 97 +[!0&!1&2] 3 +[0&!1&!2] 104 {4 5} +[0&!1&!2] 0 {2 4} +[0&1&!2] 47 +[0&1&!2] 86 {3} +[0&1&!2] 81 +[!0&1&2] 71 {2 3} +[!0&1&2] 82 +[!0&1&2] 102 {5} +[0&1&!2] 44 {0 1 2 3 5} +[0&1&2] 58 {2} +[!0&1&2] 65 {2 3} +[!0&!1&2] 56 +[0&1&2] 90 {0 1} +State: 21 +[0&1&2] 23 +[!0&!1&2] 46 {5} +[!0&!1&2] 79 {3} +[0&!1&!2] 17 {0 2 4 5} +[!0&!1&2] 40 +[!0&!1&2] 68 {3} +[0&1&!2] 86 {5} +[0&1&!2] 51 {0 5} +[!0&1&!2] 19 +[0&1&2] 50 {0 3 5} +[!0&1&2] 72 +[0&1&2] 57 {0 2 3 4 5} +[0&!1&!2] 26 +[!0&!1&!2] 43 {0 2} +[!0&!1&2] 53 +[!0&!1&2] 25 {3} +[!0&1&2] 90 {1} +[0&1&2] 1 {0} +[!0&!1&!2] 99 {2} +[!0&1&!2] 20 {1} +[0&!1&!2] 83 {0} +[!0&!1&2] 98 +[!0&!1&!2] 61 {0} +[0&!1&!2] 85 {1 2} +[!0&1&2] 113 {0} +[0&!1&2] 5 {1 5} +[!0&!1&2] 45 +[!0&!1&2] 114 {1} +[!0&!1&!2] 59 {0 5} +[!0&1&2] 92 +[0&1&2] 117 {0 1} +[!0&1&2] 107 {1 4 5} +[0&1&!2] 7 {1 2} +[0&!1&!2] 93 {5} +[!0&!1&!2] 21 +[0&1&2] 116 {3 5} +[0&1&!2] 11 +State: 22 +[0&1&!2] 89 +[0&1&!2] 101 {2 3 4} +[!0&!1&!2] 65 {0 2 4} +[0&1&!2] 52 {0 1 2 3 4} +[0&!1&!2] 29 {4 5} +[!0&!1&!2] 85 {2} +[!0&1&!2] 94 {5} +[!0&1&2] 11 {0 3} +[0&1&!2] 9 {0 2} +[!0&1&2] 4 {1 5} +[!0&!1&!2] 33 +[0&1&!2] 10 {1 5} +[0&1&!2] 92 {4 5} +[0&!1&2] 44 {0 1} +[0&!1&2] 110 {3} +[0&!1&!2] 112 {4} +[0&!1&!2] 18 {2 5} +[0&1&!2] 21 {0 5} +[0&1&2] 83 {1 5} +[!0&1&!2] 62 +[0&1&!2] 41 {3} +[0&!1&2] 73 {3} +[0&1&2] 3 {0} +[0&1&2] 42 +[!0&1&!2] 54 {0 1 4 5} +State: 23 +[0&1&2] 15 {0 1 3 4} +[!0&1&2] 40 +[0&1&!2] 51 {5} +[0&1&2] 75 +[0&1&!2] 100 +[0&!1&2] 92 +[!0&1&!2] 46 +[0&1&2] 42 +[!0&1&!2] 26 +[!0&!1&2] 22 {2 3} +[0&1&2] 48 {0} +[0&1&2] 35 {1} +[0&1&!2] 45 {2 3} +[!0&!1&2] 84 {1} +[!0&!1&2] 8 {1 3} +[0&!1&!2] 101 {1 4} +[!0&!1&!2] 57 {2} +[!0&1&!2] 113 {0 2 5} +[0&!1&2] 116 +State: 24 +[!0&1&!2] 58 {2 3} +[!0&1&!2] 48 {2} +[0&1&2] 104 {5} +[!0&1&!2] 50 {1} +[!0&!1&2] 76 +[0&!1&!2] 82 {2} +[!0&!1&!2] 90 {0} +[0&!1&2] 103 {0 1 3} +[!0&!1&2] 105 +[!0&!1&2] 11 +[!0&1&2] 107 {1} +[!0&!1&!2] 17 +[!0&!1&2] 62 {0 1} +[0&1&2] 9 {3} +[0&!1&!2] 78 +[0&!1&!2] 27 {0 1 5} +[0&!1&2] 37 {2} +[!0&!1&2] 52 {4} +[!0&!1&!2] 85 {1} +[0&!1&2] 43 +[!0&!1&!2] 54 {0 2} +[0&!1&2] 12 {0 2 3} +[!0&!1&2] 28 +[0&!1&2] 18 {3 4} +[!0&1&2] 70 +[!0&!1&!2] 92 {0 4} +[0&!1&2] 83 +[!0&!1&!2] 115 {3} +[!0&!1&2] 8 {0} +[!0&1&!2] 116 +[!0&!1&!2] 99 {3 5} +[0&!1&2] 55 +[!0&!1&!2] 91 {4} +[!0&1&!2] 30 +[0&1&2] 117 {1} +State: 25 +[!0&1&2] 64 {3 5} +[!0&1&2] 94 +[!0&!1&!2] 52 {3} +[0&!1&!2] 48 {2 3} +[0&1&2] 11 {0} +[!0&!1&!2] 92 +[!0&!1&!2] 76 {0 2} +[!0&!1&2] 14 +[!0&!1&!2] 62 {1 3} +[!0&!1&!2] 104 {1 5} +[!0&1&!2] 9 {0} +[0&1&2] 39 {1} +[0&1&!2] 113 +[0&1&!2] 109 {1} +[0&1&!2] 87 {1} +[0&1&2] 96 {0 3} +[0&!1&!2] 98 {0} +[0&1&!2] 69 {0 4 5} +[!0&1&!2] 27 +[0&1&!2] 20 +[!0&!1&!2] 22 {4} +[0&1&!2] 91 {1} +[!0&1&2] 116 {0 1 4} +[!0&!1&2] 31 {4} +[!0&!1&2] 33 {4} +[!0&1&!2] 82 {1 2 3 4} +[0&!1&2] 7 {1 2} +[0&1&2] 110 +[0&1&!2] 75 {5} +[0&!1&!2] 16 {0 1} +State: 26 +[!0&1&!2] 73 {2} +[0&1&!2] 111 {3} +[!0&1&!2] 99 {5} +[0&!1&!2] 53 {1 3} +[!0&1&2] 110 +[0&!1&2] 84 +[0&1&!2] 78 {5} +[0&1&2] 51 +[0&!1&2] 54 {0 1} +[0&!1&!2] 24 {5} +[!0&1&2] 118 {5} +[!0&1&2] 43 +[0&1&2] 42 {3 5} +[0&1&2] 100 {0 1 3} +[0&1&2] 1 {0 1} +[0&1&!2] 71 +[0&1&!2] 59 {0 4 5} +[!0&1&!2] 36 {0} +[!0&1&!2] 70 {1} +[0&!1&!2] 106 {1} +[0&1&!2] 85 {1} +[!0&!1&!2] 15 {3 5} +[!0&1&!2] 90 +[!0&1&2] 113 +[!0&1&!2] 0 {2 5} +[0&!1&!2] 34 {1} +[0&1&!2] 9 {0 2} +[0&1&!2] 95 {0 2} +[!0&1&2] 20 {2} +[0&!1&2] 55 +State: 27 +[!0&!1&!2] 57 {5} +[0&1&2] 96 {5} +[0&1&!2] 115 +[0&1&!2] 74 {2} +[0&1&!2] 6 {1 5} +[!0&!1&!2] 20 {1 5} +[!0&1&!2] 65 {0} +[!0&!1&!2] 47 +[!0&!1&2] 10 +[!0&1&2] 53 {1 2 3 4} +[0&1&!2] 103 +[0&1&2] 34 {1 2} +[0&1&!2] 18 {1} +[0&!1&!2] 24 +[0&!1&!2] 17 {5} +[0&1&2] 106 +[!0&!1&!2] 39 {4} +[!0&!1&2] 83 {3} +[0&1&!2] 16 {3} +[!0&1&2] 94 {2} +[0&1&!2] 11 {2} +[0&1&2] 72 {3} +[0&!1&2] 44 {5} +[0&!1&!2] 69 {1 4} +[0&1&!2] 63 {1 2 4} +[0&1&!2] 56 +[0&1&!2] 88 {2} +[!0&!1&!2] 13 {0 4} +[!0&!1&!2] 107 {4} +[!0&1&2] 31 {1} +[!0&!1&2] 5 {2 5} +[!0&!1&!2] 14 {2 4} +[0&1&!2] 8 {2 3} +[!0&1&2] 52 +[0&1&2] 28 {0 3} +State: 28 +[0&1&2] 51 {5} +[0&1&2] 32 {1} +[!0&1&!2] 53 {0 1 5} +[0&1&!2] 8 {1 3 5} +[!0&1&2] 9 {2 3} +[!0&1&2] 69 {4} +[!0&!1&!2] 43 {0 4 5} +[!0&1&2] 75 {3} +[!0&!1&!2] 22 {0 3 4} +[0&1&2] 81 {0 1} +[!0&!1&2] 101 {0 5} +[!0&1&!2] 19 {5} +[!0&!1&!2] 49 {2 5} +[!0&1&2] 118 +[0&!1&2] 82 {0 3 4} +[0&!1&2] 30 {1 2} +[0&1&!2] 5 {3 5} +[!0&!1&2] 59 {1} +[0&1&!2] 44 +[0&1&2] 109 {4} +[0&1&!2] 41 {0 4} +[0&1&2] 16 {2} +[0&!1&2] 25 {3} +[!0&1&!2] 0 {4 5} +[!0&!1&!2] 90 {5} +[0&1&!2] 97 {0 3} +[!0&1&2] 62 +[0&!1&2] 45 {1 2 4 5} +[!0&!1&!2] 7 {5} +[0&!1&2] 83 +State: 29 +[!0&!1&2] 58 {0} +[0&!1&!2] 4 {4 5} +[0&1&!2] 61 +[!0&1&!2] 74 +[0&!1&!2] 25 +[!0&!1&!2] 49 {0 5} +[0&!1&!2] 24 +[0&1&2] 111 +[0&1&2] 85 {2} +[!0&1&2] 10 {5} +[0&1&!2] 82 {0} +[0&!1&!2] 72 {0} +[!0&1&!2] 6 {1 4 5} +[!0&1&2] 60 {2} +[0&!1&2] 65 {3} +[!0&1&2] 107 +[!0&1&2] 37 {3 4} +[!0&1&!2] 21 {3} +[!0&1&2] 92 {1 2} +[0&!1&!2] 113 +[!0&1&2] 7 {4} +[!0&!1&2] 19 {4 5} +[!0&1&2] 91 {0} +[!0&!1&!2] 57 +[!0&1&2] 119 {0 2} +[0&!1&!2] 96 {0 1 5} +[!0&!1&!2] 48 +[0&1&!2] 26 {0 3} +[0&1&!2] 3 {1} +[!0&1&2] 71 {5} +[0&!1&2] 55 +[!0&1&!2] 101 {5} +[0&!1&!2] 36 +[!0&1&2] 44 {0 1} +[0&1&2] 108 {0} +[!0&!1&2] 98 +[!0&1&2] 93 {0} +State: 30 +[!0&1&2] 49 {3 4 5} +[0&1&!2] 95 {0 2 5} +[0&!1&2] 25 {0 3} +[!0&1&2] 18 {0} +[0&!1&2] 51 {4} +[!0&!1&!2] 17 {0 3} +[0&!1&!2] 98 +[0&1&2] 97 {4} +[!0&!1&2] 111 +[!0&1&!2] 31 {0} +[!0&1&!2] 58 +[!0&!1&2] 83 {0} +[0&1&!2] 43 +[0&1&!2] 45 {5} +[!0&1&2] 37 {1} +[!0&!1&!2] 78 {1 2} +[!0&1&2] 94 {1 5} +[0&1&2] 70 +[!0&1&2] 16 +[!0&1&2] 100 {1 4} +[0&!1&!2] 112 {0 2 4} +[!0&1&!2] 1 {0} +[0&1&!2] 11 {0 1} +[0&1&2] 99 {0 2 4} +[!0&!1&!2] 88 {0 2 5} +[!0&!1&2] 42 +[0&!1&2] 35 +[!0&1&2] 93 +[!0&!1&!2] 38 +[!0&!1&!2] 119 {4 5} +State: 31 +[0&!1&!2] 83 +[0&!1&2] 14 {3} +[0&1&!2] 111 +[0&1&2] 71 {1} +[!0&1&!2] 10 +[!0&!1&2] 40 {5} +[0&1&!2] 102 {2} +[0&1&2] 70 {3} +[!0&1&2] 26 {0 5} +[0&1&!2] 96 {2} +[!0&!1&2] 66 {1} +[0&1&2] 100 {1 5} +[0&!1&!2] 93 {3 5} +[!0&1&2] 20 {0 2} +[!0&1&2] 4 {0} +[!0&!1&2] 91 +[!0&1&2] 69 {1 2 3 5} +[0&1&2] 33 {0 3} +[0&!1&!2] 62 {2 3 4} +[0&!1&2] 67 {4} +[0&!1&!2] 9 {0 2} +[0&!1&2] 99 {0 1 2 4 5} +[0&1&2] 107 +[0&!1&2] 92 +[0&1&!2] 5 {1 4 5} +[0&1&2] 97 {1} +[!0&!1&2] 80 {3} +[!0&!1&!2] 94 {5} +[0&1&2] 30 {1} +[0&1&!2] 89 {0 4} +[!0&!1&!2] 22 +State: 32 +[0&!1&!2] 66 {2 3} +[!0&1&!2] 27 +[!0&1&!2] 51 {5} +[0&!1&!2] 41 {3} +[0&1&!2] 113 +[!0&1&2] 72 {2} +[!0&1&2] 115 {1 3 4} +[!0&!1&!2] 47 {0 2} +[!0&!1&!2] 76 +[0&!1&2] 96 +[0&!1&!2] 104 {2} +[!0&1&2] 12 +[0&1&2] 81 {1} +[!0&1&2] 65 {2} +[0&1&!2] 43 +[0&!1&!2] 55 {4} +[!0&1&2] 99 {4} +[0&!1&2] 97 {0 4 5} +[!0&!1&2] 63 {3} +[0&1&2] 67 {0} +[0&1&!2] 107 +[!0&1&2] 118 {3 5} +[!0&!1&2] 53 {0 2 3} +[!0&!1&2] 108 +[0&!1&!2] 30 {0} +[0&1&!2] 9 {2 4} +[!0&1&!2] 11 {0 4} +[!0&1&2] 24 {2 3} +[0&!1&!2] 80 {3 4} +[!0&!1&!2] 69 {3 5} +[!0&1&!2] 60 {2 5} +[0&1&!2] 15 {4 5} +State: 33 +[0&!1&2] 84 +[!0&!1&!2] 98 {1} +[!0&!1&2] 63 +[!0&1&!2] 61 {4} +[0&!1&2] 76 {4} +[0&!1&!2] 11 {0} +[!0&1&!2] 57 {0} +[0&!1&!2] 92 {0 3} +[!0&!1&!2] 105 +[0&!1&2] 113 +[0&!1&2] 49 +[!0&!1&!2] 44 {4} +[0&1&!2] 103 {0 1 3 5} +[!0&!1&!2] 36 {1} +[0&1&2] 22 {1 4} +[!0&1&2] 35 {4} +[0&1&2] 8 +[0&1&2] 12 {1 5} +[!0&!1&!2] 80 {1 3} +[!0&1&!2] 38 {0 1 2 3 5} +[!0&!1&2] 24 {0 4} +[0&!1&!2] 104 {1 5} +[!0&!1&!2] 1 {0 2 3} +[0&!1&2] 82 +[!0&!1&2] 10 {5} +[!0&!1&!2] 56 {5} +[!0&!1&!2] 100 +[!0&!1&2] 88 +[!0&1&2] 96 {5} +[!0&1&!2] 94 {1} +[0&!1&!2] 72 {1} +[0&1&2] 5 +[!0&!1&!2] 42 {0 1} +[!0&!1&!2] 31 {0 3} +State: 34 +[!0&1&!2] 38 {0 1 5} +[0&1&!2] 68 {3 5} +[!0&1&!2] 33 +[!0&!1&!2] 55 +[!0&1&!2] 87 {3} +[!0&!1&!2] 113 {0} +[0&!1&2] 57 {0 3} +[0&!1&2] 115 {5} +[0&1&2] 56 {5} +[0&1&2] 59 {3 4 5} +[0&1&2] 37 {2 4} +[!0&!1&!2] 11 {3 5} +[!0&1&!2] 52 +[!0&1&!2] 98 {2 3} +[0&1&!2] 13 {5} +[!0&!1&!2] 66 {0 3 5} +[!0&1&!2] 17 {0} +[!0&!1&2] 12 {0} +[0&1&2] 49 {3} +[0&!1&!2] 83 {4 5} +[0&!1&!2] 31 {1 5} +[!0&!1&!2] 60 {2 5} +[0&!1&!2] 61 +[!0&1&!2] 74 {1} +[0&!1&2] 0 {1} +[!0&!1&!2] 91 {1 4 5} +[!0&1&2] 75 {0 3} +[0&1&2] 93 {4} +[0&1&!2] 117 +[!0&!1&!2] 19 {1 5} +State: 35 +[!0&1&2] 78 +[!0&!1&2] 0 {0 2 5} +[0&!1&2] 97 {0} +[!0&1&!2] 46 {1} +[!0&1&!2] 103 {1 2 4} +[!0&!1&2] 82 +[0&!1&2] 15 {2} +[!0&1&!2] 8 {2} +[!0&!1&!2] 104 +[0&!1&!2] 94 {2} +[!0&!1&2] 80 {0 3 4} +[0&1&!2] 63 {1} +[0&!1&!2] 69 {4} +[!0&1&!2] 98 {2} +[!0&!1&2] 96 {3} +[!0&!1&!2] 38 {0 1 2} +[!0&!1&!2] 61 {5} +[0&!1&2] 118 {5} +[0&1&!2] 45 {1} +[0&1&2] 110 {3} +[!0&1&2] 26 {3 4} +[0&!1&2] 68 {0 2 4} +[!0&!1&2] 48 {5} +[!0&!1&!2] 40 {2} +[0&1&!2] 107 {0 4} +[0&1&2] 22 {4 5} +[!0&1&2] 11 {3} +[!0&!1&2] 86 {2} +[!0&1&!2] 56 +[!0&1&!2] 67 +[!0&1&!2] 108 {0 1 3} +[0&!1&2] 66 {4} +[!0&!1&!2] 111 {4} +[!0&!1&!2] 64 {3} +State: 36 +[0&!1&!2] 16 {3} +[!0&!1&2] 105 +[!0&!1&!2] 56 {1} +[!0&1&!2] 61 {0 1 5} +[0&!1&!2] 4 {5} +[!0&1&2] 3 {3} +[!0&1&2] 68 +[0&!1&2] 64 +[0&!1&2] 86 {0 3} +[0&!1&2] 101 {5} +[0&1&2] 8 {1} +[0&!1&!2] 12 {0} +[!0&!1&!2] 18 {1} +[0&1&2] 34 +[0&1&!2] 112 {4 5} +[!0&!1&2] 58 +[!0&!1&!2] 29 {5} +[!0&!1&2] 33 {0 3 4} +[0&!1&2] 107 {0 4} +[0&!1&2] 7 +[0&1&!2] 1 {1 2} +[0&1&2] 110 +[0&1&2] 75 {3} +[!0&!1&!2] 15 {1} +[0&1&!2] 65 {1 3} +[!0&1&!2] 11 +[0&!1&2] 69 {0 3} +[0&1&!2] 43 {0} +[!0&1&!2] 67 +[0&1&2] 89 {3} +[!0&1&2] 77 {1 4} +[!0&1&2] 99 {2 3} +[0&!1&!2] 21 {1 2} +[0&!1&2] 93 {3} +[!0&!1&!2] 80 {1 2 3} +[0&1&!2] 27 {1 2 3} +[!0&1&!2] 19 +[!0&!1&!2] 28 +[!0&!1&!2] 119 +[0&1&!2] 5 +[0&1&!2] 104 {1} +[0&!1&!2] 37 {4} +State: 37 +[0&!1&!2] 107 {3} +[0&!1&2] 38 {3} +[0&1&!2] 84 +[!0&!1&!2] 62 {3} +[0&!1&!2] 12 {1} +[!0&1&2] 96 +[!0&!1&2] 4 {5} +[!0&1&!2] 117 {2 3 4} +[0&1&!2] 58 +[!0&!1&!2] 75 {3} +[!0&!1&!2] 65 +[!0&!1&2] 53 +[0&1&!2] 89 {5} +[!0&!1&2] 81 {5} +[!0&!1&2] 110 {0 5} +[0&!1&!2] 91 {3 4} +[0&1&2] 71 {0 1 2} +[!0&1&2] 26 +[!0&!1&!2] 0 {3} +[!0&1&!2] 3 {2} +[!0&!1&2] 74 {0 5} +[0&!1&2] 68 {5} +[0&1&!2] 10 +[!0&!1&2] 22 +[0&1&2] 111 {1 4} +[0&!1&!2] 59 {2 3 5} +[0&1&!2] 78 +[0&!1&!2] 49 {0} +State: 38 +[!0&!1&2] 112 {1} +[0&!1&2] 40 {2} +[!0&1&!2] 84 {0 5} +[0&!1&2] 55 {5} +[!0&1&!2] 33 +[!0&!1&2] 100 {2 3} +[!0&!1&!2] 17 {1 5} +[!0&!1&!2] 81 {4} +[!0&1&2] 61 +[0&!1&!2] 66 {4 5} +[!0&1&!2] 107 +[!0&!1&!2] 95 +[0&!1&2] 36 +[!0&1&!2] 76 {3} +[!0&!1&2] 115 +[0&!1&2] 79 {2 4} +[0&!1&2] 5 {2} +[0&1&2] 45 +[0&1&2] 80 +[!0&!1&!2] 67 {1 4 5} +[!0&1&2] 98 {1 3} +[0&!1&2] 77 {2 3 4} +[!0&1&2] 10 {5} +[!0&1&!2] 47 +[!0&1&!2] 58 {3} +[0&1&!2] 118 {4 5} +[0&1&2] 44 {1 3} +[!0&1&!2] 103 {3} +[!0&!1&2] 91 +[0&1&2] 0 {2 4} +[!0&!1&!2] 116 {4} +[!0&1&!2] 87 +[!0&1&!2] 41 {2 4 5} +[!0&1&!2] 94 +State: 39 +[!0&1&2] 3 {4 5} +[0&!1&2] 100 {5} +[!0&!1&2] 6 +[!0&1&!2] 30 {2} +[0&!1&2] 49 +[!0&!1&!2] 72 +[!0&!1&2] 16 {3} +[!0&1&!2] 109 +[0&1&2] 4 {4} +[!0&1&!2] 28 {1 3} +[0&1&!2] 37 {5} +[0&1&2] 115 +[!0&1&2] 39 {4 5} +[0&1&2] 103 {2 5} +[0&1&2] 67 {0 2 3} +[!0&!1&!2] 92 {0} +[0&1&2] 112 +[!0&1&2] 54 +[!0&1&2] 18 {2} +[!0&!1&2] 33 {0 1 3} +[0&1&2] 46 {5} +[0&!1&2] 66 +[!0&1&2] 106 {4} +[0&!1&2] 73 +[0&1&!2] 25 {4} +[0&!1&2] 59 {1 2} +[!0&!1&2] 90 +[!0&1&2] 74 {0} +[!0&!1&!2] 22 {3} +[!0&1&2] 105 {0 2 5} +[!0&!1&!2] 1 {1} +[0&!1&2] 116 +[!0&!1&!2] 44 {2} +[0&!1&2] 118 {0 2 4} +State: 40 +[!0&!1&!2] 62 {0 1} +[0&1&!2] 96 {4} +[0&1&!2] 66 +[!0&1&!2] 41 {5} +[0&1&2] 13 {4} +[!0&1&!2] 71 {2 4} +[0&1&!2] 80 {3} +[!0&1&!2] 72 +[!0&1&!2] 28 {3} +[!0&!1&!2] 59 {4} +[0&1&!2] 14 +[!0&!1&2] 20 {1} +[!0&1&!2] 100 {3 4} +[0&!1&!2] 5 {2} +[!0&!1&2] 68 {1} +[0&1&2] 19 {0 4} +[0&!1&2] 92 {3 4} +[!0&1&!2] 111 {0 2} +[0&1&2] 93 {2 3} +[0&1&!2] 36 +[!0&!1&!2] 44 {4} +[0&!1&2] 67 {2 4 5} +[0&1&2] 9 {4} +[!0&!1&2] 75 +[0&!1&2] 17 {3 4} +[!0&!1&2] 45 +[0&1&2] 113 {3} +[0&!1&2] 54 +[0&1&2] 107 {1 2 4} +[0&1&2] 99 {1 2} +[0&1&!2] 103 {4 5} +[0&1&!2] 33 {4} +State: 41 +[0&1&2] 68 +[0&!1&!2] 59 +[!0&!1&2] 48 {0 5} +[!0&1&2] 115 +[0&1&!2] 29 +[!0&!1&2] 116 +[0&1&2] 102 {0 1 2 3} +[!0&1&2] 27 +[!0&!1&!2] 60 {0 2} +[0&1&!2] 17 +[!0&1&2] 36 {0 2 5} +[!0&!1&!2] 4 {5} +[0&!1&!2] 88 {0} +[0&1&!2] 18 +[!0&!1&2] 103 +[0&!1&!2] 12 {0 1 3 5} +[0&1&2] 96 {1} +[0&!1&2] 95 {1 2} +[!0&1&!2] 7 +[0&1&!2] 74 {5} +[0&1&2] 51 +[!0&1&!2] 65 +[!0&!1&!2] 9 {1 5} +[0&!1&!2] 40 {5} +[0&!1&!2] 89 {0} +[!0&1&!2] 19 {5} +[!0&1&2] 114 {4} +[0&!1&2] 2 {0 4} +[0&1&2] 82 +State: 42 +[!0&!1&!2] 79 {5} +[!0&1&2] 63 {4} +[!0&!1&!2] 5 {1 5} +[0&1&2] 28 {0 1} +[!0&!1&2] 94 {0} +[!0&1&!2] 93 +[!0&!1&!2] 56 {2} +[!0&1&!2] 25 {4} +[!0&!1&!2] 86 {1 4} +[!0&1&2] 55 {4} +[!0&!1&2] 100 {5} +[!0&1&2] 20 {4} +[!0&1&!2] 57 +[!0&!1&!2] 48 {3} +[!0&1&2] 26 {1} +[!0&!1&2] 67 {0} +[0&!1&2] 42 {2} +[!0&!1&2] 35 {4} +[0&1&!2] 51 +[!0&!1&2] 97 {2 4 5} +[0&!1&!2] 74 +State: 43 +[0&!1&2] 106 {1 5} +[!0&1&!2] 29 {3 4} +[0&!1&2] 49 {0 1 2} +[!0&1&!2] 45 {1 2} +[!0&!1&2] 37 {5} +[!0&1&!2] 81 {3} +[0&!1&!2] 12 +[!0&1&2] 116 +[0&!1&2] 65 {4 5} +[!0&!1&2] 48 {2} +[0&!1&!2] 94 {0} +[0&!1&2] 46 {1} +[0&1&!2] 19 {5} +[0&1&!2] 38 +[!0&1&!2] 14 {3} +[0&!1&2] 57 {0 4} +[!0&!1&2] 110 {3} +[0&!1&2] 70 {5} +[0&!1&!2] 101 {5} +[0&1&!2] 2 +[!0&1&2] 3 {0} +[0&!1&!2] 87 +[0&1&2] 52 {1 5} +[0&!1&2] 5 {0 2 4} +[!0&1&!2] 36 {4 5} +[!0&!1&!2] 7 {1 4} +[0&1&!2] 25 {4} +[0&1&!2] 28 {3} +[!0&!1&!2] 95 {0 3 4} +State: 44 +[!0&!1&!2] 29 {1} +[0&!1&2] 32 +[0&!1&2] 87 {1 5} +[0&1&!2] 60 {4} +[!0&1&2] 20 +[0&1&2] 21 +[!0&!1&!2] 7 {2 4} +[0&1&!2] 88 {0} +[!0&1&!2] 3 {0 1 3 4} +[!0&1&2] 15 {5} +[0&1&2] 42 +[0&!1&!2] 75 {1} +[!0&!1&!2] 35 {5} +[0&1&!2] 111 {0} +[0&1&2] 90 {2} +[!0&1&2] 48 +[0&1&!2] 115 {4} +[0&1&!2] 89 {0 4} +[0&!1&!2] 31 +[0&!1&2] 66 {0 5} +[!0&!1&2] 119 {2 3 4} +State: 45 +[!0&1&!2] 110 +[0&1&2] 42 {2} +[0&!1&2] 67 +[0&1&2] 85 {0} +[0&1&!2] 62 {0 4} +[0&1&2] 24 +[!0&1&!2] 36 {2} +[!0&1&2] 89 {2} +[0&1&2] 81 {5} +[0&!1&2] 8 +[!0&!1&!2] 94 {3 4} +[0&!1&2] 14 {0 1} +[!0&1&2] 52 +[0&!1&!2] 74 {3} +[0&!1&2] 17 {0} +[!0&!1&!2] 53 {5} +[!0&!1&!2] 64 {2 3 4} +[!0&1&2] 83 {1} +[!0&!1&!2] 117 {0} +[0&!1&!2] 41 {0} +[0&1&!2] 15 {4} +[!0&1&!2] 90 {0 1 2} +[0&1&!2] 72 {2} +[0&!1&!2] 71 {5} +[!0&1&!2] 34 {1} +[0&1&!2] 108 {5} +[0&!1&!2] 96 {1} +[!0&!1&2] 38 {0 2 5} +[!0&1&2] 20 {1 2} +[0&1&!2] 5 {1} +[0&1&2] 119 {2 5} +[0&1&!2] 101 +[!0&!1&!2] 118 +State: 46 +[0&1&!2] 70 {2 4 5} +[0&!1&!2] 15 +[!0&!1&2] 90 {1} +[!0&!1&2] 97 +[0&1&2] 94 {1 4} +[0&1&!2] 1 {1 2 5} +[0&!1&!2] 14 {2 4 5} +[0&1&!2] 112 {4} +[!0&1&2] 61 {2 3} +[0&!1&!2] 3 +[!0&!1&!2] 29 {3} +[0&1&2] 43 {2 4} +[!0&!1&2] 58 +[0&!1&2] 116 {0} +[!0&!1&2] 108 {2 3 4} +[0&1&!2] 19 +[0&!1&!2] 100 +[0&!1&2] 52 +[0&1&2] 102 +[!0&!1&2] 38 {3} +[0&!1&2] 20 {3} +[0&1&!2] 59 {0 4} +[0&!1&2] 46 {2 3} +[0&1&!2] 21 {3 4} +[0&!1&2] 66 {0 4} +[0&!1&2] 117 +[0&!1&2] 10 {5} +[0&!1&2] 30 +[!0&!1&!2] 79 {1} +[!0&!1&2] 35 {1 2 5} +[!0&!1&!2] 6 {5} +[!0&!1&2] 95 {4 5} +[!0&!1&2] 114 {0 1 2} +[0&1&!2] 27 {4} +State: 47 +[!0&!1&2] 89 {5} +[!0&1&!2] 73 {4} +[0&!1&!2] 9 +[0&1&!2] 22 +[0&!1&2] 110 {2 4} +[0&!1&!2] 10 +[!0&!1&2] 70 {1 3} +[!0&1&2] 52 {2} +[0&!1&!2] 84 {0 2} +[0&1&!2] 75 {4} +[0&!1&!2] 92 {3} +[!0&1&2] 12 {3} +[0&1&!2] 30 +[0&1&!2] 14 {0 4} +[!0&1&2] 101 +[0&1&2] 80 {3} +[!0&!1&!2] 118 {4} +[0&1&2] 114 +[!0&!1&2] 16 {1} +[!0&1&!2] 50 {0 2} +[!0&!1&!2] 88 +State: 48 +[!0&1&2] 72 {0 2 3 4} +[0&!1&2] 80 {0 1} +[!0&1&!2] 10 {1 4} +[!0&1&2] 52 {3 4} +[0&1&!2] 33 +[0&1&!2] 0 {2} +[0&!1&!2] 94 {2 3 4} +[0&!1&2] 37 {4} +[!0&1&!2] 78 +[!0&!1&2] 64 +[0&1&2] 70 {0 5} +[0&1&2] 18 {0 5} +[!0&1&!2] 8 {1 2 3} +[0&!1&2] 97 {1} +[0&!1&2] 87 +[0&1&!2] 79 {1 3 4 5} +[0&!1&!2] 47 {3 4} +[!0&1&!2] 88 {0 5} +[!0&1&!2] 111 {3 5} +[!0&1&!2] 105 {3} +[!0&1&2] 2 {3} +[0&1&2] 81 {4} +[!0&!1&2] 54 {0 3} +[!0&1&!2] 98 {4 5} +[0&!1&2] 24 +[!0&!1&!2] 30 {1 4 5} +[0&!1&!2] 35 +[!0&1&!2] 110 {1} +[0&1&!2] 67 {0 1} +[0&1&!2] 58 +[0&!1&!2] 65 +[!0&1&!2] 100 +State: 49 +[!0&1&!2] 21 {0 5} +[!0&!1&!2] 73 +[!0&!1&2] 77 {1 2} +[!0&1&!2] 16 {0 4} +[0&!1&2] 114 {2 4} +[0&1&2] 95 {0 2} +[!0&1&2] 98 {4 5} +[!0&1&!2] 117 {0 3} +[!0&1&2] 119 {0} +[0&!1&2] 45 {1 5} +[!0&1&2] 40 {1 5} +[0&1&2] 59 {4} +[!0&!1&2] 22 {5} +[0&1&2] 14 +[!0&!1&2] 102 {1 4} +[!0&1&!2] 72 {0 5} +[!0&1&2] 26 {2 4} +[0&!1&2] 15 {5} +[!0&!1&!2] 118 {0 5} +[!0&1&!2] 108 {0} +[0&!1&!2] 65 {1} +[0&1&2] 88 {1} +[!0&!1&2] 10 {5} +[!0&!1&!2] 99 {2} +[!0&!1&!2] 34 +[!0&!1&2] 54 +[!0&1&2] 58 {2 4} +[!0&1&2] 71 {1 2} +[0&1&!2] 64 {5} +[0&!1&!2] 96 {1} +[!0&1&2] 29 {3 5} +[0&1&!2] 20 +[!0&1&2] 49 +State: 50 +[0&!1&2] 117 {5} +[0&1&2] 7 {1 3 5} +[!0&!1&!2] 13 {0 1 5} +[!0&!1&2] 23 +[!0&1&!2] 106 {0 1 4} +[0&!1&!2] 46 {2} +[0&!1&2] 26 +[0&1&!2] 75 {3 4} +[0&1&2] 51 {0} +[!0&!1&!2] 38 {5} +[0&1&!2] 116 {0 2 3} +[0&!1&2] 81 {1} +[0&1&!2] 15 {2 4} +[!0&!1&!2] 4 +[0&1&!2] 58 {2} +[!0&!1&!2] 10 {1 4} +[!0&1&!2] 22 {0} +[0&1&2] 92 {5} +[0&!1&!2] 2 {0} +[0&1&2] 77 {1} +[!0&1&!2] 49 +[!0&!1&!2] 111 {2 3 5} +[!0&1&2] 39 {2} +[!0&1&!2] 105 {4 5} +[!0&!1&!2] 20 {0} +[!0&!1&2] 68 +[0&1&!2] 83 {5} +[0&1&2] 64 {3 4} +[0&!1&2] 70 +[!0&!1&!2] 98 {1} +[!0&1&2] 90 {5} +[0&1&2] 11 {1 4} +State: 51 +[0&1&!2] 39 {1} +[0&1&!2] 42 +[0&1&2] 27 {1 2 4} +[!0&!1&2] 74 +[0&1&!2] 93 {4 5} +[!0&!1&!2] 54 +[0&1&2] 108 +[0&1&2] 23 {0} +[0&!1&!2] 26 {5} +[!0&!1&2] 80 {0} +[!0&1&!2] 61 {4} +[0&!1&2] 41 {0} +[!0&1&2] 22 {0 1 5} +[!0&1&2] 20 +[0&!1&2] 21 {4 5} +[0&!1&!2] 89 +[!0&!1&!2] 114 {0 2} +[0&!1&!2] 98 {2} +[0&!1&!2] 38 +[0&!1&2] 102 {1} +[!0&!1&2] 119 +[0&!1&2] 50 +[0&1&!2] 111 {0 5} +[0&!1&!2] 47 +[!0&1&!2] 85 {0 3} +[!0&!1&!2] 67 {0} +[0&1&2] 68 {4 5} +[0&!1&2] 96 {3} +State: 52 +[!0&!1&!2] 39 +[0&!1&!2] 19 {4} +[0&1&2] 13 {2} +[0&1&2] 111 {1 3} +[!0&!1&2] 24 {1} +[0&!1&2] 21 {0 1 2} +[!0&!1&2] 105 {3 5} +[0&!1&!2] 43 {3 5} +[!0&1&!2] 62 {3} +[!0&1&2] 92 {0 3 4} +[0&1&2] 36 {2 4} +[!0&!1&!2] 17 +[!0&1&2] 60 {0 3} +[!0&!1&2] 37 {2} +[0&!1&2] 47 +[!0&!1&!2] 81 {1 4 5} +[!0&!1&2] 82 {4} +[!0&1&!2] 100 {3} +[!0&!1&!2] 98 {1} +[0&!1&!2] 87 {5} +[!0&1&!2] 0 +[!0&1&2] 76 +[!0&1&!2] 75 {3} +[0&!1&2] 70 +[0&!1&!2] 31 {0 2 3 4} +[0&1&2] 46 {3 4} +[0&1&!2] 45 {2 3 4} +[0&1&2] 64 {2 5} +[!0&!1&2] 106 {1} +[!0&!1&2] 34 +[!0&1&2] 57 +[!0&1&!2] 10 {5} +[!0&!1&2] 29 +State: 53 +[0&!1&2] 22 {2 3} +[!0&!1&!2] 114 {0 3 4} +[!0&1&2] 15 +[!0&1&!2] 44 +[0&!1&2] 117 {4} +[!0&1&!2] 103 +[!0&1&2] 14 {3} +[!0&1&2] 53 {0 1} +[!0&1&2] 19 {5} +[!0&1&!2] 43 {1} +[0&!1&!2] 62 {3} +[0&!1&2] 50 +[0&!1&2] 52 +[0&1&!2] 105 {4 5} +[0&1&!2] 98 {0} +[!0&1&!2] 29 {0} +[0&!1&2] 99 {2} +[0&1&!2] 101 {5} +[!0&1&!2] 4 +[0&1&!2] 61 {1} +[!0&!1&2] 71 {0 3} +[0&1&!2] 100 {0 4} +[0&!1&2] 26 {0 4} +[!0&1&!2] 91 {3} +[!0&1&2] 11 +[!0&!1&!2] 97 {0 5} +[0&1&!2] 40 {0 1 3 5} +State: 54 +[0&!1&2] 35 +[!0&!1&2] 62 +[0&1&2] 98 {0 3 5} +[!0&1&!2] 116 {0 1} +[!0&1&!2] 58 +[!0&!1&2] 9 +[0&1&!2] 104 {0} +[!0&1&!2] 60 {0 1} +[0&!1&!2] 77 {3} +[!0&!1&!2] 87 {2} +[0&1&!2] 30 +[0&1&!2] 36 +[0&!1&2] 50 {2} +[0&1&!2] 53 {2 4 5} +[!0&!1&!2] 105 +[0&1&2] 83 {5} +[!0&1&2] 18 +[0&!1&!2] 22 {4 5} +[0&1&2] 85 {5} +[0&1&!2] 92 {1} +[!0&1&2] 45 +[0&!1&2] 24 {3} +[!0&1&2] 102 {5} +[0&1&!2] 73 {3} +[!0&!1&2] 89 {2 4} +[0&!1&2] 43 {3 4} +[0&1&!2] 82 {4 5} +State: 55 +[!0&1&2] 91 +[0&1&2] 99 +[0&!1&!2] 19 {4} +[0&!1&2] 42 {0} +[!0&!1&2] 85 {1} +[!0&!1&!2] 50 {1 5} +[0&1&2] 113 {2 5} +[0&1&2] 26 {2 5} +[!0&!1&!2] 2 +[0&1&2] 79 {4} +[0&!1&!2] 49 {3} +[!0&1&2] 100 +[!0&!1&2] 116 {0 5} +[!0&1&2] 8 +[0&1&!2] 83 {1} +[!0&!1&2] 77 {2} +[0&!1&2] 13 {2} +[!0&!1&2] 103 +[!0&1&!2] 114 {0} +[!0&!1&!2] 69 {2 4} +[0&!1&!2] 93 {0 3} +[!0&!1&!2] 72 +[!0&!1&2] 78 {0 5} +[0&!1&2] 18 +[0&1&2] 67 {1} +[!0&!1&!2] 35 +[!0&1&2] 0 {1 2 5} +[0&1&2] 27 {5} +[!0&!1&!2] 61 {5} +[0&!1&!2] 37 {5} +[0&!1&!2] 51 {0 3} +[!0&1&!2] 81 {0 4} +[0&!1&2] 20 {0} +[!0&!1&2] 111 {0 2} +[0&1&!2] 94 {5} +State: 56 +[0&1&2] 67 +[0&1&!2] 13 {2 3 5} +[!0&1&!2] 86 {3} +[!0&!1&!2] 89 {3 5} +[!0&!1&2] 75 {1 3 4} +[!0&!1&!2] 17 {3} +[0&1&!2] 87 {0 2} +[0&!1&!2] 57 {1 2 4} +[!0&1&2] 12 +[0&!1&2] 47 {3} +[0&!1&2] 21 {0} +[0&1&2] 78 {1 2} +[0&!1&2] 97 +[!0&!1&!2] 104 {4} +[0&1&2] 110 {5} +[0&1&2] 30 {2} +[!0&1&2] 99 {1 2} +[!0&!1&!2] 64 {3 5} +[0&1&2] 112 {0 2 5} +[0&!1&!2] 5 {0} +[!0&!1&!2] 39 {2} +[!0&!1&2] 19 +[0&!1&!2] 105 {1} +[!0&!1&2] 79 {0 5} +[!0&!1&!2] 55 {1 5} +[0&1&!2] 114 +[0&1&!2] 52 {0 1 4} +[0&!1&2] 113 {3 4} +[0&1&!2] 42 +[!0&!1&2] 48 {1} +[!0&1&!2] 101 {0 3 5} +[0&!1&2] 68 +State: 57 +[!0&1&!2] 30 {0 4 5} +[!0&1&2] 79 {0} +[!0&1&!2] 93 {1} +[!0&!1&!2] 1 {5} +[0&1&2] 104 +[!0&1&2] 76 +[0&!1&!2] 73 {2 3} +[!0&!1&!2] 18 +[0&!1&2] 36 {1 3} +[!0&1&!2] 61 +[!0&!1&2] 42 +[0&1&!2] 8 +[0&!1&2] 100 {0 1 4} +[0&1&!2] 10 {2} +[0&!1&2] 98 {4 5} +[!0&!1&2] 115 {0} +[!0&1&!2] 56 {4} +[!0&!1&!2] 71 {0 3} +[!0&!1&2] 9 +[!0&!1&2] 43 {2 3 5} +[0&!1&!2] 89 {5} +[0&1&2] 32 {0 1 4 5} +[!0&!1&2] 55 {3} +[0&!1&!2] 39 {3 4} +[!0&1&!2] 81 {1 2 4} +[!0&!1&!2] 109 {5} +[!0&1&2] 77 +State: 58 +[0&1&2] 21 {1 3 5} +[!0&1&!2] 24 +[!0&!1&!2] 94 {1 3} +[!0&!1&2] 45 {0 1} +[!0&!1&2] 9 {0 2 5} +[!0&1&!2] 100 {0 1 4} +[0&!1&!2] 33 {3 4} +[0&!1&!2] 67 {1 5} +[!0&1&2] 54 +[0&!1&2] 89 {0} +[!0&!1&!2] 118 {4 5} +[!0&1&!2] 90 {1} +[!0&!1&!2] 16 +[0&!1&!2] 58 {4} +[0&!1&!2] 20 {1 2} +[!0&!1&!2] 108 {4} +[!0&1&2] 23 {0 4} +[!0&!1&!2] 117 {5} +[0&1&2] 39 +[0&!1&2] 79 +[!0&1&!2] 2 +[0&!1&!2] 27 +[0&1&!2] 96 {2} +[!0&1&2] 101 {0 1 3} +[0&1&!2] 13 {1 3 4} +[0&1&!2] 15 {5} +[0&!1&!2] 44 {0 2 4} +[0&1&!2] 8 {1 5} +[!0&!1&2] 97 {2} +[0&!1&!2] 14 {4} +[!0&!1&2] 0 +[0&1&2] 84 {5} +[0&1&2] 115 {5} +[!0&1&2] 19 {3 4} +[0&1&2] 56 {5} +State: 59 +[0&!1&!2] 54 {4} +[!0&1&!2] 40 +[0&!1&!2] 14 {0 5} +[0&1&2] 76 {2} +[0&!1&!2] 50 {1 5} +[0&!1&2] 16 {3} +[!0&!1&!2] 12 {1 4} +[!0&1&!2] 110 {1 2 4} +[!0&!1&2] 69 {0} +[!0&1&!2] 93 {4} +[0&!1&!2] 89 {3} +[0&1&!2] 67 +[!0&1&!2] 33 +[!0&!1&!2] 58 {4 5} +[0&!1&!2] 61 +[0&1&!2] 5 +[0&!1&!2] 56 {3} +[!0&1&2] 98 {2 5} +[!0&1&2] 112 {3 4} +[!0&!1&2] 63 +[!0&!1&!2] 36 +[0&1&!2] 73 +[0&1&2] 26 {0 2} +[0&!1&2] 95 {5} +[0&!1&!2] 109 {4 5} +[!0&1&!2] 41 {3 4} +[!0&1&2] 17 +[0&!1&!2] 1 {1} +[!0&1&!2] 91 {2} +[0&!1&!2] 92 {0 1} +[0&1&!2] 0 {1} +State: 60 +[!0&1&2] 60 +[0&1&!2] 119 {3 4} +[!0&1&2] 98 {1} +[0&1&!2] 84 {3} +[0&!1&!2] 13 {0 1 4 5} +[0&!1&2] 28 {3 5} +[0&!1&2] 48 {4} +[!0&1&2] 103 {5} +[0&1&2] 114 +[0&1&2] 65 {0 2} +[!0&!1&2] 64 {1 5} +[0&!1&2] 44 +[0&1&2] 90 {1 3} +[!0&1&2] 109 {2} +[!0&!1&2] 6 +[0&!1&!2] 106 {1 4} +[0&1&!2] 1 {0 4} +[0&!1&!2] 72 +[0&!1&!2] 69 {2} +[0&!1&2] 79 +[!0&1&!2] 91 {5} +[!0&1&2] 101 {3} +[0&1&!2] 0 {0 2} +[0&!1&!2] 104 {0} +[!0&1&!2] 58 {3} +[!0&1&2] 2 {4} +[!0&1&2] 68 {0 3 5} +[0&1&!2] 67 +[!0&1&!2] 27 {1 4 5} +[!0&!1&2] 51 +[0&1&!2] 34 {2 3} +[!0&1&!2] 43 {1} +[0&!1&!2] 100 {4} +[!0&!1&2] 12 {4} +[0&1&2] 105 {0 2 4 5} +State: 61 +[!0&!1&2] 17 {5} +[!0&!1&2] 31 {2 5} +[!0&!1&!2] 5 +[!0&!1&!2] 0 {0 1 2} +[!0&1&!2] 39 +[!0&!1&2] 84 +[!0&1&2] 116 {0 5} +[0&1&2] 109 +[!0&1&2] 115 {3 4 5} +[0&1&2] 62 {1} +[0&!1&!2] 117 {4 5} +[0&1&2] 18 {2 3 4} +[0&1&!2] 11 +[!0&!1&!2] 8 {0} +[0&1&2] 50 {0 1 2} +[!0&!1&2] 23 {3} +[!0&1&!2] 26 {3 4} +[0&1&!2] 33 {0 2} +[!0&1&2] 108 {2 3 5} +[0&!1&2] 45 {0} +[!0&!1&!2] 44 {2 3} +[0&!1&!2] 52 {2} +[!0&1&2] 60 {1 5} +[0&1&!2] 25 {0 2} +[!0&!1&!2] 69 {1} +[!0&1&2] 29 {0 2} +[0&1&2] 101 +[!0&!1&!2] 89 {0 1} +[0&!1&!2] 97 {3} +State: 62 +[0&1&2] 85 +[0&1&!2] 61 {0 4} +[!0&1&!2] 20 {1} +[!0&!1&2] 40 {1 3} +[0&1&!2] 23 +[0&1&2] 118 {0 3 4} +[0&1&!2] 100 {3} +[0&1&2] 89 {2} +[0&!1&!2] 65 {1 2} +[0&!1&!2] 108 {4} +[!0&1&2] 47 +[!0&1&!2] 16 +[!0&!1&!2] 1 {3} +[0&1&2] 58 {0 3} +[!0&1&!2] 68 +[0&1&!2] 24 {1 2} +[!0&!1&!2] 51 {3 5} +[0&!1&2] 25 {0 2} +[0&1&!2] 45 +[0&!1&2] 5 +[0&!1&!2] 42 {4} +[!0&!1&2] 105 {5} +[0&1&2] 55 {0} +State: 63 +[0&!1&2] 12 +[!0&!1&!2] 36 {5} +[0&!1&!2] 104 {4} +[!0&1&2] 71 {2} +[!0&1&2] 21 {4} +[0&!1&2] 76 {0} +[!0&1&!2] 23 {2} +[0&!1&!2] 20 {3 4 5} +[!0&!1&!2] 86 {0} +[0&1&2] 53 +[0&!1&2] 68 {1 2 3} +[!0&!1&2] 9 +[!0&!1&!2] 89 {3} +[0&!1&2] 32 {2} +[0&!1&!2] 48 {5} +[0&1&!2] 3 {3} +[!0&1&2] 103 +[0&1&2] 14 {1 5} +[0&1&2] 38 {3 4} +[0&1&!2] 16 +[!0&!1&!2] 35 +[0&1&!2] 94 +[0&!1&2] 6 +[0&1&2] 93 {2} +[0&1&!2] 90 +[0&!1&!2] 73 +[!0&1&2] 82 {3 4} +State: 64 +[0&1&!2] 101 {0 1 5} +[!0&1&2] 64 +[0&!1&!2] 88 {5} +[!0&!1&!2] 108 {0} +[!0&1&!2] 77 {4} +[!0&1&2] 29 {5} +[!0&!1&2] 79 {2} +[!0&1&!2] 22 {3} +[0&1&!2] 47 {1 4} +[0&1&2] 56 {3} +[!0&1&2] 32 {3} +[!0&1&!2] 81 {2 5} +[!0&1&!2] 17 {3} +[!0&1&!2] 27 {2 4} +[0&!1&2] 35 {2 3} +[0&1&2] 119 {0 4} +[0&!1&2] 74 +[0&!1&2] 31 {2 5} +[0&1&!2] 86 {3} +[0&1&2] 117 {1 2} +[!0&1&2] 21 +[!0&1&2] 34 {1} +[!0&!1&2] 84 {5} +[0&1&!2] 1 {3 5} +[!0&!1&2] 97 {0 1 3 5} +[!0&!1&2] 50 {0 4} +[0&1&2] 95 {3 4} +[!0&1&2] 39 {1} +[!0&!1&!2] 65 {1 2} +State: 65 +[!0&!1&!2] 100 {1 3} +[!0&!1&2] 106 +[!0&1&2] 113 {1 2 5} +[0&!1&2] 84 +[!0&!1&!2] 24 +[!0&!1&!2] 26 {3 4} +[!0&!1&2] 55 {1} +[!0&1&2] 13 {0 1} +[!0&!1&!2] 91 {2} +[0&!1&2] 12 {1 3 4} +[!0&!1&2] 67 {0 1 4} +[!0&!1&!2] 112 {4} +[!0&1&!2] 33 {0 1 2 4} +[0&1&!2] 98 {0 4 5} +[0&1&!2] 64 {1 3} +[!0&1&!2] 79 {5} +[!0&!1&2] 108 {2 3} +[0&1&2] 27 +[0&1&2] 23 {2 3 4} +[!0&!1&2] 68 {4} +[0&1&2] 105 {5} +[0&1&!2] 86 {2 3} +[0&!1&!2] 78 {0} +[0&!1&!2] 77 {1 5} +[0&1&2] 30 +[!0&1&2] 51 {0} +[!0&1&2] 6 +[0&1&2] 62 {4} +[!0&1&!2] 88 {0} +[!0&!1&!2] 89 +State: 66 +[0&1&2] 54 {1 3} +[0&!1&!2] 36 {5} +[!0&1&2] 0 {2 4 5} +[!0&1&2] 38 {2} +[!0&1&2] 37 {4} +[!0&1&!2] 29 {2 4} +[0&!1&!2] 76 {0} +[!0&!1&2] 47 {0 3 4} +[0&!1&!2] 53 +[!0&!1&!2] 78 {4 5} +[!0&1&!2] 55 {0} +[!0&1&!2] 95 {1 2} +[0&1&!2] 102 {5} +[!0&!1&!2] 108 {1 4} +[!0&!1&2] 104 {5} +[0&!1&2] 107 {1 2} +[!0&1&2] 65 +[!0&1&!2] 4 {4 5} +[0&1&!2] 46 {3 5} +[0&!1&!2] 26 {2} +[!0&!1&!2] 92 {1} +[!0&!1&!2] 21 +[!0&1&2] 116 +[!0&!1&!2] 96 +[0&!1&!2] 51 +[0&1&!2] 22 {1 4 5} +[0&!1&2] 113 {1 4} +[0&!1&2] 83 +[!0&1&2] 40 {2 3} +[0&1&2] 25 {4} +[!0&!1&2] 41 {3} +[0&1&2] 82 {4 5} +[0&!1&2] 85 {5} +[0&!1&!2] 14 {4} +[!0&1&2] 8 +[!0&1&!2] 98 {2} +State: 67 +[0&1&2] 44 {0 1} +[0&!1&2] 90 +[!0&!1&!2] 47 +[!0&1&2] 102 {2 4} +[!0&1&!2] 54 {2 3} +[0&1&!2] 97 {2 3} +[!0&!1&!2] 11 +[0&1&2] 18 {4} +[!0&1&2] 99 {2} +[!0&1&!2] 36 {1 2} +[!0&1&2] 40 {0 1 3 5} +[0&!1&2] 13 {4 5} +[!0&1&2] 20 {1 2 5} +[!0&!1&2] 89 {1} +[!0&!1&!2] 8 {5} +[0&1&2] 22 {0 4} +[!0&!1&2] 72 {2 4} +[0&1&2] 37 {0 1} +[!0&1&2] 32 {0} +[0&!1&2] 33 {4 5} +[0&!1&!2] 56 {1 5} +[!0&1&2] 16 +[!0&1&2] 65 {5} +[0&!1&2] 0 +[0&!1&!2] 81 {2 4} +[!0&!1&!2] 80 {0 2 5} +[0&!1&2] 100 {3} +State: 68 +[0&!1&!2] 5 {3 4} +[!0&!1&2] 54 +[0&1&2] 15 {1} +[!0&1&2] 77 {5} +[0&1&!2] 64 {0} +[!0&1&2] 70 {3 4} +[!0&!1&!2] 1 {2 5} +[0&1&!2] 17 +[0&1&2] 24 {2} +[0&1&!2] 11 {0} +[0&1&2] 115 {0 2} +[0&1&2] 80 {3 4} +[0&!1&!2] 6 +[!0&!1&!2] 52 +[0&!1&2] 109 {2} +[!0&1&2] 32 {3} +[!0&1&!2] 99 +[!0&1&2] 87 {5} +[!0&1&!2] 55 {2} +[!0&!1&!2] 21 {1} +[0&!1&2] 82 +[!0&!1&!2] 9 {4 5} +[!0&!1&!2] 81 {3} +[0&!1&2] 108 {1} +[0&!1&!2] 97 {0 3 4} +[!0&!1&!2] 48 {2 3 5} +[!0&1&!2] 41 {2} +[!0&!1&2] 72 {1 5} +[!0&!1&!2] 23 +[0&!1&!2] 79 {5} +[!0&1&2] 95 +[!0&1&!2] 25 {1} +State: 69 +[0&1&!2] 64 {2} +[!0&!1&2] 70 {0} +[0&1&!2] 57 +[!0&1&2] 105 +[!0&!1&2] 38 {0} +[0&1&!2] 106 {4} +[0&!1&2] 3 +[!0&!1&2] 41 {3} +[0&1&2] 100 +[0&!1&2] 87 {1} +[!0&1&!2] 29 +[0&!1&2] 7 {0 4} +[0&1&!2] 32 {4 5} +[0&!1&2] 114 +[0&1&2] 26 {3} +[!0&!1&!2] 110 {4} +[0&!1&2] 58 {3 4} +[!0&1&!2] 11 +[!0&!1&!2] 90 +[0&!1&!2] 62 +[0&1&2] 50 {3} +[0&!1&!2] 44 {2} +[!0&1&2] 104 {2 5} +[!0&1&2] 118 {0 1} +[!0&1&2] 37 +[0&1&2] 97 {0 4} +State: 70 +[0&!1&!2] 45 {1} +[!0&!1&2] 85 +[!0&1&!2] 4 {5} +[!0&1&!2] 111 {0} +[!0&1&2] 114 +[!0&!1&2] 31 {3} +[!0&!1&2] 40 {3 5} +[!0&!1&!2] 10 {3 5} +[0&1&2] 12 {1} +[0&!1&2] 61 {3 5} +[0&!1&2] 44 {0 4 5} +[0&1&2] 3 {4} +[0&1&2] 23 {1 2 4} +[!0&1&2] 42 {3} +[0&1&2] 82 +[0&!1&!2] 69 +[0&!1&2] 68 +[0&1&!2] 34 {1} +[!0&1&!2] 72 +[!0&1&!2] 71 {0 5} +[0&1&!2] 16 {0} +[!0&1&!2] 96 {5} +[0&!1&!2] 56 {4} +[0&1&!2] 74 {3 5} +[0&1&!2] 83 {0 1 4} +[0&!1&2] 47 +[0&!1&!2] 101 {2 3} +[!0&1&!2] 20 {0} +[!0&!1&2] 62 {0} +[!0&1&2] 51 +[!0&!1&2] 26 {4} +State: 71 +[0&!1&2] 38 +[!0&1&2] 80 {0 3} +[!0&1&!2] 49 +[0&1&2] 26 {1 4} +[!0&1&2] 71 {3} +[0&!1&2] 119 {3} +[0&1&!2] 17 {0} +[0&1&!2] 90 {1 5} +[!0&!1&!2] 25 {2 3} +[0&1&!2] 86 {0 4} +[0&1&!2] 84 {1} +[0&1&!2] 118 +[0&!1&2] 56 {2} +[0&1&!2] 63 +[0&!1&!2] 43 {2} +[!0&!1&2] 79 {3} +[0&1&2] 61 {0 3 4} +[0&1&2] 64 {3} +[!0&1&2] 53 {5} +[0&!1&2] 45 {1 5} +[!0&1&!2] 50 {4} +[0&!1&2] 102 {4} +[!0&!1&2] 10 {1 3 5} +[!0&1&2] 89 {0} +[0&!1&2] 47 +[0&!1&!2] 2 +[0&1&!2] 52 {0 4} +[!0&!1&!2] 18 {5} +[0&1&!2] 103 {2} +[0&1&2] 14 +[0&!1&2] 93 {1} +State: 72 +[!0&!1&2] 48 {1 3} +[0&!1&!2] 79 {0 4} +[0&1&2] 103 {2} +[0&1&!2] 33 {0 4} +[0&!1&2] 40 {0} +[0&1&2] 68 {3 4 5} +[!0&1&!2] 18 {1} +[!0&!1&!2] 85 {0 2 3} +[0&1&!2] 92 {4 5} +[0&!1&2] 114 {3 4} +[0&1&!2] 97 {2} +[!0&1&!2] 36 {1 4} +[0&!1&!2] 49 {1 4} +[!0&!1&2] 38 {4} +[!0&!1&2] 117 +[!0&1&2] 71 {5} +[0&!1&!2] 66 {1 2} +[!0&!1&2] 20 {5} +[!0&1&2] 93 +[!0&!1&!2] 98 {1 3} +[0&!1&2] 106 {3} +[0&1&2] 43 {3} +[!0&1&!2] 81 {1 5} +[!0&!1&!2] 16 +[!0&1&2] 19 +[!0&!1&2] 34 {4} +[0&!1&!2] 108 {5} +[0&!1&!2] 80 {2} +[0&1&2] 14 {3 4 5} +State: 73 +[0&1&!2] 22 {1} +[!0&1&2] 97 {4} +[0&1&2] 52 {0} +[!0&1&!2] 58 {1 5} +[0&!1&!2] 46 {4} +[0&!1&2] 96 {2} +[!0&!1&!2] 91 {1 5} +[!0&!1&!2] 30 +[0&1&2] 5 {3} +[!0&!1&!2] 48 {1} +[0&!1&2] 23 {1 4 5} +[0&1&2] 47 {1 5} +[0&!1&!2] 104 +[0&!1&2] 103 {0} +[!0&1&!2] 44 {1} +[0&1&2] 1 {2} +[!0&!1&!2] 105 +[!0&1&2] 18 {2 4 5} +[0&1&2] 53 {1} +[0&1&2] 115 +[0&1&!2] 15 {2} +[0&!1&!2] 98 {0 2} +[!0&1&!2] 85 {3} +[!0&1&2] 90 {5} +[0&!1&!2] 39 {0 3 5} +[!0&!1&2] 86 {3 4} +[0&!1&2] 92 {0} +[!0&1&!2] 71 {0 3} +[0&!1&!2] 20 +[0&1&!2] 51 {1 2 4 5} +[!0&1&2] 60 +[0&1&2] 81 {3 5} +[0&!1&2] 76 {1} +[!0&1&!2] 107 {0} +State: 74 +[0&!1&!2] 80 +[0&1&2] 36 {1 3 5} +[0&!1&2] 106 {1 4} +[!0&1&!2] 119 {1 3} +[!0&!1&2] 40 {0} +[!0&!1&2] 46 +[!0&!1&2] 45 {0 3} +[!0&1&2] 24 {0 2} +[0&1&2] 72 {2} +[!0&1&2] 59 {1 4} +[!0&1&!2] 55 {1} +[0&!1&2] 19 {0 4} +[!0&!1&!2] 79 {0} +[0&1&!2] 86 {4} +[0&!1&2] 6 {5} +[!0&!1&!2] 20 +[0&!1&!2] 66 {0 2} +[0&!1&!2] 18 +[!0&1&2] 37 {4 5} +[!0&1&2] 118 {2 4} +[0&1&2] 115 {0 2} +[0&!1&2] 30 {3} +[!0&1&2] 74 {0 1 2} +[!0&1&2] 97 {0 5} +[0&!1&2] 31 {0 1 3} +State: 75 +[0&!1&2] 46 {0 2} +[!0&1&!2] 66 {2} +[0&1&!2] 83 {2} +[0&1&!2] 99 {2} +[!0&!1&!2] 2 {5} +[!0&!1&2] 74 {0 2} +[!0&1&2] 60 {1 4} +[!0&!1&2] 115 {5} +[0&1&2] 62 {0 3 5} +[0&!1&!2] 114 +[0&1&2] 33 +[0&!1&2] 71 {3} +[0&!1&!2] 111 {1 3} +[!0&1&2] 117 +[!0&!1&2] 76 +[0&!1&2] 37 {2} +[0&!1&2] 102 {1 2 4 5} +[0&!1&2] 30 {0 2 3} +[!0&!1&2] 6 {2 3 5} +[0&!1&!2] 1 {5} +[0&!1&2] 54 {1} +[!0&1&2] 13 +[0&1&2] 94 +[!0&!1&!2] 86 +[0&1&!2] 40 {2 5} +[!0&!1&2] 47 +[!0&!1&2] 21 {5} +[!0&!1&!2] 112 {0 3} +[!0&!1&2] 101 {3} +State: 76 +[0&1&2] 10 {4} +[0&!1&2] 42 +[0&1&!2] 2 {4} +[!0&!1&2] 117 {2 4 5} +[!0&1&2] 48 {0} +[0&!1&!2] 12 {2 4 5} +[0&!1&2] 17 {5} +[0&!1&2] 4 {5} +[!0&1&!2] 89 +[0&!1&2] 76 {5} +[!0&!1&2] 113 {5} +[0&!1&2] 90 {3} +[0&1&2] 35 {3} +[!0&!1&!2] 54 {5} +[!0&!1&!2] 107 {2} +[!0&1&!2] 92 +[!0&1&2] 31 {2} +[!0&!1&2] 3 +[0&!1&2] 7 +[!0&!1&2] 24 +[!0&1&2] 110 {1 2 4} +[!0&1&2] 53 {0 2 4} +[0&!1&2] 94 {4} +State: 77 +[!0&!1&!2] 52 {2} +[0&1&2] 66 +[0&1&!2] 81 {3 4} +[0&1&!2] 69 {5} +[!0&1&!2] 28 +[0&1&!2] 30 +[0&!1&2] 11 +[!0&!1&!2] 67 +[0&!1&2] 15 {1} +[!0&!1&!2] 48 {3 5} +[!0&!1&!2] 57 {5} +[!0&1&!2] 59 {1 2 4 5} +[0&1&2] 25 {1 2 4} +[0&!1&!2] 97 {5} +[!0&!1&!2] 85 {0 1 2 5} +[0&1&!2] 75 {1 2 3 4 5} +[!0&!1&2] 65 {0 1} +[!0&1&2] 22 {2} +[!0&1&2] 110 {0} +[!0&1&!2] 106 {0 3} +[0&!1&2] 56 +[!0&!1&2] 35 {4} +[!0&1&!2] 58 +[!0&!1&2] 76 {4 5} +[!0&!1&2] 51 +State: 78 +[0&1&2] 97 +[0&!1&!2] 61 +[!0&1&2] 72 {0 3} +[!0&!1&2] 44 {1} +[0&!1&2] 54 {1 5} +[!0&!1&!2] 42 {2 3 4 5} +[!0&1&2] 77 +[0&1&2] 33 +[!0&1&!2] 4 {5} +[!0&!1&!2] 11 {1 4} +[!0&!1&!2] 35 {4} +[!0&!1&2] 50 +[0&!1&2] 103 {5} +[!0&!1&2] 12 {5} +[0&!1&2] 51 {4} +[0&!1&!2] 98 +[!0&1&!2] 20 {0 4} +[!0&1&!2] 14 {2 4} +[0&1&!2] 63 {0 3} +[!0&!1&!2] 110 {3} +[0&!1&!2] 30 +[!0&1&2] 60 +[!0&!1&!2] 49 {4} +[0&1&2] 101 {2} +[0&1&2] 29 {5} +[!0&1&!2] 48 {5} +[0&!1&2] 55 {2 4} +[!0&!1&2] 74 {0 2} +[!0&1&!2] 92 {0 1} +[!0&1&!2] 93 {3} +[0&1&!2] 1 +[!0&!1&!2] 118 {2 3 5} +[0&!1&2] 88 {1} +[0&!1&!2] 79 {0} +[!0&1&2] 23 {1} +[0&1&!2] 65 {2} +[!0&1&2] 17 {1} +[!0&1&2] 86 {1} +State: 79 +[!0&1&2] 8 {1 5} +[0&1&!2] 29 +[!0&1&2] 47 {3} +[!0&!1&2] 14 {0 4} +[0&1&2] 40 +[!0&1&!2] 111 {4} +[0&1&2] 90 {3 4 5} +[!0&!1&!2] 101 +[0&!1&2] 24 {4} +[0&1&!2] 59 {2 3 5} +[0&!1&!2] 99 {0 2} +[0&!1&2] 4 +[!0&1&2] 60 {0 1} +[0&!1&2] 16 {3 4} +[0&1&!2] 61 +[!0&!1&2] 33 {4} +[!0&!1&2] 113 {3} +[!0&!1&2] 52 +[0&1&!2] 84 {1 2} +[!0&1&!2] 18 +[0&1&2] 56 {4 5} +[0&!1&!2] 117 +[!0&!1&2] 62 +[0&!1&2] 85 +[!0&1&2] 64 +[!0&!1&!2] 114 +[0&1&!2] 108 {0 5} +[0&!1&2] 65 {0 5} +[!0&!1&!2] 118 {2 3} +[0&!1&!2] 9 {2 3 5} +[!0&1&2] 69 +State: 80 +[0&!1&2] 72 {2 5} +[!0&!1&2] 88 {5} +[!0&1&!2] 58 {1} +[!0&1&!2] 89 {1 4} +[!0&!1&!2] 77 +[0&!1&2] 90 {0} +[0&1&2] 63 {5} +[!0&!1&2] 70 {1 2 3} +[!0&1&2] 55 {0} +[0&!1&!2] 60 {0 2 3} +[0&!1&!2] 118 +[!0&1&!2] 68 +[!0&1&2] 53 {4} +[0&1&!2] 74 {5} +[!0&1&2] 30 {1} +[0&1&2] 12 {1} +[0&!1&2] 107 +[!0&!1&!2] 20 +[!0&1&2] 28 {3} +[!0&!1&!2] 100 +[!0&1&2] 7 {1 3} +[!0&1&2] 3 {1 3} +[0&1&2] 82 {3} +[!0&!1&2] 24 {1} +[0&!1&2] 94 {4} +[!0&1&!2] 15 +[!0&!1&!2] 50 {2 4 5} +[0&!1&2] 57 +[!0&1&!2] 19 {0 1 2} +[!0&1&2] 73 {2} +[0&1&2] 110 {0 1 3} +State: 81 +[0&!1&!2] 65 {4} +[0&!1&!2] 25 {4} +[!0&!1&2] 64 {4} +[!0&!1&2] 62 {0 4} +[0&1&2] 13 {4} +[0&!1&2] 116 {3} +[!0&!1&2] 78 {3} +[0&!1&!2] 30 {5} +[!0&!1&2] 84 {1 2 5} +[!0&!1&!2] 41 {0} +[0&!1&2] 101 +[0&1&!2] 95 {2 4} +[0&!1&!2] 57 {0 2 4} +[0&1&2] 96 +[!0&1&2] 103 {0} +[!0&1&!2] 77 {1} +[0&1&2] 28 +[!0&1&2] 21 {1} +[0&1&2] 7 {1 4} +[!0&!1&2] 47 {2} +[0&!1&!2] 9 +[!0&1&!2] 48 +[0&1&!2] 76 +[!0&!1&2] 72 {2 3} +[0&!1&!2] 63 {2} +State: 82 +[0&1&!2] 60 {5} +[0&1&!2] 108 {0 3} +[!0&!1&2] 94 {5} +[!0&1&2] 3 {1 2} +[!0&1&2] 21 {4} +[!0&!1&!2] 118 {5} +[!0&!1&2] 32 {0 2 3} +[!0&!1&!2] 110 {3 4 5} +[0&!1&!2] 73 {2} +[!0&!1&!2] 95 {2} +[0&!1&!2] 37 {2} +[0&!1&!2] 81 {2} +[!0&!1&!2] 18 {0} +[0&!1&!2] 23 {1 2} +[0&!1&!2] 92 {1} +[0&1&2] 62 {1 5} +[0&1&2] 69 {4} +[0&!1&!2] 39 +[0&!1&2] 50 +[0&1&!2] 63 {3} +[0&!1&!2] 106 {5} +[0&1&2] 72 {0} +[0&!1&!2] 34 {4} +[0&1&2] 42 {1} +[0&1&!2] 15 {1 2} +[!0&1&2] 1 {2 3 5} +[!0&!1&2] 7 +[!0&1&2] 56 {1 2} +[0&!1&2] 85 {5} +[0&1&!2] 98 {4} +[0&1&!2] 61 +[0&1&2] 12 {1 2 3} +[0&!1&!2] 43 {1} +[!0&1&2] 83 {0 2 4} +[0&1&!2] 82 {1 2 3} +[!0&!1&!2] 111 {4 5} +[!0&!1&2] 101 +[!0&1&!2] 112 {1} +[!0&1&2] 54 {0 1} +State: 83 +[0&1&2] 41 {5} +[0&!1&!2] 86 {0} +[0&!1&2] 33 +[!0&1&2] 27 +[0&1&!2] 76 +[0&!1&!2] 95 {0 4} +[0&!1&2] 37 +[0&1&2] 36 {1 2} +[0&!1&2] 16 {0 5} +[0&!1&!2] 24 +[0&!1&2] 118 {5} +[0&!1&!2] 106 {0} +[!0&!1&2] 111 {2 5} +[!0&!1&!2] 77 {0} +[!0&!1&2] 29 {0 1} +[!0&!1&!2] 39 {5} +[!0&!1&!2] 99 +[!0&1&2] 110 {1} +[!0&!1&2] 11 {3 4 5} +[!0&1&!2] 4 {0 4} +[!0&!1&!2] 81 +[!0&1&2] 44 +[!0&1&2] 10 {1 2 4} +[0&1&2] 102 {4} +[!0&!1&2] 66 {2 3 5} +[!0&!1&2] 15 +[0&1&2] 96 {0} +[0&!1&2] 23 {1} +State: 84 +[0&!1&!2] 79 {2} +[!0&1&!2] 105 +[0&1&2] 26 {5} +[!0&!1&!2] 102 +[!0&1&!2] 107 {3} +[!0&!1&!2] 101 {0} +[0&1&!2] 99 {3} +[!0&!1&!2] 42 {0} +[!0&!1&!2] 54 {0 2 3} +[0&1&2] 52 {2} +[0&!1&2] 71 {3 5} +[!0&1&!2] 94 {5} +[0&1&2] 31 {1 4} +[!0&1&2] 73 {5} +[!0&1&!2] 15 {1 3} +[0&1&2] 5 {3 5} +[0&!1&2] 8 {4 5} +[!0&1&2] 86 {3 4} +[0&1&!2] 85 {4 5} +[0&1&!2] 32 +[!0&1&2] 82 {1 4} +[!0&1&!2] 55 +[0&!1&!2] 108 {4} +[!0&1&2] 100 {2} +[0&!1&2] 21 +[!0&1&2] 93 {3} +[!0&1&!2] 64 {2} +[0&1&!2] 109 +[0&1&2] 106 {1 2} +[0&!1&2] 43 {0 2} +[!0&!1&2] 118 {4} +[0&!1&!2] 19 +State: 85 +[0&!1&!2] 12 +[0&1&2] 35 +[0&1&!2] 88 +[0&!1&2] 69 {4 5} +[!0&!1&!2] 22 {5} +[0&!1&2] 70 {0 2} +[!0&!1&!2] 92 {0 2 3} +[!0&1&2] 8 {3} +[0&1&2] 81 {1 2} +[0&!1&!2] 51 {4 5} +[0&1&2] 5 {1} +[!0&!1&2] 44 {1} +[0&1&2] 65 {0} +[!0&!1&2] 14 +[0&!1&2] 29 +[0&!1&!2] 27 +[0&1&2] 118 {2} +[!0&1&2] 30 +[0&1&!2] 105 {2 3} +[!0&1&2] 42 {4} +[0&!1&2] 11 {2} +[!0&!1&2] 6 {0 5} +[!0&!1&2] 78 {3 5} +[0&!1&2] 4 {2} +[0&!1&2] 108 {4 5} +[0&!1&!2] 2 +[!0&1&!2] 111 {0 4} +State: 86 +[!0&1&!2] 22 {3} +[0&!1&2] 10 +[!0&!1&!2] 30 +[0&1&!2] 12 +[!0&1&!2] 79 {5} +[0&!1&2] 59 {1 4} +[!0&!1&2] 27 {0 1} +[!0&1&2] 17 {5} +[0&1&2] 97 +[!0&1&2] 4 {3 5} +[0&!1&!2] 91 +[0&!1&!2] 69 {3 4 5} +[!0&1&!2] 106 {3 5} +[!0&!1&!2] 63 +[!0&!1&!2] 93 {1} +[0&1&2] 13 +[!0&1&!2] 67 +[!0&!1&2] 104 +[!0&1&!2] 108 {3 4} +[!0&1&2] 74 +[!0&1&2] 34 {2} +[!0&1&2] 100 {4} +[0&!1&!2] 112 {0 2} +[0&1&2] 9 +[!0&1&2] 47 {3} +[!0&1&!2] 111 +[0&!1&!2] 43 {0 3} +[0&!1&!2] 105 {1 2 5} +[!0&!1&2] 82 +[!0&!1&2] 64 {0 2} +[!0&!1&2] 6 +[!0&!1&2] 80 +State: 87 +[0&!1&!2] 86 {0 1 4 5} +[0&!1&2] 11 {3 5} +[0&!1&2] 28 {0} +[!0&!1&2] 27 {0} +[!0&!1&!2] 14 {5} +[0&!1&!2] 22 {5} +[0&!1&!2] 7 {0} +[!0&1&2] 68 {2} +[0&!1&2] 42 {3} +[!0&1&!2] 110 {0 2 5} +[0&!1&!2] 81 +[0&1&!2] 55 {0 1 2 4} +[0&1&2] 29 +[!0&1&2] 92 {2} +[!0&1&2] 6 +[!0&1&2] 25 {3 4} +[0&!1&!2] 41 +[0&!1&2] 93 +[!0&!1&!2] 0 {0 4} +[!0&!1&2] 85 {1} +[!0&1&!2] 39 +[0&1&!2] 51 {0 2 5} +[!0&!1&!2] 72 +[!0&!1&!2] 102 +[!0&1&!2] 33 +[!0&!1&!2] 114 {2} +[!0&1&2] 111 +[!0&1&!2] 17 {0 5} +[0&!1&!2] 70 {3} +State: 88 +[0&1&2] 113 {3} +[!0&!1&!2] 118 {3} +[0&1&2] 49 {4 5} +[!0&1&!2] 55 {5} +[!0&!1&!2] 4 +[!0&!1&!2] 0 +[0&1&2] 105 {1 3} +[!0&1&2] 61 +[!0&!1&!2] 51 +[!0&1&!2] 86 {3} +[0&!1&!2] 21 +[0&!1&!2] 119 +[0&!1&!2] 27 {4} +[0&!1&!2] 20 {2} +[0&!1&!2] 35 +[!0&!1&!2] 64 {3 4} +[!0&1&!2] 87 {0 5} +[!0&!1&!2] 18 {2 4} +[0&1&2] 45 {3} +[0&!1&!2] 19 {5} +[0&!1&!2] 98 +[!0&1&2] 47 {1} +[!0&1&2] 82 {1} +[0&1&!2] 78 +[0&1&2] 46 {2} +[0&!1&!2] 114 {3} +[!0&!1&2] 84 {1 3} +[0&1&!2] 34 +[!0&1&2] 32 {1} +[!0&!1&!2] 112 +[0&1&2] 63 {1 5} +[0&!1&!2] 116 {3} +[!0&!1&2] 33 {1 3 5} +State: 89 +[0&!1&2] 75 {0 2} +[0&1&2] 42 {0 3 5} +[0&!1&2] 48 {2 3} +[0&!1&2] 21 {0 3 5} +[0&!1&!2] 57 {1 3} +[!0&!1&2] 20 {1 3} +[0&1&!2] 46 +[0&!1&2] 110 +[0&1&2] 59 {0} +[!0&!1&!2] 7 {1 5} +[0&!1&2] 31 +[!0&!1&2] 62 {0} +[0&1&!2] 27 +[!0&!1&2] 14 {0} +[0&!1&!2] 65 {0 5} +[!0&!1&!2] 58 {2 4} +[!0&!1&2] 71 {3 5} +[!0&1&!2] 95 {2 5} +[0&1&!2] 93 {2} +[0&!1&!2] 114 {0 4} +[0&!1&2] 47 {1 4} +[!0&!1&!2] 44 {0 1} +[!0&!1&!2] 67 {1} +[!0&!1&2] 100 +[0&1&2] 22 {1 3} +[!0&!1&!2] 29 +[0&1&!2] 74 {0 4} +[!0&1&2] 72 {2 3} +[!0&1&!2] 97 {0} +[0&1&!2] 63 {3} +[!0&1&2] 55 {1} +State: 90 +[!0&1&!2] 23 {5} +[!0&!1&2] 70 {4} +[!0&!1&!2] 90 {0 2} +[!0&!1&!2] 32 {3} +[0&!1&!2] 109 {1} +[!0&!1&2] 49 {1 2 3} +[0&!1&!2] 1 +[0&!1&!2] 43 {0} +[!0&1&2] 30 {4} +[0&!1&!2] 46 {0 5} +[!0&1&2] 60 {0 5} +[0&!1&!2] 117 +[!0&!1&!2] 10 {3 5} +[!0&!1&2] 11 {5} +[0&1&!2] 79 {1 5} +[!0&!1&!2] 82 {4} +[0&1&!2] 57 +[!0&1&2] 73 +[!0&!1&!2] 72 {1 4 5} +[0&1&2] 39 {2} +[0&1&2] 16 {2 3} +[0&1&!2] 26 {5} +[0&!1&!2] 44 {3 5} +[0&1&!2] 33 {1 4 5} +[!0&!1&2] 3 {1 2 4} +[!0&!1&!2] 47 {3} +[!0&1&2] 55 {1 4} +[!0&1&!2] 19 +[!0&!1&2] 102 {0 1 5} +[!0&1&!2] 58 {3} +[!0&!1&2] 110 {4 5} +[!0&!1&!2] 50 +State: 91 +[0&!1&!2] 9 +[0&1&!2] 89 {4} +[!0&1&!2] 22 {4} +[!0&!1&2] 75 +[0&!1&!2] 88 {2 4} +[0&1&!2] 109 +[0&1&2] 108 {0} +[0&1&2] 21 {5} +[0&1&!2] 14 {0} +[!0&1&2] 100 {3} +[0&1&!2] 31 {2} +[!0&1&!2] 35 {0} +[0&!1&2] 55 {0 1} +[0&!1&2] 80 {4} +[!0&1&!2] 13 {2} +[0&!1&!2] 117 {4} +[!0&!1&!2] 43 +[0&1&2] 2 {0} +[!0&!1&2] 59 +[0&1&!2] 93 +[!0&!1&!2] 15 {0} +[!0&1&!2] 20 {0} +State: 92 +[!0&!1&!2] 15 +[0&1&2] 10 {2} +[!0&!1&!2] 66 {4} +[0&1&2] 20 {0 1 2} +[!0&!1&2] 0 {3 4} +[0&!1&!2] 24 {0 4 5} +[0&!1&2] 88 {4 5} +[!0&1&2] 106 {2 3} +[0&1&!2] 28 +[0&!1&2] 30 {2 3} +[!0&1&2] 82 +[!0&1&2] 76 +[0&1&2] 114 {0} +[!0&!1&!2] 63 {1} +[!0&1&!2] 16 {0} +[0&1&!2] 107 +[0&!1&2] 104 {2} +[!0&1&2] 89 {0 3} +[0&!1&!2] 62 +[0&1&2] 49 {0 1} +[0&1&!2] 22 {0 3} +[0&1&2] 8 +[0&1&2] 38 {0 1} +[!0&!1&2] 50 {2} +[0&1&2] 72 +[!0&!1&!2] 118 {1} +[!0&!1&2] 35 +[!0&!1&!2] 14 {0} +[!0&!1&2] 85 {4} +[0&1&!2] 92 {1 2 3 4} +[!0&1&!2] 51 {1 2 5} +[0&1&2] 54 {4} +[!0&!1&2] 2 {0} +[0&!1&2] 113 {2 3 4} +[0&!1&2] 1 {4} +[0&!1&!2] 31 {0 5} +[!0&!1&2] 21 +[0&!1&!2] 12 {1 4} +State: 93 +[!0&!1&2] 13 {4} +[0&!1&!2] 78 {5} +[!0&!1&2] 26 {0} +[!0&!1&!2] 107 {3 5} +[0&1&!2] 46 {5} +[!0&1&!2] 117 {4} +[0&1&2] 85 +[0&1&!2] 15 {3 4} +[!0&!1&!2] 38 {2} +[!0&1&2] 94 +[!0&!1&!2] 9 {0 4} +[!0&!1&2] 98 {1} +[!0&!1&2] 103 {0 2 4} +[!0&!1&2] 14 {3 4} +[0&1&2] 105 +[0&!1&2] 97 {0 4} +[0&1&!2] 110 {3} +[0&!1&!2] 2 {0 2} +[0&!1&2] 53 +[0&1&!2] 61 {3} +[!0&!1&!2] 5 {2} +[!0&!1&!2] 102 {3} +[0&!1&!2] 32 {0 3} +[!0&1&!2] 114 +[0&!1&2] 96 {0 5} +[0&1&2] 89 {3 4} +[!0&1&2] 10 +[0&!1&!2] 43 {4} +[!0&1&!2] 91 +[0&!1&!2] 67 +[0&1&2] 28 +State: 94 +[!0&!1&2] 51 {0} +[!0&!1&!2] 6 {0 4} +[0&!1&!2] 26 {4} +[!0&!1&!2] 109 {4} +[0&1&2] 5 {0 2} +[0&1&!2] 12 {2 4 5} +[!0&!1&2] 28 {1 3 4} +[!0&!1&2] 113 {1} +[!0&1&2] 57 +[!0&1&2] 52 {3} +[!0&1&2] 38 {3 4} +[!0&!1&2] 47 {5} +[0&!1&2] 90 {4} +[!0&1&2] 98 +[!0&1&2] 23 {5} +[!0&!1&!2] 17 {1 2} +[0&1&2] 56 {4} +[0&!1&!2] 3 {3} +[0&1&2] 115 {3} +[0&1&!2] 71 {2 3} +[!0&1&2] 75 +[0&1&!2] 15 {0} +[0&!1&2] 46 {2} +[0&!1&!2] 19 +[0&!1&!2] 68 {1 3 4} +[0&!1&2] 60 {2 4} +[0&1&!2] 105 {5} +[!0&!1&!2] 89 +[!0&!1&2] 72 {1 3 4} +[0&1&2] 91 {2} +[0&1&!2] 61 {3} +[!0&!1&!2] 63 {3} +State: 95 +[0&!1&!2] 3 {4} +[!0&1&2] 15 {5} +[!0&!1&2] 119 {0 1 2} +[!0&!1&!2] 54 +[!0&1&!2] 40 {1 5} +[0&1&!2] 118 {0 1 4} +[0&1&!2] 99 {1 4} +[!0&1&!2] 23 +[!0&!1&2] 18 {3} +[0&!1&!2] 5 {5} +[0&!1&2] 10 {0 5} +[0&!1&2] 95 {4} +[0&!1&2] 109 {0} +[!0&1&2] 61 {5} +[!0&!1&2] 64 {1 2 4} +[!0&!1&!2] 48 {0 5} +[!0&1&2] 106 +[!0&1&!2] 17 {1} +[0&!1&2] 42 {0 1 4} +[!0&1&!2] 8 +[0&!1&2] 57 {2} +[0&1&!2] 25 {0 1} +[!0&!1&2] 76 +[!0&1&2] 81 {3} +[0&1&2] 117 {3} +[!0&1&!2] 90 {1 3} +[0&1&!2] 104 {2} +[!0&!1&!2] 20 {5} +[0&1&!2] 2 {5} +[!0&1&2] 56 {0} +[!0&1&2] 68 {0} +[0&!1&2] 28 {2} +[!0&!1&2] 1 {1} +[!0&1&!2] 49 {2 5} +[!0&1&!2] 101 {1 4 5} +State: 96 +[0&1&!2] 84 {3 4} +[0&!1&!2] 4 {0} +[0&1&2] 59 {0} +[!0&1&2] 44 {1 2 3} +[0&!1&!2] 24 +[0&1&!2] 28 {3 4} +[0&!1&2] 93 {4 5} +[!0&1&2] 87 {3 5} +[0&1&!2] 78 {2} +[0&!1&2] 37 +[0&!1&!2] 33 {2} +[0&1&2] 27 +[!0&!1&2] 35 +[!0&!1&!2] 75 {3} +[!0&1&2] 25 {4 5} +[!0&1&2] 9 {0} +[0&!1&2] 11 {1 4 5} +[!0&1&!2] 74 +[0&!1&!2] 36 {1 3} +[0&!1&2] 76 {2} +[0&1&2] 116 {3 5} +[0&1&2] 18 +[0&1&!2] 6 +[0&!1&2] 105 {3} +[0&1&!2] 19 +[!0&!1&2] 82 +[!0&!1&!2] 58 +[0&1&!2] 54 {1 4 5} +State: 97 +[!0&!1&!2] 84 +[0&!1&2] 88 +[!0&1&2] 40 {5} +[!0&1&!2] 18 {3} +[0&1&!2] 20 {5} +[0&1&!2] 75 +[0&!1&2] 106 +[0&1&2] 30 {2} +[!0&!1&2] 61 {5} +[0&1&2] 108 {0 2} +[0&!1&!2] 109 {4} +[0&!1&!2] 37 {0} +[0&1&!2] 65 {0 1} +[0&!1&2] 77 +[0&1&!2] 69 {3 4} +[0&!1&2] 116 {0 4} +[!0&!1&!2] 13 +[!0&!1&2] 25 {1 5} +[!0&1&!2] 51 {4} +[!0&1&2] 39 {3} +[0&1&!2] 22 {0 3 4} +[0&!1&!2] 60 {4} +[!0&1&!2] 71 {3} +[!0&1&!2] 32 {1 4} +[!0&!1&2] 10 {4} +[!0&1&2] 100 +[!0&!1&!2] 102 {0 1 4 5} +[!0&1&!2] 23 {2 3 4} +[!0&!1&2] 27 {1 3} +[!0&!1&!2] 90 {4 5} +[!0&!1&2] 62 +[0&1&2] 97 {4} +State: 98 +[!0&1&!2] 90 {0} +[0&1&!2] 30 {0} +[0&!1&!2] 28 {0 4} +[0&!1&2] 13 {3 4} +[0&1&2] 41 {0 1} +[0&1&!2] 59 +[0&!1&!2] 8 {1 3 4} +[0&1&2] 54 {5} +[0&!1&!2] 20 +[0&1&!2] 95 {0 3 5} +[!0&!1&!2] 23 {2} +[!0&!1&2] 3 +[!0&1&2] 101 {0 2} +[!0&1&!2] 39 +[!0&1&!2] 112 {0} +[!0&!1&2] 50 {3} +[0&!1&!2] 43 {2 3 4 5} +[!0&!1&!2] 38 {1 3} +[!0&!1&2] 31 +[!0&!1&!2] 71 +[!0&!1&!2] 52 +[0&!1&2] 107 {4 5} +[0&!1&!2] 56 +[0&1&!2] 119 {5} +[!0&1&2] 55 {2} +[0&1&2] 79 {0} +[!0&1&2] 48 +State: 99 +[!0&1&!2] 19 +[!0&1&!2] 22 {1 2} +[!0&!1&2] 9 {3} +[!0&!1&2] 1 {1 5} +[0&!1&!2] 50 {0} +[!0&!1&2] 59 {0 4 5} +[0&!1&2] 65 {4} +[!0&!1&!2] 67 {1 2 3 4} +[0&1&2] 12 +[0&!1&2] 62 {0} +[!0&1&2] 77 +[0&1&!2] 92 +[!0&!1&!2] 3 {0 3} +[0&!1&!2] 110 {1} +[!0&1&2] 71 {0} +[0&!1&2] 99 +[0&1&!2] 64 {1} +[0&1&2] 23 +[!0&1&!2] 90 {1 5} +[0&1&!2] 86 +[0&1&2] 40 {4} +[0&!1&!2] 78 {1 4 5} +[0&!1&!2] 60 +[!0&1&2] 108 {0 2} +[!0&1&!2] 35 {0 4 5} +[0&!1&2] 43 {4} +State: 100 +[0&!1&2] 65 {2 4} +[!0&!1&2] 95 {3} +[!0&1&2] 9 {2 3} +[0&!1&!2] 16 {4 5} +[!0&!1&2] 82 {3 4} +[0&1&2] 34 {3 4} +[!0&!1&!2] 21 {1} +[0&!1&2] 68 {1 3 4} +[0&1&2] 107 {0 1 4} +[!0&1&2] 71 {0 5} +[!0&1&!2] 0 +[0&1&2] 79 {3 5} +[!0&1&!2] 54 +[0&1&!2] 114 {0 2} +[0&1&2] 15 {2} +[0&1&2] 48 {1 2} +[0&!1&!2] 69 {0 5} +[!0&!1&!2] 39 {3 4} +[!0&!1&2] 31 {0 1} +[0&1&2] 62 +[0&!1&!2] 6 {1 3} +[!0&!1&!2] 63 {0 3 4} +[0&1&2] 42 {3} +[0&1&!2] 40 {4} +[!0&!1&!2] 100 {2 3} +[!0&!1&!2] 23 +[0&!1&2] 91 +[0&!1&!2] 84 {3 5} +[0&!1&!2] 33 {2} +[!0&!1&!2] 5 {0 2 3} +State: 101 +[0&!1&2] 6 {5} +[!0&1&2] 58 {5} +[!0&!1&!2] 57 +[0&!1&!2] 113 +[0&!1&!2] 37 {2 4} +[!0&1&!2] 48 {1 2} +[!0&1&2] 14 {0 2 4} +[!0&1&!2] 15 {4} +[0&1&2] 18 {0} +[0&1&!2] 61 {0 3} +[!0&!1&!2] 73 {0 4} +[0&!1&2] 85 +[!0&1&!2] 83 {5} +[!0&!1&2] 16 +[!0&!1&2] 40 {1 5} +[0&1&!2] 94 {2} +[!0&!1&!2] 72 +[!0&!1&!2] 66 {0} +[0&1&!2] 81 {1 3 4} +[0&1&!2] 89 {0 1} +[0&!1&!2] 22 {3 5} +[0&1&2] 52 {1 4} +State: 102 +[0&1&2] 90 {4} +[!0&!1&2] 41 +[0&1&2] 10 {4} +[0&1&2] 35 +[!0&1&2] 94 +[!0&1&2] 91 {3} +[0&!1&2] 9 {4} +[0&1&2] 109 {1 2 5} +[!0&1&!2] 17 +[0&!1&2] 19 {0 3} +[0&!1&!2] 117 +[0&!1&2] 40 +[0&!1&2] 106 {4} +[0&1&2] 97 {1} +[0&1&!2] 61 {5} +[!0&!1&2] 100 {1} +[0&!1&2] 2 {5} +[0&!1&2] 36 +[0&!1&!2] 60 {1 5} +[0&!1&2] 99 {3} +[0&!1&!2] 38 +[!0&!1&2] 72 {2} +[!0&1&2] 89 {3} +[!0&1&!2] 6 {0} +[!0&1&2] 67 {2 5} +[0&1&2] 101 {1 5} +[0&!1&!2] 80 {1} +[0&!1&2] 84 +[0&!1&!2] 58 {1 2} +[!0&1&2] 63 {0} +[0&!1&!2] 20 {1} +[0&!1&2] 78 +[0&1&2] 27 {0 4} +[0&!1&2] 26 +State: 103 +[!0&1&2] 21 {0 5} +[0&1&2] 70 {5} +[!0&1&2] 20 {3} +[0&!1&!2] 44 {3} +[!0&1&2] 60 {2} +[!0&!1&!2] 91 {0} +[!0&!1&2] 88 {4} +[!0&1&!2] 101 {0 3 4} +[!0&!1&!2] 117 +[0&1&!2] 61 {1 4 5} +[0&!1&2] 100 {0 5} +[0&1&!2] 108 {2 5} +[!0&!1&!2] 110 {3 4} +[!0&1&!2] 35 +[!0&1&2] 5 {3} +[!0&!1&2] 66 {3} +[0&1&2] 17 {0 3} +[0&!1&2] 112 {3 5} +[!0&1&!2] 54 {0 5} +[0&1&2] 64 {5} +[0&!1&2] 47 +[0&1&!2] 16 {4} +[!0&1&!2] 98 +[!0&1&2] 75 {1} +[!0&!1&2] 12 +[0&1&2] 113 {0 1} +[!0&!1&2] 119 +[0&!1&!2] 86 {1 4} +[0&1&2] 87 +[0&!1&2] 27 +State: 104 +[0&1&2] 55 {2 3} +[!0&!1&2] 30 {0} +[0&!1&!2] 76 {1 4 5} +[!0&1&!2] 39 {5} +[!0&1&2] 40 {0} +[0&1&!2] 11 {1 2 5} +[!0&1&2] 16 +[0&!1&!2] 102 +[!0&1&2] 31 {2} +[0&!1&2] 91 {2} +[!0&!1&2] 1 {0 4} +[0&!1&2] 60 +[0&!1&!2] 19 {3 4} +[!0&1&!2] 83 {0 2 3} +[0&!1&!2] 47 {0 2 4} +[!0&1&2] 71 {0 4} +[0&!1&2] 67 {0} +[!0&!1&2] 116 {0 1 3} +[0&1&!2] 63 {0 3} +[0&!1&!2] 12 {0} +[0&1&2] 2 {5} +[0&!1&!2] 73 {4} +[!0&1&!2] 48 {4} +[!0&1&!2] 86 {1 2 3} +[!0&!1&!2] 95 {0} +[0&!1&2] 62 {0 2 3 4} +[0&!1&2] 27 {3 5} +[!0&1&!2] 46 {5} +State: 105 +[0&1&!2] 109 {0 4} +[!0&1&2] 87 {3} +[0&!1&2] 38 +[0&!1&!2] 18 {0} +[!0&1&!2] 119 +[0&!1&!2] 95 {2 3} +[0&1&2] 26 +[!0&!1&!2] 2 {0 1} +[!0&1&!2] 89 {2 4} +[!0&1&!2] 7 {0} +[!0&1&!2] 94 +[!0&!1&!2] 23 {2 3} +[!0&!1&2] 91 {0 5} +[0&!1&!2] 61 +[!0&!1&2] 46 {1} +[!0&1&!2] 0 +[0&!1&!2] 9 +[!0&!1&!2] 40 +[!0&!1&!2] 108 {1 5} +[0&!1&!2] 47 {1 2 3} +[!0&!1&2] 13 {2 3 5} +[0&1&!2] 58 {3} +[0&!1&2] 100 {4 5} +[0&!1&!2] 31 {3} +[!0&!1&!2] 74 {3} +[0&1&2] 114 {5} +[0&!1&2] 103 {1 2} +[0&!1&!2] 11 +[!0&1&2] 72 +[0&1&!2] 39 {4} +[0&1&!2] 59 {2 5} +[0&!1&2] 76 +[0&!1&!2] 33 +[!0&!1&!2] 101 {1 3 5} +[0&!1&2] 19 {1 3} +State: 106 +[!0&1&2] 35 {3 4} +[!0&!1&!2] 21 +[!0&!1&2] 29 {2} +[0&!1&!2] 82 +[0&1&2] 50 {3 5} +[0&1&2] 119 {0 2 5} +[!0&1&2] 11 {0 3 5} +[0&1&2] 65 {2} +[0&!1&!2] 9 +[!0&!1&2] 5 {2 4} +[0&1&!2] 54 {3} +[!0&1&!2] 25 {3} +[!0&!1&2] 30 +[!0&1&2] 88 {1 3} +[0&!1&2] 19 {5} +[0&1&!2] 7 {2 5} +[!0&!1&2] 32 {4} +[!0&!1&2] 79 +[0&1&!2] 110 +[0&1&2] 109 {0 1} +[0&1&!2] 22 {1} +[0&1&!2] 41 {0 2 4} +[!0&!1&2] 1 {0 3} +[0&!1&2] 4 {4 5} +[0&1&!2] 56 {0} +[0&!1&2] 73 +[0&1&2] 70 {2} +[0&!1&!2] 37 {3 4} +State: 107 +[!0&1&2] 117 +[0&!1&!2] 45 {0 4} +[0&1&!2] 44 {0} +[!0&!1&!2] 51 {0} +[0&!1&!2] 7 {2 4} +[!0&1&!2] 54 {1 5} +[0&!1&!2] 40 {0 3 4} +[0&!1&2] 85 {1 3} +[0&1&2] 102 {2} +[0&!1&!2] 23 {1 4} +[!0&1&!2] 26 +[0&!1&!2] 109 {0} +[!0&!1&!2] 77 +[!0&!1&!2] 95 {4} +[!0&!1&2] 79 {2 3 5} +[!0&1&!2] 12 {1 3 4} +[0&1&2] 67 {0 5} +[0&!1&!2] 42 {3} +[0&!1&!2] 115 {0} +[!0&1&!2] 34 +[!0&1&2] 28 +[0&!1&!2] 87 +[!0&!1&!2] 104 +[!0&!1&!2] 90 {4} +[!0&1&!2] 25 {0} +[0&!1&2] 111 {2} +[!0&1&!2] 69 {2 5} +[!0&1&2] 65 {2} +[!0&!1&!2] 35 {1 5} +[0&!1&!2] 82 {2 4 5} +[!0&1&!2] 98 +[0&!1&2] 116 {1} +State: 108 +[!0&1&!2] 18 {0 2 3 5} +[0&!1&!2] 91 {1} +[0&!1&2] 36 +[!0&!1&2] 99 +[!0&1&!2] 92 {4} +[!0&!1&2] 17 {1} +[!0&1&2] 19 +[0&1&!2] 20 {2} +[0&!1&2] 10 {0 1 3} +[0&!1&!2] 44 {0} +[!0&1&!2] 74 {1 4 5} +[!0&1&2] 38 +[!0&!1&2] 37 {1 3} +[0&!1&!2] 77 {2 5} +[!0&1&!2] 42 +[!0&!1&!2] 114 {4} +[!0&1&!2] 52 +[0&1&2] 62 {2} +[0&!1&!2] 28 {3} +[0&!1&2] 95 {5} +[!0&!1&!2] 26 {0 5} +[!0&!1&!2] 100 {0 5} +[0&!1&2] 107 {2} +[0&1&2] 61 {1} +[!0&1&2] 60 {0 3} +[!0&!1&2] 69 {2} +[0&1&!2] 84 {1 2} +[!0&!1&2] 70 {0 2} +[!0&1&2] 54 {1} +[!0&1&2] 117 +State: 109 +[!0&1&2] 102 {1} +[0&!1&2] 31 {4 5} +[0&!1&2] 62 +[!0&!1&!2] 97 +[!0&1&!2] 109 +[!0&1&!2] 32 {1 3 5} +[!0&1&2] 0 +[0&!1&2] 81 {0 3} +[0&1&!2] 95 {3 4} +[0&1&!2] 58 +[!0&1&!2] 78 {1 5} +[0&1&2] 70 +[0&!1&!2] 41 {1} +[0&1&!2] 39 {0 3} +[!0&!1&2] 108 {1 2} +[0&!1&!2] 44 {0 4} +[!0&!1&!2] 69 {3 4} +[0&1&2] 30 {0} +[!0&!1&2] 118 +[!0&!1&2] 94 {3 5} +[0&!1&2] 23 {0} +[0&!1&2] 26 {0} +[!0&1&!2] 18 {2 5} +[0&!1&2] 87 {3} +[!0&1&2] 7 +[!0&!1&2] 116 {0} +[!0&!1&!2] 47 {3} +[!0&1&2] 50 +[0&1&!2] 36 {1 3} +[!0&1&2] 14 {4} +State: 110 +[!0&1&2] 111 {1 2} +[!0&!1&2] 79 {0} +[!0&!1&2] 38 {2 4 5} +[0&!1&!2] 39 {3} +[0&1&!2] 98 +[!0&!1&!2] 113 {5} +[0&!1&2] 48 {1 2 3 4} +[!0&1&!2] 60 {2} +[0&1&!2] 5 {2 5} +[!0&1&2] 109 {0 1 5} +[!0&1&2] 88 +[0&1&!2] 110 +[!0&1&2] 11 {4 5} +[0&1&!2] 41 +[!0&1&2] 114 {4} +[!0&1&!2] 108 {1} +[0&!1&2] 56 +[!0&!1&2] 67 {3} +[0&1&!2] 77 {1} +[0&!1&!2] 74 {3} +[0&!1&!2] 94 {0} +[!0&!1&2] 24 {2} +[!0&!1&2] 31 {1} +[0&!1&2] 119 {1} +[0&!1&2] 65 {1 5} +[0&1&2] 104 +[0&1&!2] 76 +[!0&1&2] 84 {0 1 5} +[0&1&2] 97 {0 3} +[!0&1&2] 0 +[!0&1&2] 14 {0 2 4} +[0&!1&!2] 112 {0 2 3} +[0&1&!2] 91 {2 4} +[0&!1&2] 19 {5} +[!0&1&2] 69 {4 5} +[0&1&!2] 71 {4} +[!0&1&!2] 66 {0} +State: 111 +[0&1&2] 49 {1 2} +[!0&!1&!2] 116 {1 2} +[0&1&2] 46 {2 4} +[!0&1&!2] 13 +[!0&1&!2] 70 {0 3} +[!0&!1&!2] 21 {3} +[0&1&2] 96 {1 5} +[!0&!1&!2] 50 {3} +[!0&1&!2] 68 +[0&!1&2] 99 {1} +[0&1&2] 33 {3} +[!0&!1&!2] 91 +[!0&!1&2] 115 {5} +[!0&!1&!2] 106 {0 1} +[!0&1&!2] 52 {2 4} +[!0&1&!2] 42 {5} +[!0&1&2] 108 {0 2} +[!0&1&!2] 9 {1 5} +[!0&1&2] 15 {0 1} +[0&!1&!2] 47 {5} +[!0&1&2] 82 +[!0&!1&2] 72 {5} +[!0&1&2] 38 {1 2} +[!0&!1&2] 28 {2} +[!0&!1&2] 113 {2 3} +[0&!1&!2] 51 {1} +[!0&1&2] 92 +[!0&!1&2] 17 {2 3} +[!0&1&2] 93 {2 3} +[!0&!1&!2] 44 {0} +[0&1&2] 55 {1 4} +[!0&1&2] 81 {2 3} +[0&!1&!2] 37 +[!0&!1&!2] 84 {2 3} +State: 112 +[!0&1&!2] 35 {0 4} +[!0&1&!2] 71 {0 3 4} +[!0&!1&2] 58 {0 2} +[!0&!1&!2] 96 {2 5} +[0&!1&2] 43 {0} +[0&!1&2] 81 +[!0&1&!2] 70 {0} +[0&1&!2] 49 {1 5} +[0&1&2] 19 {1} +[0&1&2] 85 +[0&!1&!2] 13 {3} +[0&1&!2] 57 +[0&!1&!2] 107 {2 4} +[0&!1&2] 47 {0 5} +[0&1&2] 92 {2} +[0&!1&!2] 59 +[0&!1&2] 65 {3} +[!0&!1&2] 54 +[0&!1&2] 26 +[!0&1&!2] 118 {2 5} +[0&!1&!2] 78 {0 2 3 5} +[!0&1&2] 31 {4 5} +[!0&1&!2] 4 {2 5} +[!0&1&!2] 0 {1 4 5} +[0&!1&2] 36 {3 5} +[0&!1&!2] 41 {0} +[!0&!1&2] 74 {1} +[0&!1&2] 66 {2} +[0&1&2] 16 {3} +[0&!1&2] 2 {2 3 4} +[!0&1&!2] 99 {0 4 5} +State: 113 +[!0&!1&!2] 63 +[0&1&!2] 50 {2 5} +[0&1&!2] 83 {0 2} +[0&!1&2] 23 {1} +[!0&!1&!2] 92 {0} +[!0&1&!2] 95 {0 3 5} +[0&1&!2] 45 {5} +[0&1&2] 113 {2} +[0&1&2] 20 {1 3 5} +[!0&1&!2] 70 {0} +[0&1&2] 112 {2 4} +[!0&!1&!2] 89 {2} +[0&1&!2] 60 {1 4} +[0&1&!2] 107 {0 1 2 3 5} +[0&!1&!2] 93 {0 1} +[0&1&2] 101 {0 4} +[0&!1&!2] 5 {4 5} +[!0&1&2] 80 {0 2} +[0&1&!2] 32 {5} +[!0&1&!2] 68 {3} +[0&!1&!2] 13 {0} +[!0&!1&2] 59 {0} +[0&!1&2] 118 {0 2 4} +[!0&1&2] 8 {4 5} +[!0&1&2] 3 {0 1 2} +[0&1&!2] 10 {4} +[0&1&2] 69 +[0&1&2] 65 {1} +[!0&1&!2] 115 {4 5} +[0&!1&!2] 42 {1 2 5} +[!0&!1&!2] 19 +[!0&!1&2] 73 +State: 114 +[!0&!1&2] 6 {1 3} +[0&1&!2] 86 {3} +[0&1&2] 17 {2 3 4} +[0&!1&!2] 36 {4} +[!0&1&2] 45 +[0&1&2] 114 {1 3 5} +[0&!1&!2] 52 {0 1} +[0&!1&!2] 15 +[0&!1&!2] 108 {5} +[!0&1&!2] 27 {0 3} +[0&!1&2] 92 {1 5} +[!0&1&!2] 113 +[0&!1&!2] 91 {5} +[!0&1&!2] 74 {0} +[0&!1&2] 49 {3} +[0&1&2] 47 {0 4} +[0&1&!2] 110 {4} +[0&!1&2] 53 +[!0&1&2] 38 {1} +[0&1&2] 67 +[!0&!1&!2] 55 +[0&1&2] 90 {0 1 2} +[0&1&2] 102 {0} +[!0&1&2] 87 {0 1 3} +[0&!1&2] 43 +[0&!1&!2] 24 {1} +[!0&1&2] 111 {1 5} +[!0&1&!2] 25 {4} +[!0&1&!2] 50 {5} +[!0&!1&2] 119 {4} +[!0&1&2] 84 {3} +State: 115 +[0&1&!2] 71 {3} +[!0&!1&!2] 102 +[0&1&2] 15 +[!0&!1&!2] 28 +[0&!1&2] 17 {3 5} +[!0&1&2] 96 +[!0&1&2] 67 {0 5} +[0&1&2] 75 {1 4} +[0&!1&2] 59 +[0&!1&!2] 118 {2} +[!0&1&2] 65 +[0&1&2] 114 {1 4} +[!0&!1&2] 88 +[!0&!1&2] 63 +[0&1&2] 23 {3 4 5} +[!0&1&!2] 72 {1 2} +[0&1&!2] 85 +[0&1&2] 116 {1} +[0&1&!2] 62 +[!0&!1&2] 19 {2} +[!0&1&2] 95 {3} +[0&1&2] 21 {0 1} +[0&!1&!2] 53 {4} +[!0&1&!2] 36 +[!0&1&2] 49 +[!0&1&2] 24 {0 1 2} +[0&!1&2] 38 {1} +[!0&!1&2] 84 {1 3} +[0&1&!2] 119 {3 5} +[!0&!1&!2] 3 {1} +[0&!1&2] 87 {1} +State: 116 +[0&!1&!2] 21 {0 2} +[!0&1&2] 3 {2} +[!0&1&!2] 106 {0 3} +[!0&1&2] 16 +[!0&1&2] 13 {4 5} +[0&!1&2] 53 {0} +[0&!1&2] 52 {1 3} +[0&!1&2] 85 +[!0&1&2] 56 {1 4 5} +[!0&1&!2] 78 {0 1 4 5} +[!0&!1&!2] 79 +[0&1&!2] 113 {2 3} +[!0&!1&2] 103 {0 3} +[!0&1&!2] 60 {0} +[!0&1&!2] 117 {0 2} +[0&1&2] 34 {3} +[!0&1&2] 12 +[!0&1&!2] 59 {0} +[0&1&2] 92 {2} +[0&!1&!2] 8 +[0&1&!2] 11 {0 1 5} +[0&1&!2] 62 {5} +[!0&!1&!2] 6 {2} +[!0&!1&!2] 41 {2} +[!0&1&2] 57 {0} +[0&!1&2] 76 +[!0&!1&2] 9 {4} +[!0&1&!2] 38 {0 2 4} +[0&!1&!2] 115 {0} +[!0&1&!2] 58 {2 5} +[!0&1&!2] 14 {0 3} +[!0&1&2] 87 {0 4} +[0&1&2] 20 {2 3 4} +State: 117 +[0&!1&2] 42 {0 5} +[!0&1&2] 112 +[0&1&2] 4 {0} +[!0&1&2] 0 {5} +[0&1&!2] 16 +[!0&!1&2] 1 +[0&1&!2] 31 +[!0&!1&2] 80 {0} +[0&!1&!2] 50 +[!0&!1&2] 114 {2 4} +[0&!1&2] 5 +[0&!1&2] 9 +[!0&1&2] 115 {0 2 3} +[0&1&!2] 68 {0} +[!0&!1&2] 41 +[0&1&2] 65 {1 2 3} +[0&1&!2] 53 {3} +[!0&1&2] 74 {0} +[0&1&2] 33 +[!0&1&!2] 51 +[!0&1&2] 91 {0 3} +[0&!1&2] 73 {5} +[!0&!1&!2] 105 {2} +[!0&!1&!2] 90 {5} +[0&!1&!2] 104 +[0&1&!2] 85 +[!0&!1&2] 61 {1} +[!0&!1&2] 38 +[!0&!1&2] 92 {3 4 5} +[0&!1&!2] 11 +[0&1&2] 18 {0 4} +State: 118 +[0&!1&2] 98 +[0&!1&2] 3 {4} +[0&!1&!2] 19 {1 4 5} +[!0&1&!2] 63 +[0&!1&2] 114 {5} +[0&1&2] 94 {2} +[0&!1&!2] 31 +[!0&!1&2] 104 {2 3} +[!0&1&!2] 6 {4} +[!0&1&!2] 108 {1 2 3 4} +[0&!1&2] 59 +[!0&1&!2] 46 +[0&1&!2] 21 {0} +[!0&1&2] 115 {1} +[!0&!1&2] 32 {3 4} +[0&1&!2] 2 {3} +[0&!1&!2] 22 +[!0&1&2] 101 {1 5} +[!0&1&2] 36 {0 5} +[!0&!1&!2] 110 {5} +[0&!1&!2] 58 {4} +[0&1&!2] 30 {2 5} +[!0&1&!2] 47 {3} +[0&1&2] 42 {1 5} +[!0&!1&2] 55 {1 2 4} +[!0&!1&!2] 50 {2 4} +[!0&!1&2] 106 {1 4} +[!0&!1&2] 107 +[!0&!1&2] 84 {4} +[0&!1&!2] 41 {0 4} +[0&!1&2] 7 {4} +State: 119 +[!0&!1&2] 37 {0 1} +[0&1&!2] 74 {0 2 5} +[!0&!1&2] 36 +[0&!1&!2] 60 {0 1 3} +[!0&!1&2] 77 {3} +[!0&!1&2] 119 {2 3} +[!0&1&!2] 46 {5} +[!0&!1&2] 66 {3} +[0&!1&2] 113 {2 5} +[0&1&!2] 50 {5} +[0&!1&!2] 100 +[!0&!1&2] 89 {0} +[0&!1&2] 48 {1 4} +[!0&!1&2] 10 {1 4} +[!0&!1&2] 112 {1 2 4} +[0&1&2] 1 {0 1} +[0&1&2] 18 {0 4} +[0&1&!2] 99 +[!0&1&!2] 118 {4} +[0&1&2] 29 +[0&!1&!2] 35 {5} +[0&!1&2] 84 {3 4 5} +--END-- diff --git a/hoa/bench/spot/streett-nondet-n30.hoa b/hoa/bench/spot/streett-nondet-n30.hoa new file mode 100644 index 0000000..20c6228 --- /dev/null +++ b/hoa/bench/spot/streett-nondet-n30.hoa @@ -0,0 +1,252 @@ +HOA: v1 +States: 30 +Start: 0 +AP: 3 "p0" "p1" "p2" +acc-name: Streett 2 +Acceptance: 4 (Fin(0) | Inf(1)) & (Fin(2) | Inf(3)) +properties: trans-labels explicit-labels trans-acc +--BODY-- +State: 0 +[0&1&!2] 20 +[!0&!1&2] 5 {0} +[0&1&2] 15 +[0&1&2] 2 {3} +[!0&!1&2] 7 {3} +[0&1&2] 3 {1 2 3} +State: 1 +[0&!1&2] 0 {3} +[0&1&!2] 28 +[0&1&2] 25 {1 3} +[0&!1&!2] 21 +[0&1&!2] 22 {3} +[0&1&!2] 29 {0} +[!0&!1&!2] 2 {0 2} +[0&1&!2] 8 {2 3} +[!0&!1&2] 23 {1} +[0&1&!2] 15 {1} +State: 2 +[!0&!1&2] 24 +[0&1&!2] 15 {0 1} +[0&!1&2] 5 +[0&1&2] 11 +[0&1&!2] 12 +[!0&1&!2] 13 +[!0&!1&2] 19 {1} +State: 3 +[!0&1&2] 3 {0} +[0&!1&2] 16 +[0&1&!2] 19 +[!0&!1&!2] 23 {2} +[!0&!1&!2] 25 {0} +[!0&!1&!2] 9 {3} +[0&1&!2] 2 +[0&1&!2] 13 +[0&1&!2] 26 +State: 4 +[0&!1&!2] 18 {2 3} +[!0&!1&2] 14 {0 2 3} +[!0&!1&!2] 19 {0} +[0&1&!2] 0 +[0&!1&2] 2 +[0&!1&2] 8 {0 1} +[0&1&!2] 29 {1 2} +State: 5 +[0&!1&2] 4 +[!0&!1&!2] 17 +[!0&!1&2] 6 {1} +[0&1&!2] 26 +[!0&!1&!2] 2 +[!0&1&!2] 13 +State: 6 +[0&!1&!2] 24 {2} +[0&!1&!2] 7 {0 1} +[!0&1&2] 15 {0} +[!0&1&!2] 14 +[!0&1&2] 0 +[0&1&!2] 18 +[0&1&!2] 3 {1 3} +[!0&1&!2] 16 {1 3} +[0&1&2] 28 {2} +State: 7 +[0&1&!2] 11 {0} +[0&!1&!2] 25 +[!0&!1&2] 15 +[0&!1&!2] 5 {2} +[0&1&!2] 14 +[!0&1&2] 3 +[0&1&!2] 8 +[!0&!1&2] 29 {0 3} +[0&!1&!2] 4 {0} +[0&1&2] 27 {3} +State: 8 +[!0&1&2] 5 +[!0&!1&2] 25 {2} +[!0&!1&2] 6 {1} +[0&1&!2] 1 {2} +State: 9 +[!0&1&!2] 3 {0 2 3} +[0&!1&!2] 27 +[!0&!1&!2] 6 +[0&!1&2] 5 +[!0&1&!2] 29 {0 1 2} +[!0&!1&2] 11 {0} +[0&1&!2] 10 {1} +State: 10 +[0&!1&2] 27 +[0&1&2] 28 +[!0&!1&2] 22 {1} +[!0&1&2] 14 +[!0&!1&2] 5 {1} +[!0&!1&!2] 13 {2} +State: 11 +[0&1&2] 7 +[!0&1&!2] 13 {3} +[0&!1&2] 11 +[0&!1&!2] 14 +[0&1&2] 22 +[!0&1&2] 26 {2} +State: 12 +[0&!1&!2] 23 +[0&!1&2] 15 {0 1} +[!0&!1&!2] 25 +[0&1&2] 26 {0 1} +[!0&!1&2] 5 +[!0&!1&2] 0 {2} +[0&1&2] 20 {2} +[!0&1&2] 27 {3} +[!0&!1&!2] 8 +State: 13 +[!0&!1&!2] 3 +[!0&1&!2] 2 +[0&1&2] 28 +[0&!1&2] 17 {1} +[0&!1&2] 26 {1 3} +[0&1&2] 1 +[0&!1&!2] 5 {3} +[0&!1&2] 27 +State: 14 +[0&!1&2] 21 {1} +[0&!1&!2] 1 {2} +[!0&!1&!2] 18 {1} +[0&1&!2] 15 {2} +[!0&!1&2] 3 {0} +[!0&!1&2] 0 +[!0&!1&2] 10 {2 3} +[!0&1&!2] 28 +[0&!1&!2] 20 +[!0&!1&!2] 9 {3} +[!0&1&!2] 17 +State: 15 +[0&!1&2] 12 +[0&!1&2] 11 {1} +[!0&1&2] 25 {2} +State: 16 +[0&!1&2] 27 {0 1} +[!0&!1&2] 12 +[0&!1&2] 5 {0} +[!0&1&!2] 17 {0} +[!0&!1&2] 20 +[!0&!1&!2] 15 +[0&!1&!2] 16 +State: 17 +[!0&!1&2] 3 {1} +[0&!1&2] 22 {2} +[0&!1&!2] 25 {2} +State: 18 +[0&1&2] 20 {0} +[!0&1&!2] 12 {2} +[!0&1&2] 22 {0 3} +[!0&!1&2] 2 {2} +[!0&1&2] 18 +State: 19 +[0&1&!2] 10 +[!0&!1&!2] 28 {3} +[!0&!1&!2] 20 {0} +[0&1&2] 21 +State: 20 +[0&1&2] 19 +[0&1&!2] 4 {3} +[!0&1&2] 27 {1 3} +[0&!1&2] 7 {2} +[0&1&!2] 23 +[0&!1&2] 26 +[0&1&2] 8 +[!0&!1&2] 12 {3} +[0&!1&!2] 9 +[0&1&2] 14 +State: 21 +[0&!1&2] 12 {0 2} +[0&1&2] 6 {0} +[!0&!1&2] 26 +[!0&1&2] 19 {1 3} +[0&1&2] 23 {2} +[0&!1&2] 3 {1 2} +[!0&!1&2] 17 +[0&!1&!2] 22 {0} +[!0&!1&!2] 15 {0 1} +[!0&1&2] 1 {2} +State: 22 +[!0&1&!2] 27 {0} +[0&!1&!2] 18 +[0&!1&!2] 13 {1} +[0&!1&2] 2 {0 1 3} +[!0&1&2] 23 {0 1 2} +[!0&!1&!2] 6 +State: 23 +[0&!1&2] 21 {1} +[!0&!1&2] 20 +[0&!1&2] 16 +[0&1&!2] 22 {3} +[!0&!1&!2] 8 +[!0&!1&2] 5 {0 3} +[!0&1&2] 1 {1} +[!0&1&!2] 12 {0 2 3} +[!0&1&!2] 18 +[0&!1&!2] 6 {0 2} +[0&!1&2] 0 {3} +State: 24 +[!0&!1&!2] 7 {3} +[!0&!1&!2] 14 {0 3} +[0&!1&!2] 10 {3} +[0&1&!2] 23 {2} +[0&1&2] 1 {2} +State: 25 +[0&!1&!2] 15 {2} +[!0&1&2] 23 +[!0&!1&!2] 20 +[!0&1&!2] 18 +[!0&!1&2] 10 +State: 26 +[0&!1&2] 4 {0 1 3} +[0&!1&2] 7 {1} +[!0&!1&!2] 20 {1 2 3} +[0&1&2] 19 +[0&!1&!2] 13 +[!0&1&2] 28 +[0&!1&2] 6 +State: 27 +[!0&!1&!2] 26 {2} +[0&!1&2] 8 {2} +[!0&!1&!2] 21 +[!0&!1&!2] 9 +[0&!1&!2] 11 +[!0&1&!2] 0 +[0&1&2] 15 +[0&1&!2] 6 {0} +[0&1&!2] 25 +State: 28 +[0&1&!2] 20 +[0&!1&!2] 15 +[!0&!1&2] 14 {3} +[0&1&2] 7 +[!0&1&2] 17 +[0&1&2] 5 +State: 29 +[0&!1&2] 24 +[!0&1&!2] 29 {3} +[!0&1&2] 11 {1} +[!0&!1&2] 16 {3} +[0&!1&2] 13 {0 1 2} +[0&1&!2] 9 +[0&1&2] 5 {2 3} +--END-- diff --git a/scripts/check b/scripts/check index e0a1aff..6b96ab9 100755 --- a/scripts/check +++ b/scripts/check @@ -7,5 +7,7 @@ cargo clippy --all-targets --all-features -- -D warnings echo "cargo clippy --all -- -D warnings passed" cargo doc --no-deps echo "doc tests passed" +cargo bench --no-run +echo "benchmarks compile" cargo test echo "cargo test --all passed" diff --git a/scripts/generate_bench_fixtures.sh b/scripts/generate_bench_fixtures.sh new file mode 100755 index 0000000..90b3f1e --- /dev/null +++ b/scripts/generate_bench_fixtures.sh @@ -0,0 +1,15 @@ +#!/usr/bin/env bash +# Regenerates hoa/bench/spot (needs Spot: genltl, ltl2tgba, randaut). The DPA fixtures in +# hoa/bench/{ltl,random,hard} come from leonbohn/automata (benches/fixtures). Regenerating +# changes the benchmark inputs and therefore invalidates earlier benchmark numbers. +set -euo pipefail +OUT=${1:-hoa/bench/spot} +rm -rf "$OUT"; mkdir -p "$OUT" +genltl --gf-equiv=2 | ltl2tgba -B --hoaf=t > "$OUT/buchi-gf-equiv-2.hoa" +genltl --gh-q=2 | ltl2tgba -D -G --hoaf=t > "$OUT/gen-gh-q-2.hoa" +genltl --ms-phi-s=3 | ltl2tgba -B -S > "$OUT/buchi-state-ms-3.hoa" +randaut -n1 -Q30 -e0.3 --seed=1 -A'Rabin 3' 2 > "$OUT/rabin-nondet-n30.hoa" +randaut -n1 -Q30 --seed=2 -A'Streett 2' 3 > "$OUT/streett-nondet-n30.hoa" +randaut -n1 -Q120 -e0.25 --seed=3 -A'Rabin 3' 3 > "$OUT/rabin-nondet-n120-a3.hoa" +randaut -n1 -Q120 -e0.25 --seed=4 -A'Streett 3' 3 > "$OUT/streett-nondet-n120-a3.hoa" +randaut -n1 -Q60 --seed=5 -A'generalized-Buchi 3' 2 > "$OUT/genbuchi-n60-a2.hoa" From 0a1b0ba9297c0c4d0d1182d4952ce371dac48e95 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Le=C3=B3n=20Bohn?= Date: Thu, 5 Nov 2026 14:22:52 +0100 Subject: [PATCH 2/7] Port parser to chumsky 0.13 (borrowed tokens, Rich errors); round-trip test walks hoa/ recursively --- BENCHMARKS.md | 14 +++++ Cargo.lock | 47 +++++++++-------- Cargo.toml | 5 +- src/body.rs | 43 ++++++---------- src/header.rs | 93 ++++++++++++++------------------- src/input.rs | 32 +++++------- src/lexer.rs | 96 ++++++++++++++++++++++------------ src/lib.rs | 120 ++++++++++++++++--------------------------- src/output.rs | 19 ++++--- src/value.rs | 139 ++++++++++++++++++++++---------------------------- 10 files changed, 286 insertions(+), 322 deletions(-) diff --git a/BENCHMARKS.md b/BENCHMARKS.md index f1d640b..98de541 100644 --- a/BENCHMARKS.md +++ b/BENCHMARKS.md @@ -36,3 +36,17 @@ counts are deterministic (valgrind/gungraun); wall-clock numbers are from one ma | write | 1.13 ms | 11.96 ms | 240 ms | These match the numbers in REFACTOR.md P2 (9.9 s, 1.18 s). + +## Issue 11, step 1: chumsky 0.9 → 0.13 (same two-stage lexer/parser, tokens borrow from the input) + +| Benchmark | Instructions | vs. baseline | +|---|---:|---:| +| parse_generated 250 | 42,185,713 | −59.2 % (2.45×) | +| parse_generated 1000 | 169,356,712 | −59.0 % (2.44×) | +| parse_generated 4000 | 675,566,420 | −59.2 % (2.45×) | +| parse_fixtures ltl | 103,141,813 | −58.4 % | +| parse_fixtures synthetic | 137,022,599 | −58.4 % | +| parse_fixtures spot | 497,143,446 | −58.7 % | + +Wall clock parse: 1k 16.97 ms (3.74 MiB/s), 10k 171.6 ms (3.97 MiB/s), **200k (15 MB) 3.82 s** (3.95 MiB/s) +against 10.63 s before (2.8×). The ≥ 10× target of issue 11 is not reached by this step alone. diff --git a/Cargo.lock b/Cargo.lock index b9084ec..0922405 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -2,18 +2,6 @@ # It is not intended for manual editing. version = 4 -[[package]] -name = "ahash" -version = "0.8.12" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a15f179cd60c4584b8a8c596927aadc462e27f2ca70c04e0071964a73ba7a75" -dependencies = [ - "cfg-if", - "once_cell", - "version_check", - "zerocopy", -] - [[package]] name = "aho-corasick" version = "1.1.5" @@ -127,11 +115,15 @@ checksum = "4e7648175b45a9a48536d676f68d918270699102aa8dab5496df06904c914600" [[package]] name = "chumsky" -version = "0.9.3" +version = "0.13.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8eebd66744a15ded14960ab4ccdbfb51ad3b81f51f3f04a80adac98c985396c9" +checksum = "e0d2bfadce76f963d776feff99db6dc33783829539258314776383b33e2a00f8" dependencies = [ - "hashbrown 0.14.5", + "hashbrown 0.15.5", + "regex-automata", + "serde", + "unicode-ident", + "unicode-segmentation", ] [[package]] @@ -301,6 +293,12 @@ version = "0.1.15" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1c66915cc5391097de7a2b0b972e8505aa33c0df401fd3a6811dbdb32881ba48" +[[package]] +name = "foldhash" +version = "0.1.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d9c4f5dac5e15c24eb999c26181a6ca40b39fe946cbe4c263c7209467bc83af2" + [[package]] name = "futures-core" version = "0.3.34" @@ -403,12 +401,13 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.14.5" +version = "0.15.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e5274423e17b7c9fc20b6e7e208532f9b19825d82dfd615708b70edd83df41f1" +checksum = "9229cfe53dfd69f0609a49f65461bd93001ea1ef889cd5529dd176593f5338a1" dependencies = [ - "ahash", "allocator-api2", + "equivalent", + "foldhash", ] [[package]] @@ -887,6 +886,12 @@ version = "1.0.27" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2c754d6c33795a1c324727428e5a7dedb5b06195f9890bdbcba760d3e246563" +[[package]] +name = "unicode-segmentation" +version = "1.13.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" + [[package]] name = "unicode-width" version = "0.2.2" @@ -899,12 +904,6 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "16062d030850f35054e37746427b9febb74a2f24c9c6dd6fa2d0c13c5f53221e" -[[package]] -name = "version_check" -version = "0.9.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0b928f33d975fc6ad9f86c8f283853ad26bdd5b10b7f1542aa2fa15e2289105a" - [[package]] name = "walkdir" version = "2.5.0" diff --git a/Cargo.toml b/Cargo.toml index 7515ce4..3dc04bf 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,10 +18,7 @@ biodivine-lib-bdd = "0.6" itertools = "0.15" ariadne = "0.6" -chumsky = { version = "0.9.3", default-features = false, features = [ - "ahash", - "std", -] } +chumsky = { version = "0.13", default-features = false, features = ["std"] } lazy_static = "1.5.0" [dev-dependencies] diff --git a/src/body.rs b/src/body.rs index 140dd5d..5f1e929 100644 --- a/src/body.rs +++ b/src/body.rs @@ -4,7 +4,7 @@ use chumsky::prelude::*; use crate::{ AbstractLabelExpression, AcceptanceSignature, AtomicProposition, Id, Label, LabelExpression, - StateConjunction, lexer::Token, value, + StateConjunction, lexer::{Err, TokInput, Token}, value, }; #[derive(Debug, Clone, PartialEq, Eq, Hash)] @@ -183,7 +183,7 @@ fn implicit_label(i: usize, num_aps: u16) -> Label { })) } -pub fn label() -> impl Parser> { +pub fn label<'a, I: TokInput<'a>>() -> impl Parser<'a, I, Label, Err<'a>> + Clone { just(Token::Paren('[')) .ignore_then(value::label_expression()) .then_ignore(just(Token::Paren(']'))) @@ -191,7 +191,7 @@ pub fn label() -> impl Parser> { .map(Label) } -fn edge() -> impl Parser> { +fn edge<'a, I: TokInput<'a>>() -> impl Parser<'a, I, RawEdge, Err<'a>> { label() .or_not() .then(value::state_conjunction()) @@ -201,8 +201,8 @@ fn edge() -> impl Parser> { }) } -pub(crate) fn state() -> impl Parser> { - just(Token::Header("State".to_string())) +pub(crate) fn state<'a, I: TokInput<'a>>() -> impl Parser<'a, I, RawState, Err<'a>> { + just(Token::Header("State")) .ignore_then( label() .or_not() @@ -210,7 +210,7 @@ pub(crate) fn state() -> impl Parser> { .then(value::text().or_not()) .then(value::acceptance_signature().or_not()), ) - .then(edge().repeated()) + .then(edge().repeated().collect::>()) .map(|((((label, id), comment), acc), edges)| RawState { label, id, @@ -240,9 +240,9 @@ impl Body { Self(Vec::new()) } - pub(crate) fn parser() -> impl Parser, Error = Simple> { + pub(crate) fn parser<'a, I: TokInput<'a>>() -> impl Parser<'a, I, Vec, Err<'a>> { just(Token::BodyStart) - .ignore_then(state().repeated()) + .ignore_then(state().repeated().collect()) .then_ignore(just(Token::BodyEnd)) } } @@ -269,10 +269,10 @@ impl DerefMut for Body { #[cfg(test)] mod tests { - use chumsky::{Parser, Stream, primitive::end}; + use chumsky::{Parser, input::Stream, prelude::{Input, end}}; use crate::{ - AbstractLabelExpression, Edge, Label, StateConjunction, label::AnonymousAbstract, lexer, + AbstractLabelExpression, Edge, Label, StateConjunction, label::AnonymousAbstract, }; use super::State; @@ -285,26 +285,13 @@ mod tests { pub fn process_body(input: &str) -> Result, ()> { use crate::{body::Body, print_error_report}; - let tokens = lexer::tokenizer().parse(input).map_err(|error_list| { - print_error_report( - input, - error_list.into_iter().map(|err| err.map(|c| c.to_string())), - ) - })?; - - for tok in &tokens { - print!("{}", tok.0); - } - let len = input.chars().count(); + let tokens = crate::input::lex(input).map_err(|e| tracing::error!("{e}"))?; + let eoi = (input.len()..input.len()).into(); let ast = Body::parser() .then_ignore(end()) - .parse(Stream::from_iter(len..len + 1, tokens.into_iter())) - .map_err(|error_list| { - print_error_report( - input, - error_list.into_iter().map(|err| err.map(|c| c.to_string())), - ) - })?; + .parse(Stream::from_iter(tokens).map(eoi, |(t, s)| (t, s))) + .into_result() + .map_err(|errors| print_error_report(input, errors))?; // the tests only use explicit labels, so the AP count does not matter ast.into_iter() .map(|s| s.resolve(0).map_err(|_| ())) diff --git a/src/header.rs b/src/header.rs index 89be445..7d8d1e2 100644 --- a/src/header.rs +++ b/src/header.rs @@ -1,10 +1,11 @@ use std::ops::{Deref, DerefMut}; -use chumsky::prelude::*; +use chumsky::{prelude::*, select}; use crate::{ AbstractLabelExpression, AcceptanceCondition, AcceptanceInfo, AcceptanceName, AliasName, Id, Property, Token, + lexer::{Err, TokInput}, format::{AtomicProposition, StateConjunction}, value, }; @@ -84,61 +85,61 @@ impl HeaderItem { } } -#[allow(clippy::result_large_err)] -fn item() -> impl Parser> { - let states = just(Token::Header("States".to_string())) +fn item<'a, I: TokInput<'a>>() -> impl Parser<'a, I, HeaderItem, Err<'a>> { + let states = just(Token::Header("States")) .ignore_then(value::integer()) .map(HeaderItem::States); - let acceptance_name = just(Token::Header("acc-name".to_string())) + let acceptance_name = just(Token::Header("acc-name")) .ignore_then(value::identifier()) .map(AcceptanceName::from) - .then(value::acceptance_info().repeated()) + .then(value::acceptance_info().repeated().collect::>()) .map(|(name, info)| HeaderItem::AcceptanceName(name, info)); - let start = just(Token::Header("Start".to_string())) - .ignore_then(value::integer().separated_by(just(Token::Op('&')))) + let start = just(Token::Header("Start")) + .ignore_then(value::integer().separated_by(just(Token::Op('&'))).collect()) .map(|conjunction| HeaderItem::Start(StateConjunction(conjunction))); - let aps = just(Token::Header("AP".to_string())) + let aps = just(Token::Header("AP")) .ignore_then(value::integer()) - .then(value::text().repeated()) + .then(value::text().repeated().collect::>()) .try_map(|(num, prop_labels), span| { if (num as usize) == prop_labels.len() { Ok(HeaderItem::AP(prop_labels)) } else { - Err(Simple::custom( + Err(Rich::custom( span, format!("Expected {} aps but got {}", num, prop_labels.len()), )) } }); - let acceptance = just(Token::Header("Acceptance".to_string())) + let acceptance = just(Token::Header("Acceptance")) .ignore_then(value::integer()) .then(value::acceptance_condition()) .map(|(count, condition)| HeaderItem::Acceptance(count, condition)); - let alias = just(Token::Header("Alias".to_string())) + let alias = just(Token::Header("Alias")) .ignore_then(value::alias_name()) .then(value::label_expression()) .map(|(aname, expression)| HeaderItem::Alias(AliasName(aname), expression)); - let name = just(Token::Header("name".to_string())) + let name = just(Token::Header("name")) .ignore_then(value::text()) .map(HeaderItem::Name); - let tool = just(Token::Header("tool".to_string())) + let tool = just(Token::Header("tool")) .ignore_then(value::text()) .then(value::text().or_not()) .map(|(tool, version)| HeaderItem::Tool(tool, version)); - let properties = just(Token::Header("properties".to_string())) + let properties = just(Token::Header("properties")) .ignore_then( value::identifier() .map(Property::from) .repeated() - .at_least(1), + .at_least(1) + .collect::>(), ) .map(HeaderItem::Properties); @@ -153,14 +154,15 @@ fn item() -> impl Parser> { "tool", "name", ]; - let unknown = select! { Token::Header(name) if !KNOWN.contains(&name.as_str()) && name != "properties" => name } + let unknown = select! { Token::Header(name) if !KNOWN.contains(&name) && name != "properties" => name.to_string() } .then( select! { - Token::Int(i) => UnknownValue::Int(i), - Token::Text(t) => UnknownValue::Text(t), - Token::Identifier(i) => UnknownValue::Identifier(i), + Token::Int(i) => UnknownValue::Int(i.to_string()), + Token::Text(t) => UnknownValue::Text(t.into_owned()), + Token::Identifier(i) => UnknownValue::Identifier(i.to_string()), } - .repeated(), + .repeated() + .collect::>(), ) .map(|(name, values)| { if name.starts_with(|c: char| c.is_ascii_uppercase()) { @@ -169,7 +171,7 @@ fn item() -> impl Parser> { HeaderItem::Unknown(name, values) }); - chumsky::primitive::choice(( + choice(( states, acceptance, acceptance_name, @@ -205,12 +207,12 @@ impl<'a> IntoIterator for &'a Header { impl Header { /// Construts a new header parser. - pub fn parser() -> impl Parser> { - let version = just(Token::Header("HOA".to_string())) + pub fn parser<'a, I: TokInput<'a>>() -> impl Parser<'a, I, Self, Err<'a>> { + let version = just(Token::Header("HOA")) .ignore_then(value::identifier()) .map(HeaderItem::Version); version - .then(item().repeated()) + .then(item().repeated().collect::>()) .map(|(version, headers)| Header(std::iter::once(version).chain(headers).collect())) } @@ -254,39 +256,20 @@ impl DerefMut for Header { #[cfg(test)] mod tests { - #[cfg(test)] - #[allow(clippy::unnecessary_unwrap)] pub fn process_header(input: &str) -> Result, String> { - use chumsky::Stream; + use chumsky::{input::Stream, prelude::Input}; - use crate::{build_error_report, lexer}; + use crate::build_error_report; let with_hoa = format!("HOA: v1\n{}", input); - - let (tokens, errs) = lexer::tokenizer().parse_recovery(with_hoa); - if let Some(tokens) = tokens { - let len = input.chars().count(); - let (ast, parse_errs) = Header::parser() - .then_ignore(end()) - .parse_recovery(Stream::from_iter(len..len + 1, tokens.into_iter())); - - if parse_errs.is_empty() && ast.is_some() { - let out = ast.unwrap(); - Ok(out.0) - } else { - Err(build_error_report( - input, - errs.into_iter() - .map(|err| err.map(|c| c.to_string())) - .chain(parse_errs.into_iter().map(|err| err.map(|c| c.to_string()))), - )) - } - } else { - Err(build_error_report( - input, - errs.into_iter().map(|err| err.map(|c| c.to_string())), - )) - } + let tokens = crate::input::lex(&with_hoa).map_err(|e| e.to_string())?; + let eoi = (with_hoa.len()..with_hoa.len()).into(); + Header::parser() + .then_ignore(end()) + .parse(Stream::from_iter(tokens).map(eoi, |(t, s)| (t, s))) + .into_result() + .map(|header| header.0) + .map_err(|errors| build_error_report(&with_hoa, errors)) } use tracing::error; diff --git a/src/input.rs b/src/input.rs index 08846d3..4ad0fa8 100644 --- a/src/input.rs +++ b/src/input.rs @@ -1,18 +1,14 @@ -use chumsky::{Parser, Stream}; +use chumsky::{Parser, input::Stream, prelude::Input}; use crate::{FromHoaError, HoaRepresentation, Token, build_error_report, lexer}; -/// Lexes `input` into tokens with their (character) spans. -pub(crate) fn lex(input: &str) -> Result, FromHoaError> { +/// Lexes `input` into tokens with their (byte) spans. +pub(crate) fn lex(input: &str) -> Result, lexer::Span)>, FromHoaError> { let start = std::time::Instant::now(); let tokens = lexer::tokenizer() .parse(input) - .map_err(|error_list| { - build_error_report( - input, - error_list.into_iter().map(|err| err.map(|c| c.to_string())), - ) - }) + .into_result() + .map_err(|errors| build_error_report(input, errors)) .map_err(FromHoaError::LexerError)?; tracing::info!("Tokenization took {}µs", start.elapsed().as_micros()); Ok(tokens) @@ -27,20 +23,16 @@ pub fn from_hoa(value: &str) -> Result { } /// Parses already lexed `tokens` that stem from `input` (used for error reports). -pub(crate) fn parse_tokens( - input: &str, - tokens: Vec<(Token, lexer::Span)>, +pub(crate) fn parse_tokens<'a>( + input: &'a str, + tokens: Vec<(Token<'a>, lexer::Span)>, ) -> Result { - let length = input.chars().count(); let start = std::time::Instant::now(); + let eoi = (input.len()..input.len()).into(); let out = HoaRepresentation::parser() - .parse(Stream::from_iter(length..length + 1, tokens.into_iter())) - .map_err(|error_list| { - build_error_report( - input, - error_list.into_iter().map(|err| err.map(|c| c.to_string())), - ) - }) + .parse(Stream::from_iter(tokens).map(eoi, |(t, s)| (t, s))) + .into_result() + .map_err(|errors| build_error_report(input, errors)) .map_err(FromHoaError::ParserError) .and_then(|aut| aut.validate().map(|()| aut)); tracing::info!("Actual parsing took {}µs", start.elapsed().as_micros()); diff --git a/src/lexer.rs b/src/lexer.rs index b14baa0..7f77769 100644 --- a/src/lexer.rs +++ b/src/lexer.rs @@ -1,14 +1,24 @@ -use chumsky::prelude::*; +use std::borrow::Cow; -pub type Span = std::ops::Range; +use chumsky::{input::ValueInput, prelude::*}; + +/// Byte span in the input. +pub type Span = SimpleSpan; + +/// Error type of all parsers: `Rich` errors over tokens. +pub type Err<'a> = extra::Err, Span>>; + +/// Input of the token parsers: a stream of `Token`s with their `Span`s. +pub trait TokInput<'a>: ValueInput<'a, Token = Token<'a>, Span = Span> {} +impl<'a, I> TokInput<'a> for I where I: ValueInput<'a, Token = Token<'a>, Span = Span> {} #[derive(Clone, Debug, PartialEq, Eq, Hash)] -pub enum Token { - Int(String), - Text(String), - Identifier(String), - Alias(String), - Header(String), +pub enum Token<'a> { + Int(&'a str), + Text(Cow<'a, str>), + Identifier(&'a str), + Alias(&'a str), + Header(&'a str), Op(char), Paren(char), BodyStart, @@ -18,7 +28,7 @@ pub enum Token { Inf, } -impl std::fmt::Display for Token { +impl std::fmt::Display for Token<'_> { fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { match self { Token::Int(n) => write!(f, "{}", n), @@ -37,33 +47,45 @@ impl std::fmt::Display for Token { } } -pub fn tokenizer() -> impl Parser, Error = Simple> { +pub fn tokenizer<'a>() -> impl Parser<'a, &'a str, Vec<(Token<'a>, Span)>, extra::Err>> +{ let int = text::int(10).map(Token::Int); // C-like strings: `\"` and `\\` are decoded, any other escape is kept verbatim - // (backslash included). + // (backslash included). Strings without escapes are borrowed from the input. + let plain = just('"') + .ignore_then(none_of("\"\\").repeated().to_slice()) + .then_ignore(just('"')) + .map(|s: &str| Token::Text(Cow::Borrowed(s))); let escape = just('\\').ignore_then(any().map(|c| match c { '"' | '\\' => c.to_string(), c => format!("\\{c}"), })); - let str_ = just('"') + let escaped = just('"') .ignore_then( escape - .or(filter(|c: &char| *c != '"' && *c != '\\').map(|c| c.to_string())) - .repeated(), + .or(none_of("\"\\").map(|c: char| c.to_string())) + .repeated() + .collect::>(), ) .then_ignore(just('"')) - .map(|parts| Token::Text(parts.concat())); + .map(|parts| Token::Text(Cow::Owned(parts.concat()))); + let str_ = plain.or(escaped); let op = one_of("!|&").map(Token::Op); - let paren = one_of(r#"(){}[]"#).map(Token::Paren); + let paren = one_of("(){}[]").map(Token::Paren); - let raw_ident = filter(|c: &char| c.is_ascii_alphabetic() || *c == '_') - .chain(filter(|c: &char| c.is_ascii_alphanumeric() || *c == '_' || *c == '-').repeated()) - .collect::(); + let raw_ident = any() + .filter(|c: &char| c.is_ascii_alphabetic() || *c == '_') + .then( + any() + .filter(|c: &char| c.is_ascii_alphanumeric() || *c == '_' || *c == '-') + .repeated(), + ) + .to_slice(); - let ident = raw_ident.map(|ident: String| match ident.as_str() { + let ident = raw_ident.map(|ident: &str| match ident { "Fin" => Token::Fin, "Inf" => Token::Inf, _ => Token::Identifier(ident), @@ -71,36 +93,39 @@ pub fn tokenizer() -> impl Parser, Error = Simple // minor versions such as `v1.1`; the only identifiers containing a `.` let version = just('v') - .chain( - filter(|c: &char| c.is_ascii_digit() || *c == '.') + .then( + any() + .filter(|c: &char| c.is_ascii_digit() || *c == '.') .repeated() .at_least(1), ) - .collect::() - .try_map(|v, span| match v.contains('.') { + .to_slice() + .try_map(|v: &str, span| match v.contains('.') { true => Ok(Token::Identifier(v)), - false => Err(Simple::custom(span, "not a dotted version")), + false => Err(Rich::custom(span, "not a dotted version")), }); let alias = just('@').ignore_then(raw_ident).map(Token::Alias); // Spot emits header names such as `spot.state-player`, so `.` is allowed here only. - let header = filter(|c: &char| c.is_ascii_alphabetic() || *c == '_') - .chain( - filter(|c: &char| c.is_ascii_alphanumeric() || matches!(*c, '_' | '-' | '.')) + let header = any() + .filter(|c: &char| c.is_ascii_alphabetic() || *c == '_') + .then( + any() + .filter(|c: &char| c.is_ascii_alphanumeric() || matches!(*c, '_' | '-' | '.')) .repeated(), ) - .collect::() + .to_slice() .then_ignore(just(':')) .map(Token::Header); let body = just("--BODY--").to(Token::BodyStart); - let end = just("--END--").to(Token::BodyEnd); + let end_ = just("--END--").to(Token::BodyEnd); let abort = just("--ABORT--").to(Token::Abort); let token = int .or(abort) - .or(end) + .or(end_) .or(body) .or(header) .or(version) @@ -113,15 +138,20 @@ pub fn tokenizer() -> impl Parser, Error = Simple // comments nest: `/*a/*b*/c*/` is a single comment let comment = recursive(|comment| { just("/*") - .ignore_then(comment.or(just("*/").not().ignored()).repeated()) + .ignore_then( + comment + .or(any().and_is(just("*/").not()).ignored()) + .repeated(), + ) .then_ignore(just("*/")) .ignored() }) .padded(); token - .map_with_span(|tok, span| (tok, span)) + .map_with(|tok, e| (tok, e.span())) .padded_by(comment.repeated()) .padded() .repeated() + .collect() } diff --git a/src/lib.rs b/src/lib.rs index 273bccc..db116c6 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -24,7 +24,7 @@ use ariadne::{Color, Fmt, ReportKind, Source}; use chumsky::prelude::*; pub use format::*; -use chumsky::{Parser, prelude::Simple}; +use chumsky::Parser; pub use format::{ AcceptanceCondition, AcceptanceInfo, AcceptanceName, AcceptanceSignature, AliasName, Property, }; @@ -175,8 +175,7 @@ impl HoaRepresentation { } /// Parses a HOA automaton from a string. - #[allow(clippy::result_large_err)] - pub fn parser() -> impl Parser> { + pub fn parser<'a, I: lexer::TokInput<'a>>() -> impl Parser<'a, I, Self, lexer::Err<'a>> { Header::parser() .then(Body::parser()) .then_ignore(end()) @@ -189,12 +188,12 @@ impl HoaRepresentation { }) .unwrap_or(0); let num_aps = u16::try_from(num_aps) - .map_err(|_| Simple::custom(span.clone(), "too many atomic propositions"))?; + .map_err(|_| Rich::custom(span, "too many atomic propositions"))?; let states = raw_states .into_iter() .map(|s| s.resolve(num_aps)) .collect::, _>>() - .map_err(|e| Simple::custom(span, e))?; + .map_err(|e| Rich::custom(span, e))?; Ok(HoaRepresentation::from_parts(header, states.into())) }) } @@ -512,71 +511,45 @@ fn is_atom(expr: &AbstractLabelExpression) -> bool { ) } -fn build_error_report>>(input: &str, errs: I) -> String { +fn build_error_report<'a, T: std::fmt::Display + 'a>( + input: &str, + errs: impl IntoIterator>, +) -> String { + use chumsky::error::RichReason; errs.into_iter() .map(|e| { - let report = ariadne::Report::build(ReportKind::Error, e.span()); - - let report = match e.reason() { - chumsky::error::SimpleReason::Unexpected => report - .with_message(format!( - "{}, expected {}", - if e.found().is_some() { - "Unexpected token in input" - } else { - "Unexpected end of input" - }, - if e.expected().len() == 0 { - "something else".to_string() - } else { - e.expected() - .map(|expected| match expected { - Some(expected) => expected.to_string(), - None => "end of input".to_string(), - }) - .collect::>() - .join(", ") - } - )) - .with_label( - ariadne::Label::new(e.span()) - .with_message(format!( - "Unexpected token {}", - e.found() - .unwrap_or(&"end of file".to_string()) - .fg(Color::Red) - )) - .with_color(Color::Red), - ), - chumsky::error::SimpleReason::Unclosed { span, delimiter } => report - .with_message(format!( - "Unclosed delimiter {}", - delimiter.fg(Color::Yellow) - )) - .with_label( - ariadne::Label::new(span.clone()) - .with_message(format!( - "Unclosed delimiter {}", - delimiter.fg(Color::Yellow) - )) - .with_color(Color::Yellow), + let span = e.span().into_range(); + let report = ariadne::Report::build(ReportKind::Error, span.clone()).with_config( + ariadne::Config::default().with_index_type(ariadne::IndexType::Byte), + ); + let (message, label) = match e.reason() { + RichReason::Custom(msg) => (msg.clone(), msg.clone()), + _ => { + let found = e.found().map(|t| t.to_string()); + let expected = e.expected().map(|p| p.to_string()).collect::>(); + ( + format!( + "{}, expected {}", + if found.is_some() { + "Unexpected token in input" + } else { + "Unexpected end of input" + }, + if expected.is_empty() { + "something else".to_string() + } else { + expected.join(", ") + } + ), + format!("Unexpected token {}", found.unwrap_or("end of file".into())), ) - .with_label( - ariadne::Label::new(e.span()) - .with_message(format!( - "Must be closed before this {}", - e.found() - .unwrap_or(&"end of file".to_string()) - .fg(Color::Red) - )) - .with_color(Color::Red), - ), - chumsky::error::SimpleReason::Custom(msg) => report.with_message(msg).with_label( - ariadne::Label::new(e.span()) - .with_message(format!("{}", msg.fg(Color::Red))) - .with_color(Color::Red), - ), + } }; + let report = report.with_message(message).with_label( + ariadne::Label::new(span) + .with_message(label.fg(Color::Red)) + .with_color(Color::Red), + ); let mut report_output = Vec::new(); report @@ -592,14 +565,17 @@ fn build_error_report>>(input: &str, errs: I) } #[cfg(test)] -fn print_error_report>>(input: &str, errs: I) { +fn print_error_report<'a, T: std::fmt::Display + 'a>( + input: &str, + errs: impl IntoIterator>, +) { tracing::error!("{}", build_error_report(input, errs)) } /// Splits a token stream into automata: each returned chunk ends with a `--END--`, a /// trailing chunk without `--END--` is returned last. An `--ABORT--` discards everything /// since the previous boundary. -fn split_automata(tokens: Vec<(Token, lexer::Span)>) -> Vec> { +fn split_automata(tokens: Vec<(Token<'_>, lexer::Span)>) -> Vec, lexer::Span)>> { let mut chunks = Vec::new(); let mut current = Vec::new(); for (token, span) in tokens { @@ -633,13 +609,7 @@ pub fn first_automaton_split_position(input: &str) -> Option { .pop()? .1 .end; - // spans count characters, the result is a byte index - Some( - input - .char_indices() - .nth(end) - .map_or(input.len(), |(i, _)| i), - ) + Some(end) } /// Parses all automata in `input`. Automata that are aborted or that fail to parse are diff --git a/src/output.rs b/src/output.rs index 84b5597..2571430 100644 --- a/src/output.rs +++ b/src/output.rs @@ -268,12 +268,19 @@ mod tests { #[test] fn round_trip_fixture_files() { let mut seen = 0; - for entry in std::fs::read_dir("hoa").expect("hoa/ must exist") { - let path = entry.unwrap().path(); - let contents = std::fs::read_to_string(&path).unwrap(); - for aut in crate::parse_hoa_automata(&contents) { - round_trip(&aut); - seen += 1; + let mut dirs = vec![std::path::PathBuf::from("hoa")]; + while let Some(dir) = dirs.pop() { + for entry in std::fs::read_dir(&dir).expect("hoa/ must exist") { + let path = entry.unwrap().path(); + if path.is_dir() { + dirs.push(path); + continue; + } + let contents = std::fs::read_to_string(&path).unwrap(); + for aut in crate::parse_hoa_automata(&contents) { + round_trip(&aut); + seen += 1; + } } } assert!(seen > 0, "no automata were parsed from hoa/"); diff --git a/src/value.rs b/src/value.rs index e2315eb..e4ca057 100644 --- a/src/value.rs +++ b/src/value.rs @@ -3,84 +3,83 @@ use chumsky::{prelude::*, select}; use crate::{ AbstractLabelExpression, AcceptanceAtom, AcceptanceCondition, AcceptanceInfo, AcceptanceSignature, HoaBool, Id, StateConjunction, Token, + lexer::{Err, TokInput}, }; #[allow(unused)] -#[allow(clippy::result_large_err)] -pub fn header() -> impl Parser> + Clone { +pub fn header<'a, I: TokInput<'a>>() -> impl Parser<'a, I, String, Err<'a>> + Clone { select! { - Token::Header(hdr) => hdr, + Token::Header(hdr) => hdr.to_string(), } } -#[allow(clippy::result_large_err)] -pub fn boolean() -> impl Parser> + Clone { +pub fn boolean<'a, I: TokInput<'a>>() -> impl Parser<'a, I, bool, Err<'a>> + Clone { select! { - Token::Identifier(id) if id == *"t" => true, - Token::Identifier(id) if id == *"f" => false, + Token::Identifier("t") => true, + Token::Identifier("f") => false, } } -#[allow(clippy::result_large_err)] -pub fn integer() -> impl Parser> + Clone { +pub fn integer<'a, I: TokInput<'a>>() -> impl Parser<'a, I, Id, Err<'a>> + Clone { select! { Token::Int(n) => n, } - .try_map(|n, span| { + .try_map(|n: &str, span| { n.parse::() - .map_err(|_| Simple::custom(span, "integer out of range")) + .map_err(|_| Rich::custom(span, "integer out of range")) }) } -#[allow(clippy::result_large_err)] -pub fn text() -> impl Parser> + Clone { +pub fn text<'a, I: TokInput<'a>>() -> impl Parser<'a, I, String, Err<'a>> + Clone { select! { - Token::Text(txt) => txt, + Token::Text(txt) => txt.into_owned(), } } -#[allow(clippy::result_large_err)] -pub fn identifier() -> impl Parser> + Clone { - select! { Token::Identifier(ident) => ident } +pub fn identifier<'a, I: TokInput<'a>>() -> impl Parser<'a, I, String, Err<'a>> + Clone { + select! { Token::Identifier(ident) => ident.to_string() } } -#[allow(clippy::result_large_err)] -pub fn alias_name() -> impl Parser> + Clone { - select! { Token::Alias(aname) => aname } +pub fn alias_name<'a, I: TokInput<'a>>() -> impl Parser<'a, I, String, Err<'a>> + Clone { + select! { Token::Alias(aname) => aname.to_string() } } -pub fn state_conjunction() -> impl Parser> { +pub fn state_conjunction<'a, I: TokInput<'a>>() +-> impl Parser<'a, I, StateConjunction, Err<'a>> + Clone { integer() .separated_by(just(Token::Op('&'))) .at_least(1) + .collect() .map(StateConjunction) } -pub fn acceptance_signature() -> impl Parser> { +pub fn acceptance_signature<'a, I: TokInput<'a>>() +-> impl Parser<'a, I, AcceptanceSignature, Err<'a>> + Clone { integer() .repeated() + .collect() .delimited_by(just(Token::Paren('{')), just(Token::Paren('}'))) .map(AcceptanceSignature) } -#[allow(clippy::result_large_err)] -pub fn acceptance_info() -> impl Parser> { +pub fn acceptance_info<'a, I: TokInput<'a>>() +-> impl Parser<'a, I, AcceptanceInfo, Err<'a>> + Clone { identifier() .map(AcceptanceInfo::Identifier) .or(integer().map(AcceptanceInfo::Int)) } -/// Parses an atomic proposition identifier in a label expression. -#[allow(clippy::result_large_err)] -fn ap_index() -> impl Parser> + Clone { +fn ap_index<'a, I: TokInput<'a>>() +-> impl Parser<'a, I, AbstractLabelExpression, Err<'a>> + Clone { integer().try_map(|i, span| { u16::try_from(i) .map(AbstractLabelExpression::Integer) - .map_err(|_| Simple::custom(span, "AP identifier out of range")) + .map_err(|_| Rich::custom(span, "AP identifier out of range")) }) } -pub fn label_expression() -> impl Parser> { +pub fn label_expression<'a, I: TokInput<'a>>() +-> impl Parser<'a, I, AbstractLabelExpression, Err<'a>> + Clone { recursive(|label_expression| { let value = boolean() .map(AbstractLabelExpression::Boolean) @@ -102,36 +101,27 @@ pub fn label_expression() -> impl Parser panic!("we do not expect this to happen..."), - 1 => acc.into_iter().next().unwrap(), + .separated_by(just(Token::Op('&'))) + .at_least(1) + .collect::>() + .map(|mut acc| match acc.len() { + 1 => acc.remove(0), _ => AbstractLabelExpression::Conjunction(acc), }); conjunction - .clone() - .map(|conj| vec![conj]) - .then(just(Token::Op('|')).then(conjunction).repeated()) - .foldl(|mut acc, (_tok, rhs)| { - acc.push(rhs); - acc - }) - .map(|acc| match acc.len() { - 0 => panic!("it seems we need to deal with the case where this is empty"), - 1 => acc.into_iter().next().unwrap(), + .separated_by(just(Token::Op('|'))) + .at_least(1) + .collect::>() + .map(|mut acc| match acc.len() { + 1 => acc.remove(0), _ => AbstractLabelExpression::Disjunction(acc), }) }) } -pub fn acceptance_condition() -> impl Parser> { +pub fn acceptance_condition<'a, I: TokInput<'a>>() +-> impl Parser<'a, I, AcceptanceCondition, Err<'a>> + Clone { recursive(|acceptance_condition| { let atom_value = just(Token::Op('!')) .or_not() @@ -150,32 +140,27 @@ pub fn acceptance_condition() -> impl Parser _) + .then(atom) + .repeated(), + |lhs, (f, rhs)| f(Box::new(lhs), Box::new(rhs)), + ); + + conjunction.clone().foldl( + just(Token::Op('|')) + .to(AcceptanceCondition::Or as fn(_, _) -> _) + .then(conjunction) + .repeated(), + |lhs, (f, rhs)| f(Box::new(lhs), Box::new(rhs)), + ) }) } From 58792a7b56caeaa5c673f5ca50cf4de146c4a80d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Le=C3=B3n=20Bohn?= Date: Thu, 5 Nov 2026 16:24:19 +0100 Subject: [PATCH 3/7] Lexer: single-character tokens first, Cheap errors (profile-driven) --- BENCHMARKS.md | 25 +++++++++++++++++++++++++ src/body.rs | 14 +++++++++----- src/header.rs | 8 ++++++-- src/input.rs | 16 +++++++++++++++- src/lexer.rs | 18 ++++++++++-------- src/lib.rs | 5 ++--- src/value.rs | 20 ++++++++++---------- 7 files changed, 77 insertions(+), 29 deletions(-) diff --git a/BENCHMARKS.md b/BENCHMARKS.md index 98de541..e1360c5 100644 --- a/BENCHMARKS.md +++ b/BENCHMARKS.md @@ -50,3 +50,28 @@ These match the numbers in REFACTOR.md P2 (9.9 s, 1.18 s). Wall clock parse: 1k 16.97 ms (3.74 MiB/s), 10k 171.6 ms (3.97 MiB/s), **200k (15 MB) 3.82 s** (3.95 MiB/s) against 10.63 s before (2.8×). The ≥ 10× target of issue 11 is not reached by this step alone. + +## Issue 11, step 2: cheaper lexer (profile-driven) + +Callgrind on a 2000-state input (336M instructions after step 1) showed lexing at 78 %, parsing at 19 %. +About 22 % of the total was chumsky's tracking of expected tokens (`add_alt`, `RichPattern::slice_contains`, +allocations) for failed alternatives in the lexer, even though no error ever happens. Two changes: + +1. Single-character tokens (`op`, `paren`) are tried first in the `token` choice (336M → 249M). +2. The lexer uses `Cheap` errors instead of `Rich`; `input::lex` rebuilds a message that names the + offending character (249M → 127M, lexing 263M → 54M). + +Trying to avoid the `Vec` per label conjunction/disjunction gained < 2 % and was dropped. + +| Benchmark | Instructions | vs. baseline | +|---|---:|---:| +| parse_generated 250 | 15,503,980 | −85.0 % (6.7×) | +| parse_generated 1000 | 62,334,367 | −84.9 % (6.6×) | +| parse_generated 4000 | 245,841,778 | −85.1 % (6.7×) | +| parse_fixtures ltl | 34,725,034 | −86.0 % (7.1×) | +| parse_fixtures synthetic | 47,721,647 | −85.5 % (6.9×) | +| parse_fixtures spot | 170,116,507 | −85.9 % (7.1×) | + +Wall clock parse: 1k 5.9 ms (10.7 MiB/s), 10k 68 ms (10.0 MiB/s), **200k (15 MB) 1.77 s** (8.5 MiB/s), 6.0× faster +than the 10.63 s baseline. Remaining: parsing is now about half of the time (the token `Vec`, `Rich` tracking in +the token parsers, per-edge allocations). diff --git a/src/body.rs b/src/body.rs index 5f1e929..180da36 100644 --- a/src/body.rs +++ b/src/body.rs @@ -4,7 +4,9 @@ use chumsky::prelude::*; use crate::{ AbstractLabelExpression, AcceptanceSignature, AtomicProposition, Id, Label, LabelExpression, - StateConjunction, lexer::{Err, TokInput, Token}, value, + StateConjunction, + lexer::{Err, TokInput, Token}, + value, }; #[derive(Debug, Clone, PartialEq, Eq, Hash)] @@ -269,12 +271,14 @@ impl DerefMut for Body { #[cfg(test)] mod tests { - use chumsky::{Parser, input::Stream, prelude::{Input, end}}; - - use crate::{ - AbstractLabelExpression, Edge, Label, StateConjunction, label::AnonymousAbstract, + use chumsky::{ + Parser, + input::Stream, + prelude::{Input, end}, }; + use crate::{AbstractLabelExpression, Edge, Label, StateConjunction, label::AnonymousAbstract}; + use super::State; pub fn in_tags(input: &str) -> String { diff --git a/src/header.rs b/src/header.rs index 7d8d1e2..d9566af 100644 --- a/src/header.rs +++ b/src/header.rs @@ -5,8 +5,8 @@ use chumsky::{prelude::*, select}; use crate::{ AbstractLabelExpression, AcceptanceCondition, AcceptanceInfo, AcceptanceName, AliasName, Id, Property, Token, - lexer::{Err, TokInput}, format::{AtomicProposition, StateConjunction}, + lexer::{Err, TokInput}, value, }; @@ -97,7 +97,11 @@ fn item<'a, I: TokInput<'a>>() -> impl Parser<'a, I, HeaderItem, Err<'a>> { .map(|(name, info)| HeaderItem::AcceptanceName(name, info)); let start = just(Token::Header("Start")) - .ignore_then(value::integer().separated_by(just(Token::Op('&'))).collect()) + .ignore_then( + value::integer() + .separated_by(just(Token::Op('&'))) + .collect(), + ) .map(|conjunction| HeaderItem::Start(StateConjunction(conjunction))); let aps = just(Token::Header("AP")) diff --git a/src/input.rs b/src/input.rs index 4ad0fa8..1bc5e03 100644 --- a/src/input.rs +++ b/src/input.rs @@ -8,7 +8,21 @@ pub(crate) fn lex(input: &str) -> Result, lexer::Span)>, FromHoaE let tokens = lexer::tokenizer() .parse(input) .into_result() - .map_err(|errors| build_error_report(input, errors)) + .map_err(|errors| { + build_error_report::( + input, + errors.into_iter().map(|e| { + let found = input[e.span().start..].chars().next(); + chumsky::error::Rich::custom( + *e.span(), + match found { + Some(c) => format!("unexpected character {c:?}"), + None => "unexpected end of input".to_string(), + }, + ) + }), + ) + }) .map_err(FromHoaError::LexerError)?; tracing::info!("Tokenization took {}µs", start.elapsed().as_micros()); Ok(tokens) diff --git a/src/lexer.rs b/src/lexer.rs index 7f77769..96ddd5e 100644 --- a/src/lexer.rs +++ b/src/lexer.rs @@ -47,7 +47,9 @@ impl std::fmt::Display for Token<'_> { } } -pub fn tokenizer<'a>() -> impl Parser<'a, &'a str, Vec<(Token<'a>, Span)>, extra::Err>> +/// Lexer. Its error type is `Cheap` on purpose: tracking what was expected at every failed +/// alternative made lexing 4-5x slower, and `input::lex` reports the offending character itself. +pub fn tokenizer<'a>() -> impl Parser<'a, &'a str, Vec<(Token<'a>, Span)>, extra::Err>> { let int = text::int(10).map(Token::Int); @@ -100,10 +102,8 @@ pub fn tokenizer<'a>() -> impl Parser<'a, &'a str, Vec<(Token<'a>, Span)>, extra .at_least(1), ) .to_slice() - .try_map(|v: &str, span| match v.contains('.') { - true => Ok(Token::Identifier(v)), - false => Err(Rich::custom(span, "not a dotted version")), - }); + .filter(|v: &&str| v.contains('.')) + .map(Token::Identifier); let alias = just('@').ignore_then(raw_ident).map(Token::Alias); @@ -123,15 +123,17 @@ pub fn tokenizer<'a>() -> impl Parser<'a, &'a str, Vec<(Token<'a>, Span)>, extra let end_ = just("--END--").to(Token::BodyEnd); let abort = just("--ABORT--").to(Token::Abort); - let token = int + // first characters of the alternatives are disjoint except for header, version, ident + // (tried in that order), so the cheap single-character tokens come first + let token = op + .or(paren) + .or(int) .or(abort) .or(end_) .or(body) .or(header) .or(version) .or(str_) - .or(op) - .or(paren) .or(alias) .or(ident); diff --git a/src/lib.rs b/src/lib.rs index db116c6..021365c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -519,9 +519,8 @@ fn build_error_report<'a, T: std::fmt::Display + 'a>( errs.into_iter() .map(|e| { let span = e.span().into_range(); - let report = ariadne::Report::build(ReportKind::Error, span.clone()).with_config( - ariadne::Config::default().with_index_type(ariadne::IndexType::Byte), - ); + let report = ariadne::Report::build(ReportKind::Error, span.clone()) + .with_config(ariadne::Config::default().with_index_type(ariadne::IndexType::Byte)); let (message, label) = match e.reason() { RichReason::Custom(msg) => (msg.clone(), msg.clone()), _ => { diff --git a/src/value.rs b/src/value.rs index e4ca057..898fbf8 100644 --- a/src/value.rs +++ b/src/value.rs @@ -62,15 +62,14 @@ pub fn acceptance_signature<'a, I: TokInput<'a>>() .map(AcceptanceSignature) } -pub fn acceptance_info<'a, I: TokInput<'a>>() --> impl Parser<'a, I, AcceptanceInfo, Err<'a>> + Clone { +pub fn acceptance_info<'a, I: TokInput<'a>>() -> impl Parser<'a, I, AcceptanceInfo, Err<'a>> + Clone +{ identifier() .map(AcceptanceInfo::Identifier) .or(integer().map(AcceptanceInfo::Int)) } -fn ap_index<'a, I: TokInput<'a>>() --> impl Parser<'a, I, AbstractLabelExpression, Err<'a>> + Clone { +fn ap_index<'a, I: TokInput<'a>>() -> impl Parser<'a, I, AbstractLabelExpression, Err<'a>> + Clone { integer().try_map(|i, span| { u16::try_from(i) .map(AbstractLabelExpression::Integer) @@ -140,12 +139,13 @@ pub fn acceptance_condition<'a, I: TokInput<'a>>() .then(atom_value.delimited_by(just(Token::Paren('(')), just(Token::Paren(')')))) .map(|(f, atom)| f(atom)); - let atom = boolean() - .map(HoaBool) - .map(AcceptanceCondition::Boolean) - .or(fin_inf_atom) - .or(acceptance_condition - .delimited_by(just(Token::Paren('(')), just(Token::Paren(')')))); + let atom = + boolean() + .map(HoaBool) + .map(AcceptanceCondition::Boolean) + .or(fin_inf_atom) + .or(acceptance_condition + .delimited_by(just(Token::Paren('(')), just(Token::Paren(')')))); let conjunction = atom.clone().foldl( just(Token::Op('&')) From 4efd353a3d1736418e9fc3e93976984064e4f610 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Le=C3=B3n=20Bohn?= Date: Fri, 6 Nov 2026 11:53:34 +0100 Subject: [PATCH 4/7] Parse with EmptyErr first and re-parse with Rich only on failure; choice for token alternatives --- BENCHMARKS.md | 21 +++++++++++++++++++++ src/body.rs | 15 +++++++++------ src/header.rs | 11 ++++++----- src/input.rs | 24 ++++++++++++++++++------ src/lexer.rs | 37 +++++++++++++++++++++++-------------- src/lib.rs | 7 ++++--- src/value.rs | 47 +++++++++++++++++++++++++++-------------------- 7 files changed, 108 insertions(+), 54 deletions(-) diff --git a/BENCHMARKS.md b/BENCHMARKS.md index e1360c5..d4abdc7 100644 --- a/BENCHMARKS.md +++ b/BENCHMARKS.md @@ -75,3 +75,24 @@ Trying to avoid the `Vec` per label conjunction/disjunction gained < 2 % and was Wall clock parse: 1k 5.9 ms (10.7 MiB/s), 10k 68 ms (10.0 MiB/s), **200k (15 MB) 1.77 s** (8.5 MiB/s), 6.0× faster than the 10.63 s baseline. Remaining: parsing is now about half of the time (the token `Vec`, `Rich` tracking in the token parsers, per-edge allocations). + +## Issue 11, step 3: cheap errors first, `choice` for the token alternatives + +- All token parsers are generic over the error type (`HoaErr`). `from_hoa` parses with `EmptyErr` first and + only re-parses with `Rich` if that fails, so diagnostics are unchanged. (Parse stage on the 2000-state probe: + 64M → 47M instructions.) +- The lexer's `.or` chain became `choice((...))`: no measurable effect (+1 %, within what reordering costs), kept for + readability as chumsky's docs recommend. +- `EmptyErr` instead of `Cheap` in the lexer would save another ~4 % but needs a second lexing pass for the error + position; not done. + +| Benchmark | Instructions | vs. baseline | +|---|---:|---:| +| parse_generated 250 | 13,464,754 | −87.0 % (7.7×) | +| parse_generated 1000 | 54,215,079 | −86.9 % (7.6×) | +| parse_generated 4000 | 213,403,011 | −87.1 % (7.8×) | +| parse_fixtures ltl | 31,136,007 | −87.5 % (8.0×) | +| parse_fixtures synthetic | 42,292,980 | −87.2 % (7.8×) | +| parse_fixtures spot | 150,453,265 | −87.5 % (8.0×) | + +Wall clock parse: 1k 5.1 ms (12.4 MiB/s), 10k 54.9 ms, **200k (15 MB) 1.51 s** (10.0 MiB/s), 7.1× faster than 10.63 s. diff --git a/src/body.rs b/src/body.rs index 180da36..4677838 100644 --- a/src/body.rs +++ b/src/body.rs @@ -5,7 +5,7 @@ use chumsky::prelude::*; use crate::{ AbstractLabelExpression, AcceptanceSignature, AtomicProposition, Id, Label, LabelExpression, StateConjunction, - lexer::{Err, TokInput, Token}, + lexer::{HoaErr, TokInput, Token}, value, }; @@ -185,7 +185,8 @@ fn implicit_label(i: usize, num_aps: u16) -> Label { })) } -pub fn label<'a, I: TokInput<'a>>() -> impl Parser<'a, I, Label, Err<'a>> + Clone { +pub fn label<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() +-> impl Parser<'a, I, Label, extra::Err> + Clone { just(Token::Paren('[')) .ignore_then(value::label_expression()) .then_ignore(just(Token::Paren(']'))) @@ -193,7 +194,7 @@ pub fn label<'a, I: TokInput<'a>>() -> impl Parser<'a, I, Label, Err<'a>> + Clon .map(Label) } -fn edge<'a, I: TokInput<'a>>() -> impl Parser<'a, I, RawEdge, Err<'a>> { +fn edge<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() -> impl Parser<'a, I, RawEdge, extra::Err> { label() .or_not() .then(value::state_conjunction()) @@ -203,7 +204,8 @@ fn edge<'a, I: TokInput<'a>>() -> impl Parser<'a, I, RawEdge, Err<'a>> { }) } -pub(crate) fn state<'a, I: TokInput<'a>>() -> impl Parser<'a, I, RawState, Err<'a>> { +pub(crate) fn state<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() +-> impl Parser<'a, I, RawState, extra::Err> { just(Token::Header("State")) .ignore_then( label() @@ -242,7 +244,8 @@ impl Body { Self(Vec::new()) } - pub(crate) fn parser<'a, I: TokInput<'a>>() -> impl Parser<'a, I, Vec, Err<'a>> { + pub(crate) fn parser<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() + -> impl Parser<'a, I, Vec, extra::Err> { just(Token::BodyStart) .ignore_then(state().repeated().collect()) .then_ignore(just(Token::BodyEnd)) @@ -291,7 +294,7 @@ mod tests { let tokens = crate::input::lex(input).map_err(|e| tracing::error!("{e}"))?; let eoi = (input.len()..input.len()).into(); - let ast = Body::parser() + let ast = Body::parser::<_, chumsky::error::Rich>() .then_ignore(end()) .parse(Stream::from_iter(tokens).map(eoi, |(t, s)| (t, s))) .into_result() diff --git a/src/header.rs b/src/header.rs index d9566af..1dd146a 100644 --- a/src/header.rs +++ b/src/header.rs @@ -6,7 +6,7 @@ use crate::{ AbstractLabelExpression, AcceptanceCondition, AcceptanceInfo, AcceptanceName, AliasName, Id, Property, Token, format::{AtomicProposition, StateConjunction}, - lexer::{Err, TokInput}, + lexer::{HoaErr, TokInput}, value, }; @@ -85,7 +85,7 @@ impl HeaderItem { } } -fn item<'a, I: TokInput<'a>>() -> impl Parser<'a, I, HeaderItem, Err<'a>> { +fn item<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() -> impl Parser<'a, I, HeaderItem, extra::Err> { let states = just(Token::Header("States")) .ignore_then(value::integer()) .map(HeaderItem::States); @@ -111,7 +111,7 @@ fn item<'a, I: TokInput<'a>>() -> impl Parser<'a, I, HeaderItem, Err<'a>> { if (num as usize) == prop_labels.len() { Ok(HeaderItem::AP(prop_labels)) } else { - Err(Rich::custom( + Err(X::custom( span, format!("Expected {} aps but got {}", num, prop_labels.len()), )) @@ -211,7 +211,8 @@ impl<'a> IntoIterator for &'a Header { impl Header { /// Construts a new header parser. - pub fn parser<'a, I: TokInput<'a>>() -> impl Parser<'a, I, Self, Err<'a>> { + pub fn parser<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() -> impl Parser<'a, I, Self, extra::Err> + { let version = just(Token::Header("HOA")) .ignore_then(value::identifier()) .map(HeaderItem::Version); @@ -268,7 +269,7 @@ mod tests { let with_hoa = format!("HOA: v1\n{}", input); let tokens = crate::input::lex(&with_hoa).map_err(|e| e.to_string())?; let eoi = (with_hoa.len()..with_hoa.len()).into(); - Header::parser() + Header::parser::<_, chumsky::error::Rich>() .then_ignore(end()) .parse(Stream::from_iter(tokens).map(eoi, |(t, s)| (t, s))) .into_result() diff --git a/src/input.rs b/src/input.rs index 1bc5e03..3b42e91 100644 --- a/src/input.rs +++ b/src/input.rs @@ -42,13 +42,25 @@ pub(crate) fn parse_tokens<'a>( tokens: Vec<(Token<'a>, lexer::Span)>, ) -> Result { let start = std::time::Instant::now(); - let eoi = (input.len()..input.len()).into(); - let out = HoaRepresentation::parser() - .parse(Stream::from_iter(tokens).map(eoi, |(t, s)| (t, s))) + let eoi: lexer::Span = (input.len()..input.len()).into(); + let stream = || Stream::from_iter(tokens.iter().cloned()).map(eoi, |(t, s)| (t, s)); + // First attempt without error tracking (much faster); only if it fails, parse again with + // `Rich` errors to produce the diagnostics. + let out = match HoaRepresentation::parser::<_, chumsky::error::EmptyErr>() + .parse(stream()) .into_result() - .map_err(|errors| build_error_report(input, errors)) - .map_err(FromHoaError::ParserError) - .and_then(|aut| aut.validate().map(|()| aut)); + { + Ok(aut) => aut.validate().map(|()| aut), + Err(_) => Err(FromHoaError::ParserError( + match HoaRepresentation::parser::<_, chumsky::error::Rich>() + .parse(stream()) + .into_result() + { + Err(errors) => build_error_report(input, errors), + Ok(_) => "parsing failed".to_string(), + }, + )), + }; tracing::info!("Actual parsing took {}µs", start.elapsed().as_micros()); out } diff --git a/src/lexer.rs b/src/lexer.rs index 96ddd5e..b1afc1d 100644 --- a/src/lexer.rs +++ b/src/lexer.rs @@ -5,13 +5,30 @@ use chumsky::{input::ValueInput, prelude::*}; /// Byte span in the input. pub type Span = SimpleSpan; -/// Error type of all parsers: `Rich` errors over tokens. -pub type Err<'a> = extra::Err, Span>>; - /// Input of the token parsers: a stream of `Token`s with their `Span`s. pub trait TokInput<'a>: ValueInput<'a, Token = Token<'a>, Span = Span> {} impl<'a, I> TokInput<'a> for I where I: ValueInput<'a, Token = Token<'a>, Span = Span> {} +/// Error types the token parsers can run with: `EmptyErr` (fast, no information) for the +/// first attempt and `Rich` to produce diagnostics when that attempt failed. +pub trait HoaErr<'a, I: TokInput<'a>>: + 'a + + chumsky::error::Error<'a, I> + + chumsky::error::LabelError<'a, I, chumsky::util::MaybeRef<'a, Token<'a>>> +{ + fn custom(span: Span, msg: String) -> Self; +} +impl<'a, I: TokInput<'a>> HoaErr<'a, I> for chumsky::error::EmptyErr { + fn custom(_: Span, _: String) -> Self { + chumsky::error::EmptyErr::default() + } +} +impl<'a, I: TokInput<'a>> HoaErr<'a, I> for Rich<'a, Token<'a>, Span> { + fn custom(span: Span, msg: String) -> Self { + Rich::custom(span, msg) + } +} + #[derive(Clone, Debug, PartialEq, Eq, Hash)] pub enum Token<'a> { Int(&'a str), @@ -125,17 +142,9 @@ pub fn tokenizer<'a>() -> impl Parser<'a, &'a str, Vec<(Token<'a>, Span)>, extra // first characters of the alternatives are disjoint except for header, version, ident // (tried in that order), so the cheap single-character tokens come first - let token = op - .or(paren) - .or(int) - .or(abort) - .or(end_) - .or(body) - .or(header) - .or(version) - .or(str_) - .or(alias) - .or(ident); + let token = choice(( + op, paren, int, abort, end_, body, header, version, str_, alias, ident, + )); // comments nest: `/*a/*b*/c*/` is a single comment let comment = recursive(|comment| { diff --git a/src/lib.rs b/src/lib.rs index 021365c..0f97709 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -175,7 +175,8 @@ impl HoaRepresentation { } /// Parses a HOA automaton from a string. - pub fn parser<'a, I: lexer::TokInput<'a>>() -> impl Parser<'a, I, Self, lexer::Err<'a>> { + pub fn parser<'a, I: lexer::TokInput<'a>, X: lexer::HoaErr<'a, I>>() + -> impl Parser<'a, I, Self, chumsky::extra::Err> { Header::parser() .then(Body::parser()) .then_ignore(end()) @@ -188,12 +189,12 @@ impl HoaRepresentation { }) .unwrap_or(0); let num_aps = u16::try_from(num_aps) - .map_err(|_| Rich::custom(span, "too many atomic propositions"))?; + .map_err(|_| X::custom(span, "too many atomic propositions".to_string()))?; let states = raw_states .into_iter() .map(|s| s.resolve(num_aps)) .collect::, _>>() - .map_err(|e| Rich::custom(span, e))?; + .map_err(|e| X::custom(span, e))?; Ok(HoaRepresentation::from_parts(header, states.into())) }) } diff --git a/src/value.rs b/src/value.rs index 898fbf8..ad11dba 100644 --- a/src/value.rs +++ b/src/value.rs @@ -3,49 +3,55 @@ use chumsky::{prelude::*, select}; use crate::{ AbstractLabelExpression, AcceptanceAtom, AcceptanceCondition, AcceptanceInfo, AcceptanceSignature, HoaBool, Id, StateConjunction, Token, - lexer::{Err, TokInput}, + lexer::{HoaErr, TokInput}, }; #[allow(unused)] -pub fn header<'a, I: TokInput<'a>>() -> impl Parser<'a, I, String, Err<'a>> + Clone { +pub fn header<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() +-> impl Parser<'a, I, String, extra::Err> + Clone { select! { Token::Header(hdr) => hdr.to_string(), } } -pub fn boolean<'a, I: TokInput<'a>>() -> impl Parser<'a, I, bool, Err<'a>> + Clone { +pub fn boolean<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() +-> impl Parser<'a, I, bool, extra::Err> + Clone { select! { Token::Identifier("t") => true, Token::Identifier("f") => false, } } -pub fn integer<'a, I: TokInput<'a>>() -> impl Parser<'a, I, Id, Err<'a>> + Clone { +pub fn integer<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() +-> impl Parser<'a, I, Id, extra::Err> + Clone { select! { Token::Int(n) => n, } .try_map(|n: &str, span| { n.parse::() - .map_err(|_| Rich::custom(span, "integer out of range")) + .map_err(|_| X::custom(span, "integer out of range".to_string())) }) } -pub fn text<'a, I: TokInput<'a>>() -> impl Parser<'a, I, String, Err<'a>> + Clone { +pub fn text<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() +-> impl Parser<'a, I, String, extra::Err> + Clone { select! { Token::Text(txt) => txt.into_owned(), } } -pub fn identifier<'a, I: TokInput<'a>>() -> impl Parser<'a, I, String, Err<'a>> + Clone { +pub fn identifier<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() +-> impl Parser<'a, I, String, extra::Err> + Clone { select! { Token::Identifier(ident) => ident.to_string() } } -pub fn alias_name<'a, I: TokInput<'a>>() -> impl Parser<'a, I, String, Err<'a>> + Clone { +pub fn alias_name<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() +-> impl Parser<'a, I, String, extra::Err> + Clone { select! { Token::Alias(aname) => aname.to_string() } } -pub fn state_conjunction<'a, I: TokInput<'a>>() --> impl Parser<'a, I, StateConjunction, Err<'a>> + Clone { +pub fn state_conjunction<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() +-> impl Parser<'a, I, StateConjunction, extra::Err> + Clone { integer() .separated_by(just(Token::Op('&'))) .at_least(1) @@ -53,8 +59,8 @@ pub fn state_conjunction<'a, I: TokInput<'a>>() .map(StateConjunction) } -pub fn acceptance_signature<'a, I: TokInput<'a>>() --> impl Parser<'a, I, AcceptanceSignature, Err<'a>> + Clone { +pub fn acceptance_signature<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() +-> impl Parser<'a, I, AcceptanceSignature, extra::Err> + Clone { integer() .repeated() .collect() @@ -62,23 +68,24 @@ pub fn acceptance_signature<'a, I: TokInput<'a>>() .map(AcceptanceSignature) } -pub fn acceptance_info<'a, I: TokInput<'a>>() -> impl Parser<'a, I, AcceptanceInfo, Err<'a>> + Clone -{ +pub fn acceptance_info<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() +-> impl Parser<'a, I, AcceptanceInfo, extra::Err> + Clone { identifier() .map(AcceptanceInfo::Identifier) .or(integer().map(AcceptanceInfo::Int)) } -fn ap_index<'a, I: TokInput<'a>>() -> impl Parser<'a, I, AbstractLabelExpression, Err<'a>> + Clone { +fn ap_index<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() +-> impl Parser<'a, I, AbstractLabelExpression, extra::Err> + Clone { integer().try_map(|i, span| { u16::try_from(i) .map(AbstractLabelExpression::Integer) - .map_err(|_| Rich::custom(span, "AP identifier out of range")) + .map_err(|_| X::custom(span, "AP identifier out of range".to_string())) }) } -pub fn label_expression<'a, I: TokInput<'a>>() --> impl Parser<'a, I, AbstractLabelExpression, Err<'a>> + Clone { +pub fn label_expression<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() +-> impl Parser<'a, I, AbstractLabelExpression, extra::Err> + Clone { recursive(|label_expression| { let value = boolean() .map(AbstractLabelExpression::Boolean) @@ -119,8 +126,8 @@ pub fn label_expression<'a, I: TokInput<'a>>() }) } -pub fn acceptance_condition<'a, I: TokInput<'a>>() --> impl Parser<'a, I, AcceptanceCondition, Err<'a>> + Clone { +pub fn acceptance_condition<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() +-> impl Parser<'a, I, AcceptanceCondition, extra::Err> + Clone { recursive(|acceptance_condition| { let atom_value = just(Token::Op('!')) .or_not() From 80615b740d236b2fffcb3b7dbe6749c0f8d66434 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Le=C3=B3n=20Bohn?= Date: Fri, 6 Nov 2026 14:27:42 +0100 Subject: [PATCH 5/7] Fuse lexing and parsing: parse directly on &str --- BENCHMARKS.md | 19 ++++ src/body.rs | 38 +++---- src/header.rs | 63 +++++------ src/input.rs | 54 +++++----- src/lexer.rs | 26 +---- src/lib.rs | 11 +- src/value.rs | 291 ++++++++++++++++++++++++++++++++++++-------------- 7 files changed, 307 insertions(+), 195 deletions(-) diff --git a/BENCHMARKS.md b/BENCHMARKS.md index d4abdc7..761eca0 100644 --- a/BENCHMARKS.md +++ b/BENCHMARKS.md @@ -96,3 +96,22 @@ the token parsers, per-edge allocations). | parse_fixtures spot | 150,453,265 | −87.5 % (8.0×) | Wall clock parse: 1k 5.1 ms (12.4 MiB/s), 10k 54.9 ms, **200k (15 MB) 1.51 s** (10.0 MiB/s), 7.1× faster than 10.63 s. + +## Issue 11, step 4: lexing and parsing fused + +The grammar now runs directly on `&str`: each token parser consumes the layout (whitespace, nested comments; +a small `custom` parser) behind it, so there is no token `Vec` and no second pass. `lexer.rs` is only used to +split files with several automata and to diagnose failures (lexical error, `--ABORT--`) after a failed parse. +The fast attempt still uses `EmptyErr`; `Rich` is only used for the re-parse that builds the report. + +| Benchmark | Instructions | vs. baseline | +|---|---:|---:| +| parse_generated 250 | 4,513,809 | −95.6 % (22.9×) | +| parse_generated 1000 | 19,042,427 | −95.4 % (21.7×) | +| parse_generated 4000 | 72,730,762 | −95.6 % (22.8×) | +| parse_fixtures ltl | 9,225,060 | −96.3 % (26.9×) | +| parse_fixtures synthetic | 13,364,209 | −95.9 % (24.6×) | +| parse_fixtures spot | 49,883,774 | −95.9 % (24.2×) | + +Wall clock parse: 1k 1.83 ms (34.6 MiB/s), 10k 20.6 ms, **200k (15 MB) 0.547 s** (27.6 MiB/s), **19.4× faster** +than the 10.63 s baseline: the ≥ 10× goal of issue 11 is met. diff --git a/src/body.rs b/src/body.rs index 4677838..570201b 100644 --- a/src/body.rs +++ b/src/body.rs @@ -5,8 +5,7 @@ use chumsky::prelude::*; use crate::{ AbstractLabelExpression, AcceptanceSignature, AtomicProposition, Id, Label, LabelExpression, StateConjunction, - lexer::{HoaErr, TokInput, Token}, - value, + value::{self, HoaErr, sym, tok}, }; #[derive(Debug, Clone, PartialEq, Eq, Hash)] @@ -185,16 +184,15 @@ fn implicit_label(i: usize, num_aps: u16) -> Label { })) } -pub fn label<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() --> impl Parser<'a, I, Label, extra::Err> + Clone { - just(Token::Paren('[')) +pub fn label<'a, X: HoaErr<'a>>() -> impl Parser<'a, &'a str, Label, extra::Err> + Clone { + sym('[') .ignore_then(value::label_expression()) - .then_ignore(just(Token::Paren(']'))) + .then_ignore(sym(']')) .map(LabelExpression::Abstract) .map(Label) } -fn edge<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() -> impl Parser<'a, I, RawEdge, extra::Err> { +fn edge<'a, X: HoaErr<'a>>() -> impl Parser<'a, &'a str, RawEdge, extra::Err> { label() .or_not() .then(value::state_conjunction()) @@ -204,9 +202,8 @@ fn edge<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() -> impl Parser<'a, I, RawEdge, }) } -pub(crate) fn state<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() --> impl Parser<'a, I, RawState, extra::Err> { - just(Token::Header("State")) +pub(crate) fn state<'a, X: HoaErr<'a>>() -> impl Parser<'a, &'a str, RawState, extra::Err> { + tok("State:") .ignore_then( label() .or_not() @@ -244,11 +241,11 @@ impl Body { Self(Vec::new()) } - pub(crate) fn parser<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() - -> impl Parser<'a, I, Vec, extra::Err> { - just(Token::BodyStart) + pub(crate) fn parser<'a, X: HoaErr<'a>>() + -> impl Parser<'a, &'a str, Vec, extra::Err> { + tok("--BODY--") .ignore_then(state().repeated().collect()) - .then_ignore(just(Token::BodyEnd)) + .then_ignore(tok("--END--")) } } @@ -274,11 +271,7 @@ impl DerefMut for Body { #[cfg(test)] mod tests { - use chumsky::{ - Parser, - input::Stream, - prelude::{Input, end}, - }; + use chumsky::{Parser, prelude::end}; use crate::{AbstractLabelExpression, Edge, Label, StateConjunction, label::AnonymousAbstract}; @@ -292,11 +285,10 @@ mod tests { pub fn process_body(input: &str) -> Result, ()> { use crate::{body::Body, print_error_report}; - let tokens = crate::input::lex(input).map_err(|e| tracing::error!("{e}"))?; - let eoi = (input.len()..input.len()).into(); - let ast = Body::parser::<_, chumsky::error::Rich>() + let ast = crate::value::ws() + .ignore_then(Body::parser::>()) .then_ignore(end()) - .parse(Stream::from_iter(tokens).map(eoi, |(t, s)| (t, s))) + .parse(input) .into_result() .map_err(|errors| print_error_report(input, errors))?; // the tests only use explicit labels, so the AP count does not matter diff --git a/src/header.rs b/src/header.rs index 1dd146a..4067d23 100644 --- a/src/header.rs +++ b/src/header.rs @@ -1,13 +1,12 @@ use std::ops::{Deref, DerefMut}; -use chumsky::{prelude::*, select}; +use chumsky::prelude::*; use crate::{ AbstractLabelExpression, AcceptanceCondition, AcceptanceInfo, AcceptanceName, AliasName, Id, - Property, Token, + Property, format::{AtomicProposition, StateConjunction}, - lexer::{HoaErr, TokInput}, - value, + value::{self, HoaErr, sym, tok}, }; /// Represents a header item in a HOA file, for more information on each @@ -85,26 +84,22 @@ impl HeaderItem { } } -fn item<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() -> impl Parser<'a, I, HeaderItem, extra::Err> { - let states = just(Token::Header("States")) +fn item<'a, X: HoaErr<'a>>() -> impl Parser<'a, &'a str, HeaderItem, extra::Err> { + let states = tok("States:") .ignore_then(value::integer()) .map(HeaderItem::States); - let acceptance_name = just(Token::Header("acc-name")) + let acceptance_name = tok("acc-name:") .ignore_then(value::identifier()) .map(AcceptanceName::from) .then(value::acceptance_info().repeated().collect::>()) .map(|(name, info)| HeaderItem::AcceptanceName(name, info)); - let start = just(Token::Header("Start")) - .ignore_then( - value::integer() - .separated_by(just(Token::Op('&'))) - .collect(), - ) + let start = tok("Start:") + .ignore_then(value::integer().separated_by(sym('&')).collect()) .map(|conjunction| HeaderItem::Start(StateConjunction(conjunction))); - let aps = just(Token::Header("AP")) + let aps = tok("AP:") .ignore_then(value::integer()) .then(value::text().repeated().collect::>()) .try_map(|(num, prop_labels), span| { @@ -118,26 +113,26 @@ fn item<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() -> impl Parser<'a, I, HeaderIte } }); - let acceptance = just(Token::Header("Acceptance")) + let acceptance = tok("Acceptance:") .ignore_then(value::integer()) .then(value::acceptance_condition()) .map(|(count, condition)| HeaderItem::Acceptance(count, condition)); - let alias = just(Token::Header("Alias")) + let alias = tok("Alias:") .ignore_then(value::alias_name()) .then(value::label_expression()) .map(|(aname, expression)| HeaderItem::Alias(AliasName(aname), expression)); - let name = just(Token::Header("name")) + let name = tok("name:") .ignore_then(value::text()) .map(HeaderItem::Name); - let tool = just(Token::Header("tool")) + let tool = tok("tool:") .ignore_then(value::text()) .then(value::text().or_not()) .map(|(tool, version)| HeaderItem::Tool(tool, version)); - let properties = just(Token::Header("properties")) + let properties = tok("properties:") .ignore_then( value::identifier() .map(Property::from) @@ -158,13 +153,15 @@ fn item<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() -> impl Parser<'a, I, HeaderIte "tool", "name", ]; - let unknown = select! { Token::Header(name) if !KNOWN.contains(&name) && name != "properties" => name.to_string() } + let unknown = value::header_name() + .filter(|name: &&str| !KNOWN.contains(name) && *name != "properties") + .map(str::to_string) .then( - select! { - Token::Int(i) => UnknownValue::Int(i.to_string()), - Token::Text(t) => UnknownValue::Text(t.into_owned()), - Token::Identifier(i) => UnknownValue::Identifier(i.to_string()), - } + choice(( + value::int_text().map(|i: &str| UnknownValue::Int(i.to_string())), + value::text().map(UnknownValue::Text), + value::identifier().map(UnknownValue::Identifier), + )) .repeated() .collect::>(), ) @@ -211,9 +208,8 @@ impl<'a> IntoIterator for &'a Header { impl Header { /// Construts a new header parser. - pub fn parser<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() -> impl Parser<'a, I, Self, extra::Err> - { - let version = just(Token::Header("HOA")) + pub fn parser<'a, X: HoaErr<'a>>() -> impl Parser<'a, &'a str, Self, extra::Err> { + let version = tok("HOA:") .ignore_then(value::identifier()) .map(HeaderItem::Version); version @@ -262,16 +258,15 @@ impl DerefMut for Header { #[cfg(test)] mod tests { pub fn process_header(input: &str) -> Result, String> { - use chumsky::{input::Stream, prelude::Input}; - use crate::build_error_report; let with_hoa = format!("HOA: v1\n{}", input); - let tokens = crate::input::lex(&with_hoa).map_err(|e| e.to_string())?; - let eoi = (with_hoa.len()..with_hoa.len()).into(); - Header::parser::<_, chumsky::error::Rich>() + crate::value::ws() + .ignore_then(Header::parser::< + chumsky::error::Rich, + >()) .then_ignore(end()) - .parse(Stream::from_iter(tokens).map(eoi, |(t, s)| (t, s))) + .parse(&with_hoa) .into_result() .map(|header| header.0) .map_err(|errors| build_error_report(&with_hoa, errors)) diff --git a/src/input.rs b/src/input.rs index 3b42e91..bdf125f 100644 --- a/src/input.rs +++ b/src/input.rs @@ -1,10 +1,11 @@ -use chumsky::{Parser, input::Stream, prelude::Input}; +use chumsky::Parser; use crate::{FromHoaError, HoaRepresentation, Token, build_error_report, lexer}; -/// Lexes `input` into tokens with their (byte) spans. +/// Lexes `input` into tokens with their (byte) spans. The parser itself does not use the +/// tokens, only [`crate::parse_hoa_automata`] and [`crate::first_automaton_split_position`] do, +/// to find where automata begin and end. pub(crate) fn lex(input: &str) -> Result, lexer::Span)>, FromHoaError> { - let start = std::time::Instant::now(); let tokens = lexer::tokenizer() .parse(input) .into_result() @@ -24,43 +25,42 @@ pub(crate) fn lex(input: &str) -> Result, lexer::Span)>, FromHoaE ) }) .map_err(FromHoaError::LexerError)?; - tracing::info!("Tokenization took {}µs", start.elapsed().as_micros()); Ok(tokens) } pub fn from_hoa(value: &str) -> Result { - let tokens = lex(value)?; - if tokens.iter().any(|(t, _)| *t == Token::Abort) { - return Err(FromHoaError::Abort); - } - parse_tokens(value, tokens) + parse_str(value) } -/// Parses already lexed `tokens` that stem from `input` (used for error reports). -pub(crate) fn parse_tokens<'a>( - input: &'a str, - tokens: Vec<(Token<'a>, lexer::Span)>, -) -> Result { +/// Parses exactly one automaton from `input` (text, comments and whitespace included). +pub(crate) fn parse_str(input: &str) -> Result { let start = std::time::Instant::now(); - let eoi: lexer::Span = (input.len()..input.len()).into(); - let stream = || Stream::from_iter(tokens.iter().cloned()).map(eoi, |(t, s)| (t, s)); - // First attempt without error tracking (much faster); only if it fails, parse again with - // `Rich` errors to produce the diagnostics. - let out = match HoaRepresentation::parser::<_, chumsky::error::EmptyErr>() - .parse(stream()) + // First attempt without error tracking (much faster); only if it fails, look closer to + // produce the diagnostics. + let out = match HoaRepresentation::parser::() + .parse(input) .into_result() { Ok(aut) => aut.validate().map(|()| aut), - Err(_) => Err(FromHoaError::ParserError( - match HoaRepresentation::parser::<_, chumsky::error::Rich>() - .parse(stream()) + Err(_) => Err(diagnose(input)), + }; + tracing::info!("Parsing took {}µs", start.elapsed().as_micros()); + out +} + +/// The error for an `input` that failed to parse: a lexical error, an abort, or the parse error. +fn diagnose(input: &str) -> FromHoaError { + match lex(input) { + Err(e) => e, + Ok(tokens) if tokens.iter().any(|(t, _)| *t == Token::Abort) => FromHoaError::Abort, + Ok(_) => FromHoaError::ParserError( + match HoaRepresentation::parser::>() + .parse(input) .into_result() { Err(errors) => build_error_report(input, errors), Ok(_) => "parsing failed".to_string(), }, - )), - }; - tracing::info!("Actual parsing took {}µs", start.elapsed().as_micros()); - out + ), + } } diff --git a/src/lexer.rs b/src/lexer.rs index b1afc1d..178962a 100644 --- a/src/lexer.rs +++ b/src/lexer.rs @@ -1,34 +1,10 @@ use std::borrow::Cow; -use chumsky::{input::ValueInput, prelude::*}; +use chumsky::prelude::*; /// Byte span in the input. pub type Span = SimpleSpan; -/// Input of the token parsers: a stream of `Token`s with their `Span`s. -pub trait TokInput<'a>: ValueInput<'a, Token = Token<'a>, Span = Span> {} -impl<'a, I> TokInput<'a> for I where I: ValueInput<'a, Token = Token<'a>, Span = Span> {} - -/// Error types the token parsers can run with: `EmptyErr` (fast, no information) for the -/// first attempt and `Rich` to produce diagnostics when that attempt failed. -pub trait HoaErr<'a, I: TokInput<'a>>: - 'a - + chumsky::error::Error<'a, I> - + chumsky::error::LabelError<'a, I, chumsky::util::MaybeRef<'a, Token<'a>>> -{ - fn custom(span: Span, msg: String) -> Self; -} -impl<'a, I: TokInput<'a>> HoaErr<'a, I> for chumsky::error::EmptyErr { - fn custom(_: Span, _: String) -> Self { - chumsky::error::EmptyErr::default() - } -} -impl<'a, I: TokInput<'a>> HoaErr<'a, I> for Rich<'a, Token<'a>, Span> { - fn custom(span: Span, msg: String) -> Self { - Rich::custom(span, msg) - } -} - #[derive(Clone, Debug, PartialEq, Eq, Hash)] pub enum Token<'a> { Int(&'a str), diff --git a/src/lib.rs b/src/lib.rs index 0f97709..4631509 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -175,9 +175,10 @@ impl HoaRepresentation { } /// Parses a HOA automaton from a string. - pub fn parser<'a, I: lexer::TokInput<'a>, X: lexer::HoaErr<'a, I>>() - -> impl Parser<'a, I, Self, chumsky::extra::Err> { - Header::parser() + pub fn parser<'a, X: value::HoaErr<'a>>() + -> impl Parser<'a, &'a str, Self, chumsky::extra::Err> { + value::ws() + .ignore_then(Header::parser()) .then(Body::parser()) .then_ignore(end()) .try_map(|(header, raw_states), span| { @@ -627,7 +628,9 @@ pub fn parse_hoa_automata(input: &str) -> Vec { if !chunk.iter().any(|(t, _)| *t == Token::BodyStart) { continue; } - match input::parse_tokens(input, chunk) { + // chunks are never empty; error reports refer to the text of the chunk + let text = &input[chunk[0].1.start..chunk[chunk.len() - 1].1.end]; + match input::parse_str(text) { Ok(aut) => out.push(aut), Err(e) => warn!("Error when parsing automaton: {}", e), } diff --git a/src/value.rs b/src/value.rs index ad11dba..2879e28 100644 --- a/src/value.rs +++ b/src/value.rs @@ -1,82 +1,218 @@ -use chumsky::{prelude::*, select}; +use chumsky::{extra, input::InputRef, prelude::*, util::MaybeRef}; use crate::{ AbstractLabelExpression, AcceptanceAtom, AcceptanceCondition, AcceptanceInfo, - AcceptanceSignature, HoaBool, Id, StateConjunction, Token, - lexer::{HoaErr, TokInput}, + AcceptanceSignature, HoaBool, Id, StateConjunction, }; -#[allow(unused)] -pub fn header<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() --> impl Parser<'a, I, String, extra::Err> + Clone { - select! { - Token::Header(hdr) => hdr.to_string(), +/// Byte span in the input. +pub type Span = SimpleSpan; + +/// Error types the parsers can run with: `EmptyErr` (fast, no information) for the first +/// attempt and `Rich` to produce diagnostics when that attempt failed. +pub trait HoaErr<'a>: + 'a + + chumsky::error::Error<'a, &'a str> + + chumsky::error::LabelError<'a, &'a str, MaybeRef<'a, char>> +{ + fn custom(span: Span, msg: String) -> Self; +} +impl<'a> HoaErr<'a> for chumsky::error::EmptyErr { + fn custom(_: Span, _: String) -> Self { + chumsky::error::EmptyErr::default() } } - -pub fn boolean<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() --> impl Parser<'a, I, bool, extra::Err> + Clone { - select! { - Token::Identifier("t") => true, - Token::Identifier("f") => false, +impl<'a> HoaErr<'a> for chumsky::error::Rich<'a, char, Span> { + fn custom(span: Span, msg: String) -> Self { + chumsky::error::Rich::custom(span, msg) } } -pub fn integer<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() --> impl Parser<'a, I, Id, extra::Err> + Clone { - select! { - Token::Int(n) => n, - } - .try_map(|n: &str, span| { +/// Whitespace and (nested) `/* */` comments; every token parser consumes the layout behind +/// it, so the grammar never has to mention it. +pub(crate) fn ws<'a, X: HoaErr<'a>>() -> impl Parser<'a, &'a str, (), extra::Err> + Clone { + custom(|inp: &mut InputRef<'a, '_, &'a str, extra::Err>| { + let start = inp.cursor(); + let mut depth = 0usize; + loop { + let before = inp.save(); + match inp.next() { + Some(c) if depth == 0 && c.is_whitespace() => {} + Some('/') if inp.peek() == Some('*') => { + inp.skip(); + depth += 1; + } + Some('*') if depth > 0 && inp.peek() == Some('/') => { + inp.skip(); + depth -= 1; + } + Some(_) if depth > 0 => {} + None if depth > 0 => { + return Err(X::custom( + inp.span_since(&start), + "unclosed comment".to_string(), + )); + } + _ => { + inp.rewind(before); + return Ok(()); + } + } + } + }) +} + +/// A fixed keyword (`--BODY--`, `Fin`, a header name with its colon, ...). +pub(crate) fn tok<'a, X: HoaErr<'a>>( + s: &'static str, +) -> impl Parser<'a, &'a str, (), extra::Err> + Clone { + just(s).ignored().then_ignore(ws()) +} + +/// A single punctuation character. +pub(crate) fn sym<'a, X: HoaErr<'a>>( + c: char, +) -> impl Parser<'a, &'a str, (), extra::Err> + Clone { + just(c).ignored().then_ignore(ws()) +} + +fn ident_start(c: &char) -> bool { + c.is_ascii_alphabetic() || *c == '_' +} + +fn ident_raw<'a, X: HoaErr<'a>>() -> impl Parser<'a, &'a str, &'a str, extra::Err> + Clone { + any() + .filter(ident_start) + .then( + any() + .filter(|c: &char| c.is_ascii_alphanumeric() || matches!(*c, '_' | '-')) + .repeated(), + ) + .to_slice() +} + +/// An identifier or `t`/`f`/`Fin`/`Inf`. A word directly followed by `:` or `.` is (the start +/// of) a header name such as `spot.state-player:`, not a word. +fn word<'a, X: HoaErr<'a>>() -> impl Parser<'a, &'a str, &'a str, extra::Err> + Clone { + // minor versions such as `v1.1`; the only identifiers containing a `.` + let version = just('v') + .then( + any() + .filter(|c: &char| c.is_ascii_digit() || *c == '.') + .repeated() + .at_least(1), + ) + .to_slice() + .filter(|v: &&str| v.contains('.')); + version + .or(ident_raw()) + .then_ignore(one_of(":.").not()) + .then_ignore(ws()) +} + +/// A header name followed by its colon, for names that are not matched as keywords. Spot +/// emits names such as `spot.state-player`, so `.` is allowed here only. +pub fn header_name<'a, X: HoaErr<'a>>() -> impl Parser<'a, &'a str, &'a str, extra::Err> + Clone +{ + any() + .filter(ident_start) + .then( + any() + .filter(|c: &char| c.is_ascii_alphanumeric() || matches!(*c, '_' | '-' | '.')) + .repeated(), + ) + .to_slice() + .then_ignore(just(':')) + .then_ignore(ws()) +} + +pub fn boolean<'a, X: HoaErr<'a>>() -> impl Parser<'a, &'a str, bool, extra::Err> + Clone { + word().try_map(|w: &str, span| match w { + "t" => Ok(true), + "f" => Ok(false), + _ => Err(X::custom(span, "expected t or f".to_string())), + }) +} + +/// A non-negative integer without leading zeros, as the raw text. +pub fn int_text<'a, X: HoaErr<'a>>() -> impl Parser<'a, &'a str, &'a str, extra::Err> + Clone { + one_of("123456789") + .then(any().filter(char::is_ascii_digit).repeated()) + .ignored() + .or(just('0').ignored()) + .to_slice() + .then_ignore(ws()) +} + +pub fn integer<'a, X: HoaErr<'a>>() -> impl Parser<'a, &'a str, Id, extra::Err> + Clone { + int_text().try_map(|n: &str, span| { n.parse::() .map_err(|_| X::custom(span, "integer out of range".to_string())) }) } -pub fn text<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() --> impl Parser<'a, I, String, extra::Err> + Clone { - select! { - Token::Text(txt) => txt.into_owned(), - } +/// A quoted string. `\"` and `\\` are decoded, any other escape is kept verbatim +/// (backslash included). +pub fn text<'a, X: HoaErr<'a>>() -> impl Parser<'a, &'a str, String, extra::Err> + Clone { + let plain = none_of("\"\\").repeated().to_slice().map(str::to_string); + let escaped = just('\\') + .ignore_then(any().map(|c| match c { + '"' | '\\' => c.to_string(), + c => format!("\\{c}"), + })) + .or(none_of("\"\\").map(|c: char| c.to_string())) + .repeated() + .collect::>() + .map(|parts| parts.concat()); + just('"') + .ignore_then( + plain + .then_ignore(just('"')) + .or(escaped.then_ignore(just('"'))), + ) + .then_ignore(ws()) } -pub fn identifier<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() --> impl Parser<'a, I, String, extra::Err> + Clone { - select! { Token::Identifier(ident) => ident.to_string() } +pub fn identifier<'a, X: HoaErr<'a>>() -> impl Parser<'a, &'a str, String, extra::Err> + Clone { + word() + .filter(|w: &&str| !matches!(*w, "Fin" | "Inf")) + .map(str::to_string) } -pub fn alias_name<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() --> impl Parser<'a, I, String, extra::Err> + Clone { - select! { Token::Alias(aname) => aname.to_string() } +pub fn alias_name<'a, X: HoaErr<'a>>() -> impl Parser<'a, &'a str, String, extra::Err> + Clone { + just('@') + .ignore_then(ident_raw()) + .then_ignore(ws()) + .map(str::to_string) } -pub fn state_conjunction<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() --> impl Parser<'a, I, StateConjunction, extra::Err> + Clone { +pub fn state_conjunction<'a, X: HoaErr<'a>>() +-> impl Parser<'a, &'a str, StateConjunction, extra::Err> + Clone { integer() - .separated_by(just(Token::Op('&'))) + .separated_by(sym('&')) .at_least(1) .collect() .map(StateConjunction) } -pub fn acceptance_signature<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() --> impl Parser<'a, I, AcceptanceSignature, extra::Err> + Clone { +pub fn acceptance_signature<'a, X: HoaErr<'a>>() +-> impl Parser<'a, &'a str, AcceptanceSignature, extra::Err> + Clone { integer() .repeated() .collect() - .delimited_by(just(Token::Paren('{')), just(Token::Paren('}'))) + .delimited_by(sym('{'), sym('}')) .map(AcceptanceSignature) } -pub fn acceptance_info<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() --> impl Parser<'a, I, AcceptanceInfo, extra::Err> + Clone { +pub fn acceptance_info<'a, X: HoaErr<'a>>() +-> impl Parser<'a, &'a str, AcceptanceInfo, extra::Err> + Clone { identifier() .map(AcceptanceInfo::Identifier) .or(integer().map(AcceptanceInfo::Int)) } -fn ap_index<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() --> impl Parser<'a, I, AbstractLabelExpression, extra::Err> + Clone { +fn ap_index<'a, X: HoaErr<'a>>() +-> impl Parser<'a, &'a str, AbstractLabelExpression, extra::Err> + Clone { integer().try_map(|i, span| { u16::try_from(i) .map(AbstractLabelExpression::Integer) @@ -84,30 +220,26 @@ fn ap_index<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() }) } -pub fn label_expression<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() --> impl Parser<'a, I, AbstractLabelExpression, extra::Err> + Clone { +pub fn label_expression<'a, X: HoaErr<'a>>() +-> impl Parser<'a, &'a str, AbstractLabelExpression, extra::Err> + Clone { recursive(|label_expression| { let value = boolean() .map(AbstractLabelExpression::Boolean) .or(ap_index()) .or(alias_name().map(AbstractLabelExpression::Alias)); - let atom = value - .or(label_expression.delimited_by(just(Token::Paren('(')), just(Token::Paren(')')))); - - let unary = just(Token::Op('!')) - .or_not() - .then(atom) - .map(|(negated, expr)| { - if negated.is_some() { - AbstractLabelExpression::Negated(Box::new(expr)) - } else { - expr - } - }); + let atom = value.or(label_expression.delimited_by(sym('('), sym(')'))); + + let unary = sym('!').or_not().then(atom).map(|(negated, expr)| { + if negated.is_some() { + AbstractLabelExpression::Negated(Box::new(expr)) + } else { + expr + } + }); let conjunction = unary - .separated_by(just(Token::Op('&'))) + .separated_by(sym('&')) .at_least(1) .collect::>() .map(|mut acc| match acc.len() { @@ -116,7 +248,7 @@ pub fn label_expression<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() }); conjunction - .separated_by(just(Token::Op('|'))) + .separated_by(sym('|')) .at_least(1) .collect::>() .map(|mut acc| match acc.len() { @@ -126,36 +258,31 @@ pub fn label_expression<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() }) } -pub fn acceptance_condition<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() --> impl Parser<'a, I, AcceptanceCondition, extra::Err> + Clone { +pub fn acceptance_condition<'a, X: HoaErr<'a>>() +-> impl Parser<'a, &'a str, AcceptanceCondition, extra::Err> + Clone { recursive(|acceptance_condition| { - let atom_value = just(Token::Op('!')) - .or_not() - .then(integer()) - .map(|(negated, integer)| { - if negated.is_none() { - AcceptanceAtom::Positive(integer) - } else { - AcceptanceAtom::Negative(integer) - } - }); + let atom_value = sym('!').or_not().then(integer()).map(|(negated, integer)| { + if negated.is_none() { + AcceptanceAtom::Positive(integer) + } else { + AcceptanceAtom::Negative(integer) + } + }); - let fin_inf_atom = just(Token::Fin) + let fin_inf_atom = tok("Fin") .to(AcceptanceCondition::Fin as fn(_) -> _) - .or(just(Token::Inf).to(AcceptanceCondition::Inf as fn(_) -> _)) - .then(atom_value.delimited_by(just(Token::Paren('(')), just(Token::Paren(')')))) + .or(tok("Inf").to(AcceptanceCondition::Inf as fn(_) -> _)) + .then(atom_value.delimited_by(sym('('), sym(')'))) .map(|(f, atom)| f(atom)); - let atom = - boolean() - .map(HoaBool) - .map(AcceptanceCondition::Boolean) - .or(fin_inf_atom) - .or(acceptance_condition - .delimited_by(just(Token::Paren('(')), just(Token::Paren(')')))); + let atom = boolean() + .map(HoaBool) + .map(AcceptanceCondition::Boolean) + .or(fin_inf_atom) + .or(acceptance_condition.delimited_by(sym('('), sym(')'))); let conjunction = atom.clone().foldl( - just(Token::Op('&')) + sym('&') .to(AcceptanceCondition::And as fn(_, _) -> _) .then(atom) .repeated(), @@ -163,7 +290,7 @@ pub fn acceptance_condition<'a, I: TokInput<'a>, X: HoaErr<'a, I>>() ); conjunction.clone().foldl( - just(Token::Op('|')) + sym('|') .to(AcceptanceCondition::Or as fn(_, _) -> _) .then(conjunction) .repeated(), From 758bd1a29e5c85a7441e08fbfad9f00f172889a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Le=C3=B3n=20Bohn?= Date: Fri, 6 Nov 2026 14:39:57 +0100 Subject: [PATCH 6/7] verify(): sort ids instead of Vec::contains (O(n log n)) --- BENCHMARKS.md | 10 ++++++++++ src/lib.rs | 25 ++++++++++++++++++++----- 2 files changed, 30 insertions(+), 5 deletions(-) diff --git a/BENCHMARKS.md b/BENCHMARKS.md index 761eca0..1b5dc38 100644 --- a/BENCHMARKS.md +++ b/BENCHMARKS.md @@ -115,3 +115,13 @@ The fast attempt still uses `EmptyErr`; `Rich` is only used for the re-par Wall clock parse: 1k 1.83 ms (34.6 MiB/s), 10k 20.6 ms, **200k (15 MB) 0.547 s** (27.6 MiB/s), **19.4× faster** than the 10.63 s baseline: the ≥ 10× goal of issue 11 is met. + +## Issue 12: `verify()` without `Vec::contains` + +Ids are collected, sorted (`sort_unstable`) and checked for equal neighbours; the body is not assumed to be sorted. +`validate()` already checked the ranges of start states and edge targets and is unchanged. + +Wall clock `verify`: 1k 36.7 µs → 1.1 µs, 10k 2.77 ms → 11.6 µs, **200k 1.141 s → 0.4 ms** (goal: < 50 ms). +Instruction counts of `verify` (250 / 1000 / 4000): 0.57M / 3.19M / 9.20M (before 0.84M / 3.77M / 21.3M). They include +dropping the automaton that the benchmark function takes by value, which now dominates and is why they do not shrink +as much as the time; the `validate` numbers moved (−24 % to ±0) with the parser's allocation pattern, its code is unchanged. diff --git a/src/lib.rs b/src/lib.rs index 4631509..457fae4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -213,12 +213,13 @@ impl HoaRepresentation { /// - all states are defined exactly once pub fn verify(&self) -> Result<(), String> { let mut errors = Vec::new(); - let mut states = Vec::new(); - for state in self.body().iter() { - if states.contains(&state.id()) { - errors.push(format!("State {} is defined more than once!", state.id())); + // `body_mut`/`add_state` can leave the body unsorted, so sort the ids instead of relying on it + let mut states: Vec<_> = self.body().iter().map(|s| s.id()).collect(); + states.sort_unstable(); + for pair in states.windows(2) { + if pair[0] == pair[1] { + errors.push(format!("State {} is defined more than once!", pair[0])); } - states.push(state.id()); } if let Some(num_states) = self.num_states() && states.len() != num_states @@ -999,6 +1000,20 @@ State: 0 assert_eq!(super::first_automaton_split_position("HOA: v1\n"), None); } + #[test] + fn verify_reports_duplicate_states_even_if_unsorted() { + let mut aut = HoaRepresentation::try_from( + "HOA: v1\nStates: 3\nAcceptance: 0 t\n--BODY--\nState: 0\nState: 1\nState: 2\n--END--", + ) + .unwrap(); + assert_eq!(Ok(()), aut.verify()); + let dup = aut.body()[0].clone(); + aut.body_mut().insert(0, dup); + aut.body_mut().swap(0, 3); + let err = aut.verify().unwrap_err(); + assert!(err.contains("State 0 is defined more than once!"), "{err}"); + } + #[test] fn real_test_1() { let contents = r#"HOA: v1 From d4ee4accaed74611e3bbbaee6811b38f87bbc674 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Le=C3=B3n=20Bohn?= Date: Fri, 6 Nov 2026 14:43:46 +0100 Subject: [PATCH 7/7] Small allocation and overhead fixes (issue 13) --- BENCHMARKS.md | 18 ++++++++++++++++++ src/body.rs | 9 ++++++--- src/header.rs | 4 ++-- src/input.rs | 7 ++----- src/lib.rs | 26 ++++++++++++++++---------- 5 files changed, 44 insertions(+), 20 deletions(-) diff --git a/BENCHMARKS.md b/BENCHMARKS.md index 1b5dc38..009ab4f 100644 --- a/BENCHMARKS.md +++ b/BENCHMARKS.md @@ -125,3 +125,21 @@ Wall clock `verify`: 1k 36.7 µs → 1.1 µs, 10k 2.77 ms → 11.6 µs, **200k 1 Instruction counts of `verify` (250 / 1000 / 4000): 0.57M / 3.19M / 9.20M (before 0.84M / 3.77M / 21.3M). They include dropping the automaton that the benchmark function takes by value, which now dominates and is why they do not shrink as much as the time; the `validate` numbers moved (−24 % to ±0) with the parser's allocation pattern, its code is unchanged. + +## Issue 13: small fixes + +`aliases()` keeps its signature but is built on the new borrowing `alias_iter()`; `unalias` uses the latter. +`Header::get_version` returns `Option<&str>` (breaking). State and transition acceptance are merged with one +exactly-sized allocation. The per-parse `Instant::now()` / `tracing::info!` calls are gone. (`aps()` already returned a +slice.) Instruction counts do not move for parse/verify (±0.1 %, noise); `write` is 1.4–6.4 % lower than the +baseline above (first `write` run since the parser changes; the writer itself was not touched). + +## Final state (all of P2), against the baseline at the top + +| | Baseline | Now | +|---|---:|---:| +| parse, 200k states / 15 MB | 10.63 s | 0.547 s (19.4×) | +| verify, 200k states | 1.141 s | 0.4 ms | +| write, 200k states | 240 ms | not re-measured | +| parse_generated 1000 (instructions) | 412,824,152 | 19,056,307 (21.7×) | +| parse_fixtures spot | 1,205,177,431 | 49,909,429 (24.1×) | diff --git a/src/body.rs b/src/body.rs index 570201b..dc8f643 100644 --- a/src/body.rs +++ b/src/body.rs @@ -154,9 +154,12 @@ impl RawState { (None, None) => AcceptanceSignature(Vec::new()), (Some(acc), None) => acc.clone(), (None, Some(acc)) => acc, - (Some(left), Some(right)) => AcceptanceSignature( - left.iter().cloned().chain(right.iter().cloned()).collect(), - ), + (Some(left), Some(right)) => { + let mut merged = Vec::with_capacity(left.len() + right.len()); + merged.extend_from_slice(left); + merged.extend_from_slice(&right); + AcceptanceSignature(merged) + } }; Edge(label, conj, acc) }) diff --git a/src/header.rs b/src/header.rs index 4067d23..5e813c5 100644 --- a/src/header.rs +++ b/src/header.rs @@ -223,9 +223,9 @@ impl Header { } /// Returns the version of the format. - pub fn get_version(&self) -> Option { + pub fn get_version(&self) -> Option<&str> { self.iter().find_map(|item| match item { - HeaderItem::Version(version) => Some(version.clone()), + HeaderItem::Version(version) => Some(version.as_str()), _ => None, }) } diff --git a/src/input.rs b/src/input.rs index bdf125f..6ed88b8 100644 --- a/src/input.rs +++ b/src/input.rs @@ -34,18 +34,15 @@ pub fn from_hoa(value: &str) -> Result { /// Parses exactly one automaton from `input` (text, comments and whitespace included). pub(crate) fn parse_str(input: &str) -> Result { - let start = std::time::Instant::now(); // First attempt without error tracking (much faster); only if it fails, look closer to // produce the diagnostics. - let out = match HoaRepresentation::parser::() + match HoaRepresentation::parser::() .parse(input) .into_result() { Ok(aut) => aut.validate().map(|()| aut), Err(_) => Err(diagnose(input)), - }; - tracing::info!("Parsing took {}µs", start.elapsed().as_micros()); - out + } } /// The error for an `input` that failed to parse: a lexical error, an abort, or the parse error. diff --git a/src/lib.rs b/src/lib.rs index 457fae4..30142ca 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -153,7 +153,10 @@ impl HoaRepresentation { /// Returns the version of the HOA file. pub fn version(&self) -> String { - self.header.get_version().expect("Version must be set!") + self.header + .get_version() + .expect("Version must be set!") + .to_string() } /// Returns the header of the HOA file. @@ -385,15 +388,19 @@ impl HoaRepresentation { /// Returns the aliases of the automaton. pub fn aliases(&self) -> Vec<(AliasName, AbstractLabelExpression)> { - self.header() - .iter() - .filter_map(|item| match item { - HeaderItem::Alias(name, expr) => Some((name.clone(), expr.clone())), - _ => None, - }) + self.alias_iter() + .map(|(name, expr)| (name.clone(), expr.clone())) .collect() } + /// Iterates over the `Alias:` header items without cloning them. + pub fn alias_iter(&self) -> impl Iterator { + self.header().iter().filter_map(|item| match item { + HeaderItem::Alias(name, expr) => Some((name, expr)), + _ => None, + }) + } + /// Replaces all alias references (`@name`) in the aliases and in the edge labels by /// their definitions. The `Alias:` header items are kept. Fails on undefined or /// cyclic aliases; on error the automaton is left unchanged. @@ -401,9 +408,8 @@ impl HoaRepresentation { /// Parsing does not unalias, so call this before converting labels to BDDs. pub fn unalias(&mut self) -> Result<(), String> { let raw: std::collections::HashMap<_, _> = self - .aliases() - .into_iter() - .map(|(name, expr)| (name.0, expr)) + .alias_iter() + .map(|(name, expr)| (name.0.clone(), expr.clone())) .collect(); let defs = raw .iter()