law word_mul_value

bend-osdev-u32@0.1.0.0 · LAWS.bend:472

import bend-osdev-u32@0.1.0.0/LAWS.bend as LAWS
import Base

472law word_mul_value:
473  for +n: Nat
474  for +a: Word(n)
475  for +b: Word(n)
476  for +z: Word(n)
477  for h: {Nat.is_le(Nat.mul(Word.to_nat(n, a), Word.to_nat(n, b)), Word.to_nat(n, z)) == True{} : Bool}
478  {Word.to_nat(n, Word.mul(n, a, b)) == Nat.mul(Word.to_nat(n, a), Word.to_nat(n, b)) : Nat}

Uses (11)

Used by (1)