The Core of an Economy with a Measure Space of Economic Agents