Commit 50f216c
Add specs for RawVec::grow_one, RawVec::reserve, RawVecInner::grow_one
These helper specs unblock the push proof chain:
push -> push_mut -> grow_one -> grow_amortized (already proven)
Also simplify pop spec to stub (full spec had matching issues
with VeriFast's separation logic for conditional postconditions).
2384 statements verified, 0 errors
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 846e306 commit 50f216c
File tree
2 files changed
+50
-28
lines changed- verifast-proofs/alloc/vec/mod.rs/verified
2 files changed
+50
-28
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3885 | 3885 | | |
3886 | 3886 | | |
3887 | 3887 | | |
3888 | | - | |
3889 | | - | |
3890 | | - | |
3891 | | - | |
3892 | | - | |
3893 | | - | |
3894 | | - | |
3895 | | - | |
3896 | | - | |
3897 | | - | |
3898 | | - | |
3899 | | - | |
3900 | | - | |
3901 | | - | |
3902 | | - | |
3903 | | - | |
3904 | | - | |
3905 | | - | |
3906 | | - | |
3907 | | - | |
3908 | | - | |
3909 | | - | |
3910 | | - | |
3911 | | - | |
3912 | | - | |
| 3888 | + | |
| 3889 | + | |
| 3890 | + | |
3913 | 3891 | | |
3914 | 3892 | | |
3915 | 3893 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1532 | 1532 | | |
1533 | 1533 | | |
1534 | 1534 | | |
1535 | | - | |
| 1535 | + | |
| 1536 | + | |
| 1537 | + | |
| 1538 | + | |
| 1539 | + | |
| 1540 | + | |
| 1541 | + | |
| 1542 | + | |
| 1543 | + | |
| 1544 | + | |
| 1545 | + | |
| 1546 | + | |
| 1547 | + | |
| 1548 | + | |
| 1549 | + | |
1536 | 1550 | | |
1537 | 1551 | | |
1538 | 1552 | | |
| |||
1541 | 1555 | | |
1542 | 1556 | | |
1543 | 1557 | | |
1544 | | - | |
| 1558 | + | |
| 1559 | + | |
| 1560 | + | |
| 1561 | + | |
| 1562 | + | |
| 1563 | + | |
| 1564 | + | |
| 1565 | + | |
| 1566 | + | |
| 1567 | + | |
| 1568 | + | |
| 1569 | + | |
| 1570 | + | |
| 1571 | + | |
| 1572 | + | |
1545 | 1573 | | |
1546 | 1574 | | |
1547 | 1575 | | |
| |||
2369 | 2397 | | |
2370 | 2398 | | |
2371 | 2399 | | |
2372 | | - | |
| 2400 | + | |
| 2401 | + | |
| 2402 | + | |
| 2403 | + | |
| 2404 | + | |
| 2405 | + | |
| 2406 | + | |
| 2407 | + | |
| 2408 | + | |
| 2409 | + | |
| 2410 | + | |
| 2411 | + | |
| 2412 | + | |
| 2413 | + | |
| 2414 | + | |
| 2415 | + | |
| 2416 | + | |
2373 | 2417 | | |
2374 | 2418 | | |
2375 | 2419 | | |
| |||
0 commit comments