The Simpsons often makes vague cultural references and allusions, and I can't help thinking there must be some reason why that specific mistake was written in, some 'in' joke that I've missed?
There is a reason, but it's a movie reference, not a maths reference. "Homer's Law" is the same as that stated by the scarecrow in the Wizard of Oz when he gets his "diploma".