summaryrefslogtreecommitdiff
path: root/Test/dafny0/Answer
blob: 7f197969e9249a4a7ce38b9065d9db658134711d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561

-------------------- Simple.dfy --------------------
// Simple.dfy

class MyClass<T, U> {
  var x: int;

  method M(s: bool, lotsaObjects: set<object>)
      returns (t: object, u: set<int>, v: seq<MyClass<bool,U>>)
    requires s;
    modifies this, lotsaObjects;
    ensures t == t;
    ensures old(null) != this;
  {
    x := 12;
    while x < 100
      invariant x <= 100;
    {
      x := x + 17;
      if x % 20 == 3 {
        x := this.x + 1;
      } else {
        this.x := x + 0;
      }
      t, u, v := M(true, lotsaObjects);
      var to: MyClass<T,U>;
      to, u, v := this.M(true, lotsaObjects);
      to, u, v := to.M(true, lotsaObjects);
      assert v[x] != null ==> null !in v[2 .. x][1..][5 := v[this.x]][..10];
    }
  }

  function F(x: int, y: int, h: WildData, k: WildData): WildData
  {
    if x < 0 then
      h
    else if x == 0 then
      if if h == k then true else false then
        h
      else if y == 0 then
        k
      else
        h
    else
      k
  }
}

datatype List<T> = Nil | Cons(T, List<T>)

datatype WildData = Something | JustAboutAnything(bool, myName: set<int>, int, WildData) | More(List<int>)

class C {
  var w: WildData;
  var list: List<bool>;
}

lemma M(x: int)
  ensures x < 8;
{
}

colemma M'(x': int)
  ensures true;
{
}

Dafny program verifier finished with 0 verified, 0 errors

-------------------- TypeTests.dfy --------------------
TypeTests.dfy(4,13): Error: incorrect type of function argument 0 (expected C, got D)
TypeTests.dfy(4,13): Error: incorrect type of function argument 1 (expected D, got C)
TypeTests.dfy(5,13): Error: incorrect type of function argument 0 (expected C, got int)
TypeTests.dfy(5,13): Error: incorrect type of function argument 1 (expected D, got int)
TypeTests.dfy(11,15): Error: incorrect type of method in-parameter 0 (expected int, got bool)
TypeTests.dfy(12,11): Error: incorrect type of method out-parameter 0 (expected int, got C)
TypeTests.dfy(12,11): Error: incorrect type of method out-parameter 1 (expected C, got int)
TypeTests.dfy(44,9): Error: Assignment to array element is not allowed in this context (because this is a ghost method or because the statement is guarded by a specification-only expression)
TypeTests.dfy(53,6): Error: Duplicate local-variable name: z
TypeTests.dfy(55,6): Error: Duplicate local-variable name: x
TypeTests.dfy(58,8): Error: Duplicate local-variable name: x
TypeTests.dfy(61,6): Error: Duplicate local-variable name: y
TypeTests.dfy(67,11): Error: unresolved identifier: x
TypeTests.dfy(69,28): Error: unresolved identifier: z
TypeTests.dfy(70,29): Error: unresolved identifier: w1
TypeTests.dfy(70,47): Error: unresolved identifier: w0
TypeTests.dfy(73,28): Error: unresolved identifier: e
TypeTests.dfy(88,17): Error: member F in type C does not refer to a method
TypeTests.dfy(89,17): Error: a method called as an initialization method must not have any result arguments
TypeTests.dfy(98,3): Error: cannot assign to a range of array elements (try the 'forall' statement)
TypeTests.dfy(99,3): Error: cannot assign to a range of array elements (try the 'forall' statement)
TypeTests.dfy(100,3): Error: cannot assign to a range of array elements (try the 'forall' statement)
TypeTests.dfy(102,3): Error: cannot assign to a range of array elements (try the 'forall' statement)
TypeTests.dfy(103,3): Error: cannot assign to a range of array elements (try the 'forall' statement)
TypeTests.dfy(104,3): Error: cannot assign to a range of array elements (try the 'forall' statement)
TypeTests.dfy(110,6): Error: sorry, cannot instantiate collection type with a subrange type
TypeTests.dfy(111,9): Error: sorry, cannot instantiate type parameter with a subrange type
TypeTests.dfy(112,8): Error: sorry, cannot instantiate 'array' type with a subrange type
TypeTests.dfy(113,8): Error: sorry, cannot instantiate 'array' type with a subrange type
TypeTests.dfy(125,15): Error: ghost variables are allowed only in specification contexts
TypeTests.dfy(135,4): Error: cannot assign to non-ghost variable in a ghost context
TypeTests.dfy(136,7): Error: cannot assign to non-ghost variable in a ghost context
TypeTests.dfy(18,9): Error: because of cyclic dependencies among constructor argument types, no instances of datatype 'NeverendingList' can be constructed
33 resolution/type errors detected in TypeTests.dfy

-------------------- NatTypes.dfy --------------------
NatTypes.dfy(7,5): Error: value assigned to a nat must be non-negative
Execution trace:
    (0,0): anon0
NatTypes.dfy(31,10): Error: value assigned to a nat must be non-negative
Execution trace:
    (0,0): anon0
    NatTypes.dfy(19,3): anon10_LoopHead
    (0,0): anon10_LoopBody
    NatTypes.dfy(19,3): anon11_Else
    (0,0): anon12_Then
