UInt8 #
@[simp]
@[simp]
@[simp]
UInt16 #
@[simp]
@[simp]
@[simp]
UInt32 #
@[simp]
@[simp]
theorem
UInt32.toUInt16_toNat
(x : UInt32)
:
UInt16.toNat (UInt32.toUInt16 x) = UInt32.toNat x % 2 ^ 16
@[simp]
UInt64 #
@[simp]
@[simp]
theorem
UInt64.toUInt16_toNat
(x : UInt64)
:
UInt16.toNat (UInt64.toUInt16 x) = UInt64.toNat x % 2 ^ 16
@[simp]
theorem
UInt64.toUInt32_toNat
(x : UInt64)
:
UInt32.toNat (UInt64.toUInt32 x) = UInt64.toNat x % 2 ^ 32
USize #
@[simp]
@[simp]