Skip to content

Commit

Permalink
Enable IC3SA for arrays (stanford-centaur#332)
Browse files Browse the repository at this point in the history
Array sorts work with the current IC3SA infrastructure. They occupy their own equivalence classes separate from bit-vectors.
  • Loading branch information
CyanoKobalamyne authored Jul 10, 2024
1 parent 36f0e81 commit b82d87e
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions engines/ic3sa.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,9 +199,9 @@ void IC3SA::check_ts() const

for (const auto & sv : ts_.statevars()) {
SortKind sk = sv->get_sort()->get_sort_kind();
if (sk != BOOL && sk != BV)
{
throw PonoException("IC3SA currently only supports bit-vectors");
if (sk != BOOL && sk != BV && sk != ARRAY) {
throw PonoException(
"IC3SA currently only supports bit-vectors and arrays");
}
}
}
Expand Down

0 comments on commit b82d87e

Please sign in to comment.