Source/Packages

Model.Word32

packages/foundation/standard/src/Model/Word32.alpha

481 lines41 declarations16.9 KiBSHA-256 56a6cf48ff83

def · lines 252–263

modelWord32FromNaturalTruncated

Full file
252def modelWord32FromNaturalTruncated =
253  (lambda unrestricted value : Nat .
254    app
255      (nat-eliminate
256        (lambda unrestricted small : Nat . pi unrestricted unit : Nat . family ModelWord32)
257        (lambda unrestricted unit : Nat . modelWord32FromNaturalDivided value)
258        (lambda unrestricted predecessor : Nat .
259          unrestricted induction : (pi unrestricted unit : Nat . family ModelWord32) .
260          unrestricted unit : Nat .
261          constructor ModelWord32 ModelWord32Value (nat-to-byte value) 0 0 0)
262        (nat-less-than value byteNaturalTwoHundredFiftySix))
263      0)

The compiler supplied declaration spans and resolved links from this source snapshot. This page does not assert that this file belongs to a checked closure.