Loosely matching rhymes for logical function