40 mph? I'm going out on a limb here and guessing that a hill was involved.
I'm thinking it would also be rather difficult to rule out a blow to the fork even if it didn't happen on the initial collision, at that speed I have to figure bike and rider bounced around quite a bit.
I agree with trashing the fork, and assessing the frame.