Loosely matching rhymes for basic logic operations