Equations
- One or more equations did not get rendered due to their size.
@[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_ofIntTruncate_of_lt_two_pow_numBits
{n : Int}
(h₁ : n < 2 ^ (System.Platform.numBits - 1))
:
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
theorem
ISize.toInt8_ofIntTruncate
{n : Int}
(h₁ : -2 ^ (System.Platform.numBits - 1) ≤ n)
(h₂ : n < 2 ^ (System.Platform.numBits - 1))
:
@[simp]
@[simp]
@[simp]
theorem
ISize.toInt16_ofIntTruncate
{n : Int}
(h₁ : -2 ^ (System.Platform.numBits - 1) ≤ n)
(h₂ : n < 2 ^ (System.Platform.numBits - 1))
:
@[simp]
@[simp]
theorem
ISize.toInt32_ofIntTruncate
{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]
@[simp]
@[simp]
@[simp]
@[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