Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
@[simp]
theorem ISize.toInt_ofInt_of_two_pow_numBits_le {n : Int} (hn : -2 ^ (System.Platform.numBits - 1) ≤ n) (hn' : n < 2 ^ (System.Platform.numBits - 1)) :
theorem ISize.toNatClampNeg_ofNat_of_lt_two_pow_numBits {n : Nat} (h : n < 2 ^ (System.Platform.numBits - 1)) :
theorem ISize.toInt_ofNat_of_lt_two_pow_numBits {n : Nat} (h : n < 2 ^ (System.Platform.numBits - 1)) :
@[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 ISize.toNatClampNeg_ofInt_of_two_pow_numBits {n : Int} (h₁ : -2 ^ (System.Platform.numBits - 1) ≤ n) (h₂ : n < 2 ^ (System.Platform.numBits - 1)) :
theorem ISize.toNatClampNeg_ofIntClamp_of_lt_two_pow_numBits {n : Int} (h₁ : n < 2 ^ (System.Platform.numBits - 1)) :
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
theorem ISize.toInt8_ofIntClamp {n : Int} (h₁ : -2 ^ (System.Platform.numBits - 1) ≤ n) (h₂ : n < 2 ^ (System.Platform.numBits - 1)) :
@[simp]
@[simp]
@[simp]
theorem ISize.toInt16_ofIntClamp {n : Int} (h₁ : -2 ^ (System.Platform.numBits - 1) ≤ n) (h₂ : n < 2 ^ (System.Platform.numBits - 1)) :
@[simp]
@[simp]
theorem ISize.toInt32_ofIntClamp {n : Int} (h₁ : -2 ^ (System.Platform.numBits - 1) ≤ n) (h₂ : n < 2 ^ (System.Platform.numBits - 1)) :
@[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]
@[deprecated Int8.ofIntClamp_toInt (since := "2026-05-04")]
@[deprecated Int16.ofIntClamp_toInt (since := "2026-05-04")]
@[deprecated Int32.ofIntClamp_toInt (since := "2026-05-04")]
@[deprecated Int64.ofIntClamp_toInt (since := "2026-05-04")]
@[deprecated ISize.ofIntClamp_toInt (since := "2026-05-04")]
@[deprecated Int16.ofIntClamp_int8ToInt (since := "2026-05-04")]
@[deprecated Int32.ofIntClamp_int8ToInt (since := "2026-05-04")]
@[deprecated Int64.ofIntClamp_int8ToInt (since := "2026-05-04")]
@[deprecated ISize.ofIntClamp_int8ToInt (since := "2026-05-04")]
@[deprecated Int32.ofIntClamp_int16ToInt (since := "2026-05-04")]
@[deprecated Int64.ofIntClamp_int16ToInt (since := "2026-05-04")]
@[deprecated ISize.ofIntClamp_int16ToInt (since := "2026-05-04")]
@[deprecated Int64.ofIntClamp_int32ToInt (since := "2026-05-04")]
@[deprecated ISize.ofIntClamp_int32ToInt (since := "2026-05-04")]
@[deprecated Int64.ofIntClamp_iSizeToInt (since := "2026-05-04")]
@[deprecated Int8.toNatClampNeg_ofIntClamp_of_lt (since := "2026-05-04")]
@[deprecated Int16.toNatClampNeg_ofIntClamp_of_lt (since := "2026-05-04")]
@[deprecated Int32.toNatClampNeg_ofIntClamp_of_lt (since := "2026-05-04")]
@[deprecated Int64.toNatClampNeg_ofIntClamp_of_lt (since := "2026-05-04")]
@[deprecated ISize.toNatClampNeg_ofIntClamp_of_lt_two_pow_numBits (since := "2026-05-04")]
theorem ISize.toNatClampNeg_ofIntTruncate_of_lt_two_pow_numBits {n : Int} (h₁ : n < 2 ^ (System.Platform.numBits - 1)) :
@[deprecated ISize.toNatClampNeg_ofIntClamp_of_lt (since := "2026-05-04")]
@[deprecated ISize.toInt8_ofIntClamp (since := "2026-05-04")]
theorem ISize.toInt8_ofIntTruncate {n : Int} (h₁ : -2 ^ (System.Platform.numBits - 1) ≤ n) (h₂ : n < 2 ^ (System.Platform.numBits - 1)) :
@[deprecated ISize.toInt16_ofIntClamp (since := "2026-05-04")]
theorem ISize.toInt16_ofIntTruncate {n : Int} (h₁ : -2 ^ (System.Platform.numBits - 1) ≤ n) (h₂ : n < 2 ^ (System.Platform.numBits - 1)) :
@[deprecated ISize.toInt32_ofIntClamp (since := "2026-05-04")]
theorem ISize.toInt32_ofIntTruncate {n : Int} (h₁ : -2 ^ (System.Platform.numBits - 1) ≤ n) (h₂ : n < 2 ^ (System.Platform.numBits - 1)) :
@[deprecated Int8.ofIntClamp_bitVecToInt (since := "2026-05-04")]
@[deprecated Int16.ofIntClamp_bitVecToInt (since := "2026-05-04")]
@[deprecated Int32.ofIntClamp_bitVecToInt (since := "2026-05-04")]
@[deprecated Int64.ofIntClamp_bitVecToInt (since := "2026-05-04")]
@[deprecated ISize.ofIntClamp_bitVecToInt (since := "2026-05-04")]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
instance instLawfulCommIdentityInt8HMulOfNat :
Std.LawfulCommIdentity (fun (x1 x2 : Int8) => x1 * x2) 1
instance instLawfulCommIdentityInt16HMulOfNat :
Std.LawfulCommIdentity (fun (x1 x2 : Int16) => x1 * x2) 1
instance instLawfulCommIdentityInt32HMulOfNat :
Std.LawfulCommIdentity (fun (x1 x2 : Int32) => x1 * x2) 1
instance instLawfulCommIdentityInt64HMulOfNat :
Std.LawfulCommIdentity (fun (x1 x2 : Int64) => x1 * x2) 1
instance instLawfulCommIdentityISizeHMulOfNat :
Std.LawfulCommIdentity (fun (x1 x2 : ISize) => x1 * x2) 1