Documentation

Init.Data.UInt.IntToBitVec

numBits = 32 #

theorem USize.toBitVec32_ofNatLT {n : Nat} (hn : n < size) (h : System.Platform.numBits = 32) :
(ofNatLT n hn).toBitVec32 h = n#'

numBits = 64 #

theorem USize.toBitVec64_ofNatLT {n : Nat} (hn : n < size) (h : System.Platform.numBits = 64) :
(ofNatLT n hn).toBitVec64 h = n#'