We develop a general equilibrium model with heterogeneous firms à la Melitz (2003), where both the government and firms can invest into R&D to improve the country’s technological potential. A higher technological potential raises the average productivity of firms, thus implying lower consumer...