My bad! But when I try to revisit the equation, I cannot trace back the source. Some of them must be from Goodfellow and some from WGAN. I may make some changes from multiple sources. But it is a while so I cannot figure it for now. Sorry, not much help.