Documentation

Batteries.Data.UInt

UInt8 #

theorem UInt8.ext {x y : UInt8} :
x.toNat = y.toNatx = y

UInt16 #

theorem UInt16.ext {x y : UInt16} :
x.toNat = y.toNatx = y
@[simp]

UInt32 #

theorem UInt32.ext {x y : UInt32} :
x.toNat = y.toNatx = y
@[simp]
@[simp]

UInt64 #

theorem UInt64.ext {x y : UInt64} :
x.toNat = y.toNatx = y
@[simp]
@[simp]
@[simp]

USize #

theorem USize.ext {x y : USize} :
x.toNat = y.toNatx = y