Equations
- One or more equations did not get rendered due to their size.
Instances For
Equations
- UInt16.instInhabited = { default := 0 }
Equations
- UInt32.instInhabited = { default := 0 }
Equations
- UInt64.instInhabited = { default := 0 }
@[simp]
theorem
USize.mk_ofNat
(n : Nat)
:
{ toBitVec := BitVec.ofNat System.Platform.numBits n } = OfNat.ofNat n
@[simp]
theorem
USize.toBitVec_ofNat
(n : Nat)
:
(OfNat.ofNat n).toBitVec = BitVec.ofNat System.Platform.numBits n
theorem
UInt32.toNat_lt_of_lt
{n : UInt32}
{m : Nat}
(h : m < UInt32.size)
:
n < UInt32.ofNat m → n.toNat < m
theorem
UInt32.lt_toNat_of_lt
{n : UInt32}
{m : Nat}
(h : m < UInt32.size)
:
UInt32.ofNat m < n → m < n.toNat
theorem
UInt32.toNat_le_of_le
{n : UInt32}
{m : Nat}
(h : m < UInt32.size)
:
n ≤ UInt32.ofNat m → n.toNat ≤ m
theorem
UInt32.le_toNat_of_le
{n : UInt32}
{m : Nat}
(h : m < UInt32.size)
:
UInt32.ofNat m ≤ n → m ≤ n.toNat
@[reducible, inline, deprecated]
Equations
Instances For
@[reducible, inline, deprecated]
Equations
Instances For
@[reducible, inline, deprecated]
Equations
Instances For
@[reducible, inline, deprecated]
Equations
Instances For
@[reducible, inline, deprecated]
Equations
Instances For
@[reducible, inline, deprecated]
Equations
Instances For
@[reducible, inline, deprecated]
Equations
Instances For
@[reducible, inline, deprecated]
Equations
Instances For
@[reducible, inline, deprecated]
Equations
Instances For
@[reducible, inline, deprecated]
Equations
Instances For
@[reducible, inline, deprecated]
Equations
Instances For
@[reducible, inline, deprecated]
Equations
Instances For
@[reducible, inline, deprecated]
Equations
Instances For
@[reducible, inline, deprecated]
Equations
Instances For
@[reducible, inline, deprecated]