22This is well understood in the literature; for a full exposition, see, e.g., Carroll [2016].