Equational completion by proof transformation