Do you think regular people, when communicating, use academic logic? Or do you think the liar is an academic?
It is a logic puzzle. It is not two regular (or academic) people communicating
Let's say that saying 'all my hats' implies that the set of hats is non empty, then you have the two following statements
my-hats is not empty
for every hat in my-hats, is-green(hat) is true
We know that the speaker always lies, so both statements must be false: my-hats must be empty, and it must be that it exists at least one hat in my-hat that is not green. This is a contradiction. So either the speaker or the puzzle is not consistent (and uninteresting), or the 'my-hats is not empty' is not a valid assumption.One of the points of this puzzle is to see beyond your social intuition. So yes, this puzzle plays on being able to figure out the logic while it goes against common social intuition.
Do you think that amongst regular people, there exists a liar who always lies?