Source/Packages

Accelerator.SM86.FieldEncoding

packages/hardware/architectures/nvidia-sm86/src/Accelerator/SM86/FieldEncoding.alpha

794 lines86 declarations28.4 KiBSHA-256 400363ed48c6

def · lines 369–380

sm86FieldValueFits

Full file
369def sm86FieldValueFits =
370  (lambda unrestricted width : Nat . unrestricted value : Nat .
371    app
372      (nat-eliminate
373        (lambda unrestricted current : Nat . pi unrestricted ignored : Nat . Nat)
374        (lambda unrestricted ignored : Nat . sm86FieldValueFitsByByteChunks width value)
375        (lambda unrestricted predecessor : Nat .
376          unrestricted induction : (pi unrestricted ignored : Nat . Nat) .
377          unrestricted ignored : Nat .
378          sm86FieldWord32InRange value)
379        (naturalEqual width 32))
380      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.