Equations
- One or more equations did not get rendered due to their size.
Instances For
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
@[simp]
theorem
USize.toBitVec_ofNat
(n : Nat)
:
(OfNat.ofNat n).toBitVec = BitVec.ofNat System.Platform.numBits n
@[simp]
theorem
USize.mk_ofNat
(n : Nat)
:
{ toBitVec := BitVec.ofNat System.Platform.numBits n } = OfNat.ofNat n
theorem
USize.toNat_sub
(a b : USize)
:
(a - b).toNat = (2 ^ System.Platform.numBits - b.toNat + a.toNat) % 2 ^ System.Platform.numBits
@[reducible, inline, deprecated UInt8.toNat_zero (since := "2024-06-23")]
Equations
Instances For
@[reducible, inline, deprecated UInt8.toNat_div (since := "2024-06-23")]
Equations
Instances For
@[reducible, inline, deprecated UInt8.toNat_mod (since := "2024-06-23")]
Equations
Instances For
@[reducible, inline, deprecated UInt16.toNat_zero (since := "2024-06-23")]
Equations
Instances For
@[reducible, inline, deprecated UInt16.toNat_div (since := "2024-06-23")]
Equations
Instances For
@[reducible, inline, deprecated UInt16.toNat_mod (since := "2024-06-23")]
Equations
Instances For
@[reducible, inline, deprecated UInt32.toNat_zero (since := "2024-06-23")]
Equations
Instances For
@[reducible, inline, deprecated UInt32.toNat_div (since := "2024-06-23")]
Equations
Instances For
@[reducible, inline, deprecated UInt32.toNat_mod (since := "2024-06-23")]
Equations
Instances For
@[reducible, inline, deprecated UInt64.toNat_zero (since := "2024-06-23")]
Equations
Instances For
@[reducible, inline, deprecated UInt64.toNat_div (since := "2024-06-23")]
Equations
Instances For
@[reducible, inline, deprecated UInt64.toNat_mod (since := "2024-06-23")]
Equations
Instances For
@[reducible, inline, deprecated USize.toNat_zero (since := "2024-06-23")]
Equations
Instances For
@[reducible, inline, deprecated USize.toNat_div (since := "2024-06-23")]
Equations
Instances For
@[reducible, inline, deprecated USize.toNat_mod (since := "2024-06-23")]