Cache explanations in the equality engine (#2937)