law slot_n

lawful-arrays@0.1.0.0 · proof_index.bend:404

import lawful-arrays@0.1.0.0/proof_index.bend as ProofIndex
import Base
import lawful-arrays@0.1.0.0/defs.bend as D

404law slot_n:
405  for +i: U32
406  for +d: Nat
407  for +hd: {Nat.is_lt(d, 32n) == True{} : Bool}
408  {U32.to_nat(U32.and(i, U32.sub(U32.shln(1, d), 1))) == D.slot(i, d) : Nat}

Uses (11)

Used by (5)