A female swimmer wearing a swimming cap does the butterfly stroke.
A woman is practicing her swimming technique.
You can not infer she is practicing her technique.
Just because a female swimmer wearing a swimming cap does the butterfly stroke does not mean she is practicing her swimming technique.
The female swimmer may not be just practicing her swimming technique.