You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
procedure foo(x: Int, f: Map<Int, Map<Int, Int>>)
requires forall i: Int, j: Int :: f[i][j] == (i < j ? 1 : 0)
ensures false
{}
Error: unexpected expression at File "/home/siddharth/grasshopper/test.spl", line 2, columns 48-61
Raised at file "pervasives.ml", line 32, characters 17-33
Called from file "src/frontends/spl/splTranslator.ml", line 405, characters 21-43
Called from file "src/frontends/spl/splTranslator.ml", line 393, characters 17-45
Called from file "src/frontends/spl/splTranslator.ml", line 527, characters 16-43
Called from file "src/frontends/spl/splTranslator.ml", line 534, characters 14-40
Called from file "src/frontends/spl/splTranslator.ml", line 662, characters 12-67
Called from file "src/frontends/spl/splTranslator.ml", line 793, characters 24-83
Called from file "map.ml", line 315, characters 19-42
Called from file "src/frontends/spl/splTranslator.ml", line 791, characters 4-868
Called from file "src/frontends/spl/splTranslator.ml" (inlined), line 834, characters 2-13
Called from file "src/main/grasshopper.ml", line 119, characters 13-46
Called from file "src/main/grasshopper.ml", line 215, characters 18-62
The text was updated successfully, but these errors were encountered:
Example:
The text was updated successfully, but these errors were encountered: