law power_value

stelliferous@0.0.2.0 · proofs/word_power_of_two.bend:245

import stelliferous@0.0.2.0/proofs/word_power_of_two.bend as WordPowerOfTwo
import Base
import stelliferous@0.0.2.0/proofs/word_encoding.bend as WordEncoding

245law power_value:
246  for +width: Nat
247  for +depth: Nat
248  for fits: {Nat.is_lt(depth,width) == True{} : Bool}
249  {Word.to_nat(width,power(width,depth)) == WordEncoding.shift(depth,1n) : Nat}

Uses (11)

Used by (1)