Skip to content
Snippets Groups Projects
Commit 373c4aba authored by Regis Blanc's avatar Regis Blanc
Browse files

Refactor FiniteArray to an implicit representation

FiniteArray now takes an Expr for the length, a default
Expr, and a Map of defined Expr for some of its elements.
Adapt the rest of Leon to the new trees.

The PrettyPrinter tries to be a little bit smart about
how to print the array, only printing a few elements when the
array gets too big. The regression test produces an
huge array counter-example that used to lead to a crash of
Leon with the previous implementation of Array (fully represented
in memory).
parent 7102dbab
No related branches found
No related tags found
No related merge requests found
Showing
with 185 additions and 59 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment