pub open spec fn is_partition(rs: Seq<MemoryRegion>) -> boolExpand description
{
&&& (rs.len() > 0 ==> rs[0].base() == 0)
&&& (forall |i: int| {
0 <= i < rs.len()
==> {
&&& #[trigger] rs[i].aligned(PAGE_SIZE as int)
&&& rs[i].len() > 0
&&& rs[i].base() + rs[i].len() <= usize::MAX
&&& (i > 0 ==> rs[i - 1].base() + rs[i - 1].len() == rs[i].base())
}
})
}Whether the regions form a contiguous, page-aligned partition starting at zero.