Source/Packages

Accelerator.SM86.FieldEncoding

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

794 lines86 declarations28.4 KiBSHA-256 400363ed48c6

def · lines 213–222

sm86ReplaceByteAt

Full file
213def sm86ReplaceByteAt =
214  (lambda unrestricted index : Nat . unrestricted replacement : Byte .
215    nat-eliminate
216      (lambda unrestricted current : Nat . pi unrestricted input : Bytes . Bytes)
217      (lambda unrestricted input : Bytes . bytes-cons replacement (bytes-tail input))
218      (lambda unrestricted predecessor : Nat .
219        unrestricted induction : (pi unrestricted input : Bytes . Bytes) .
220        unrestricted input : Bytes .
221        bytes-cons (bytes-head input) (induction (bytes-tail input)))
222      index)

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.