Unhandled exception. System.AggregateException: One or more errors occurred. (Index was outside the bounds of the array.) (Index was outside the bounds of the array.)
---> System.IndexOutOfRangeException: Index was outside the bounds of the array.
at Microsoft.Boogie.SMTLib.SMTLibProcess.ParseId() in /home/runner/work/boogie/boogie/Source/Provers/SMTLib/SMTLibProcess.cs:line 289
at Microsoft.Boogie.SMTLib.SMTLibProcess.ParseSExprs(Boolean top)+MoveNext() in /home/runner/work/boogie/boogie/Source/Provers/SMTLib/SMTLibProcess.cs:line 389
at System.Collections.Generic.LargeArrayBuilder`1.AddRange(IEnumerable`1 items)
at System.Collections.Generic.EnumerableHelpers.ToArray[T](IEnumerable`1 source)
at System.Linq.Enumerable.ToArray[TSource](IEnumerable`1 source)
at Microsoft.Boogie.SMTLib.SMTLibProcess.ParseSExprs(Boolean top)+MoveNext() in /home/runner/work/boogie/boogie/Source/Provers/SMTLib/SMTLibProcess.cs:line 370
This is apparently model output produced by cvc4 while using smt arrays. This case works fine if using Boogie arrays instead.
Boogie crashes with:
This is apparently model output produced by cvc4 while using smt arrays. This case works fine if using Boogie arrays instead.
Repro:
bug.zip
@barrettcw