[math-fun] Boolean synthesis request from Knuth