Loosely matching rhymes for diode logic