In mainstream economic theory, the firm and the market are, for the most part, assumed to exist and are not themselves the subject of investigation. One result has been that the crucial role of the law in determining the activities carried out by the firm and in the market has been largely ignored.