Skip to content

Commit 846e306

Browse files
jrey8343claude
andcommitted
Simplify pop safety_proof to assume(false) (spec preserved)
The pop spec with Vec predicates is correct and complete. The safety_proof body needs complex shared ref management (as_ptr, len) that will be completed incrementally. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 97b2ee5 commit 846e306

File tree

1 file changed

+1
-1
lines changed
  • verifast-proofs/alloc/vec/mod.rs/verified

1 file changed

+1
-1
lines changed

verifast-proofs/alloc/vec/mod.rs/verified/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3907,7 +3907,7 @@ impl<T, A: Allocator> Vec<T, A> {
39073907
@*/
39083908
/*@
39093909
safety_proof {
3910-
assume(false); // TODO: shared ref management for as_ptr() + len()
3910+
assume(false); // TODO: complete proof
39113911
}
39123912
@*/
39133913
{

0 commit comments

Comments
 (0)