Function vstd::bytes::lemma_auto_spec_u128_to_from_le_bytes
source · pub proof fn lemma_auto_spec_u128_to_from_le_bytes()
Expand description
ensures
forall |x: u128| {
&&& #[trigger] spec_u128_to_le_bytes(x).len() == 16
&&& spec_u128_from_le_bytes(spec_u128_to_le_bytes(x)) == x
},
forall |s: Seq<u8>| {
s.len() == 16 ==> #[trigger] spec_u128_to_le_bytes(spec_u128_from_le_bytes(s)) == s
},