Function vstd::bits::lemma_u32_pow2_no_overflow
source · pub broadcast proof fn lemma_u32_pow2_no_overflow(n: nat)
Expand description
requires
0 <= n < <u32>::BITS,
ensures#[trigger] pow2(n) <= <u32>::MAX,
Proof that 2^n does not overflow u32 for an exponent n.