Intetestingly enough when viewing those definitions we may find it is not so cut and dried in every case.
Entertainment has the idea of amusement or a "diversion" which covers a lot of ground. But it leaves out religious music, and political music. Music written as an expression of those ideas goes beyond mere amusement or diversion I think.
Whether or not "performance music" written to impress or express oneself artistically is entertainment or not may be a deeper question still.
But art has always been "art" elusive-almost impossible to define as it springs from nowhere, somewhere and anywhere, at any time. The only way to proof test it being "I like it!"