Title: A macroeconomic derivation of the Lucas type supply function