fact: Definition SetByteAt {cache : Cache} {cacheAddNat : CacheAdd cache nat} {n : nat} (idx' : nat) : AlignedEncodeM n := fun v idx s ce => if (Coq.Init.Nat.ltb idx' n) then Some (set_nth' v idx' s, Datatypes.S idx', addE ce 8) else None.
imports: Fiat.Common.Coq__8_4__8_5__Compat Bedrock.Word Coq.ZArith.ZArith Coq.NArith.NArith Coq.Arith.Arith Coq.Numbers.Natural.Peano.NPeano Coq.Logic.Eqdep_dec Fiat.Common.BoundedLookup Fiat.Narcissus.Common.Specs Fiat.Narcissus.Common.ComposeOpt Fiat.Narcissus.Common.ComposeIf Fiat.Narcissus.BaseFormats Fiat.Narcissus.BinLib.Core Fiat.Narcissus.BinLib.AlignedByteString