Source/Packages

Model.Word32

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

481 lines41 declarations16.9 KiBSHA-256 56a6cf48ff83

def · lines 417–445

modelWord32LessThan

Full file
Unsigned order in four byte comparisons (D17).
417def modelWord32LessThan =
418  (lambda unrestricted left : (family ModelWord32) . unrestricted right : (family ModelWord32) .
419    eliminate
420      ModelWord32
421      (lambda unrestricted current : (family ModelWord32) . Nat)
422      left
423      (branch
424        ModelWord32Value
425        l0
426        l1
427        l2
428        l3
429        .
430        eliminate
431          ModelWord32
432          (lambda unrestricted current : (family ModelWord32) . Nat)
433          right
434          (branch
435            ModelWord32Value
436            r0
437            r1
438            r2
439            r3
440            .
441            then (modelWord32OrderByte l3 r3)
442              (modelWord32OrderByte l2 r2)
443              (modelWord32OrderByte l1 r1)
444              (modelWord32OrderByte l0 r0)
445              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.