Function vstd::std_specs::range::axiom_spec_range_next_u128
source · pub broadcast proof fn axiom_spec_range_next_u128(range: Range<u128>)
Expand description
ensures
range.start.spec_is_lt(range.end)
==> (if let Some(n) = range.start.spec_forward_checked(1) {
spec_range_next(range) == (Range { start: n, ..range }, Some(range.start))
} else {
true
}),
!range.start.spec_is_lt(range.end)
==> #[trigger] spec_range_next(range) == (range, None::<u128>),