Skip to main content

lemma_vaddr_strict_bound

Function lemma_vaddr_strict_bound 

Source
pub proof fn lemma_vaddr_strict_bound<C: PageTableConfig>(path: TreePath<NR_ENTRIES>)
Expand description
requires
path.inv(),
path.len() <= C::NR_LEVELS,
ensures
vaddr::<C>(path) < page_size::<C>((C::NR_LEVELS + 1) as PagingLevel),

A valid path fits within the address space covered by the configured levels.