NLAlib.Ops.Examples.rippleImpl
Library · def
The ripple-carry adder: a carry cell, cleared, then for each position the sum bit and the next carry. Index variables: w, the offsets of x, y, z, then the loop variable. This example writes the table entry directly and proves its contract by computing its run as the block function of wadd, the linking layer on which routine judgments are built.
NLAlib.Ops.Examples.rippleImpl : Ops.Impl Ops.Examples.BitOp EmptyImport NLAlib.Ops.Examples.Bits.