NatTypes.dfy(38,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon4_Then
NatTypes.dfy(40,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon4_Then
NatTypes.dfy(57,16): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
NatTypes.dfy(71,16): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
    (0,0): anon6_Then
NatTypes.dfy(89,19): Error: value assigned to a nat must be non-negative
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
NatTypes.dfy(104,45): Error: value assigned to a nat must be non-negative
Execution trace:
    (0,0): anon0
    (0,0): anon6_Else
    (0,0): anon7_Else
    (0,0): anon8_Then
NatTypes.dfy(127,21): Error: value assigned to a nat must be non-negative
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then

Dafny program verifier finished with 15 verified, 9 errors

-------------------- RealTypes.dfy --------------------
RealTypes.dfy(5,23): Error: assertion violation
Execution trace:
    (0,0): anon0
RealTypes.dfy(11,12): Error: possible division by zero
Execution trace:
    (0,0): anon0
    RealTypes.dfy(10,23): anon3_Else
    (0,0): anon2
RealTypes.dfy(11,20): Error: assertion violation
Execution trace:
    (0,0): anon0
    RealTypes.dfy(10,23): anon3_Else
    (0,0): anon2
RealTypes.dfy(19,12): Error: assertion violation
Execution trace:
    (0,0): anon0

Dafny program verifier finished with 6 verified, 4 errors

-------------------- Definedness.dfy --------------------
Definedness.dfy(8,7): Error: possible division by zero
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
Definedness.dfy(15,16): Error: possible division by zero
Execution trace:
    (0,0): anon0
Definedness.dfy(24,16): Error: target object may be null
Execution trace:
    (0,0): anon0
Definedness.dfy(25,21): Error: target object may be null
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
Definedness.dfy(26,17): Error: possible division by zero
Execution trace:
    (0,0): anon0
Definedness.dfy(33,16): Error: target object may be null
Execution trace:
    (0,0): anon0
Definedness.dfy(42,16): Error: target object may be null
Execution trace:
    (0,0): anon0
Definedness.dfy(50,18): Error: target object may be null
Execution trace:
    (0,0): anon0
Definedness.dfy(51,3): Error BP5003: A postcondition might not hold on this return path.
Definedness.dfy(50,22): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
Definedness.dfy(57,18): Error: target object may be null
Execution trace:
    (0,0): anon0
Definedness.dfy(58,3): Error BP5003: A postcondition might not hold on this return path.
Definedness.dfy(57,22): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
Definedness.dfy(65,3): Error BP5003: A postcondition might not hold on this return path.
Definedness.dfy(64,22): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
Definedness.dfy(85,7): Error: target object may be null
Execution trace:
    (0,0): anon0
Definedness.dfy(86,5): Error: possible violation of function precondition
Definedness.dfy(76,16): Related location
Execution trace:
    (0,0): anon0
Definedness.dfy(86,10): Error: assignment may update an object not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
Definedness.dfy(86,10): Error: target object may be null
Execution trace:
    (0,0): anon0
Definedness.dfy(87,10): Error: possible violation of function precondition
Definedness.dfy(76,16): Related location
Execution trace:
    (0,0): anon0
Definedness.dfy(92,14): Error: possible division by zero
Execution trace:
    (0,0): anon0
Definedness.dfy(92,23): Error: possible division by zero
Execution trace:
    (0,0): anon0
Definedness.dfy(93,15): Error: possible division by zero
Execution trace:
    (0,0): anon0
Definedness.dfy(98,12): Error: possible division by zero
Execution trace:
    (0,0): anon0
Definedness.dfy(105,15): Error: possible division by zero
Execution trace:
    Definedness.dfy(105,5): anon7_LoopHead
    (0,0): anon7_LoopBody
    Definedness.dfy(105,5): anon8_Else
Definedness.dfy(114,23): Error: possible violation of function precondition
Definedness.dfy(76,16): Related location
Execution trace:
    (0,0): anon0
    Definedness.dfy(113,5): anon12_LoopHead
    (0,0): anon12_LoopBody
    (0,0): anon13_Then
Definedness.dfy(120,17): Error: possible violation of function precondition
Definedness.dfy(76,16): Related location
Execution trace:
    (0,0): anon0
    Definedness.dfy(113,5): anon12_LoopHead
    (0,0): anon12_LoopBody
    Definedness.dfy(113,5): anon13_Else
    (0,0): anon14_Then
    Definedness.dfy(119,5): anon15_LoopHead
    (0,0): anon15_LoopBody
    (0,0): anon16_Then
Definedness.dfy(130,17): Error: possible violation of function precondition
Definedness.dfy(76,16): Related location
Execution trace:
    (0,0): anon0
    Definedness.dfy(129,5): anon6_LoopHead
    (0,0): anon6_LoopBody
    (0,0): anon7_Then
Definedness.dfy(130,22): Error BP5004: This loop invariant might not hold on entry.
Execution trace:
    (0,0): anon0
Definedness.dfy(131,17): Error: possible violation of function precondition
Definedness.dfy(76,16): Related location
Execution trace:
    (0,0): anon0
    Definedness.dfy(129,5): anon6_LoopHead
    (0,0): anon6_LoopBody
    (0,0): anon7_Then
Definedness.dfy(140,15): Error: possible division by zero
Execution trace:
    (0,0): anon0
    Definedness.dfy(140,5): anon8_LoopHead
    (0,0): anon8_LoopBody
    Definedness.dfy(140,5): anon9_Else
Definedness.dfy(159,15): Error: possible division by zero
Execution trace:
    (0,0): anon0
    Definedness.dfy(153,5): anon16_LoopHead
    (0,0): anon16_LoopBody
    Definedness.dfy(153,5): anon17_Else
    (0,0): anon18_Then
    (0,0): anon5
    (0,0): anon19_Then
    Definedness.dfy(159,5): anon20_LoopHead
    (0,0): anon20_LoopBody
    Definedness.dfy(159,5): anon21_Else
Definedness.dfy(172,28): Error BP5004: This loop invariant might not hold on entry.
Execution trace:
    (0,0): anon0
Definedness.dfy(178,17): Error: possible violation of function precondition
Definedness.dfy(76,16): Related location
Execution trace:
    (0,0): anon0
    Definedness.dfy(170,5): anon18_LoopHead
    (0,0): anon18_LoopBody
    Definedness.dfy(170,5): anon19_Else
    (0,0): anon20_Then
    Definedness.dfy(177,5): anon21_LoopHead
    (0,0): anon21_LoopBody
    (0,0): anon22_Then
    (0,0): anon23_Then
    (0,0): anon11
Definedness.dfy(193,19): Error: possible division by zero
Execution trace:
    (0,0): anon0
    Definedness.dfy(191,5): anon6_LoopHead
    (0,0): anon6_LoopBody
    (0,0): anon7_Then
Definedness.dfy(193,23): Error BP5004: This loop invariant might not hold on entry.
Execution trace:
    (0,0): anon0
Definedness.dfy(193,28): Error: possible division by zero
Execution trace:
    (0,0): anon0
    Definedness.dfy(191,5): anon6_LoopHead
    (0,0): anon6_LoopBody
    (0,0): anon7_Then
Definedness.dfy(212,10): Error BP5003: A postcondition might not hold on this return path.
Definedness.dfy(214,46): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
Definedness.dfy(221,22): Error: target object may be null
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
    (0,0): anon2
    (0,0): anon6_Then
Definedness.dfy(234,10): Error BP5003: A postcondition might not hold on this return path.
Definedness.dfy(237,24): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon7_Then
    (0,0): anon2
    (0,0): anon8_Else

Dafny program verifier finished with 21 verified, 37 errors

-------------------- FunctionSpecifications.dfy --------------------
FunctionSpecifications.dfy(32,25): Error BP5003: A postcondition might not hold on this return path.
FunctionSpecifications.dfy(28,13): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon8_Else
    (0,0): anon9_Else
    (0,0): anon10_Then
    (0,0): anon11_Else
FunctionSpecifications.dfy(42,3): Error BP5003: A postcondition might not hold on this return path.
FunctionSpecifications.dfy(37,24): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon11_Else
    (0,0): anon14_Else
    (0,0): anon15_Then
FunctionSpecifications.dfy(50,11): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon8_Then
    (0,0): anon3
FunctionSpecifications.dfy(56,10): Error BP5003: A postcondition might not hold on this return path.
FunctionSpecifications.dfy(57,22): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
FunctionSpecifications.dfy(105,23): Error: assertion violation
Execution trace:
    (0,0): anon0
FunctionSpecifications.dfy(108,23): Error: assertion violation
Execution trace:
    (0,0): anon0
FunctionSpecifications.dfy(123,27): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
FunctionSpecifications.dfy(127,27): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
FunctionSpecifications.dfy(150,15): Error: assertion violation
Execution trace:
    (0,0): anon0
FunctionSpecifications.dfy(162,3): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
FunctionSpecifications.dfy(169,15): Error: assertion violation
Execution trace:
    (0,0): anon0
FunctionSpecifications.dfy(178,3): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
FunctionSpecifications.dfy(132,20): Error BP5003: A postcondition might not hold on this return path.
FunctionSpecifications.dfy(134,29): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
    (0,0): anon2
    (0,0): anon6_Else
FunctionSpecifications.dfy(143,3): Error: failure to decrease termination measure
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
FunctionSpecifications.dfy(157,3): Error: failure to decrease termination measure
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
FunctionSpecifications.dfy(185,3): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
FunctionSpecifications.dfy(182,20): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0

Dafny program verifier finished with 19 verified, 17 errors

-------------------- ResolutionErrors.dfy --------------------
ResolutionErrors.dfy(497,7): Error: RHS (of type List<A>) not assignable to LHS (of type List<B>)
ResolutionErrors.dfy(502,7): Error: RHS (of type List<A>) not assignable to LHS (of type List<B>)
ResolutionErrors.dfy(516,23): Error: type of case bodies do not agree (found Tree<_T1,_T0>, previous types Tree<_T0,_T1>)
ResolutionErrors.dfy(528,24): Error: Wrong number of type arguments (0 instead of 2) passed to class/datatype: Tree
ResolutionErrors.dfy(563,18): Error: type of bound variable 'z' could not determined; please specify the type explicitly
ResolutionErrors.dfy(576,13): Error: 'new' is not allowed in ghost contexts
ResolutionErrors.dfy(577,9): Error: 'new' is not allowed in ghost contexts
ResolutionErrors.dfy(584,14): Error: new allocation not supported in forall statements
ResolutionErrors.dfy(589,11): Error: the body of the enclosing forall statement is not allowed to update heap locations
ResolutionErrors.dfy(589,14): Error: new allocation not allowed in ghost context
ResolutionErrors.dfy(599,23): Error: 'new' is not allowed in ghost contexts
ResolutionErrors.dfy(606,15): Error: 'new' is not allowed in ghost contexts
ResolutionErrors.dfy(606,15): Error: only ghost methods can be called from this context
ResolutionErrors.dfy(606,10): Error: ghost variables are allowed only in specification contexts
ResolutionErrors.dfy(615,17): Error: 'new' is not allowed in ghost contexts
ResolutionErrors.dfy(617,20): Error: only ghost methods can be called from this context
ResolutionErrors.dfy(619,8): Error: calls to methods with side-effects are not allowed inside a hint
ResolutionErrors.dfy(637,21): Error: the type of this expression is underspecified, but it cannot be an arbitrary type.
ResolutionErrors.dfy(637,21): Error: the type of this expression is underspecified, but it cannot be an arbitrary type.
ResolutionErrors.dfy(674,8): Error: calls to methods with side-effects are not allowed inside a hint
ResolutionErrors.dfy(684,8): Error: only ghost methods can be called from this context
ResolutionErrors.dfy(687,20): Error: 'decreases *' is not allowed on ghost loops
ResolutionErrors.dfy(698,16): Error: Assignment to non-ghost field is not allowed in this context (because this is a ghost method or because the statement is guarded by a specification-only expression)
ResolutionErrors.dfy(698,16): Error: a hint is not allowed to update heap locations
ResolutionErrors.dfy(699,21): Error: a hint is not allowed to update heap locations
ResolutionErrors.dfy(700,8): Error: calls to methods with side-effects are not allowed inside a hint
ResolutionErrors.dfy(703,19): Error: a while statement used inside a hint is not allowed to have a modifies clause
ResolutionErrors.dfy(722,8): Error: only ghost methods can be called from this context
ResolutionErrors.dfy(725,20): Error: 'decreases *' is not allowed on ghost loops
ResolutionErrors.dfy(730,16): Error: Assignment to non-ghost field is not allowed in this context (because this is a ghost method or because the statement is guarded by a specification-only expression)
ResolutionErrors.dfy(730,16): Error: a hint is not allowed to update heap locations
ResolutionErrors.dfy(731,21): Error: a hint is not allowed to update heap locations
ResolutionErrors.dfy(732,8): Error: calls to methods with side-effects are not allowed inside a hint
ResolutionErrors.dfy(735,19): Error: a while statement used inside a hint is not allowed to have a modifies clause
ResolutionErrors.dfy(760,4): Error: calls to methods with side-effects are not allowed inside a statement expression
ResolutionErrors.dfy(761,4): Error: only ghost methods can be called from this context
ResolutionErrors.dfy(762,4): Error: wrong number of method result arguments (got 0, expected 1)
ResolutionErrors.dfy(773,23): Error: function calls are allowed only in specification contexts (consider declaring the function a 'function method')
ResolutionErrors.dfy(783,4): Error: ghost variables are allowed only in specification contexts
ResolutionErrors.dfy(794,36): Error: ghost variables are allowed only in specification contexts
ResolutionErrors.dfy(803,17): Error: function calls are allowed only in specification contexts (consider declaring the function a 'function method')
ResolutionErrors.dfy(817,6): Error: RHS (of type B) not assignable to LHS (of type object)
ResolutionErrors.dfy(818,6): Error: RHS (of type int) not assignable to LHS (of type object)
ResolutionErrors.dfy(819,6): Error: RHS (of type B) not assignable to LHS (of type object)
ResolutionErrors.dfy(824,6): Error: RHS (of type G) not assignable to LHS (of type object)
ResolutionErrors.dfy(825,6): Error: RHS (of type Dt) not assignable to LHS (of type object)
ResolutionErrors.dfy(826,6): Error: RHS (of type CoDt) not assignable to LHS (of type object)
ResolutionErrors.dfy(888,4): Error: LHS of array assignment must denote an array element (found seq<int>)
ResolutionErrors.dfy(889,4): Error: LHS of array assignment must denote an array element (found seq<int>)
ResolutionErrors.dfy(894,10): Error: LHS of assignment must denote a mutable field
ResolutionErrors.dfy(895,10): Error: LHS of assignment must denote a mutable field
ResolutionErrors.dfy(896,9): Error: cannot assign to a range of array elements (try the 'forall' statement)
ResolutionErrors.dfy(897,9): Error: cannot assign to a range of array elements (try the 'forall' statement)
ResolutionErrors.dfy(898,5): Error: cannot assign to a range of array elements (try the 'forall' statement)
ResolutionErrors.dfy(899,5): Error: cannot assign to a range of array elements (try the 'forall' statement)
ResolutionErrors.dfy(427,2): Error: More than one default constructor
ResolutionErrors.dfy(48,13): Error: 'this' is not allowed in a 'static' context
ResolutionErrors.dfy(109,9): Error: ghost variables are allowed only in specification contexts
ResolutionErrors.dfy(110,9): Error: function calls are allowed only in specification contexts (consider declaring the function a 'function method')
ResolutionErrors.dfy(114,11): Error: ghost variables are allowed only in specification contexts
ResolutionErrors.dfy(115,9): Error: actual out-parameter 0 is required to be a ghost variable
ResolutionErrors.dfy(122,15): Error: ghost variables are allowed only in specification contexts
ResolutionErrors.dfy(126,23): Error: ghost variables are allowed only in specification contexts
ResolutionErrors.dfy(133,4): Error: ghost variables are allowed only in specification contexts
ResolutionErrors.dfy(137,21): Error: ghost variables are allowed only in specification contexts
ResolutionErrors.dfy(138,35): Error: ghost variables are allowed only in specification contexts
ResolutionErrors.dfy(147,9): Error: only ghost methods can be called from this context
ResolutionErrors.dfy(153,16): Error: 'decreases *' is not allowed on ghost loops
ResolutionErrors.dfy(194,27): Error: ghost-context break statement is not allowed to break out of non-ghost structure
ResolutionErrors.dfy(217,12): Error: ghost-context break statement is not allowed to break out of non-ghost loop
ResolutionErrors.dfy(229,12): Error: trying to break out of more loop levels than there are enclosing loops
ResolutionErrors.dfy(233,12): Error: ghost-context break statement is not allowed to break out of non-ghost loop
ResolutionErrors.dfy(238,8): Error: return statement is not allowed in this context (because it is guarded by a specification-only expression)
ResolutionErrors.dfy(433,14): Error: when allocating an object of type 'YHWH', one of its constructor methods must be called
ResolutionErrors.dfy(438,6): Error: when allocating an object of type 'Lucifer', one of its constructor methods must be called
ResolutionErrors.dfy(439,6): Error: when allocating an object of type 'Lucifer', one of its constructor methods must be called
ResolutionErrors.dfy(441,9): Error: class Lamb does not have a default constructor
ResolutionErrors.dfy(837,11): Error: a modifies-clause expression must denote an object or a collection of objects (instead got int)
ResolutionErrors.dfy(841,14): Error: in a ghost context, only ghost fields can be mentioned as frame targets (x)
ResolutionErrors.dfy(844,12): Error: in a ghost context, only ghost fields can be mentioned as frame targets (x)
ResolutionErrors.dfy(852,14): Error: in a ghost context, only ghost fields can be mentioned as frame targets (x)
ResolutionErrors.dfy(862,18): Error: in a ghost context, only ghost fields can be mentioned as frame targets (x)
ResolutionErrors.dfy(873,16): Error: in a ghost context, only ghost fields can be mentioned as frame targets (x)
ResolutionErrors.dfy(10,16): Error: 'decreases *' is not allowed on ghost loops
ResolutionErrors.dfy(22,11): Error: array selection requires an array2 (got array3<T>)
ResolutionErrors.dfy(23,12): Error: sequence/array/multiset/map selection requires a sequence, array, multiset, or map (got array3<T>)
ResolutionErrors.dfy(24,11): Error: array selection requires an array4 (got array<T>)
ResolutionErrors.dfy(54,14): Error: a field must be selected via an object, not just a class name
ResolutionErrors.dfy(55,7): Error: unresolved identifier: F
ResolutionErrors.dfy(56,14): Error: an instance function must be selected via an object, not just a class name
ResolutionErrors.dfy(56,7): Error: call to instance function requires an instance
ResolutionErrors.dfy(57,7): Error: unresolved identifier: G
ResolutionErrors.dfy(59,7): Error: unresolved identifier: M
ResolutionErrors.dfy(60,7): Error: call to instance method requires an instance
ResolutionErrors.dfy(61,7): Error: unresolved identifier: N
ResolutionErrors.dfy(64,8): Error: non-function expression is called with parameters
ResolutionErrors.dfy(65,14): Error: member z does not exist in class Global
ResolutionErrors.dfy(84,12): Error: the name 'Benny' denotes a datatype constructor, but does not do so uniquely; add an explicit qualification (for example, 'Abc.Benny')
ResolutionErrors.dfy(89,12): Error: the name 'David' denotes a datatype constructor, but does not do so uniquely; add an explicit qualification (for example, 'Abc.David')
ResolutionErrors.dfy(90,12): Error: the name 'David' denotes a datatype constructor, but does not do so uniquely; add an explicit qualification (for example, 'Abc.David')
ResolutionErrors.dfy(92,12): Error: the name 'David' denotes a datatype constructor, but does not do so uniquely; add an explicit qualification (for example, 'Abc.David')
ResolutionErrors.dfy(94,12): Error: wrong number of arguments to datatype constructor Abc (found 2, expected 1)
ResolutionErrors.dfy(256,4): Error: label shadows an enclosing label
ResolutionErrors.dfy(261,2): Error: duplicate label
ResolutionErrors.dfy(287,4): Error: when allocating an object of type 'ClassWithConstructor', one of its constructor methods must be called
ResolutionErrors.dfy(288,4): Error: when allocating an object of type 'ClassWithConstructor', one of its constructor methods must be called
ResolutionErrors.dfy(290,4): Error: a constructor is only allowed to be called when an object is being allocated
ResolutionErrors.dfy(304,16): Error: arguments must have the same type (got int and DTD_List)
ResolutionErrors.dfy(305,16): Error: arguments must have the same type (got DTD_List and int)
ResolutionErrors.dfy(306,25): Error: arguments must have the same type (got bool and int)
ResolutionErrors.dfy(309,18): Error: ghost fields are allowed only in specification contexts
ResolutionErrors.dfy(318,15): Error: ghost variables are allowed only in specification contexts
ResolutionErrors.dfy(343,2): Error: incorrect type of method in-parameter 1 (expected GenericClass<int>, got GenericClass<bool>)
ResolutionErrors.dfy(355,18): Error: incorrect type of datatype constructor argument (found GList<_T0>, expected GList<int>)
ResolutionErrors.dfy(363,6): Error: arguments to + must be int or real or a collection type (instead got bool)
ResolutionErrors.dfy(368,6): Error: all lines in a calculation must have the same type (got int after bool)
ResolutionErrors.dfy(371,6): Error: first argument to ==> must be of type bool (instead got int)
ResolutionErrors.dfy(371,6): Error: second argument to ==> must be of type bool (instead got int)
ResolutionErrors.dfy(372,10): Error: first argument to ==> must be of type bool (instead got int)
ResolutionErrors.dfy(372,10): Error: second argument to ==> must be of type bool (instead got int)
ResolutionErrors.dfy(377,10): Error: first argument to ==> must be of type bool (instead got int)
ResolutionErrors.dfy(377,10): Error: second argument to ==> must be of type bool (instead got int)
ResolutionErrors.dfy(382,6): Error: print statement is not allowed in this context (because this is a ghost method or because the statement is guarded by a specification-only expression)
ResolutionErrors.dfy(404,6): Error: calls to methods with side-effects are not allowed inside a hint
ResolutionErrors.dfy(406,12): Error: a hint is not allowed to update heap locations
ResolutionErrors.dfy(408,8): Error: a hint is not allowed to update a variable declared outside the hint
ResolutionErrors.dfy(465,7): Error: ghost variables are allowed only in specification contexts
ResolutionErrors.dfy(471,12): Error: ghost variables are allowed only in specification contexts
ResolutionErrors.dfy(539,7): Error: let-such-that expressions are allowed only in ghost contexts
ResolutionErrors.dfy(541,7): Error: let-such-that expressions are allowed only in ghost contexts
ResolutionErrors.dfy(541,20): Error: ghost variables are allowed only in specification contexts
ResolutionErrors.dfy(543,7): Error: let-such-that expressions are allowed only in ghost contexts
ResolutionErrors.dfy(544,18): Error: unresolved identifier: w
ResolutionErrors.dfy(651,11): Error: lemmas are not allowed to have modifies clauses
134 resolution/type errors detected in ResolutionErrors.dfy

-------------------- ParseErrors.dfy --------------------
ParseErrors.dfy(4,19): error: a chain cannot have more than one != operator
ParseErrors.dfy(6,37): error: this operator chain cannot continue with a descending operator
ParseErrors.dfy(7,38): error: this operator chain cannot continue with an ascending operator
ParseErrors.dfy(12,24): error: this operator chain cannot continue with a descending operator
ParseErrors.dfy(15,18): error: this operator cannot be part of a chain
ParseErrors.dfy(16,19): error: this operator cannot be part of a chain
ParseErrors.dfy(17,18): error: this operator cannot be part of a chain
ParseErrors.dfy(18,18): error: chaining not allowed from the previous operator
ParseErrors.dfy(46,8): error: the main operator of a calculation must be transitive
ParseErrors.dfy(62,2): error: this operator cannot continue this calculation
ParseErrors.dfy(63,2): error: this operator cannot continue this calculation
ParseErrors.dfy(68,2): error: this operator cannot continue this calculation
ParseErrors.dfy(69,2): error: this operator cannot continue this calculation
ParseErrors.dfy(75,2): error: this operator cannot continue this calculation
14 parse errors detected in ParseErrors.dfy

-------------------- Array.dfy --------------------
Array.dfy(10,8): Error: assignment may update an array element not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
    (0,0): anon2
    (0,0): anon6_Then
Array.dfy(17,16): Error: target object may be null
Execution trace:
    (0,0): anon0
Array.dfy(24,6): Error: index out of range
Execution trace:
    (0,0): anon0
Array.dfy(48,20): Error: assertion violation
Execution trace:
    (0,0): anon0
Array.dfy(56,8): Error: assignment may update an array element not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
    (0,0): anon2
    (0,0): anon6_Then
Array.dfy(63,8): Error: assignment may update an array element not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
    (0,0): anon2
    (0,0): anon6_Then
Array.dfy(107,21): Error: upper bound below lower bound or above length of array
Execution trace:
    (0,0): anon0
    (0,0): anon14_Else
    (0,0): anon18_Then
    (0,0): anon19_Then
    (0,0): anon20_Then
    (0,0): anon11
Array.dfy(117,8): Error: insufficient reads clause to read the indicated range of array elements
Execution trace:
    (0,0): anon0
    (0,0): anon9_Else
    (0,0): anon10_Then
    (0,0): anon11_Then
    (0,0): anon12_Then
Array.dfy(119,8): Error: insufficient reads clause to read the indicated range of array elements
Execution trace:
    (0,0): anon0
    (0,0): anon9_Else
    (0,0): anon10_Then
    (0,0): anon11_Then
    (0,0): anon12_Else
Array.dfy(120,8): Error: insufficient reads clause to read the indicated range of array elements
Execution trace:
    (0,0): anon0
    (0,0): anon9_Else
    (0,0): anon10_Then
    (0,0): anon11_Then
    (0,0): anon12_Else
Array.dfy(121,8): Error: insufficient reads clause to read the indicated range of array elements
Execution trace:
    (0,0): anon0
    (0,0): anon9_Else
    (0,0): anon10_Then
    (0,0): anon11_Then
    (0,0): anon12_Else
Array.dfy(147,6): Error: insufficient reads clause to read array element
Execution trace:
    (0,0): anon0
    (0,0): anon7_Else
    (0,0): anon8_Then
    (0,0): anon9_Then
Array.dfy(155,6): Error: insufficient reads clause to read array element
Execution trace:
    (0,0): anon0
    (0,0): anon7_Else
    (0,0): anon8_Then
    (0,0): anon9_Then
Array.dfy(171,6): Error: assignment may update an array element not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
Array.dfy(178,6): Error: assignment may update an array element not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
Array.dfy(203,1): Error BP5003: A postcondition might not hold on this return path.
Array.dfy(202,11): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
Array.dfy(227,1): Error BP5003: A postcondition might not hold on this return path.
Array.dfy(226,11): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
Array.dfy(233,1): Error BP5003: A postcondition might not hold on this return path.
Array.dfy(232,11): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
Array.dfy(248,10): Error: value assigned to a nat must be non-negative
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
    (0,0): anon2
    (0,0): anon6_Then
Array.dfy(249,5): Error: value assigned to a nat must be non-negative
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
    (0,0): anon2
    (0,0): anon6_Then

Dafny program verifier finished with 41 verified, 20 errors

-------------------- MultiDimArray.dfy --------------------
MultiDimArray.dfy(53,21): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon11_Then
    (0,0): anon12_Then
MultiDimArray.dfy(80,25): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
    (0,0): anon6_Then

Dafny program verifier finished with 8 verified, 2 errors

-------------------- NonGhostQuantifiers.dfy --------------------
NonGhostQuantifiers.dfy(146,4): Error: a quantifier involved in a function definition is not allowed to depend on the set of allocated references; Dafny's heuristics can't figure out a bound for the values of 'c'
NonGhostQuantifiers.dfy(150,4): Error: a quantifier involved in a function definition is not allowed to depend on the set of allocated references; Dafny's heuristics can't figure out a bound for the values of 'c'
NonGhostQuantifiers.dfy(155,4): Error: a quantifier involved in a function definition is not allowed to depend on the set of allocated references; Dafny's heuristics can't figure out a bound for the values of 'c'
NonGhostQuantifiers.dfy(160,4): Error: a quantifier involved in a function definition is not allowed to depend on the set of allocated references; Dafny's heuristics can't figure out a bound for the values of 'c'
NonGhostQuantifiers.dfy(164,4): Error: a quantifier involved in a function definition is not allowed to depend on the set of allocated references; Dafny's heuristics can't figure out a bound for the values of 'c'
NonGhostQuantifiers.dfy(168,4): Error: a quantifier involved in a function definition is not allowed to depend on the set of allocated references; Dafny's heuristics can't figure out a bound for the values of 'c'
NonGhostQuantifiers.dfy(173,4): Error: a quantifier involved in a function definition is not allowed to depend on the set of allocated references; Dafny's heuristics can't figure out a bound for the values of 'c'
NonGhostQuantifiers.dfy(178,4): Error: a quantifier involved in a function definition is not allowed to depend on the set of allocated references; Dafny's heuristics can't figure out a bound for the values of 'c'
NonGhostQuantifiers.dfy(183,13): Error: quantifiers in non-ghost contexts must be compilable, but Dafny's heuristics can't figure out how to produce a bounded set of values for 'c'
NonGhostQuantifiers.dfy(13,5): Error: quantifiers in non-ghost contexts must be compilable, but Dafny's heuristics can't figure out how to produce a bounded set of values for 'n'
NonGhostQuantifiers.dfy(42,4): Error: quantifiers in non-ghost contexts must be compilable, but Dafny's heuristics can't figure out how to produce a bounded set of values for 'n'
NonGhostQuantifiers.dfy(46,4): Error: quantifiers in non-ghost contexts must be compilable, but Dafny's heuristics can't figure out how to produce a bounded set of values for 'd'
NonGhostQuantifiers.dfy(50,4): Error: quantifiers in non-ghost contexts must be compilable, but Dafny's heuristics can't figure out how to produce a bounded set of values for 'n'
NonGhostQuantifiers.dfy(74,5): Error: quantifiers in non-ghost contexts must be compilable, but Dafny's heuristics can't figure out how to produce a bounded set of values for 'i'
NonGhostQuantifiers.dfy(78,5): Error: quantifiers in non-ghost contexts must be compilable, but Dafny's heuristics can't figure out how to produce a bounded set of values for 'j'
NonGhostQuantifiers.dfy(88,5): Error: quantifiers in non-ghost contexts must be compilable, but Dafny's heuristics can't figure out how to produce a bounded set of values for 'j'
NonGhostQuantifiers.dfy(103,5): Error: quantifiers in non-ghost contexts must be compilable, but Dafny's heuristics can't figure out how to produce a bounded set of values for 'j'
NonGhostQuantifiers.dfy(111,10): Error: quantifiers in non-ghost contexts must be compilable, but Dafny's heuristics can't figure out how to produce a bounded set of values for 'y'
NonGhostQuantifiers.dfy(120,8): Error: quantifiers in non-ghost contexts must be compilable, but Dafny's heuristics can't figure out how to produce a bounded set of values for 'x'
NonGhostQuantifiers.dfy(137,8): Error: Assignment to non-ghost variable is not allowed in this context (because this is a ghost method or because the statement is guarded by a specification-only expression)
20 resolution/type errors detected in NonGhostQuantifiers.dfy

-------------------- AdvancedLHS.dfy --------------------
AdvancedLHS.dfy(31,23): Error: target object may be null
Execution trace:
    (0,0): anon0
    (0,0): anon15_Else

Dafny program verifier finished with 7 verified, 1 error

-------------------- ModulesCycle.dfy --------------------
ModulesCycle.dfy(3,9): Error: module T does not exist
ModulesCycle.dfy(6,7): Error: module definition contains a cycle (note: parent modules implicitly depend on submodules): A -> D -> C -> B
2 resolution/type errors detected in ModulesCycle.dfy

-------------------- Modules0.dfy --------------------
Modules0.dfy(5,8): Error: Duplicate name of top-level declaration: WazzupA
Modules0.dfy(6,11): Error: Duplicate name of top-level declaration: WazzupA
Modules0.dfy(7,7): Error: Duplicate name of top-level declaration: WazzupA
Modules0.dfy(10,7): Error: Duplicate name of top-level declaration: WazzupB
Modules0.dfy(11,8): Error: Duplicate name of top-level declaration: WazzupB
Modules0.dfy(12,11): Error: Duplicate name of top-level declaration: WazzupB
Modules0.dfy(53,18): Error: Undeclared top-level type or type parameter: MyClass1 (did you forget to qualify a name?)
Modules0.dfy(54,18): Error: Undeclared top-level type or type parameter: MyClass2 (did you forget to qualify a name?)
Modules0.dfy(65,18): Error: Undeclared top-level type or type parameter: MyClass2 (did you forget to qualify a name?)
Modules0.dfy(72,20): Error: Undeclared top-level type or type parameter: MyClass1 (did you forget to qualify a name?)
Modules0.dfy(72,34): Error: Undeclared top-level type or type parameter: MyClass0 (did you forget to qualify a name?)
Modules0.dfy(75,23): Error: Undeclared top-level type or type parameter: MyClass0 (did you forget to qualify a name?)
Modules0.dfy(80,24): Error: Undeclared top-level type or type parameter: MyClassY (did you forget to qualify a name?)
Modules0.dfy(89,16): Error: Undeclared top-level type or type parameter: ClassG (did you forget to qualify a name?)
Modules0.dfy(221,15): Error: Undeclared top-level type or type parameter: X (did you forget to qualify a name?)
Modules0.dfy(221,8): Error: new can be applied only to reference types (got X)
Modules0.dfy(230,13): Error: Undeclared type X in module B
Modules0.dfy(240,13): Error: unresolved identifier: X
Modules0.dfy(241,15): Error: member DoesNotExist does not exist in class X
Modules0.dfy(280,19): Error: Undeclared top-level type or type parameter: D (did you forget to qualify a name?)
Modules0.dfy(280,12): Error: new can be applied only to reference types (got D)
Modules0.dfy(283,25): Error: type of the receiver is not fully determined at this program point
Modules0.dfy(284,16): Error: type of the receiver is not fully determined at this program point
Modules0.dfy(284,6): Error: expected method call, found expression
Modules0.dfy(285,16): Error: type of the receiver is not fully determined at this program point
Modules0.dfy(285,6): Error: expected method call, found expression
Modules0.dfy(307,24): Error: module Q_Imp does not exist
Modules0.dfy(97,14): Error: Undeclared top-level type or type parameter: MyClassY (did you forget to qualify a name?)
28 resolution/type errors detected in Modules0.dfy

-------------------- Modules1.dfy --------------------
Modules1.dfy(76,16): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
Modules1.dfy(89,16): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
Modules1.dfy(91,18): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
Modules1.dfy(53,3): Error: decreases expression must be bounded below by 0
Execution trace:
    (0,0): anon0
Modules1.dfy(59,3): Error: failure to decrease termination measure
Execution trace:
    (0,0): anon0

Dafny program verifier finished with 22 verified, 5 errors

-------------------- Modules2.dfy --------------------
Modules2.dfy(44,17): Error: The name C ambiguously refers to a type in one of the modules A, B (try qualifying the type name with the module name)
Modules2.dfy(44,10): Error: new can be applied only to reference types (got C)
Modules2.dfy(47,14): Error: the name 'E' denotes a datatype constructor, but does not do so uniquely; add an explicit qualification (for example, 'D.E')
Modules2.dfy(48,14): Error: The name D ambiguously refers to a type in one of the modules A, B
Modules2.dfy(50,11): Error: The name f ambiguously refers to a static member in one of the modules A, B
5 resolution/type errors detected in Modules2.dfy

-------------------- BadFunction.dfy --------------------
BadFunction.dfy(6,3): Error: failure to decrease termination measure
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else

Dafny program verifier finished with 2 verified, 1 error

-------------------- Comprehensions.dfy --------------------
Comprehensions.dfy(9,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon9_Then
    (0,0): anon10_Then
    (0,0): anon4
    (0,0): anon11_Then
    (0,0): anon12_Then
    (0,0): anon8

Dafny program verifier finished with 6 verified, 1 error

-------------------- Basics.dfy --------------------
Basics.dfy(42,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
Basics.dfy(66,42): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon13_Then
    (0,0): anon14_Then
    (0,0): anon15_Then
    Basics.dfy(66,72): anon16_Else
    Basics.dfy(66,82): anon17_Else
    Basics.dfy(66,95): anon18_Else
    (0,0): anon12
Basics.dfy(110,16): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon10_Then
Basics.dfy(129,10): Error: when left-hand sides 0 and 1 may refer to the same location, they must be assigned the same value
Execution trace:
    (0,0): anon0
    (0,0): anon10_Then
    (0,0): anon3
    (0,0): anon11_Then
    (0,0): anon6
    (0,0): anon12_Then
    (0,0): anon9
Basics.dfy(143,10): Error: when left-hand sides 0 and 1 refer to the same location, they must be assigned the same value
Execution trace:
    (0,0): anon0
Basics.dfy(155,19): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon11_Then
Basics.dfy(157,10): Error: assignment may update an object not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
    (0,0): anon3
Basics.dfy(157,10): Error: target object may be null
Execution trace:
    (0,0): anon0
    (0,0): anon3
Basics.dfy(162,12): Error: left-hand sides 0 and 1 may refer to the same location
Execution trace:
    (0,0): anon0
    (0,0): anon11_Then
    (0,0): anon3
    (0,0): anon12_Then
Basics.dfy(173,15): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon11_Then
    (0,0): anon3
    (0,0): anon12_Else
    (0,0): anon6
    (0,0): anon13_Then
    (0,0): anon8
    (0,0): anon14_Then
Basics.dfy(235,10): Error: when left-hand sides 0 and 1 refer to the same location, they must be assigned the same value
Execution trace:
    (0,0): anon0
Basics.dfy(426,12): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon4_Then
    (0,0): anon3
Basics.dfy(437,19): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon4_Else
Basics.dfy(439,12): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon4_Then
    (0,0): anon3

Dafny program verifier finished with 61 verified, 14 errors

-------------------- ControlStructures.dfy --------------------
ControlStructures.dfy(5,3): Error: missing case in case statement: Purple
Execution trace:
    (0,0): anon0
    (0,0): anon6_Else
    (0,0): anon7_Else
    (0,0): anon8_Then
ControlStructures.dfy(5,3): Error: missing case in case statement: Blue
Execution trace:
    (0,0): anon0
    (0,0): anon6_Else
    (0,0): anon7_Else
    (0,0): anon8_Else
    (0,0): anon9_Then
ControlStructures.dfy(14,3): Error: missing case in case statement: Purple
Execution trace:
    (0,0): anon0
    (0,0): anon6_Else
    (0,0): anon7_Else
    (0,0): anon8_Then
ControlStructures.dfy(43,5): Error: missing case in case statement: Red
Execution trace:
    (0,0): anon0
    (0,0): anon8_Then
    (0,0): anon9_Else
    (0,0): anon10_Then
ControlStructures.dfy(51,3): Error: missing case in case statement: Red
Execution trace:
    (0,0): anon0
    (0,0): anon8_Else
    (0,0): anon9_Else
    (0,0): anon10_Else
    (0,0): anon11_Else
    (0,0): anon12_Then
ControlStructures.dfy(72,3): Error: alternative cases fail to cover all possibilties
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
ControlStructures.dfy(215,18): Error: assertion violation
Execution trace:
    (0,0): anon0
    ControlStructures.dfy(194,3): anon59_LoopHead
    (0,0): anon59_LoopBody
    ControlStructures.dfy(194,3): anon60_Else
    ControlStructures.dfy(194,3): anon61_Else
    ControlStructures.dfy(198,5): anon62_LoopHead
    (0,0): anon62_LoopBody
    ControlStructures.dfy(198,5): anon63_Else
    ControlStructures.dfy(198,5): anon64_Else
    (0,0): anon68_Then
    ControlStructures.dfy(210,9): anon69_LoopHead
    (0,0): anon69_LoopBody
    ControlStructures.dfy(210,9): anon70_Else
    (0,0): anon71_Then
ControlStructures.dfy(232,21): Error: assertion violation
Execution trace:
    (0,0): anon0
    ControlStructures.dfy(194,3): anon59_LoopHead
    (0,0): anon59_LoopBody
    ControlStructures.dfy(194,3): anon60_Else
    ControlStructures.dfy(194,3): anon61_Else
    ControlStructures.dfy(198,5): anon62_LoopHead
    (0,0): anon62_LoopBody
    ControlStructures.dfy(198,5): anon63_Else
    ControlStructures.dfy(198,5): anon64_Else
    (0,0): anon68_Then
    ControlStructures.dfy(210,9): anon69_LoopHead
    (0,0): anon69_LoopBody
    ControlStructures.dfy(210,9): anon70_Else
    ControlStructures.dfy(210,9): anon71_Else
    (0,0): anon72_Then
    (0,0): after_4
    ControlStructures.dfy(221,7): anon74_LoopHead
    (0,0): anon74_LoopBody
    ControlStructures.dfy(221,7): anon75_Else
    ControlStructures.dfy(221,7): anon76_Else
    (0,0): anon78_Then
    (0,0): anon38
    (0,0): anon83_Then
    (0,0): anon52
ControlStructures.dfy(235,30): Error: assertion violation
Execution trace:
    (0,0): anon0
    ControlStructures.dfy(194,3): anon59_LoopHead
    (0,0): anon59_LoopBody
    ControlStructures.dfy(194,3): anon60_Else
    ControlStructures.dfy(194,3): anon61_Else
    ControlStructures.dfy(198,5): anon62_LoopHead
    (0,0): anon62_LoopBody
    ControlStructures.dfy(198,5): anon63_Else
    ControlStructures.dfy(198,5): anon64_Else
    (0,0): anon65_Then
    (0,0): anon84_Then
    (0,0): anon85_Then
    (0,0): anon56
ControlStructures.dfy(238,17): Error: assertion violation
Execution trace:
    (0,0): anon0
    ControlStructures.dfy(194,3): anon59_LoopHead
    (0,0): anon59_LoopBody
    ControlStructures.dfy(194,3): anon60_Else
    ControlStructures.dfy(194,3): anon61_Else
    ControlStructures.dfy(198,5): anon62_LoopHead
    (0,0): anon62_LoopBody
    ControlStructures.dfy(198,5): anon63_Else
    ControlStructures.dfy(198,5): anon64_Else
    (0,0): anon68_Then
    ControlStructures.dfy(210,9): anon69_LoopHead
    (0,0): anon69_LoopBody
    ControlStructures.dfy(210,9): anon70_Else
    ControlStructures.dfy(210,9): anon71_Else
    (0,0): anon72_Then
    (0,0): after_4
    ControlStructures.dfy(221,7): anon74_LoopHead
    (0,0): anon74_LoopBody
    ControlStructures.dfy(221,7): anon75_Else
    ControlStructures.dfy(221,7): anon76_Else
    (0,0): anon79_Then
    (0,0): anon82_Then
    (0,0): anon86_Then
    (0,0): anon58

Dafny program verifier finished with 22 verified, 10 errors

-------------------- Termination.dfy --------------------
Termination.dfy(356,47): Error: failure to decrease termination measure
Execution trace:
    (0,0): anon0
    (0,0): anon7_Else
    (0,0): anon8_Then
    (0,0): anon9_Else
Termination.dfy(105,3): Error: cannot prove termination; try supplying a decreases clause for the loop
Execution trace:
    (0,0): anon0
    Termination.dfy(105,3): anon6_LoopHead
    (0,0): anon6_LoopBody
    Termination.dfy(105,3): anon7_Else
    Termination.dfy(105,3): anon8_Else
Termination.dfy(113,3): Error: cannot prove termination; try supplying a decreases clause for the loop
Execution trace:
    (0,0): anon0
    Termination.dfy(113,3): anon8_LoopHead
    (0,0): anon8_LoopBody
    Termination.dfy(113,3): anon9_Else
    (0,0): anon10_Then
    (0,0): anon5
    Termination.dfy(113,3): anon11_Else
Termination.dfy(122,3): Error: decreases expression might not decrease
Execution trace:
    (0,0): anon0
    Termination.dfy(122,3): anon8_LoopHead
    (0,0): anon8_LoopBody
    Termination.dfy(122,3): anon9_Else
    (0,0): anon10_Then
    (0,0): anon5
    Termination.dfy(122,3): anon11_Else
Termination.dfy(123,17): Error: decreases expression must be bounded below by 0 at end of loop iteration
Execution trace:
    (0,0): anon0
    Termination.dfy(122,3): anon8_LoopHead
    (0,0): anon8_LoopBody
    Termination.dfy(122,3): anon9_Else
    (0,0): anon10_Then
    (0,0): anon5
    Termination.dfy(122,3): anon11_Else
Termination.dfy(251,35): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon6_Else
    (0,0): anon7_Else
    (0,0): anon8_Then
Termination.dfy(291,3): Error: decreases expression might not decrease
Execution trace:
    Termination.dfy(291,3): anon9_LoopHead
    (0,0): anon9_LoopBody
    Termination.dfy(291,3): anon10_Else
    Termination.dfy(291,3): anon11_Else
    (0,0): anon12_Else

Dafny program verifier finished with 59 verified, 7 errors

-------------------- DTypes.dfy --------------------
DTypes.dfy(15,14): Error: assertion violation
Execution trace:
    (0,0): anon0
DTypes.dfy(53,18): Error: assertion violation
Execution trace:
    (0,0): anon0
DTypes.dfy(117,13): Error: assertion violation
DTypes.dfy(89,30): Related location
Execution trace:
    (0,0): anon0
DTypes.dfy(123,13): Error: assertion violation
DTypes.dfy(89,20): Related location
Execution trace:
    (0,0): anon0
DTypes.dfy(133,12): Error: assertion violation
DTypes.dfy(128,6): Related location
DTypes.dfy(89,20): Related location
Execution trace:
    (0,0): anon0
DTypes.dfy(154,12): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
    (0,0): anon6_Then
    (0,0): anon4

Dafny program verifier finished with 27 verified, 6 errors

-------------------- ParallelResolveErrors.dfy --------------------
ParallelResolveErrors.dfy(7,9): Error: Assignment to non-ghost field is not allowed in this context (because this is a ghost method or because the statement is guarded by a specification-only expression)
ParallelResolveErrors.dfy(18,4): Error: LHS of assignment must denote a mutable variable
ParallelResolveErrors.dfy(23,6): Error: body of forall statement is attempting to update a variable declared outside the forall statement
ParallelResolveErrors.dfy(41,6): Error: Assignment to non-ghost variable is not allowed in this context (because this is a ghost method or because the statement is guarded by a specification-only expression)
ParallelResolveErrors.dfy(53,13): Error: new allocation not supported in forall statements
ParallelResolveErrors.dfy(58,13): Error: new allocation not allowed in ghost context
ParallelResolveErrors.dfy(59,13): Error: new allocation not allowed in ghost context
ParallelResolveErrors.dfy(60,13): Error: new allocation not allowed in ghost context
ParallelResolveErrors.dfy(61,13): Error: new allocation not allowed in ghost context
ParallelResolveErrors.dfy(62,6): Error: the body of the enclosing forall statement is not allowed to update heap locations, so any call must be to a method with an empty modifies clause
ParallelResolveErrors.dfy(63,6): Error: the body of the enclosing forall statement is not allowed to call non-ghost methods
ParallelResolveErrors.dfy(70,19): Error: trying to break out of more loop levels than there are enclosing loops
ParallelResolveErrors.dfy(74,18): Error: return statement is not allowed inside a forall statement
ParallelResolveErrors.dfy(81,21): Error: trying to break out of more loop levels than there are enclosing loops
ParallelResolveErrors.dfy(82,20): Error: trying to break out of more loop levels than there are enclosing loops
ParallelResolveErrors.dfy(83,20): Error: break label is undefined or not in scope: OutsideLoop
ParallelResolveErrors.dfy(92,24): Error: trying to break out of more loop levels than there are enclosing loops
ParallelResolveErrors.dfy(93,24): Error: break label is undefined or not in scope: OutsideLoop
ParallelResolveErrors.dfy(104,9): Error: the body of the enclosing forall statement is not allowed to update heap locations
ParallelResolveErrors.dfy(112,6): Error: the body of the enclosing forall statement is not allowed to update heap locations, so any call must be to a method with an empty modifies clause
ParallelResolveErrors.dfy(117,6): Error: the body of the enclosing forall statement is not allowed to update heap locations, so any call must be to a method with an empty modifies clause
21 resolution/type errors detected in ParallelResolveErrors.dfy

-------------------- Parallel.dfy --------------------
Parallel.dfy(31,5): Error BP5002: A precondition for this call might not hold.
Parallel.dfy(57,14): Related location: This is the precondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon29_Else
    (0,0): anon32_Else
    (0,0): anon33_Then
    (0,0): anon34_Then
    (0,0): anon35_Then
    (0,0): anon14
Parallel.dfy(35,5): Error: target object may be null
Execution trace:
    (0,0): anon0
    (0,0): anon29_Else
    (0,0): anon32_Else
    (0,0): anon33_Else
    (0,0): anon36_Then
    (0,0): anon37_Then
    (0,0): anon38_Then
    (0,0): anon20
Parallel.dfy(39,18): Error: possible violation of postcondition of forall statement
Execution trace:
    (0,0): anon0
    (0,0): anon29_Else
    (0,0): anon32_Else
    (0,0): anon33_Else
    (0,0): anon36_Else
    (0,0): anon39_Then
    (0,0): anon40_Then
    (0,0): anon26
Parallel.dfy(44,19): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon29_Else
    (0,0): anon32_Else
    (0,0): anon33_Else
    (0,0): anon36_Else
    (0,0): anon39_Then
    (0,0): anon40_Then
Parallel.dfy(90,19): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon10_Else
    (0,0): anon11_Then
Parallel.dfy(96,20): Error: possible violation of postcondition of forall statement
Execution trace:
    (0,0): anon0
    (0,0): anon10_Else
    (0,0): anon11_Then
    (0,0): anon12_Then
Parallel.dfy(119,12): Error: value assigned to a nat must be non-negative
Execution trace:
    (0,0): anon0
    (0,0): anon6_Then
    (0,0): anon7_Then
    (0,0): anon3
Parallel.dfy(182,12): Error: left-hand sides for different forall-statement bound variables may refer to the same location
Execution trace:
    (0,0): anon0
    (0,0): anon19_Then
    (0,0): anon20_Then
    (0,0): anon5
Parallel.dfy(293,10): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon4_Else

Dafny program verifier finished with 43 verified, 9 errors

-------------------- TypeParameters.dfy --------------------
TypeParameters.dfy(44,22): Error: assertion violation
Execution trace:
    (0,0): anon0
TypeParameters.dfy(66,27): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
    (0,0): anon2
TypeParameters.dfy(153,12): Error: assertion violation
TypeParameters.dfy(153,28): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon20_Then
    TypeParameters.dfy(153,32): anon21_Else
    (0,0): anon5
TypeParameters.dfy(155,12): Error: assertion violation
TypeParameters.dfy(155,33): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon23_Then
    TypeParameters.dfy(155,37): anon24_Else
    (0,0): anon11
TypeParameters.dfy(157,12): Error: assertion violation
TypeParameters.dfy(157,20): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon25_Then
TypeParameters.dfy(159,12): Error: assertion violation
TypeParameters.dfy(144,5): Related location
TypeParameters.dfy(159,21): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon26_Then
TypeParameters.dfy(161,12): Error: assertion violation
TypeParameters.dfy(146,8): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon27_Then
TypeParameters.dfy(175,15): Error BP5005: This loop invariant might not be maintained by the loop.
TypeParameters.dfy(175,38): Related location
Execution trace:
    (0,0): anon0
    TypeParameters.dfy(168,3): anon16_LoopHead
    (0,0): anon16_LoopBody
    TypeParameters.dfy(168,3): anon17_Else
    (0,0): anon19_Then
    TypeParameters.dfy(174,3): anon20_LoopHead
    (0,0): anon20_LoopBody
    TypeParameters.dfy(174,3): anon21_Else
    TypeParameters.dfy(174,3): anon23_Else

Dafny program verifier finished with 58 verified, 8 errors

-------------------- Datatypes.dfy --------------------
Datatypes.dfy(294,10): Error BP5003: A postcondition might not hold on this return path.
Datatypes.dfy(292,15): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon13_Then
    (0,0): anon14_Else
    (0,0): anon15_Then
    (0,0): anon6
Datatypes.dfy(295,12): Error: missing case in case statement: Appendix
Execution trace:
    (0,0): anon0
    (0,0): anon13_Then
    (0,0): anon14_Else
    (0,0): anon15_Else
    (0,0): anon16_Then
Datatypes.dfy(346,5): Error: missing case in case statement: Cons
Execution trace:
    (0,0): anon0
    (0,0): anon6_Else
    (0,0): anon7_Then
Datatypes.dfy(346,5): Error: missing case in case statement: Nil
Execution trace:
    (0,0): anon0
    (0,0): anon6_Else
    (0,0): anon7_Else
    (0,0): anon8_Then
Datatypes.dfy(353,8): Error: missing case in case statement: Cons
Execution trace:
    (0,0): anon0
    (0,0): anon9_Else
    (0,0): anon10_Then
    (0,0): anon11_Then
Datatypes.dfy(353,8): Error: missing case in case statement: Nil
Execution trace:
    (0,0): anon0
    (0,0): anon9_Else
    (0,0): anon10_Then
    (0,0): anon11_Else
    (0,0): anon12_Then
Datatypes.dfy(79,20): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon20_Else
    (0,0): anon21_Then
    (0,0): anon4
    (0,0): anon22_Else
    (0,0): anon23_Then
    (0,0): anon24_Else
    (0,0): anon25_Then
Datatypes.dfy(167,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon4_Then
Datatypes.dfy(169,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon4_Else
    (0,0): anon5_Then
Datatypes.dfy(198,13): Error: destructor 'Car' can only be applied to datatype values constructed by 'XCons'
Execution trace:
    (0,0): anon0
Datatypes.dfy(201,17): Error: destructor 'Car' can only be applied to datatype values constructed by 'XCons'
Execution trace:
    (0,0): anon0
    (0,0): anon6_Then
Datatypes.dfy(222,17): Error: destructor 'c' can only be applied to datatype values constructed by 'T''
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then

Dafny program verifier finished with 44 verified, 12 errors

-------------------- StatementExpressions.dfy --------------------
StatementExpressions.dfy(52,11): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon6_Then
    (0,0): anon8_Then
StatementExpressions.dfy(56,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon6_Then
    StatementExpressions.dfy(50,7): anon8_Else
StatementExpressions.dfy(74,6): Error: possible division by zero
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
StatementExpressions.dfy(85,5): Error: value assigned to a nat must be non-negative
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
StatementExpressions.dfy(95,11): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon6_Then

Dafny program verifier finished with 17 verified, 5 errors

-------------------- Coinductive.dfy --------------------
Coinductive.dfy(10,11): Error: because of cyclic dependencies among constructor argument types, no instances of datatype 'Rec_Forever' can be constructed
Coinductive.dfy(13,11): Error: because of cyclic dependencies among constructor argument types, no instances of datatype 'D' can be constructed
Coinductive.dfy(35,11): Error: because of cyclic dependencies among constructor argument types, no instances of datatype 'K' can be constructed
Coinductive.dfy(61,11): Error: because of cyclic dependencies among constructor argument types, no instances of datatype 'NotFiniteEnough_Dt' can be constructed
Coinductive.dfy(90,8): Error: a copredicate can be called recursively only in positive positions
Coinductive.dfy(91,8): Error: a copredicate can be called recursively only in positive positions
Coinductive.dfy(92,8): Error: a copredicate can be called recursively only in positive positions and cannot sit inside an unbounded existential quantifier
Coinductive.dfy(92,21): Error: a copredicate can be called recursively only in positive positions and cannot sit inside an unbounded existential quantifier
Coinductive.dfy(98,5): Error: a copredicate can be called recursively only in positive positions
Coinductive.dfy(101,27): Error: a copredicate can be called recursively only in positive positions and cannot sit inside an unbounded existential quantifier
Coinductive.dfy(102,28): Error: a copredicate can be called recursively only in positive positions and cannot sit inside an unbounded existential quantifier
Coinductive.dfy(103,17): Error: a copredicate can be called recursively only in positive positions and cannot sit inside an unbounded existential quantifier
Coinductive.dfy(113,24): Error: a copredicate can be called recursively only in positive positions and cannot sit inside an unbounded existential quantifier
Coinductive.dfy(119,15): Error: a copredicate can be called recursively only in positive positions and cannot sit inside an unbounded existential quantifier
Coinductive.dfy(120,10): Error: a copredicate can be called recursively only in positive positions and cannot sit inside an unbounded existential quantifier
Coinductive.dfy(145,5): Error: a recursive call from a copredicate can go only to other copredicates
16 resolution/type errors detected in Coinductive.dfy

-------------------- Corecursion.dfy --------------------
Corecursion.dfy(15,13): Error: cannot prove termination; try supplying a decreases clause (note that only functions without side effects can be called co-recursively)
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
Corecursion.dfy(21,13): Error: cannot prove termination; try supplying a decreases clause (note that only functions without any ensures clause can be called co-recursively)
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
Corecursion.dfy(56,5): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
Corecursion.dfy(69,16): Error: cannot prove termination; try supplying a decreases clause (note that calls cannot be co-recursive in this context)
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
Corecursion.dfy(91,15): Error: cannot prove termination; try supplying a decreases clause (note that a call can be co-recursive only if all intra-cluster calls are in non-destructive contexts)
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
    (0,0): anon6_Then
Corecursion.dfy(101,15): Error: cannot prove termination; try supplying a decreases clause (note that a call can be co-recursive only if all intra-cluster calls are in non-destructive contexts)
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
    (0,0): anon6_Then
Corecursion.dfy(146,13): Error: failure to decrease termination measure (note that a call can be co-recursive only if all intra-cluster calls are in non-destructive contexts)
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
Corecursion.dfy(159,13): Error: failure to decrease termination measure (note that a call can be co-recursive only if all intra-cluster calls are in non-destructive contexts)
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else

Dafny program verifier finished with 20 verified, 8 errors

-------------------- CoResolution.dfy --------------------
CoResolution.dfy(14,9): Error: member Undeclared# does not exist in class _default
CoResolution.dfy(15,4): Error: unresolved identifier: Undeclared#
CoResolution.dfy(18,7): Error: unresolved identifier: _k
CoResolution.dfy(36,8): Error: == can only be applied to expressions of types that support equality (got Stream<_T0>)
CoResolution.dfy(47,8): Error: Assignment to non-ghost variable is not allowed in this context (because this is a ghost method or because the statement is guarded by a specification-only expression)
CoResolution.dfy(64,10): Error: a copredicate is not allowed to declare any reads clause
CoResolution.dfy(70,31): Error: a copredicate is not allowed to declare any ensures clause
CoResolution.dfy(79,20): Error: a recursive call from a copredicate can go only to other copredicates
CoResolution.dfy(83,20): Error: a recursive call from a copredicate can go only to other copredicates
CoResolution.dfy(92,4): Error: a recursive call from a colemma can go only to other colemmas and prefix lemmas
CoResolution.dfy(106,13): Error: a recursive call from a colemma can go only to other colemmas and prefix lemmas
CoResolution.dfy(107,13): Error: a recursive call from a colemma can go only to other colemmas and prefix lemmas
CoResolution.dfy(112,17): Error: a recursive call from a copredicate can go only to other copredicates
CoResolution.dfy(118,17): Error: a recursive call from a copredicate can go only to other copredicates
CoResolution.dfy(126,13): Error: a recursive call from a colemma can go only to other colemmas and prefix lemmas
CoResolution.dfy(127,13): Error: a recursive call from a colemma can go only to other colemmas and prefix lemmas
CoResolution.dfy(132,17): Error: a recursive call from a copredicate can go only to other copredicates
CoResolution.dfy(138,17): Error: a recursive call from a copredicate can go only to other copredicates
CoResolution.dfy(146,4): Error: a recursive call from a copredicate can go only to other copredicates
CoResolution.dfy(148,4): Error: a recursive call from a copredicate can go only to other copredicates
CoResolution.dfy(164,13): Error: a recursive call from a colemma can go only to other colemmas and prefix lemmas
21 resolution/type errors detected in CoResolution.dfy

-------------------- CoPrefix.dfy --------------------
CoPrefix.dfy(161,3): Error BP5003: A postcondition might not hold on this return path.
CoPrefix.dfy(160,15): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
CoPrefix.dfy(166,3): Error BP5003: A postcondition might not hold on this return path.
CoPrefix.dfy(165,15): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
CoPrefix.dfy(173,5): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
CoPrefix.dfy(60,7): Error: failure to decrease termination measure
Execution trace:
    (0,0): anon0
    (0,0): anon7_Then
    (0,0): anon8_Else
    (0,0): anon9_Then
CoPrefix.dfy(73,7): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon7_Then
    (0,0): anon8_Else
    (0,0): anon9_Then
CoPrefix.dfy(111,1): Error BP5003: A postcondition might not hold on this return path.
CoPrefix.dfy(110,11): Related location: This is the postcondition that might not hold.
CoPrefix.dfy(98,17): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
CoPrefix.dfy(135,25): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon9_Then
    (0,0): anon10_Then
CoPrefix.dfy(139,25): Error: assertion violation
CoPrefix.dfy(114,23): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon9_Then
    (0,0): anon12_Then
CoPrefix.dfy(148,1): Error BP5003: A postcondition might not hold on this return path.
CoPrefix.dfy(147,11): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else

Dafny program verifier finished with 41 verified, 9 errors

-------------------- CoinductiveProofs.dfy --------------------
CoinductiveProofs.dfy(26,12): Error: assertion violation
CoinductiveProofs.dfy(10,17): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
    (0,0): anon6_Then
CoinductiveProofs.dfy(56,1): Error BP5003: A postcondition might not hold on this return path.
CoinductiveProofs.dfy(55,11): Related location: This is the postcondition that might not hold.
CoinductiveProofs.dfy(51,3): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
CoinductiveProofs.dfy(71,12): Error: assertion violation
CoinductiveProofs.dfy(51,3): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
    (0,0): anon6_Then
CoinductiveProofs.dfy(88,1): Error BP5003: A postcondition might not hold on this return path.
CoinductiveProofs.dfy(87,11): Related location: This is the postcondition that might not hold.
CoinductiveProofs.dfy(77,3): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
CoinductiveProofs.dfy(97,12): Error: assertion violation
CoinductiveProofs.dfy(77,3): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
    (0,0): anon6_Then
CoinductiveProofs.dfy(108,1): Error BP5003: A postcondition might not hold on this return path.
CoinductiveProofs.dfy(107,11): Related location: This is the postcondition that might not hold.
CoinductiveProofs.dfy(103,3): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
CoinductiveProofs.dfy(147,1): Error BP5003: A postcondition might not hold on this return path.
CoinductiveProofs.dfy(146,22): Related location: This is the postcondition that might not hold.
CoinductiveProofs.dfy(1,24): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
CoinductiveProofs.dfy(153,1): Error BP5003: A postcondition might not hold on this return path.
CoinductiveProofs.dfy(152,22): Related location: This is the postcondition that might not hold.
CoinductiveProofs.dfy(1,24): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then

Dafny program verifier finished with 35 verified, 8 errors

-------------------- TypeAntecedents.dfy --------------------
TypeAntecedents.dfy(32,13): Error: assertion violation
Execution trace:
    (0,0): anon0
TypeAntecedents.dfy(55,1): Error BP5003: A postcondition might not hold on this return path.
TypeAntecedents.dfy(54,15): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon25_Then
    (0,0): anon6
    (0,0): anon28_Then
    (0,0): anon8
    (0,0): anon29_Else
    (0,0): anon31_Else
    (0,0): anon33_Then
    (0,0): anon20
    (0,0): anon34_Then
    (0,0): anon35_Then
    (0,0): anon24
TypeAntecedents.dfy(63,16): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon25_Else
    (0,0): anon26_Then
    (0,0): anon27_Else

Dafny program verifier finished with 12 verified, 3 errors

-------------------- NoTypeArgs.dfy --------------------

Dafny program verifier finished with 15 verified, 0 errors

-------------------- EqualityTypes.dfy --------------------
EqualityTypes.dfy(31,13): Error: a type declaration that requires equality support cannot be replaced by a codatatype
EqualityTypes.dfy(32,11): Error: datatype 'Y' is used to refine an arbitrary type with equality support, but 'Y' does not support equality
EqualityTypes.dfy(37,11): Error: arbitrary type 'X' is not allowed to be replaced by a datatype that takes a different number of type parameters
EqualityTypes.dfy(38,8): Error: arbitrary type 'Y' is not allowed to be replaced by a class that takes a different number of type parameters
EqualityTypes.dfy(42,11): Error: datatype 'X' is used to refine an arbitrary type with equality support, but 'X' does not support equality
EqualityTypes.dfy(43,11): Error: datatype 'Y' is used to refine an arbitrary type with equality support, but 'Y' does not support equality
EqualityTypes.dfy(63,7): Error: == can only be applied to expressions of types that support equality (got Dt<T>)
EqualityTypes.dfy(82,8): Error: type parameter 0 (T) passed to method M must support equality (got _T0)
EqualityTypes.dfy(106,7): Error: == can only be applied to expressions of types that support equality (got D)
EqualityTypes.dfy(111,13): Error: == can only be applied to expressions of types that support equality (got D)
EqualityTypes.dfy(115,16): Error: == can only be applied to expressions of types that support equality (got D)
11 resolution/type errors detected in EqualityTypes.dfy

-------------------- SplitExpr.dfy --------------------
SplitExpr.dfy(89,15): Error: loop invariant violation
SplitExpr.dfy(83,44): Related location
Execution trace:
    SplitExpr.dfy(88,3): anon7_LoopHead

Dafny program verifier finished with 10 verified, 1 error

-------------------- LoopModifies.dfy --------------------
LoopModifies.dfy(6,5): Error: assignment may update an array element not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
LoopModifies.dfy(17,8): Error: assignment may update an array element not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
    LoopModifies.dfy(14,4): anon8_LoopHead
    (0,0): anon8_LoopBody
    LoopModifies.dfy(14,4): anon9_Else
    LoopModifies.dfy(14,4): anon11_Else
LoopModifies.dfy(46,8): Error: assignment may update an array element not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
    LoopModifies.dfy(42,4): anon8_LoopHead
    (0,0): anon8_LoopBody
    LoopModifies.dfy(42,4): anon9_Else
    LoopModifies.dfy(42,4): anon11_Else
LoopModifies.dfy(61,8): Error: assignment may update an array element not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
    LoopModifies.dfy(57,4): anon9_LoopHead
    (0,0): anon9_LoopBody
    LoopModifies.dfy(57,4): anon10_Else
    LoopModifies.dfy(57,4): anon12_Else
LoopModifies.dfy(74,4): Error: loop modifies clause may violate context's modifies clause
Execution trace:
    (0,0): anon0
LoopModifies.dfy(98,8): Error: assignment may update an array element not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
    LoopModifies.dfy(90,4): anon8_LoopHead
    (0,0): anon8_LoopBody
    LoopModifies.dfy(90,4): anon9_Else
    LoopModifies.dfy(90,4): anon11_Else
LoopModifies.dfy(146,11): Error: assignment may update an array element not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
    LoopModifies.dfy(134,4): anon17_LoopHead
    (0,0): anon17_LoopBody
    LoopModifies.dfy(134,4): anon18_Else
    LoopModifies.dfy(134,4): anon20_Else
    LoopModifies.dfy(139,7): anon21_LoopHead
    (0,0): anon21_LoopBody
    LoopModifies.dfy(139,7): anon22_Else
    LoopModifies.dfy(139,7): anon24_Else
LoopModifies.dfy(197,10): Error: assignment may update an array element not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
    LoopModifies.dfy(193,4): anon8_LoopHead
    (0,0): anon8_LoopBody
    LoopModifies.dfy(193,4): anon9_Else
    LoopModifies.dfy(193,4): anon11_Else
LoopModifies.dfy(285,13): Error: assignment may update an array element not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
    LoopModifies.dfy(273,4): anon16_LoopHead
    (0,0): anon16_LoopBody
    LoopModifies.dfy(273,4): anon17_Else
    LoopModifies.dfy(273,4): anon19_Else
    LoopModifies.dfy(281,7): anon20_LoopHead
    (0,0): anon20_LoopBody
    LoopModifies.dfy(281,7): anon21_Else
    LoopModifies.dfy(281,7): anon23_Else

Dafny program verifier finished with 23 verified, 9 errors

-------------------- Refinement.dfy --------------------
Refinement.dfy(12,5): Error BP5003: A postcondition might not hold on this return path.
Refinement.dfy(11,17): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
Refinement.dfy[B](12,5): Error BP5003: A postcondition might not hold on this return path.
Refinement.dfy(30,20): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
Refinement.dfy(61,14): Error: assertion violation
Execution trace:
    (0,0): anon0
Refinement.dfy(71,17): Error: assertion violation
Execution trace:
    (0,0): anon0
Refinement.dfy(90,12): Error BP5003: A postcondition might not hold on this return path.
Refinement.dfy(69,15): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
Refinement.dfy(93,3): Error BP5003: A postcondition might not hold on this return path.
Refinement.dfy(74,15): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
Refinement.dfy(180,5): Error BP5003: A postcondition might not hold on this return path.
Refinement.dfy[IncorrectConcrete](112,15): Related location: This is the postcondition that might not hold.
Refinement.dfy(177,9): Related location
Execution trace:
    (0,0): anon0
Refinement.dfy(184,5): Error BP5003: A postcondition might not hold on this return path.
Refinement.dfy[IncorrectConcrete](120,15): Related location: This is the postcondition that might not hold.
Refinement.dfy(177,9): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon4_Then
    (0,0): anon3
Refinement.dfy(190,7): Error: assertion violation
Refinement.dfy[IncorrectConcrete](128,24): Related location
Execution trace:
    (0,0): anon0

Dafny program verifier finished with 48 verified, 9 errors

-------------------- RefinementErrors.dfy --------------------
RefinementErrors.dfy(27,17): Error: a refining method is not allowed to add preconditions
RefinementErrors.dfy(28,15): Error: a refining method is not allowed to extend the modifies clause
RefinementErrors.dfy(31,14): Error: a predicate declaration (abc) can only refine a predicate
RefinementErrors.dfy(32,8): Error: a field re-declaration (xyz) must be to ghostify the field
RefinementErrors.dfy(34,13): Error: a function method cannot be changed into a (ghost) function in a refining module: F
RefinementErrors.dfy(35,9): Error: type parameters are not allowed to be renamed from the names given in the function in the module being refined (expected 'A', found 'C')
RefinementErrors.dfy(35,11): Error: type parameters are not allowed to be renamed from the names given in the function in the module being refined (expected 'B', found 'A')
RefinementErrors.dfy(35,13): Error: type parameters are not allowed to be renamed from the names given in the function in the module being refined (expected 'C', found 'B')
RefinementErrors.dfy(36,23): Error: the type of parameter 'z' is different from the type of the same parameter in the corresponding function in the module it refines ('seq<C>' instead of 'set<C>')
RefinementErrors.dfy(37,9): Error: there is a difference in name of parameter 3 ('k' versus 'b') of function F compared to corresponding function in the module it refines
RefinementErrors.dfy(54,20): Error: a function can be changed into a function method in a refining module only if the function has not yet been given a body: G
11 resolution/type errors detected in RefinementErrors.dfy

-------------------- ReturnErrors.dfy --------------------
ReturnErrors.dfy(30,10): Error: cannot have method call in return statement.
ReturnErrors.dfy(36,10): Error: cannot have effectful parameter in multi-return statement.
ReturnErrors.dfy(41,10): Error: can only have initialization methods which modify at most 'this'.
3 resolution/type errors detected in ReturnErrors.dfy

-------------------- ReturnTests.dfy --------------------

Dafny program verifier finished with 20 verified, 0 errors

-------------------- ChainingDisjointTests.dfy --------------------

Dafny program verifier finished with 6 verified, 0 errors

-------------------- CallStmtTests.dfy --------------------
CallStmtTests.dfy(4,3): Error: LHS of assignment must denote a mutable variable
CallStmtTests.dfy(15,8): Error: actual out-parameter 0 is required to be a ghost variable
2 resolution/type errors detected in CallStmtTests.dfy

-------------------- MultiSets.dfy --------------------
MultiSets.dfy(157,3): Error BP5003: A postcondition might not hold on this return path.
MultiSets.dfy(156,15): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
MultiSets.dfy(163,3): Error BP5003: A postcondition might not hold on this return path.
MultiSets.dfy(162,15): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
MultiSets.dfy(176,11): Error: new number of occurrences might be negative
Execution trace:
    (0,0): anon0
    (0,0): anon4_Then
    (0,0): anon3
MultiSets.dfy(267,24): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon11_Then
    (0,0): anon3
    (0,0): anon12_Then
    (0,0): anon14_Else

Dafny program verifier finished with 54 verified, 4 errors

-------------------- PredExpr.dfy --------------------
PredExpr.dfy(4,12): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
PredExpr.dfy(36,15): Error: value assigned to a nat must be non-negative
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
    (0,0): anon6_Else
PredExpr.dfy(49,17): Error: assertion violation
Execution trace:
    (0,0): anon0
PredExpr.dfy(74,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon8_Else
    (0,0): anon3
    PredExpr.dfy(73,20): anon10_Else
    (0,0): anon6

Dafny program verifier finished with 11 verified, 4 errors

-------------------- Predicates.dfy --------------------
Predicates.dfy[B](18,5): Error BP5003: A postcondition might not hold on this return path.
Predicates.dfy[B](17,15): Related location: This is the postcondition that might not hold.
Predicates.dfy(28,9): Related location
Execution trace:
    (0,0): anon0
Predicates.dfy(85,16): Error: assertion violation
Execution trace:
    (0,0): anon0
Predicates.dfy(89,14): Error: assertion violation
Execution trace:
    (0,0): anon0
Predicates.dfy[Tricky_Full](123,5): Error BP5003: A postcondition might not hold on this return path.
Predicates.dfy[Tricky_Full](122,15): Related location: This is the postcondition that might not hold.
Predicates.dfy(133,7): Related location
Predicates.dfy[Tricky_Full](113,9): Related location
Execution trace:
    (0,0): anon0
Predicates.dfy(161,5): Error BP5003: A postcondition might not hold on this return path.
Predicates.dfy(160,15): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
Predicates.dfy[Q1](151,5): Error BP5003: A postcondition might not hold on this return path.
Predicates.dfy[Q1](150,15): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0

Dafny program verifier finished with 52 verified, 6 errors

-------------------- Skeletons.dfy --------------------
Skeletons.dfy(42,3): Error BP5003: A postcondition might not hold on this return path.
Skeletons.dfy(41,15): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    Skeletons.dfy[C0](29,5): anon11_LoopHead
    (0,0): anon11_LoopBody
    Skeletons.dfy[C0](29,5): anon12_Else
    (0,0): anon13_Then
    Skeletons.dfy[C0](34,19): anon15_Else
    (0,0): anon10

Dafny program verifier finished with 9 verified, 1 error

-------------------- OpaqueFunctions.dfy --------------------
OpaqueFunctions.dfy(24,16): Error: assertion violation
Execution trace:
    (0,0): anon0
OpaqueFunctions.dfy(49,7): Error BP5002: A precondition for this call might not hold.
OpaqueFunctions.dfy(21,16): Related location: This is the precondition that might not hold.
Execution trace:
    (0,0): anon0
OpaqueFunctions.dfy(55,20): Error: assertion violation
Execution trace:
    (0,0): anon0
OpaqueFunctions.dfy(57,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
OpaqueFunctions.dfy(60,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon6_Then
OpaqueFunctions.dfy(63,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon6_Else
OpaqueFunctions.dfy(74,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
OpaqueFunctions.dfy(76,9): Error BP5002: A precondition for this call might not hold.
OpaqueFunctions.dfy[A'](21,16): Related location: This is the precondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
OpaqueFunctions.dfy(83,20): Error: assertion violation
Execution trace:
    (0,0): anon0
OpaqueFunctions.dfy(85,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
OpaqueFunctions.dfy(88,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon6_Then
OpaqueFunctions.dfy(91,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon6_Else
OpaqueFunctions.dfy(102,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
OpaqueFunctions.dfy(104,9): Error BP5002: A precondition for this call might not hold.
OpaqueFunctions.dfy[A'](21,16): Related location: This is the precondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
OpaqueFunctions.dfy(111,20): Error: assertion violation
Execution trace:
    (0,0): anon0
OpaqueFunctions.dfy(113,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
OpaqueFunctions.dfy(116,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon6_Then
OpaqueFunctions.dfy(119,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon6_Else
OpaqueFunctions.dfy(135,12): Error: assertion violation
Execution trace:
    (0,0): anon0

Dafny program verifier finished with 43 verified, 19 errors

-------------------- Maps.dfy --------------------
Maps.dfy(76,8): Error: element may not be in domain
Execution trace:
    (0,0): anon0
Maps.dfy(126,13): Error: assertion violation
Execution trace:
    (0,0): anon0

Dafny program verifier finished with 32 verified, 2 errors

-------------------- LiberalEquality.dfy --------------------
LiberalEquality.dfy(18,14): Error: arguments must have the same type (got T and U)
LiberalEquality.dfy(37,14): Error: arguments must have the same type (got Weird<T,int,V> and Weird<T,bool,V>)
LiberalEquality.dfy(52,14): Error: arguments must have the same type (got array<int> and array<bool>)
3 resolution/type errors detected in LiberalEquality.dfy

-------------------- RefinementModificationChecking.dfy --------------------
RefinementModificationChecking.dfy(17,4): Error: cannot assign to variable defined previously
RefinementModificationChecking.dfy(18,4): Error: cannot assign to variable defined previously
2 resolution/type errors detected in RefinementModificationChecking.dfy

-------------------- TailCalls.dfy --------------------
TailCalls.dfy(18,15): Error: this recursive call is not recognized as being tail recursive, because it is followed by non-ghost code
TailCalls.dfy(30,12): Error: 'decreases *' is allowed only on tail-recursive methods
TailCalls.dfy(37,12): Error: 'decreases *' is allowed only on tail-recursive methods
TailCalls.dfy(42,12): Error: 'decreases *' is allowed only on tail-recursive methods
TailCalls.dfy(64,12): Error: 'decreases *' is allowed only on tail-recursive methods
5 resolution/type errors detected in TailCalls.dfy

-------------------- IteratorResolution.dfy --------------------
IteratorResolution.dfy(59,9): Error: LHS of assignment must denote a mutable field
IteratorResolution.dfy(64,18): Error: arguments must have the same type (got _T0 and int)
IteratorResolution.dfy(76,19): Error: RHS (of type bool) not assignable to LHS (of type int)
IteratorResolution.dfy(79,13): Error: when allocating an object of type 'GenericIteratorResult', one of its constructor methods must be called
IteratorResolution.dfy(83,15): Error: logical negation expects a boolean argument (instead got int)
IteratorResolution.dfy(17,9): Error: LHS of assignment must denote a mutable field
IteratorResolution.dfy(19,9): Error: LHS of assignment must denote a mutable field
IteratorResolution.dfy(123,9): Error: unresolved identifier: _decreases3
IteratorResolution.dfy(124,21): Error: arguments must have the same type (got int and ?)
IteratorResolution.dfy(125,2): Error: LHS of assignment must denote a mutable field
IteratorResolution.dfy(132,9): Error: unresolved identifier: _decreases1
IteratorResolution.dfy(137,9): Error: unresolved identifier: _decreases0
12 resolution/type errors detected in IteratorResolution.dfy

-------------------- Iterators.dfy --------------------
Iterators.dfy(248,9): Error: failure to decrease termination measure
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
    (0,0): anon6_Else
Iterators.dfy(271,9): Error: failure to decrease termination measure
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
    (0,0): anon6_Else
Iterators.dfy(281,24): Error: failure to decrease termination measure
Execution trace:
    (0,0): anon0
Iterators.dfy(293,9): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
    (0,0): anon6_Else
Iterators.dfy(314,9): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
    (0,0): anon6_Else
Iterators.dfy(323,24): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
Iterators.dfy(340,9): Error: failure to decrease termination measure
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
    (0,0): anon6_Else
Iterators.dfy(350,24): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
Iterators.dfy(367,9): Error: failure to decrease termination measure
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
    (0,0): anon6_Else
Iterators.dfy(100,22): Error: assertion violation
Execution trace:
    (0,0): anon0
Iterators.dfy(103,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon4_Then
    (0,0): anon3
Iterators.dfy(174,28): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon15_Then
Iterators.dfy(205,7): Error: an assignment to _new is only allowed to shrink the set
Execution trace:
    (0,0): anon0
    Iterators.dfy(194,3): anon16_LoopHead
    (0,0): anon16_LoopBody
    Iterators.dfy(194,3): anon17_Else
    Iterators.dfy(194,3): anon19_Else
    (0,0): anon20_Then
Iterators.dfy(209,21): Error: assertion violation
Execution trace:
    (0,0): anon0
    Iterators.dfy(194,3): anon16_LoopHead
    (0,0): anon16_LoopBody
    Iterators.dfy(194,3): anon17_Else
    Iterators.dfy(194,3): anon19_Else
    (0,0): anon21_Then
Iterators.dfy(37,14): Error BP5002: A precondition for this call might not hold.
Iterators.dfy(1,10): Related location: This is the precondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon35_Then
    (0,0): anon2
    (0,0): anon36_Then
    (0,0): anon5
    (0,0): anon37_Then
Iterators.dfy(86,14): Error: assertion violation
Execution trace:
    (0,0): anon0
Iterators.dfy(116,16): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
Iterators.dfy(147,16): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon4_Else
Iterators.dfy(152,16): Error BP5002: A precondition for this call might not hold.
Iterators.dfy(122,10): Related location: This is the precondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon4_Then
    (0,0): anon3
Iterators.dfy(231,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    Iterators.dfy(222,3): anon14_LoopHead
    (0,0): anon14_LoopBody
    Iterators.dfy(222,3): anon15_Else
    Iterators.dfy(222,3): anon18_Else
    (0,0): anon19_Else

Dafny program verifier finished with 65 verified, 20 errors

-------------------- RankPos.dfy --------------------

Dafny program verifier finished with 11 verified, 0 errors

-------------------- RankNeg.dfy --------------------
RankNeg.dfy(7,26): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
    (0,0): anon6_Then
RankNeg.dfy(12,28): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
    (0,0): anon6_Then
RankNeg.dfy(19,31): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
    (0,0): anon6_Then
RankNeg.dfy(29,25): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
    (0,0): anon6_Then

Dafny program verifier finished with 1 verified, 4 errors

-------------------- Computations.dfy --------------------

Dafny program verifier finished with 58 verified, 0 errors

-------------------- ComputationsNeg.dfy --------------------
ComputationsNeg.dfy(4,3): Error: failure to decrease termination measure
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
ComputationsNeg.dfy(8,1): Error BP5003: A postcondition might not hold on this return path.
ComputationsNeg.dfy(7,17): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
ComputationsNeg.dfy(20,1): Error BP5003: A postcondition might not hold on this return path.
ComputationsNeg.dfy(19,11): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
ComputationsNeg.dfy(33,13): Error: assertion violation
Execution trace:
    (0,0): anon0
ComputationsNeg.dfy(42,13): Error: assertion violation
Execution trace:
    (0,0): anon0

Dafny program verifier finished with 7 verified, 5 errors

-------------------- Include.dfy --------------------

Dafny program verifier finished with 2 verified, 0 errors

-------------------- AutoReq.dfy --------------------
AutoReq.dfy(245,3): Error: possible violation of function precondition
AutoReq.dfy(237,12): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
AutoReq.dfy(11,3): Error: possible violation of function precondition
AutoReq.dfy(3,14): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
AutoReq.dfy(23,3): Error: possible violation of function precondition
AutoReq.dfy(3,14): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
AutoReq.dfy(36,12): Error: assertion violation
AutoReq.dfy(29,13): Related location
AutoReq.dfy(5,5): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon9_Then
AutoReq.dfy(36,12): Error: possible violation of function precondition
AutoReq.dfy(3,14): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon9_Then
AutoReq.dfy(38,12): Error: assertion violation
AutoReq.dfy(29,27): Related location
AutoReq.dfy(5,5): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon10_Then
AutoReq.dfy(38,12): Error: possible violation of function precondition
AutoReq.dfy(3,14): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon10_Then
AutoReq.dfy(43,12): Error: assertion violation
AutoReq.dfy(29,13): Related location
AutoReq.dfy(5,5): Related location
Execution trace:
    (0,0): anon0
    (0,0): anon11_Then

Dafny program verifier finished with 52 verified, 8 errors

-------------------- DatatypeUpdate.dfy --------------------

Dafny program verifier finished with 2 verified, 0 errors

-------------------- ModifyStmt.dfy --------------------
ModifyStmt.dfy(24,14): Error: assertion violation
Execution trace:
    (0,0): anon0
ModifyStmt.dfy(39,5): Error: modify statement may violate context's modifies clause
Execution trace:
    (0,0): anon0
ModifyStmt.dfy(45,5): Error: modify statement may violate context's modifies clause
Execution trace:
    (0,0): anon0
ModifyStmt.dfy(58,5): Error: modify statement may violate context's modifies clause
Execution trace:
    (0,0): anon0
ModifyStmt.dfy(67,14): Error: assertion violation
Execution trace:
    (0,0): anon0
ModifyStmt.dfy(86,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon9_Then
    ModifyStmt.dfy(78,7): anon10_LoopHead
    (0,0): anon10_LoopBody
    ModifyStmt.dfy(78,7): anon11_Else
    (0,0): anon12_Then
    (0,0): anon8
ModifyStmt.dfy(96,14): Error: assertion violation
Execution trace:
    (0,0): anon0
ModifyStmt.dfy(107,14): Error: assertion violation
Execution trace:
    (0,0): anon0
ModifyStmt.dfy(119,16): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
ModifyStmt.dfy(131,7): Error: assignment may update an object not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
ModifyStmt.dfy(169,15): Error: assertion violation
Execution trace:
    (0,0): anon0

Dafny program verifier finished with 25 verified, 11 errors

-------------------- SeqSlice.dfy --------------------

Dafny program verifier finished with 2 verified, 0 errors

-------------------- RealCompare.dfy --------------------
RealCompare.dfy(32,5): Error: failure to decrease termination measure
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
RealCompare.dfy(47,3): Error: decreases expression must be bounded below by 0.0
Execution trace:
    (0,0): anon0
RealCompare.dfy(138,12): Error: assertion violation
Execution trace:
    (0,0): anon0
    RealCompare.dfy(130,3): anon7_LoopHead
    (0,0): anon7_LoopBody
    RealCompare.dfy(130,3): anon8_Else
    (0,0): anon9_Then
RealCompare.dfy(153,12): Error: assertion violation
Execution trace:
    (0,0): anon0
    RealCompare.dfy(144,3): anon9_LoopHead
    (0,0): anon9_LoopBody
    RealCompare.dfy(144,3): anon10_Else
    (0,0): anon12_Then

Dafny program verifier finished with 24 verified, 4 errors

-------------------- Superposition.dfy --------------------

Verifying CheckWellformed$$_0_M0.C.M ...
  [0 proof obligations]  verified

Verifying Impl$$_0_M0.C.M ...
  [4 proof obligations]  verified

Verifying CheckWellformed$$_0_M0.C.P ...
  [4 proof obligations]  verified

Verifying CheckWellformed$$_0_M0.C.Q ...
  [3 proof obligations]  error
Superposition.dfy(24,15): Error BP5003: A postcondition might not hold on this return path.
Superposition.dfy(25,26): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else

Verifying CheckWellformed$$_0_M0.C.R ...
  [3 proof obligations]  error
Superposition.dfy(30,15): Error BP5003: A postcondition might not hold on this return path.
Superposition.dfy(31,26): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else

Verifying CheckWellformed$$_1_M1.C.M ...
  [0 proof obligations]  verified

Verifying Impl$$_1_M1.C.M ...
  [1 proof obligation]  verified

Verifying CheckWellformed$$_1_M1.C.P ...
  [1 proof obligation]  error
Superposition.dfy(47,15): Error BP5003: A postcondition might not hold on this return path.
Superposition.dfy[M1](19,26): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon7_Else
    (0,0): anon9_Then
    (0,0): anon6

Verifying CheckWellformed$$_1_M1.C.Q ...
  [0 proof obligations]  verified

Verifying CheckWellformed$$_1_M1.C.R ...
  [0 proof obligations]  verified

Dafny program verifier finished with 7 verified, 3 errors

-------------------- SmallTests.dfy --------------------
SmallTests.dfy(30,11): Error: index out of range
Execution trace:
    (0,0): anon0
SmallTests.dfy(61,36): Error: possible division by zero
Execution trace:
    (0,0): anon0
    (0,0): anon12_Then
SmallTests.dfy(62,51): Error: possible division by zero
Execution trace:
    (0,0): anon0
    (0,0): anon12_Else
    (0,0): anon3
    (0,0): anon13_Else
SmallTests.dfy(63,22): Error: target object may be null
Execution trace:
    (0,0): anon0
    (0,0): anon12_Then
    (0,0): anon3
    (0,0): anon13_Then
    (0,0): anon6
SmallTests.dfy(82,24): Error: target object may be null
Execution trace:
    (0,0): anon0
    SmallTests.dfy(81,5): anon8_LoopHead
    (0,0): anon8_LoopBody
    (0,0): anon9_Then
SmallTests.dfy(116,5): Error: call may violate context's modifies clause
Execution trace:
    (0,0): anon0
    (0,0): anon4_Else
    (0,0): anon3
SmallTests.dfy(129,9): Error: call may violate context's modifies clause
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
SmallTests.dfy(131,9): Error: call may violate context's modifies clause
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
SmallTests.dfy(171,9): Error: assignment may update an object field not in the enclosing context's modifies clause
Execution trace:
    (0,0): anon0
    (0,0): anon22_Else
    (0,0): anon24_Else
    (0,0): anon26_Else
    (0,0): anon28_Then
    (0,0): anon29_Then
    (0,0): anon19
SmallTests.dfy(195,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon6_Then
SmallTests.dfy(202,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon6_Else
    (0,0): anon3
    (0,0): anon7_Then
SmallTests.dfy(204,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon6_Else
    (0,0): anon3
    (0,0): anon7_Else
SmallTests.dfy(250,24): Error BP5002: A precondition for this call might not hold.
SmallTests.dfy(228,30): Related location: This is the precondition that might not hold.
Execution trace:
    (0,0): anon0
    SmallTests.dfy(245,19): anon3_Else
    (0,0): anon2
SmallTests.dfy(355,12): Error: assertion violation
Execution trace:
    (0,0): anon0
SmallTests.dfy(365,12): Error: assertion violation
Execution trace:
    (0,0): anon0
SmallTests.dfy(375,6): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
SmallTests.dfy(679,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    SmallTests.dfy(676,5): anon7_LoopHead
    (0,0): anon7_LoopBody
    SmallTests.dfy(676,5): anon8_Else
    (0,0): anon9_Then
SmallTests.dfy(700,14): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon7_Then
    (0,0): anon8_Then
    (0,0): anon3
SmallTests.dfy(285,3): Error BP5003: A postcondition might not hold on this return path.
SmallTests.dfy(279,11): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon18_Else
    (0,0): anon23_Then
    (0,0): anon24_Then
    (0,0): anon15
    (0,0): anon25_Else
SmallTests.dfy(326,12): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon8_Then
    (0,0): anon7
SmallTests.dfy(333,10): Error: assertion violation
Execution trace:
    (0,0): anon0
SmallTests.dfy(343,4): Error: cannot prove termination; try supplying a decreases clause
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
SmallTests.dfy(387,10): Error BP5003: A postcondition might not hold on this return path.
SmallTests.dfy(390,41): Related location: This is the postcondition that might not hold.
Execution trace:
    (0,0): anon0
    (0,0): anon6_Else
SmallTests.dfy(550,12): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon3_Then
    (0,0): anon2
SmallTests.dfy(564,20): Error: left-hand sides 0 and 1 may refer to the same location
Execution trace:
    (0,0): anon0
    (0,0): anon27_Then
    (0,0): anon28_Then
    (0,0): anon4
    (0,0): anon29_Then
    (0,0): anon30_Then
    (0,0): anon9
    (0,0): anon31_Then
    (0,0): anon32_Then
    (0,0): anon12
SmallTests.dfy(566,15): Error: left-hand sides 1 and 2 may refer to the same location
Execution trace:
    (0,0): anon0
    (0,0): anon27_Then
    SmallTests.dfy(559,18): anon28_Else
    (0,0): anon4
    (0,0): anon29_Else
    (0,0): anon30_Then
    (0,0): anon9
    (0,0): anon31_Else
    (0,0): anon35_Then
    (0,0): anon36_Then
    (0,0): anon37_Then
    (0,0): anon22
    (0,0): anon38_Then
SmallTests.dfy(573,25): Error: target object may be null
Execution trace:
    (0,0): anon0
SmallTests.dfy(586,10): Error: assertion violation
Execution trace:
    (0,0): anon0
SmallTests.dfy(610,5): Error: cannot establish the existence of LHS values that satisfy the such-that predicate
Execution trace:
    (0,0): anon0
SmallTests.dfy(633,10): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon8_Then
    (0,0): anon9_Then
    (0,0): anon4
    (0,0): anon10_Then
    (0,0): anon7
SmallTests.dfy(647,10): Error: cannot establish the existence of LHS values that satisfy the such-that predicate
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
    (0,0): anon6_Then
    (0,0): anon3
SmallTests.dfy(649,10): Error: cannot establish the existence of LHS values that satisfy the such-that predicate
Execution trace:
    (0,0): anon0
    (0,0): anon5_Else
SmallTests.dfy(662,9): Error: cannot establish the existence of LHS values that satisfy the such-that predicate
Execution trace:
    (0,0): anon0

Dafny program verifier finished with 87 verified, 33 errors

Dafny program verifier finished with 0 verified, 0 errors

-------------------- LetExpr.dfy --------------------
LetExpr.dfy(5,12): Error: assertion violation
Execution trace:
    (0,0): anon0
LetExpr.dfy(104,21): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon11_Then
LetExpr.dfy(248,19): Error: value assigned to a nat must be non-negative
Execution trace:
    (0,0): anon0
    (0,0): anon5_Then
LetExpr.dfy(251,19): Error: value assigned to a nat must be non-negative
Execution trace:
    (0,0): anon0
    (0,0): anon6_Then
LetExpr.dfy(253,24): Error: value assigned to a nat must be non-negative
Execution trace:
    (0,0): anon0
    (0,0): anon6_Else
LetExpr.dfy(282,14): Error: RHS is not certain to look like the pattern 'Agnes'
Execution trace:
    (0,0): anon0
    (0,0): anon3_Else
LetExpr.dfy(299,42): Error: value assigned to a nat must be non-negative
Execution trace:
    (0,0): anon0
    (0,0): anon6_Else
LetExpr.dfy(301,12): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon6_Else

Dafny program verifier finished with 38 verified, 8 errors

Dafny program verifier finished with 0 verified, 0 errors

-------------------- Calculations.dfy --------------------
Calculations.dfy(3,6): Error: index out of range
Execution trace:
    (0,0): anon0
    (0,0): anon24_Then
Calculations.dfy(8,15): Error: index out of range
Execution trace:
    (0,0): anon0
    (0,0): anon26_Then
Calculations.dfy(8,19): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon26_Then
Calculations.dfy(52,12): Error: assertion violation
Execution trace:
    (0,0): anon0
    Calculations.dfy(47,3): anon5_Else
Calculations.dfy(75,15): Error: index out of range
Execution trace:
    (0,0): anon0
    (0,0): anon12_Then
Calculations.dfy(75,19): Error: assertion violation
Execution trace:
    (0,0): anon0
    (0,0): anon12_Then

Dafny program verifier finished with 9 verified, 6 errors

Dafny program verifier finished with 0 verified, 0 errors

Dafny program verifier finished with 44 verified, 0 errors
Compiled assembly into Compilation.exe

Dafny program verifier finished with 15 verified, 0 errors
Compilation error: Arbitrary type ('_module.MyType') cannot be compiled
Compilation error: Iterator _module.Iter has no body
Compilation error: Method _module._default.M has no body
Compilation error: Method _module._default.P has no body
Compilation error: an assume statement cannot be compiled (line 8)
Compilation error: Function _module._default.F has no body
Compilation error: Function _module._default.H has no body
Compilation error: an assume statement cannot be compiled (line 17)
Compilation error: an assume statement cannot be compiled (line 20)
Compilation error: an assume statement cannot be compiled (line 25)
Compilation error: an assume statement cannot be compiled (line 34)