Explanation and inference: mechanistic and functional explanations guide property generalization · Study