Prove simple kvirt area obligations - #739
Merged
Marsman1996 merged 6 commits intoSep 14, 2026
Merged
Conversation
Marsman1996
requested changes
Sep 3, 2026
Resolve conflicts with upstream proof API updates while retaining the removal of redundant proof blocks and the proof replacing the range-end assumption. Use verus_spec for the range return contract requested in PR asterinas#739. The method was already verified; the contract exposes its exact result to callers. No additional executable changes relative to main. Validation: focused kvirt_area verification (14 verified, 0 errors), full make, verusfmt --edition 2024 --check on kvirt_area.rs, and git diff --check pass. make fmt formats the target but skips seven other files due to existing formatter parsing failures.
Collaborator
|
LGTM, please merge the latest main. |
Collaborator
|
/verify-perf |
Verification costPR Verus verification cost:
|
| metric | before | after | Δ |
|---|---|---|---|
| verified | 4,081 | 4,081 | +0 |
| errors | 0 | 0 | +0 |
| total wall-time | 202,704 ms | 247,906 ms | +45,202 ms (+22.3%) |
| total smt-run | 281,467 ms | 391,290 ms | +109,823 ms (+39.0%) |
| total rlimit | 1,038,206,533 | 1,038,072,806 | -133,727 (-0.0%) |
per-module smt-run rlimit (top 15)
| module | before rlimit | after rlimit | Δ rlimit |
|---|---|---|---|
mm::page_table::cursor |
333,202,113 | 333,202,113 | +0 (+0.0%) |
specs::mm::page_table::cursor::cursor_steps |
85,126,605 | 85,126,605 | +0 (+0.0%) |
specs::mm::page_table::cursor::mapping_set_lemmas |
0 | 63,643,368 | +63,643,368 (+0.0%) |
specs::mm::embedding |
51,152,450 | 0 | -51,152,450 (-100.0%) |
arithmetic::internals::div_internals |
13,249,888 | 13,249,888 | +0 (+0.0%) |
seq_lib |
9,455,652 | 9,455,652 | +0 (+0.0%) |
utf8 |
5,154,488 | 5,154,488 | +0 (+0.0%) |
temporal_logic::rules |
3,716,957 | 3,716,957 | +0 (+0.0%) |
ghost_tree |
2,004,845 | 2,004,845 | +0 (+0.0%) |
resource::ghost_resource::csum |
1,499,192 | 1,499,192 | +0 (+0.0%) |
rlimit is deterministic across runs; wall-time / smt-run have run-to-run jitter. Negative rlimit = improvement.
Collaborator
|
Thanks for your contributions! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.