Svag matchende rim for logical function