proof of distributivity of implication over implication