Is it possible to draw the conclusion that "Lucy had studied so hard." if "Anna did a lot worse than her good friend Lucy on the test because she had studied so hard."?
yes