Distribute substitution over implication. Compare al2imi. (Contributed by Steven Nguyen, 13-Aug-2023.)