Source/Packages

Model.Word32

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

400 lines41 declarations16.0 KiBSHA-256 cb521ab16bb6

def · lines 194–205

modelWord32FromNaturalTruncated

Full file
194def modelWord32FromNaturalTruncated =
195  (lambda unrestricted value : Nat .
196    app
197      (nat-eliminate
198        (lambda unrestricted small : Nat . pi unrestricted unit : Nat . family ModelWord32)
199        (lambda unrestricted unit : Nat . modelWord32FromNaturalDivided value)
200        (lambda unrestricted predecessor : Nat .
201          unrestricted induction : (pi unrestricted unit : Nat . family ModelWord32) .
202          unrestricted unit : Nat .
203          constructor ModelWord32 ModelWord32Value (nat-to-byte value) 0 0 0)
204        (nat-less-than value byteNaturalTwoHundredFiftySix))
205      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.