Source/Packages

Model.Word32

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

400 lines41 declarations16.0 KiBSHA-256 cb521ab16bb6

def · lines 348–364

modelWord32LessThan

Full file
Unsigned order in four byte comparisons (D17).
348def modelWord32LessThan =
349  (lambda unrestricted left : (family ModelWord32) . unrestricted right : (family ModelWord32) .
350    eliminate
351      ModelWord32
352      (lambda unrestricted current : (family ModelWord32) . Nat)
353      left
354      (branch ModelWord32Value l0 l1 l2 l3 .
355        eliminate
356          ModelWord32
357          (lambda unrestricted current : (family ModelWord32) . Nat)
358          right
359          (branch ModelWord32Value r0 r1 r2 r3 .
360            then (modelWord32OrderByte l3 r3)
361              (modelWord32OrderByte l2 r2)
362              (modelWord32OrderByte l1 r1)
363              (modelWord32OrderByte l0 r0)
364              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.