law lo_idx

lawful-arrays@0.1.0.0 · proof_index.bend:40

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

40law lo_idx:
41  for +n: U32
42  for +i: U32
43  for +p: Nat
44  for +hn: {U32.to_nat(n) == Nat.pow(2n, 1n+p) : Nat}
45  for +hz: {U32.is_lt(i, U32.shr(n)) == True{} : Bool}
46  {Nat.is_lt(U32.to_nat(i), Nat.pow(2n, p)) == True{} : Bool}

Uses (12)

Used by (3)