Second Welfare Theorem

Applying the second welfare theorem: a Pareto-efficient allocation can be supported as an equilibrium after lump-sum transfers.

Question template

John and Michael are deciding how to split a cake and some cookies between themselves. After some negotiations, they reach an agreement where both of them feel no further rearrangement of the cake and cookies can make either of them better off without making the other worse off. Assume the goods are divisible, everyone's preferences are continuous, convex and strictly increasing in each good, and the final allocation is Pareto efficient: no reallocation of the goods could make someone better off without making someone else worse off. Without any redistribution of the initial holdings, is it guaranteed that this same final allocation is a competitive equilibrium at some set of prices?

Use it

from datasets import load_dataset
ds = load_dataset("narunraman/steer_me", "welfare_theorem_2")