Substitution of logical equivalents

See:

  • Stephen Cole Kleene, Mathematical logic (1967): Replacement Theorem, page 122;

  • Peter Andrews, An introduction to mathematical logic and type theory (1986): Substitutivity of Implication, page 89 and Extended Substitutivity of Implication and Equivalence, page 94;

  • Joseph Shoenfield, Mathematical Logic (1967), Equivalence Theorem, page 34.