Add log-space utilities.
Add log-space tests.
Add set utilities.