prove: 5 more axioms and rename to lemma_#2
Merged
Conversation
- axiom_pte_size_eq_size_of -> lemma_pte_size_eq_size_of (trait + KernelPtConfig + UserPtConfig, via global layout) - axiom_pte_align_divides_size -> lemma_pte_align_divides_size (trait + KernelPtConfig + UserPtConfig + call site, via global layout) - axiom_size_of_meta_slot -> lemma_size_of_meta_slot (added global layout MetaSlot is size == 64, align == 8) - axiom_fresh_vm_space_id_not_in_dom -> lemma_ (vm_space_embedding.rs) - axiom_fresh_cursor_id_not_in_dom -> lemma_ (vm_space_embedding.rs) - axiom_fresh_vm_io_id_not_in_dom -> lemma_ (vm_space_embedding.rs) No new axioms introduced. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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.
Summary
延续 PR asterinas#531 的工作,继续证明
axiom_前缀的函数并重命名为lemma_。已证明并重命名的 axiom
axiom_pte_size_eq_size_oflemma_pte_size_eq_size_ofglobal layout PageTableEntry is size == 8axiom_pte_align_divides_sizelemma_pte_align_divides_sizeglobal layout PageTableEntry is size == 8, align == 8axiom_size_of_meta_slotlemma_size_of_meta_slotglobal layout MetaSlot is size == 64, align == 8axiom_fresh_vm_space_id_not_in_domlemma_fresh_vm_space_id_not_in_domaxiom_fresh_cursor_id_not_in_domlemma_fresh_cursor_id_not_in_domaxiom_fresh_vm_io_id_not_in_domlemma_fresh_vm_io_id_not_in_dom涉及文件
ostd/src/mm/page_table/mod.rs— trait 声明重命名ostd/src/mm/kspace/mod.rs— KernelPtConfig 实现证明ostd/src/mm/vm_space.rs— UserPtConfig 实现证明ostd/src/mm/page_table/node/mod.rs— 调用点更新ostd/src/mm/frame/meta.rs— MetaSlot global layout + broadcast proofostd/specs/mm/frame/mapping.rs— import 和 broadcast group 更新ostd/specs/mm/vm_space_embedding.rs— 3 个 freshness axiom 证明约束
axiom_已重命名为lemma_