I am doing some self-study on international trade theory, and have been using the book by Feenstra Advanced International Trade Theory as my textbook. The book is good and relatively rigorous, but my biggest problem is that the book does not give full mathematical derivations of its results. These derivations often involve subtle tricks and substitutions, and it is hard to follow the derivations if they are not explicitly given.
Here is an example from page 14 of the book, where the author gives the result of the derivation without the explicit derivation. What is more confusing is the author indicates that different tricks were used, like substituting for $p_i$ and muliplying and dividing, etc. I can work through replicating some of this on my own, but to read an entire textbook that way is going to take forever.
Hence I was wondering if anyone could suggest a supplementary book that provides more of the complete mathematical derivations? I looked at the Krugman and Obstfeld book, but it does not seem to adhere to the same level of rigor as Feenstra. I really want to read research articles so I need to understand the details of the math.