Thanks for the answer . I think You are right about the second two sentences . But I read in a book that when you say I like to swim you actualy mean that you want to swim on that specefic occasion and by saying '' I like swimming'' you are stating that you like it in general .
The explanation of linguists is that the infinitive carries the concept of potentiality, of the possibility of action, while the -ing form carries the concept of duration, of immediate action. However, your two sentences mean precisely the same to native speakers who are not also linguists: the speaker enjoys the sport.