Equations
- One or more equations did not get rendered due to their size.
@[deprecated UInt8.toFin_ofNat (since := "2025-02-12")]
@[deprecated UInt8.ofBitVec_toBitVec (since := "2025-02-21")]
@[simp]
@[deprecated UInt8.ofBitVec_ofNat (since := "2025-02-12")]
@[deprecated UInt8.ofBitVec_toBitVec_eq (since := "2025-02-12")]
@[deprecated UInt16.toFin_ofNat (since := "2025-02-12")]
@[deprecated UInt16.ofBitVec_toBitVec_eq (since := "2025-02-12")]
@[deprecated UInt16.ofBitVec_ofNat (since := "2025-02-12")]
@[deprecated UInt16.ofBitVec_toBitVec (since := "2025-02-21")]
@[simp]
@[deprecated UInt32.ofBitVec_toBitVec_eq (since := "2025-02-12")]
@[deprecated UInt32.ofBitVec_ofNat (since := "2025-02-12")]
@[simp]
@[deprecated UInt32.ofBitVec_toBitVec (since := "2025-02-21")]
@[deprecated UInt32.toFin_ofNat (since := "2025-02-12")]
@[deprecated UInt64.ofBitVec_ofNat (since := "2025-02-12")]
@[deprecated UInt64.toFin_ofNat (since := "2025-02-12")]
@[deprecated UInt64.ofBitVec_toBitVec_eq (since := "2025-02-12")]
@[deprecated UInt64.ofBitVec_toBitVec (since := "2025-02-21")]
@[simp]
@[simp]
@[simp]
@[deprecated USize.toNat_ofBitVec (since := "2025-02-12")]
@[deprecated USize.ofBitVec_toBitVec (since := "2025-02-21")]
@[deprecated USize.ofBitVec_ofNat (since := "2025-02-12")]
@[deprecated USize.ofBitVec_toBitVec_eq (since := "2025-02-12")]
@[deprecated USize.toFin_ofNat (since := "2025-02-12")]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
theorem
UInt64.toUSize_div_of_toNat_lt
(a b : UInt64)
(ha : a.toNat < USize.size)
(hb : b.toNat < USize.size)
:
theorem
UInt64.toUSize_mod_of_toNat_lt
(a b : UInt64)
(ha : a.toNat < USize.size)
(hb : b.toNat < USize.size)
:
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
theorem
USize.ofNat_div
{a b : Nat}
(ha : a < 2 ^ System.Platform.numBits)
(hb : b < 2 ^ System.Platform.numBits)
:
@[simp]
theorem
USize.ofNatLT_div
{a b : Nat}
(ha : a < 2 ^ System.Platform.numBits)
(hb : b < 2 ^ System.Platform.numBits)
:
@[simp]
theorem
USize.ofNat_mod
{a b : Nat}
(ha : a < 2 ^ System.Platform.numBits)
(hb : b < 2 ^ System.Platform.numBits)
:
@[simp]
theorem
USize.ofNatLT_mod
{a b : Nat}
(ha : a < 2 ^ System.Platform.numBits)
(hb : b < 2 ^ System.Platform.numBits)
:
@[simp]
@[simp]
@[simp]
theorem
USize.ofNatLT_mul
{a b : Nat}
(ha : a < 2 ^ System.Platform.numBits)
(hb : b < 2 ^ System.Platform.numBits)
(hab : a * b < 2 ^ System.Platform.numBits)
:
@[simp]
instance
instLawfulCommIdentityUInt8HMulOfNat :
Std.LawfulCommIdentity (fun (x1 x2 : UInt8) => x1 * x2) 1
instance
instLawfulCommIdentityUInt16HMulOfNat :
Std.LawfulCommIdentity (fun (x1 x2 : UInt16) => x1 * x2) 1
instance
instLawfulCommIdentityUInt32HMulOfNat :
Std.LawfulCommIdentity (fun (x1 x2 : UInt32) => x1 * x2) 1
instance
instLawfulCommIdentityUInt64HMulOfNat :
Std.LawfulCommIdentity (fun (x1 x2 : UInt64) => x1 * x2) 1
instance
instLawfulCommIdentityUSizeHMulOfNat :
Std.LawfulCommIdentity (fun (x1 x2 : USize) => x1 * x2) 1